Bitrix API

DynamicTypesMap

Table of Contents

Methods

__construct()  : mixed
getAllStages()  : array<string|int, mixed>
getBunchOfTypesByIds()  : array<string|int, mixed>
getCategories()  : array<string|int, EO_ItemCategory>
getDefaultCategory()  : EO_ItemCategory|null
getStages()  : array<string|int, EO_Status>
getStagesEntityId()  : string|null
getStagesFieldName()  : string|null
getTypes()  : array<string|int, Type>
getTypesCollection()  : Collection
Load types collection from cache of possible.
invalidateTypesCollectionCache()  : void
isAutomationEnabled()  : bool
isCategoriesEnabled()  : bool
isStagesEnabled()  : bool
load()  : $this

Methods

getAllStages()

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

getBunchOfTypesByIds()

public final getBunchOfTypesByIds(array<string|int, mixed> $typeIds) : array<string|int, mixed>
Parameters
$typeIds : array<string|int, mixed>
Return values
array<string|int, mixed>

getCategories()

public getCategories([int|null $entityTypeId = null ]) : array<string|int, EO_ItemCategory>
Parameters
$entityTypeId : int|null = null
Tags
throws
InvalidOperationException
Return values
array<string|int, EO_ItemCategory>

getDefaultCategory()

public getDefaultCategory(int $entityTypeId) : EO_ItemCategory|null
Parameters
$entityTypeId : int
Return values
EO_ItemCategory|null

getStages()

public getStages(int $entityTypeId[, int|null $categoryId = null ]) : array<string|int, EO_Status>
Parameters
$entityTypeId : int
$categoryId : int|null = null
Tags
throws
InvalidOperationException
Return values
array<string|int, EO_Status>

getStagesEntityId()

public getStagesEntityId(int $entityTypeId[, int|null $categoryId = null ]) : string|null
Parameters
$entityTypeId : int
$categoryId : int|null = null
Return values
string|null

getStagesFieldName()

public getStagesFieldName(int $entityTypeId) : string|null
Parameters
$entityTypeId : int
Return values
string|null

getTypes()

public getTypes() : array<string|int, Type>
Tags
throws
InvalidOperationException
Return values
array<string|int, Type>

getTypesCollection()

Load types collection from cache of possible.

public getTypesCollection() : Collection

If cache is not valid - loads it from database and stores new value.

Return values
Collection

invalidateTypesCollectionCache()

public invalidateTypesCollectionCache() : void

isAutomationEnabled()

public isAutomationEnabled(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

isCategoriesEnabled()

public isCategoriesEnabled(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

isStagesEnabled()

public isStagesEnabled(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

load()

public final load([array<string|int, mixed> $params = [] ]) : $this
Parameters
$params : array<string|int, mixed> = []

= [ 'isLoadStages' => true, 'isLoadCategories' => true, ]

Return values
$this

        
On this page

Search results