1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс PersonType
Граф наследования:PersonType:
PersonType

Открытые статические члены

static getRegistryType ()
static load ($siteId=null, $id=null)
static getList (array $parameters=[])
static doCalculate (OrderBase $order)
static generateXmlId ()
static isIndividual ($personTypeId)
static isEntity ($personTypeId)
static delete ($id)
static getIdsByDomain (string $domain)

Защищенные члены

 __construct ()

Защищенные данные

 $siteId

Подробное описание

См. определение в файле persontype.php строка 16

Конструктор(ы)

◆ __construct()

__construct ( )
protected

PersonType constructor.

См. определение в файле persontype.php строка 27

Методы

◆ delete()

delete ( $id)
static

См. определение в файле persontype.php строка 186

◆ doCalculate()

doCalculate ( OrderBase $order)
static
Аргументы
OrderBase$order
Возвращает
Result
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле persontype.php строка 119

◆ generateXmlId()

generateXmlId ( )
static
Возвращает
array

См. определение в файле persontype.php строка 149

◆ getIdsByDomain()

getIdsByDomain ( string $domain)
static

Returns list of person type id for domain.

Аргументы
string$domainDomain Id.
Возвращает
array

См. определение в файле persontype.php строка 207

◆ getList()

getList ( array $parameters = [])
static
Аргументы
array$parameters
Возвращает
\Bitrix\Main\ORM\Query\Result
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле persontype.php строка 100

◆ getRegistryType()

getRegistryType ( )
static
Возвращает
string

См. определение в файле persontype.php строка 32

◆ isEntity()

isEntity ( $personTypeId)
static

Person type is legal entity

Аргументы
int$personTypeId
Возвращает
bool

См. определение в файле persontype.php строка 176

◆ isIndividual()

isIndividual ( $personTypeId)
static

Person type is an individual

Аргументы
int$personTypeId
Возвращает
bool

См. определение в файле persontype.php строка 160

◆ load()

load ( $siteId = null,
$id = null )
static
Аргументы
null$siteId
null$id
Возвращает
mixed
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле persontype.php строка 57

Поля

◆ $siteId

$siteId
protected

См. определение в файле persontype.php строка 19


Объявления и описания членов класса находятся в файле: