Bitrix API

ListTable extends DataManager

Class ListTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION

Table of Contents

Methods

addIfNotExist()  : bool|int
Add if not exist.
createCollection()  : EO_List_Collection
createObject()  : EO_List
getById()  : EO_List_Result
getByPrimary()  : EO_List_Result
getEntity()  : EO_List_Entity
getList()  : EO_List_Result
getMap()  : array<string|int, mixed>
Get map.
getTableName()  : string
Get table name.
onAfterDelete()  : EventResult
On after delete.
query()  : EO_List_Query
validateCode()  : array<string|int, mixed>
Returns validators for CODE field.
wakeUpCollection()  : EO_List_Collection
wakeUpObject()  : EO_List

Methods

addIfNotExist()

Add if not exist.

public static addIfNotExist(string $code, string $name) : bool|int
Parameters
$code : string

Code.

$name : string

Name.

Tags
throws
ArgumentException
Return values
bool|int

createCollection()

public static createCollection() : EO_List_Collection
Return values
EO_List_Collection

createObject()

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

getById()

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

getByPrimary()

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

getEntity()

public static getEntity() : EO_List_Entity
Return values
EO_List_Entity

getList()

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

getMap()

Get map.

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

getTableName()

Get table name.

public static getTableName() : string
Return values
string

onAfterDelete()

On after delete.

public static onAfterDelete(Event $event) : EventResult
Parameters
$event : Event

Event.

Return values
EventResult

query()

public static query() : EO_List_Query
Return values
EO_List_Query

validateCode()

Returns validators for CODE field.

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

wakeUpCollection()

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

wakeUpObject()

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

        
On this page

Search results