From 8bb3a4f3d1096e97b484f15a422fe032f94f3d51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Sun, 1 Mar 2015 15:44:29 -0500 Subject: [PATCH] CRM-15965: Resolved strict warning re compatibility of declaration of contactIDs with parent method. --- CRM/Contact/Form/Search/Custom/ActivitySearch.php | 3 ++- CRM/Contact/Form/Search/Custom/ContribSYBNT.php | 3 ++- CRM/Contact/Form/Search/Custom/ContributionAggregate.php | 3 ++- CRM/Contact/Form/Search/Custom/EmployerListing.php | 3 ++- CRM/Contact/Form/Search/Custom/EventAggregate.php | 3 ++- CRM/Contact/Form/Search/Custom/TagContributions.php | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CRM/Contact/Form/Search/Custom/ActivitySearch.php b/CRM/Contact/Form/Search/Custom/ActivitySearch.php index 265452b5ac..2ad3b5be3f 100644 --- a/CRM/Contact/Form/Search/Custom/ActivitySearch.php +++ b/CRM/Contact/Form/Search/Custom/ActivitySearch.php @@ -373,10 +373,11 @@ ORDER BY contact_a.sort_name'; * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort, FALSE, TRUE); } diff --git a/CRM/Contact/Form/Search/Custom/ContribSYBNT.php b/CRM/Contact/Form/Search/Custom/ContribSYBNT.php index b5b86470c5..a72397d45f 100644 --- a/CRM/Contact/Form/Search/Custom/ContribSYBNT.php +++ b/CRM/Contact/Form/Search/Custom/ContribSYBNT.php @@ -126,10 +126,11 @@ class CRM_Contact_Form_Search_Custom_ContribSYBNT extends CRM_Contact_Form_Searc * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort, FALSE, TRUE); } diff --git a/CRM/Contact/Form/Search/Custom/ContributionAggregate.php b/CRM/Contact/Form/Search/Custom/ContributionAggregate.php index d743b12673..3c7f67a9a1 100644 --- a/CRM/Contact/Form/Search/Custom/ContributionAggregate.php +++ b/CRM/Contact/Form/Search/Custom/ContributionAggregate.php @@ -261,10 +261,11 @@ civicrm_contact AS contact_a * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort, FALSE, TRUE); } diff --git a/CRM/Contact/Form/Search/Custom/EmployerListing.php b/CRM/Contact/Form/Search/Custom/EmployerListing.php index 64978524c2..a078150239 100644 --- a/CRM/Contact/Form/Search/Custom/EmployerListing.php +++ b/CRM/Contact/Form/Search/Custom/EmployerListing.php @@ -261,10 +261,11 @@ class CRM_Contact_Form_Search_Custom_EmployerListing extends CRM_Contact_Form_Se * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort); } diff --git a/CRM/Contact/Form/Search/Custom/EventAggregate.php b/CRM/Contact/Form/Search/Custom/EventAggregate.php index f250e223dc..a4dd867da4 100644 --- a/CRM/Contact/Form/Search/Custom/EventAggregate.php +++ b/CRM/Contact/Form/Search/Custom/EventAggregate.php @@ -315,10 +315,11 @@ class CRM_Contact_Form_Search_Custom_EventAggregate extends CRM_Contact_Form_Sea * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort); } diff --git a/CRM/Contact/Form/Search/Custom/TagContributions.php b/CRM/Contact/Form/Search/Custom/TagContributions.php index 34591a85ac..2f7133f4b8 100644 --- a/CRM/Contact/Form/Search/Custom/TagContributions.php +++ b/CRM/Contact/Form/Search/Custom/TagContributions.php @@ -225,10 +225,11 @@ WHERE $where * @param int $offset * @param int $rowcount * @param null $sort + * @param boolean $returnSQL Not used; included for consistency with parent; SQL is always returned * * @return string */ - function contactIDs($offset = 0, $rowcount = 0, $sort = NULL) { + function contactIDs($offset = 0, $rowcount = 0, $sort = NULL, $returnSQL = TRUE) { return $this->all($offset, $rowcount, $sort, FALSE, TRUE); } -- 2.25.1