Bitrix API

HandlerTable extends DataManager

Class HandlerTable

Fields:

  • ID int mandatory
  • SORT int optional default 100
  • ACTIVE bool optional default 'Y'
  • CLASS_NAME string(255) mandatory
  • CONFIG string optional

Table of Contents

Methods

cleanCache()  : void
createCollection()  : EO_Handler_Collection
createObject()  : EO_Handler
getById()  : EO_Handler_Result
getByPrimary()  : EO_Handler_Result
getEntity()  : EO_Handler_Entity
getList()  : EO_Handler_Result
getMap()  : array<string|int, mixed>
Returns entity map definition.
getTableName()  : string
Returns DB table name for entity.
query()  : EO_Handler_Query
validateClassName()  : array<string|int, mixed>
Returns validators for CLASS_NAME field.
wakeUpCollection()  : EO_Handler_Collection
wakeUpObject()  : EO_Handler

Methods

cleanCache()

public static cleanCache() : void

createCollection()

public static createCollection() : EO_Handler_Collection
Return values
EO_Handler_Collection

createObject()

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

getById()

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

getByPrimary()

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

getEntity()

public static getEntity() : EO_Handler_Entity
Return values
EO_Handler_Entity

getList()

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

getMap()

Returns entity map definition.

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

getTableName()

Returns DB table name for entity.

public static getTableName() : string
Return values
string

query()

public static query() : EO_Handler_Query
Return values
EO_Handler_Query

validateClassName()

Returns validators for CLASS_NAME field.

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

wakeUpCollection()

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

wakeUpObject()

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

        
On this page

Search results