Commit a3d7e8ee authored by totten's avatar totten
Browse files

INFRA-132 - CRM/Mailing - Misc

parent bd5d7c2b
......@@ -1173,7 +1173,8 @@ ORDER BY civicrm_email.is_bulkmail DESC
*
* @return Mail_mime The mail object
*/
public function &compose($job_id, $event_queue_id, $hash, $contactId,
public function &compose(
$job_id, $event_queue_id, $hash, $contactId,
$email, &$recipient, $test,
$contactDetails, &$attachments, $isForward = FALSE,
$fromEmail = NULL, $replyToEmail = NULL
......
......@@ -197,7 +197,8 @@ class CRM_Mailing_BAO_Query {
*
* @return array|null
*/
static function defaultReturnProperties($mode,
static function defaultReturnProperties(
$mode,
$includeCustomFields = TRUE
) {
......
......@@ -63,7 +63,8 @@ WHERE mailing_id = %1
*
* @return Object
*/
static function mailingQuery($mailingID,
static function mailingQuery(
$mailingID,
$offset = NULL, $limit = NULL
) {
$limitString = NULL;
......
......@@ -191,7 +191,8 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL
) {
......
......@@ -159,7 +159,8 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL, $is_test = 0
) {
......
......@@ -226,7 +226,8 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
* @return int Number of rows in result set
* @static
*/
public static function getTotalCount($mailing_id, $job_id = NULL,
public static function getTotalCount(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE
) {
$dao = new CRM_Core_DAO();
......@@ -285,7 +286,8 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL
) {
......
......@@ -81,7 +81,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
* @return int Number of rows in result set
* @static
*/
public static function getTotalCount($mailing_id,
public static function getTotalCount(
$mailing_id,
$job_id = NULL,
$is_distinct = FALSE,
$toDate = NULL
......@@ -228,7 +229,8 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL, $contact_id = NULL
) {
$dao = new CRM_Core_Dao();
......
......@@ -184,7 +184,8 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL, $offset = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL, $offset = NULL,
$rowCount = NULL, $sort = NULL
) {
$dao = new CRM_Core_Dao();
......
......@@ -316,7 +316,8 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
* @return int Number of rows in result set
* @static
*/
public static function getTotalCount($mailing_id, $job_id = NULL,
public static function getTotalCount(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE
) {
$dao = new CRM_Core_DAO();
......@@ -375,7 +376,8 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply {
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL
) {
......
......@@ -110,7 +110,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
* @return int Number of rows in result set
* @static
*/
public static function getTotalCount($mailing_id, $job_id = NULL,
public static function getTotalCount(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $url_id = NULL, $toDate = NULL
) {
$dao = new CRM_Core_DAO();
......@@ -261,7 +262,8 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $url_id,
$offset = NULL, $rowCount = NULL, $sort = NULL, $contact_id = NULL
) {
......
......@@ -427,7 +427,8 @@ WHERE email = %2
* @return int Number of rows in result set
* @static
*/
public static function getTotalCount($mailing_id, $job_id = NULL,
public static function getTotalCount(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $org_unsubscribe = NULL, $toDate = NULL
) {
$dao = new CRM_Core_DAO();
......@@ -498,7 +499,8 @@ WHERE email = %2
* @return array Result set
* @static
*/
public static function &getRows($mailing_id, $job_id = NULL,
public static function &getRows(
$mailing_id, $job_id = NULL,
$is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL,
$org_unsubscribe = NULL
) {
......
......@@ -151,7 +151,8 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
* @return \CRM_Mailing_Selector_Search
@access public
*/
function __construct(&$queryParams,
function __construct(
&$queryParams,
$action = CRM_Core_Action::NONE,
$mailingClause = NULL,
$single = FALSE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment