| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @param array $defaults
* (reference ) an assoc array to hold the flattened values.
*
- * @return CRM_Core_BAO_OptionGroup object
- * @static
+ * @return CRM_Core_BAO_OptionGroup
*/
public static function retrieve(&$params, &$defaults) {
$optionGroup = new CRM_Core_DAO_OptionGroup();
*
* @return Object
* DAO object on sucess, null otherwise
- * @static
*/
public static function setIsActive($id, $is_active) {
return CRM_Core_DAO::setFieldValue('CRM_Core_DAO_OptionGroup', $id, 'is_active', $is_active);
* @param array $ids
* Reference array contains the id.
*
- * @static
*
* @return object
*/
*
* @param int $optionGroupId
* Id of the Option Group to be deleted.
- *
- * @return void
- *
- * @static
*/
public static function del($optionGroupId) {
// need to delete all option value field before deleting group
* @param int $optionGroupId
* Id of the Option Group.
*
- * @return String
+ * @return string
* title
- *
- * @static
*/
public static function getTitle($optionGroupId) {
$optionGroup = new CRM_Core_DAO_OptionGroup();
$optionGroup->find(TRUE);
return $optionGroup->name;
}
+
}