projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3341 from systopia/CRM-14740
[civicrm-core.git]
/
CRM
/
Event
/
Selector
/
Search.php
diff --git
a/CRM/Event/Selector/Search.php
b/CRM/Event/Selector/Search.php
index b72be682fa346154b479aeb397cca966c0cf05e8..c81664a5583665cb60e8c888de79c20076fd72e0 100644
(file)
--- a/
CRM/Event/Selector/Search.php
+++ b/
CRM/Event/Selector/Search.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-151,14
+151,17
@@
class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
/**
* Class constructor
*
/**
* Class constructor
*
- * @param array
$queryParams array of parameters for query
- * @param
int
$action - action of search basic or advanced.
- * @param string
$eventClause if the caller wants to further restrict the search (used in participations)
+ * @param array $queryParams array of parameters for query
+ * @param
\const|int
$action - action of search basic or advanced.
+ * @param string $eventClause if the caller wants to further restrict the search (used in participations)
* @param boolean $single are we dealing only with one contact?
* @param boolean $single are we dealing only with one contact?
- * @param int
$limit
how many participations do we want returned
+ * @param int
$limit
how many participations do we want returned
*
*
- * @return CRM_Contact_Selector
- * @access public
+ * @param string $context
+ * @param null $compContext
+ *
+ * @return \CRM_Event_Selector_Search
+ @access public
*/
function __construct(&$queryParams,
$action = CRM_Core_Action::NONE,
*/
function __construct(&$queryParams,
$action = CRM_Core_Action::NONE,
@@
-211,9
+214,12
@@
class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
* - View
* - Edit
*
* - View
* - Edit
*
+ * @param null $qfKey
+ * @param null $context
+ * @param null $compContext
+ *
* @return array
* @access public
* @return array
* @access public
- *
*/
static function &links($qfKey = NULL, $context = NULL, $compContext = NULL) {
$extraParams = NULL;
*/
static function &links($qfKey = NULL, $context = NULL, $compContext = NULL) {
$extraParams = NULL;
@@
-258,7
+264,10
@@
class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
/**
* getter for array of the parameters required for creating pager.
*
/**
* getter for array of the parameters required for creating pager.
*
- * @param
+ * @param $action
+ * @param $params
+ *
+ * @internal param $
* @access public
*/
function getPagerParams($action, &$params) {
* @access public
*/
function getPagerParams($action, &$params) {
@@
-501,10
+510,16
@@
class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
return self::$_columnHeaders;
}
return self::$_columnHeaders;
}
+ /**
+ * @return mixed
+ */
function alphabetQuery() {
return $this->_query->searchQuery(NULL, NULL, NULL, FALSE, FALSE, TRUE);
}
function alphabetQuery() {
return $this->_query->searchQuery(NULL, NULL, NULL, FALSE, FALSE, TRUE);
}
+ /**
+ * @return string
+ */
function &getQuery() {
return $this->_query;
}
function &getQuery() {
return $this->_query;
}