Skip to content
Snippets Groups Projects
Unverified Commit 48e6e28f authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #32307 from MegaphoneJon/search-properties

[REF][PHP8.2] Move single and limit properties to parent class
parents 06b1649e 58ba501d
Branches
No related tags found
No related merge requests found
......@@ -32,20 +32,6 @@ class CRM_Activity_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit;
/**
* Prefix for the controller.
* @var string
......
......@@ -27,20 +27,6 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller.
* @var string
......
......@@ -27,20 +27,6 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller
* @var string
......
......@@ -27,20 +27,6 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller.
* @var string
......
......@@ -59,6 +59,19 @@ class CRM_Core_Form_Search extends CRM_Core_Form {
*/
protected $entityReferenceFields = [];
/**
* Are we restricting ourselves to a single contact
*
* @var bool
*/
protected bool $_single = FALSE;
/**
* How many records should we return
* @var int|null
*/
protected ?int $_limit = NULL;
/**
* Builds the list of tasks or actions that a searcher can perform on a result set.
*
......
......@@ -27,20 +27,6 @@ class CRM_Event_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller.
* @var string
......
......@@ -29,20 +29,6 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller.
* @var string
......
......@@ -34,20 +34,6 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form_Search {
return 'Pledge';
}
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_limit = NULL;
/**
* Prefix for the controller.
* @var string
......
......@@ -27,20 +27,6 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search {
*/
protected $_queryParams;
/**
* Are we restricting ourselves to a single contact.
*
* @var bool
*/
protected $_single = FALSE;
/**
* Return limit.
*
* @var int
*/
protected $_limit;
/**
* Prefix for the controller.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment