Table extends DataManager
Class Table
Fields:
- ID int mandatory
- CODE string(50) optional
- PARENT_ID int optional
- NAME string(255) mandatory
- ACTIVE string(1) mandatory
- DESCRIPTION string(255) optional
- SORT int mandatory
- LOGOTIP int optional
- CONFIG string mandatory
- CURRENCY string(3) mandatory
- STORE string(255) optional
- CLASS_NAME string(255) optional
Table of Contents
Methods
- createCollection() : EO__Collection
- createObject() : EO_NNM_Object
- delete() : DeleteResult
- getById() : EO__Result
- getByPrimary() : EO__Result
- getCodeById() : mixed
- getEntity() : EO__Entity
- getFilePath() : mixed
- getIdByCode() : mixed
- getList() : EO__Result
- getMap() : mixed
- getTableName() : mixed
- query() : EO__Query
- validateClassName() : mixed
- validateCode() : mixed
- validateCurrency() : mixed
- validateName() : 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_Objectdelete()
public
static delete(mixed $primary) : DeleteResult
Parameters
- $primary : mixed
Tags
Return values
DeleteResultgetById()
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__ResultgetCodeById()
public
static getCodeById(mixed $id) : mixed
use Services\Manager::getCodeById()
Parameters
- $id : mixed
getEntity()
public
static getEntity() : EO__Entity
Return values
EO__EntitygetFilePath()
public
static getFilePath() : mixed
getIdByCode()
public
static getIdByCode(mixed $code) : mixed
use Services\Manager::getIdByCode()
Parameters
- $code : 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
query()
public
static query() : EO__Query
Return values
EO__QueryvalidateClassName()
public
static validateClassName() : mixed
validateCode()
public
static validateCode() : mixed
validateCurrency()
public
static validateCurrency() : mixed
validateName()
public
static validateName() : 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