UsageStatisticTable extends DataManager
Class UsageStatisticTable
Fields:
- ID int mandatory
- COMMAND_NAME string mandatory
- FILE_SIZE int optional
- DOMAIN string mandatory
- LICENSE_KEY string optional
- TARIF string optional
- DATE datetime optional
Table of Contents
Methods
- createCollection() : EO_UsageStatistic_Collection
- createObject() : EO_UsageStatistic
- deleteOld() : void
- getById() : EO_UsageStatistic_Result
- getByPrimary() : EO_UsageStatistic_Result
- getEntity() : EO_UsageStatistic_Entity
- getList() : EO_UsageStatistic_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : string
- Returns DB table name for entity.
- query() : EO_UsageStatistic_Query
- wakeUpCollection() : EO_UsageStatistic_Collection
- wakeUpObject() : EO_UsageStatistic
Methods
createCollection()
public
static createCollection() : EO_UsageStatistic_Collection
Return values
EO_UsageStatistic_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_UsageStatistic
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_UsageStatisticdeleteOld()
public
static deleteOld([int $days = 22 ][, int $portion = 500 ]) : void
Parameters
- $days : int = 22
-
Records older then $days will be cleaned
- $portion : int = 500
-
Number of records to clean at once
getById()
public
static getById(mixed $id) : EO_UsageStatistic_Result
Parameters
- $id : mixed
Return values
EO_UsageStatistic_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_UsageStatistic_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_UsageStatistic_ResultgetEntity()
public
static getEntity() : EO_UsageStatistic_Entity
Return values
EO_UsageStatistic_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_UsageStatistic_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_UsageStatistic_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_UsageStatistic_Query
Return values
EO_UsageStatistic_QuerywakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_UsageStatistic_Collection
Parameters
- $rows : mixed
Return values
EO_UsageStatistic_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_UsageStatistic
Parameters
- $row : mixed