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
Return values
bool|intcreateCollection()
public
static createCollection() : EO_List_Collection
Return values
EO_List_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_List
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_ListgetById()
public
static getById(mixed $id) : EO_List_Result
Parameters
- $id : mixed
Return values
EO_List_ResultgetByPrimary()
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_ResultgetEntity()
public
static getEntity() : EO_List_Entity
Return values
EO_List_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_List_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_List_ResultgetMap()
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
stringonAfterDelete()
On after delete.
public
static onAfterDelete(Event $event) : EventResult
Parameters
- $event : Event
-
Event.
Return values
EventResultquery()
public
static query() : EO_List_Query
Return values
EO_List_QueryvalidateCode()
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_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_List
Parameters
- $row : mixed