CRM_Core_OptionValue
class CRM_Core_OptionValue
Properties
static array | $_exportableFields | Static field for all the option value information that we can potentially export. | |
static array | $_importableFields | Static field for all the option value information that we can potentially export. | |
static array | $_fields | Static field for all the option value information that we can potentially export. |
Methods
static array
getRows(array $groupParams, array $links, string $orderBy = 'weight', bool $skipEmptyComponents = TRUE)
Return option-values of a particular group
static CRM_Core_DAO_OptionValue
addOptionValue(array $params, string $optionGroupName, $action, int $optionValueID)
Add/edit option-value of a particular group
static bool
optionExists(string $value, string $daoName, string $daoID, int $optionGroupID, string $fieldName = 'name', bool $domainSpecific)
Check if there is a record with the same name in the db.
static array
getFields(string $mode = '', string $contactType = 'Individual')
Check if there is a record with the same name in the db.
static
select($query)
Build select query in case of option-values
static array
getValues(array $groupParams, array $values, string $orderBy = 'weight', bool $isActive = FALSE)
Return option-values of a particular group
Details
at line 73
static array
getRows(array $groupParams, array $links, string $orderBy = 'weight', bool $skipEmptyComponents = TRUE)
Return option-values of a particular group
at line 199
static CRM_Core_DAO_OptionValue
addOptionValue(array $params, string $optionGroupName, $action, int $optionValueID)
Add/edit option-value of a particular group
at line 270
static bool
optionExists(string $value, string $daoName, string $daoID, int $optionGroupID, string $fieldName = 'name', bool $domainSpecific)
Check if there is a record with the same name in the db.
at line 295
static array
getFields(string $mode = '', string $contactType = 'Individual')
Check if there is a record with the same name in the db.
at line 372
static
select($query)
Build select query in case of option-values
at line 409
static array
getValues(array $groupParams, array $values, string $orderBy = 'weight', bool $isActive = FALSE)
Return option-values of a particular group