Bitrix API

PersonType

Class PersonType

Table of Contents

Methods

delete()  : mixed
doCalculate()  : Result
generateXmlId()  : array<string|int, mixed>
getIdsByDomain()  : array<string|int, mixed>
Returns list of person type id for domain.
getList()  : Result
getRegistryType()  : string
isEntity()  : bool
Person type is legal entity
isIndividual()  : bool
Person type is an individual
load()  : mixed

Methods

delete()

public static delete(mixed $id) : mixed
Parameters
$id : mixed

doCalculate()

public static doCalculate(OrderBase $order) : Result
Parameters
$order : OrderBase
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Result

generateXmlId()

public static generateXmlId() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIdsByDomain()

Returns list of person type id for domain.

public static getIdsByDomain(string $domain) : array<string|int, mixed>
Parameters
$domain : string

Domain Id.

Return values
array<string|int, mixed>

getList()

public static getList([array<string|int, mixed> $parameters = [] ]) : Result
Parameters
$parameters : array<string|int, mixed> = []
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Result

getRegistryType()

public static getRegistryType() : string
Return values
string

isEntity()

Person type is legal entity

public static isEntity(int $personTypeId) : bool
Parameters
$personTypeId : int
Return values
bool

isIndividual()

Person type is an individual

public static isIndividual(int $personTypeId) : bool
Parameters
$personTypeId : int
Return values
bool

load()

public static load([null $siteId = null ][, null $id = null ]) : mixed
Parameters
$siteId : null = null
$id : null = null
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

        
On this page

Search results