LogTable extends DataManager
Class LogTable
Fields:
- ID int mandatory
- ENGINE_ID int mandatory
- TIMESTAMP_X datetime mandatory default 'CURRENT_TIMESTAMP'
- REQUEST_URI string(100) mandatory
- REQUEST_DATA string optional
- RESPONSE_TIME double mandatory
- RESPONSE_STATUS int optional
- RESPONSE_DATA string optional
Table of Contents
Constants
- TTL = 604800
Methods
- clean() : mixed
- createCollection() : EO_Log_Collection
- createObject() : EO_Log
- getById() : EO_Log_Result
- getByPrimary() : EO_Log_Result
- getEntity() : EO_Log_Entity
- getList() : EO_Log_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : string
- Returns DB table name for entity.
- onBeforeAdd() : mixed
- query() : EO_Log_Query
- wakeUpCollection() : EO_Log_Collection
- wakeUpObject() : EO_Log
Constants
TTL
public
mixed
TTL
= 604800
Methods
clean()
public
static clean() : mixed
createCollection()
public
static createCollection() : EO_Log_Collection
Return values
EO_Log_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Log
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_LoggetById()
public
static getById(mixed $id) : EO_Log_Result
Parameters
- $id : mixed
Return values
EO_Log_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Log_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Log_ResultgetEntity()
public
static getEntity() : EO_Log_Entity
Return values
EO_Log_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Log_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Log_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
stringonBeforeAdd()
public
static onBeforeAdd(Event $event) : mixed
Parameters
- $event : Event
query()
public
static query() : EO_Log_Query
Return values
EO_Log_QuerywakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Log_Collection
Parameters
- $rows : mixed
Return values
EO_Log_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Log
Parameters
- $row : mixed