|
static | getValueFromProvider (IBusinessValueProvider $provider=null, $codeKey, $consumerKey) |
static | redefineProviderField (array $fields) |
static | get ($codeKey, $consumerKey=null, $personTypeId=null, $providerInstance=null) |
static | isSetMapping ($codeKey, $consumerKey=null, $personTypeId=null) |
static | getMapping ($codeKey, $consumerKey=null, $personTypeId=null, array $options=array()) |
static | setMapping ($codeKey, $consumerKey, $personTypeId, array $mapping, $withCommon=false) |
static | delete ($consumerKey, $personTypeId=null) |
static | getConsumerCodePersonMapping () |
static | getProviders () |
static | getConsumers () |
static | addConsumer ($consumerKey, array $consumer) |
static | changeConsumer ($consumerKey, array $consumer) |
static | changeConsumerKey ($fromConsumerKey, $toConsumerKey) |
static | getGroups () |
static | getPersonTypes ($all=false, array $resetAllPersonTypes=null) |
static | updateMapping ($codeKey, array $oldMapping, array $newMapping, $consumerKey=null, $personTypeId=null) |
static | getValuesByCode (string $consumerName, string $code) |
static | install ($parentName, $translationSource, $data) |
См. определение в файле businessvalue.php строка 14
◆ addConsumer()
addConsumer |
( |
| $consumerKey, |
|
|
array | $consumer ) |
|
static |
◆ changeConsumer()
changeConsumer |
( |
| $consumerKey, |
|
|
array | $consumer ) |
|
static |
◆ changeConsumerKey()
changeConsumerKey |
( |
| $fromConsumerKey, |
|
|
| $toConsumerKey ) |
|
static |
◆ delete()
delete |
( |
| $consumerKey, |
|
|
| $personTypeId = null ) |
|
static |
- Аргументы
-
| $consumerKey | |
null | $personTypeId | |
- Исключения
-
См. определение в файле businessvalue.php строка 298
◆ get()
get |
( |
| $codeKey, |
|
|
| $consumerKey = null, |
|
|
| $personTypeId = null, |
|
|
| $providerInstance = null ) |
|
static |
Get business value.
- Аргументы
-
string | $codeKey | |
string | null | $consumerKey | |
IBusinessValueProvider | string | integer | null | $personTypeId | |
mixed | $providerInstance | |
- Возвращает
- mixed
См. определение в файле businessvalue.php строка 46
◆ getConsumerCodePersonMapping()
getConsumerCodePersonMapping |
( |
| ) |
|
|
static |
◆ getConsumers()
Get all registered consumers.
- Возвращает
- array
- Исключения
-
См. определение в файле businessvalue.php строка 412
◆ getGroups()
◆ getMapping()
getMapping |
( |
| $codeKey, |
|
|
| $consumerKey = null, |
|
|
| $personTypeId = null, |
|
|
array | $options = array() ) |
|
static |
Get mapping.
- Аргументы
-
string | $codeKey | |
string | null | $consumerKey | |
string | integer | null | $personTypeId | |
array | $options | |
- Возвращает
- array with PROVIDER_KEY and PROVIDER_VALUE if mapping was found, or empty array
См. определение в файле businessvalue.php строка 131
◆ getPersonTypes()
getPersonTypes |
( |
| $all = false, |
|
|
array | $resetAllPersonTypes = null ) |
|
static |
◆ getProviders()
Get all registered providers.
- Возвращает
- array
- Исключения
-
См. определение в файле businessvalue.php строка 379
◆ getValueFromProvider()
◆ getValuesByCode()
getValuesByCode |
( |
string | $consumerName, |
|
|
string | $code ) |
|
static |
- Аргументы
-
string | $consumerName | |
string | $code | |
- Возвращает
- string[]
См. определение в файле businessvalue.php строка 747
◆ install()
install |
( |
| $parentName, |
|
|
| $translationSource, |
|
|
| $data ) |
|
static |
◆ isSetMapping()
isSetMapping |
( |
| $codeKey, |
|
|
| $consumerKey = null, |
|
|
| $personTypeId = null ) |
|
static |
Check if mapping has been set.
- Аргументы
-
string | $codeKey | |
string | null | $consumerKey | |
string | integer | null | $personTypeId | |
- Возвращает
- bool
См. определение в файле businessvalue.php строка 113
◆ redefineProviderField()
redefineProviderField |
( |
array | $fields | ) |
|
|
static |
◆ setMapping()
setMapping |
( |
| $codeKey, |
|
|
| $consumerKey, |
|
|
| $personTypeId, |
|
|
array | $mapping, |
|
|
| $withCommon = false ) |
|
static |
Set mapping.
- Аргументы
-
string | $codeKey | |
string | null | $consumerKey | |
string | integer | null | $personTypeId | |
array | $mapping | |
bool | $withCommon | internal, do not use! |
- Возвращает
- \Bitrix\Main\Entity\Result
- Исключения
-
Exception
См. определение в файле businessvalue.php строка 206
◆ updateMapping()
updateMapping |
( |
| $codeKey, |
|
|
array | $oldMapping, |
|
|
array | $newMapping, |
|
|
| $consumerKey = null, |
|
|
| $personTypeId = null ) |
|
static |
- Аргументы
-
| $codeKey | |
array | $oldMapping | |
array | $newMapping | |
null | $consumerKey | |
null | $personTypeId | |
- Возвращает
- \Bitrix\Main\Entity\Result
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
См. определение в файле businessvalue.php строка 700
◆ COMMON_DOMAIN
const COMMON_DOMAIN = 'C' |
◆ COMMON_PERSON_ID
const COMMON_PERSON_ID = 0 |
◆ ENTITY_DOMAIN
const ENTITY_DOMAIN = 'E' |
◆ INDIVIDUAL_DOMAIN
const INDIVIDUAL_DOMAIN = 'I' |
◆ MATCH_ALL
◆ MATCH_COMMON
◆ MATCH_DEFAULT
◆ MATCH_EXACT
Объявления и описания членов класса находятся в файле: