PersonTypeTable extends DataManager
Class PersonTypeTable
Fields:
- ID int mandatory
- LID string(2) mandatory
- NAME string(255) mandatory
- SORT int optional default 150
- ACTIVE bool optional default 'Y'
Table of Contents
Methods
- createCollection() : EO_PersonType_Collection
- createObject() : EO_PersonType
- getById() : EO_PersonType_Result
- getByPrimary() : EO_PersonType_Result
- getEntity() : EO_PersonType_Entity
- getFilePath() : string
- Returns path to the file which contains definition of the class.
- getList() : EO_PersonType_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : string
- Returns DB table name for entity.
- query() : EO_PersonType_Query
- validateLid() : array<string|int, mixed>
- Returns validators for LID field.
- validateName() : array<string|int, mixed>
- Returns validators for NAME field.
- wakeUpCollection() : EO_PersonType_Collection
- wakeUpObject() : EO_PersonType
Methods
createCollection()
public
static createCollection() : EO_PersonType_Collection
Return values
EO_PersonType_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_PersonType
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_PersonTypegetById()
public
static getById(mixed $id) : EO_PersonType_Result
Parameters
- $id : mixed
Return values
EO_PersonType_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_PersonType_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_PersonType_ResultgetEntity()
public
static getEntity() : EO_PersonType_Entity
Return values
EO_PersonType_EntitygetFilePath()
Returns path to the file which contains definition of the class.
public
static getFilePath() : string
Return values
stringgetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_PersonType_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_PersonType_ResultgetMap()
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
stringquery()
public
static query() : EO_PersonType_Query
Return values
EO_PersonType_QueryvalidateLid()
Returns validators for LID field.
public
static validateLid() : array<string|int, mixed>
Return values
array<string|int, mixed>validateName()
Returns validators for NAME field.
public
static validateName() : array<string|int, mixed>
Return values
array<string|int, mixed>wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_PersonType_Collection
Parameters
- $rows : mixed
Return values
EO_PersonType_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_PersonType
Parameters
- $row : mixed