CRM_Core_Reference_OptionValue
class CRM_Core_Reference_OptionValue extends CRM_Core_Reference_Basic
Description of a one-way link between an option-value and an entity
Properties
protected | $refTable | from CRM_Core_Reference_Basic | |
protected | $refKey | from CRM_Core_Reference_Basic | |
protected | $refTypeColumn | from CRM_Core_Reference_Basic | |
protected | $targetTable | from CRM_Core_Reference_Basic | |
protected | $targetKey | from CRM_Core_Reference_Basic | |
protected string | $targetOptionGroupName | Option group name. | |
protected int|null | $targetOptionGroupId | Target Option Group ID. |
Methods
__construct($refTable, $refKey, null $targetTable = NULL, string $targetKey = 'id', null $optionGroupName)
No description
CRM_Core_DAO|NULL
array
int
getTargetOptionGroupId()
Get target option group ID.
Details
at line 28
__construct($refTable, $refKey, null $targetTable = NULL, string $targetKey = 'id', null $optionGroupName)
in CRM_Core_Reference_Basic at line 33
getReferenceTable()
in CRM_Core_Reference_Basic at line 40
getReferenceKey()
in CRM_Core_Reference_Basic at line 47
null
getTypeColumn()
in CRM_Core_Reference_Basic at line 54
null
getTargetTable()
in CRM_Core_Reference_Basic at line 61
string
getTargetKey()
in CRM_Core_Reference_Basic at line 70
bool
matchesTargetTable(string $tableName)
at line 39
CRM_Core_DAO|NULL
findReferences(CRM_Core_DAO $targetDao)
at line 59
array
getReferenceCount(CRM_Core_DAO $targetDao)
Get Reference Count.
at line 76
int
getTargetOptionGroupId()
Get target option group ID.