| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
*
* @param int $id
* Group id.
- *
- * @return NULL
*/
public static function discard($id) {
CRM_Utils_Hook::pre('delete', 'Group', $id, CRM_Core_DAO::$_nullArray);
* @todo other BAO functions that use returnProperties (e.g. Query Objects) receive the array flipped & filled with 1s and
* add in essential fields (e.g. id). This should follow a regular pattern like the others
*/
- static function getGroups(
+ public static function getGroups(
$params = NULL,
$returnProperties = NULL,
$sort = NULL,
$this->where_tables = serialize($whereTables);
}
}
-
- return;
}
/**
*
* @return array
*/
- static function getGroupsHierarchy(
+ public static function getGroupsHierarchy(
$groupIDs,
$parents = NULL,
$spacer = '<span class="child-indent"></span>',
$clauses[] = self::getPermissionClause();
-
return implode(' AND ', $clauses);
}
return CRM_Utils_PagerAToZ::getAToZBar($dao, $this->_sortByCharacter, TRUE);
}
+
}