class CRM_Core_BAO_CustomOption {
/**
- * Takes a bunch of params that are needed to match certain criteria and
- * retrieves the relevant objects. Typically the valid params are only
- * contact_id. We'll tweak this function to be more full featured over a period
- * of time. This is the inverse function of create. It also stores all the retrieved
- * values in the default array
+ * Fetch object based on array of properties
*
* @param array $params (reference ) an assoc array of name/value pairs
* @param array $defaults (reference ) an assoc array to hold the flattened values
*
- * @return object CRM_Core_BAO_CustomOption object
+ * @return CRM_Core_BAO_CustomOption object
* @access public
* @static
*/
/**
* Returns all active options ordered by weight for a given field
*
- * @param $fieldID
+ * @param int $fieldID field whose options are needed
* @param boolean $inactiveNeeded do we need inactive options ?
*
- * @internal param int $fieldId field whose options are needed
* @return array $customOption all active options for fieldId
* @static
*/
}
/**
- * Function to delete Option
+ * Delete Option
*
* param $optionId integer option id
*
}
/**
- * @param $params
+ * @param array $params
*
* @throws Exception
*/
}
/**
- * @param $customFieldID
- * @param null $optionGroupID
+ * @param int $customFieldID
+ * @param int $optionGroupID
*
* @return array
*/