* Class constructor
*
* @param array $queryParams array of parameters for query
- * @param int $action - action of search basic or advanced.
- * @param string $contributionClause if the caller wants to further restrict the search (used in contributions)
+ * @param \const|int $action - action of search basic or advanced.
+ * @param string $contributionClause if the caller wants to further restrict the search (used in contributions)
* @param boolean $single are we dealing only with one contact?
- * @param int $limit how many contributions do we want returned
+ * @param int $limit how many contributions do we want returned
*
- * @return CRM_Contact_Selector
- * @access public
+ * @param string $context
+ * @param null $compContext
+ *
+ * @return \CRM_Contribute_Selector_Search
+ @access public
*/
function __construct(&$queryParams,
$action = CRM_Core_Action::NONE,
* - View
* - Edit
*
+ * @param null $componentId
+ * @param null $componentAction
+ * @param null $key
+ * @param null $compContext
+ *
* @return array
* @access public
- *
*/
static function &links($componentId = NULL, $componentAction = NULL, $key = NULL, $compContext = NULL) {
$extraParams = NULL;
/**
* getter for array of the parameters required for creating pager.
*
- * @param
+ * @param $action
+ * @param $params
+ * @internal param $
* @access public
*/
function getPagerParams($action, &$params) {
),
);
if ($this->_includeSoftCredits) {
- self::$_columnHeaders =
+ self::$_columnHeaders =
array_merge(
- self::$_columnHeaders,
+ self::$_columnHeaders,
array(
array(
'name' => ts('Soft Credit Amount'),
)
);
}
- self::$_columnHeaders =
+ self::$_columnHeaders =
array_merge(
- self::$_columnHeaders,
+ self::$_columnHeaders,
array(
array(
'name' => ts('Type'),
self::$_columnHeaders = array_merge($pre, self::$_columnHeaders);
}
if ($this->_includeSoftCredits) {
- self::$_columnHeaders =
+ self::$_columnHeaders =
array_merge(
- self::$_columnHeaders,
+ self::$_columnHeaders,
array(
array(
'name' => ts('Soft Credit For'),
)
);
}
- self::$_columnHeaders =
+ self::$_columnHeaders =
array_merge(
self::$_columnHeaders, array(
array('desc' => ts('Actions'))