CRM_Core_BAO_CustomOption
class CRM_Core_BAO_CustomOption
Business objects for managing custom data options.
Methods
static CRM_Core_BAO_CustomOption
retrieve(array $params, array $defaults)
Fetch object based on array of properties.
static array
getCustomOption(int $fieldID, bool $inactiveNeeded = FALSE)
Returns all active options ordered by weight for a given field.
static array
getOptionListSelector(array $params)
Wrapper for ajax option selector.
static
del($optionId)
Delete Option.
static
updateCustomValues(array $params)
No description
static
updateValue(int $optionId, string $newValue)
When changing the value of an option this is called to update all corresponding custom data
Details
at line 52
static CRM_Core_BAO_CustomOption
retrieve(array $params, array $defaults)
Fetch object based on array of properties.
at line 73
static array
getCustomOption(int $fieldID, bool $inactiveNeeded = FALSE)
Returns all active options ordered by weight for a given field.
at line 105
static array
getOptionListSelector(array $params)
Wrapper for ajax option selector.
at line 202
static
del($optionId)
Delete Option.
at line 246
static
updateCustomValues(array $params)
at line 320
static
updateValue(int $optionId, string $newValue)
When changing the value of an option this is called to update all corresponding custom data