Table extends DataManager
Class Table
Fields:
- ID int mandatory
- CODE string(50) optional
- NAME string(255) mandatory
- DESCRIPTION string(255) optional
- CLASS_NAME string(255) mandatory
- PARAMS string optional
- RIGHTS string(3) mandatory
- DELIVERY_ID int mandatory
- INIT_VALUE string(255) optional
- ACTIVE string(1) mandatory
- SORT int optional default 100
Table of Contents
Methods
- createCollection() : EO__Collection
- createObject() : EO_NNM_Object
- getById() : EO__Result
- getByPrimary() : EO__Result
- getEntity() : EO__Entity
- getFilePath() : mixed
- getList() : EO__Result
- getMap() : mixed
- getTableName() : mixed
- onBeforeDelete() : mixed
- query() : EO__Query
- validateActive() : mixed
- validateClassName() : mixed
- validateCode() : mixed
- validateDescription() : mixed
- validateInitial() : mixed
- validateName() : mixed
- validateRights() : mixed
- wakeUpCollection() : EO__Collection
- wakeUpObject() : EO_NNM_Object
Methods
createCollection()
public
static createCollection() : EO__Collection
Return values
EO__CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_NNM_Object
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_NNM_ObjectgetById()
public
static getById(mixed $id) : EO__Result
Parameters
- $id : mixed
Return values
EO__ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO__Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO__ResultgetEntity()
public
static getEntity() : EO__Entity
Return values
EO__EntitygetFilePath()
public
static getFilePath() : mixed
getList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO__Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO__ResultgetMap()
public
static getMap() : mixed
getTableName()
public
static getTableName() : mixed
onBeforeDelete()
public
static onBeforeDelete(Event $event) : mixed
Parameters
- $event : Event
query()
public
static query() : EO__Query
Return values
EO__QueryvalidateActive()
public
static validateActive() : mixed
validateClassName()
public
static validateClassName() : mixed
validateCode()
public
static validateCode() : mixed
validateDescription()
public
static validateDescription() : mixed
validateInitial()
public
static validateInitial() : mixed
validateName()
public
static validateName() : mixed
validateRights()
public
static validateRights() : mixed
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO__Collection
Parameters
- $rows : mixed
Return values
EO__CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_NNM_Object
Parameters
- $row : mixed