Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс 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)
 

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

 __construct ()
 

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

 $siteId
 

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

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

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

◆ __construct()

__construct ( )
protected

PersonType constructor.

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

Методы

◆ doCalculate()

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

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ generateXmlId()

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

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

◆ getList()

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

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getRegistryType()

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

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

◆ isEntity()

static isEntity ( $personTypeId)
static

Person type is legal entity

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

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

◆ isIndividual()

static isIndividual ( $personTypeId)
static

Person type is an individual

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

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

◆ load()

static 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