----------------------------------------
* CRM-14139: Static methods called non-statically
http://issues.civicrm.org/jira/browse/CRM-14139
* @return array $groupList associated array of group list
* @access public
*/
- public function getGroupListSelector(&$params) {
+ static public function getGroupListSelector(&$params) {
// format the params
$params['offset'] = ($params['page'] - 1) * $params['rp'];
$params['rowCount'] = $params['rp'];
return CRM_Core_DAO::singleValueQuery($query, $params);
}
- function whereClause(&$params, $sortBy = TRUE, $excludeHidden = TRUE) {
+ static function whereClause(&$params, $sortBy = TRUE, $excludeHidden = TRUE) {
$values = array();
$clauses = array();