Bitrix API

TemplateTable extends FileModel

Class TemplateTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION

Table of Contents

Constants

PRODUCTS_TABLE_VARIANT_ALL  = ''
PRODUCTS_TABLE_VARIANT_GOODS  = \Bitrix\DocumentGenerator\Dictionary\ProductVariant::GOODS
PRODUCTS_TABLE_VARIANT_SERVICE  = \Bitrix\DocumentGenerator\Dictionary\ProductVariant::SERVICE

Methods

createCollection()  : EO_Template_Collection
createObject()  : EO_Template
delete()  : DeleteResult
getById()  : EO_Template_Result
getByPrimary()  : EO_Template_Result
getEntity()  : EO_Template_Entity
getList()  : EO_Template_Result
getListByClassName()  : array<string|int, mixed>
getMap()  : array<string|int, mixed>
Returns entity map definition.
getProductsTableVariantList()  : array<string|int, mixed>
getPullTag()  : bool|string
getTableName()  : string
Returns DB table name for entity.
normalizeBody()  : mixed
Normalizes Body of the template for correct work.
onAfterAdd()  : EventResult
onAfterDelete()  : EventResult
onAfterUpdate()  : EventResult
onBeforeAdd()  : mixed
onBeforeDelete()  : EventResult
onBeforeUpdate()  : EventResult
prepareClassNameFilter()  : ConditionTree
query()  : EO_Template_Query
wakeUpCollection()  : EO_Template_Collection
wakeUpObject()  : EO_Template

Constants

PRODUCTS_TABLE_VARIANT_ALL

public mixed PRODUCTS_TABLE_VARIANT_ALL = ''

PRODUCTS_TABLE_VARIANT_GOODS

public mixed PRODUCTS_TABLE_VARIANT_GOODS = \Bitrix\DocumentGenerator\Dictionary\ProductVariant::GOODS

PRODUCTS_TABLE_VARIANT_SERVICE

public mixed PRODUCTS_TABLE_VARIANT_SERVICE = \Bitrix\DocumentGenerator\Dictionary\ProductVariant::SERVICE

Methods

createCollection()

public static createCollection() : EO_Template_Collection
Return values
EO_Template_Collection

createObject()

public static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Template
Parameters
$setDefaultValues : mixed = = 'true'
Return values
EO_Template

delete()

public static delete(mixed $primary[, bool $isForever = false ]) : DeleteResult
Parameters
$primary : mixed
$isForever : bool = false
Tags
throws
Exception
Return values
DeleteResult

getById()

public static getById(mixed $id) : EO_Template_Result
Parameters
$id : mixed
Return values
EO_Template_Result

getByPrimary()

public static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Template_Result
Parameters
$primary : mixed
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Template_Result

getEntity()

public static getEntity() : EO_Template_Entity
Return values
EO_Template_Entity

getList()

public static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Template_Result
Parameters
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Template_Result

getListByClassName()

public static getListByClassName(string $className[, null $userId = null ][, mixed $value = ' ' ][, bool $activeOnly = true ]) : array<string|int, mixed>
Parameters
$className : string
$userId : null = null
$value : mixed = ' '
$activeOnly : bool = true
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

getMap()

Returns entity map definition.

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

getProductsTableVariantList()

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

getPullTag()

public static getPullTag() : bool|string
Tags
throws
LoaderException
Return values
bool|string

getTableName()

Returns DB table name for entity.

public static getTableName() : string
Return values
string

normalizeBody()

Normalizes Body of the template for correct work.

public static normalizeBody(int $templateId) : mixed
Parameters
$templateId : int

onAfterAdd()

public static onAfterAdd(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

onAfterDelete()

public static onAfterDelete(Event $event) : EventResult
Parameters
$event : Event
Tags
throws
Exception
Return values
EventResult

onAfterUpdate()

public static onAfterUpdate(Event $event) : EventResult
Parameters
$event : Event
Tags
throws
Exception
Return values
EventResult

onBeforeDelete()

public static onBeforeDelete(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

onBeforeUpdate()

public static onBeforeUpdate(Event $event) : EventResult
Parameters
$event : Event
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
EventResult

prepareClassNameFilter()

public static prepareClassNameFilter(string $className[, int|null $userId = null ][, mixed $value = ' ' ][, bool $activeOnly = true ]) : ConditionTree
Parameters
$className : string
$userId : int|null = null
$value : mixed = ' '
$activeOnly : bool = true
Return values
ConditionTree

query()

public static query() : EO_Template_Query
Return values
EO_Template_Query

wakeUpCollection()

public static wakeUpCollection(mixed $rows) : EO_Template_Collection
Parameters
$rows : mixed
Return values
EO_Template_Collection

wakeUpObject()

public static wakeUpObject(mixed $row) : EO_Template
Parameters
$row : mixed
Return values
EO_Template

        
On this page

Search results