Counter_Entity
extends Core_Empty_Entity
in package
Counter.
Tags
Table of Contents
Properties
- $all_days : mixed
- Backend property
- $date : mixed
- Backend property
- $id : mixed
- Backend property
- $param : mixed
- Backend property
- $seven_day : mixed
- Backend property
- $thirty_day : mixed
- Backend property
- $today : mixed
- Backend property
- $yesterday : mixed
- Backend property
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_modelName : mixed
- Model name
- $_tableColums : array<string|int, mixed>
- Table columns
Methods
- __construct() : mixed
- Constructor
- getDataValues() : array<string|int, mixed>
- Get dataValues
- getModelName() : string
- Get model name, e.g. 'book' for 'Book_Model'
- getPrimaryKeyName() : string
- Get primary key name
- getRelatedSite() : null
- Get Related Site
- getTableColumns() : array<string|int, mixed>
- Get table colums
- setTableColums() : self
- Set table columns
- _loadColumns() : self
- Load columns list
Properties
$all_days
Backend property
public
mixed
$all_days
= \NULL
$date
Backend property
public
mixed
$date
= \NULL
$id
Backend property
public
mixed
$id
= \NULL
$param
Backend property
public
mixed
$param
= \NULL
$seven_day
Backend property
public
mixed
$seven_day
= \NULL
$thirty_day
Backend property
public
mixed
$thirty_day
= \NULL
$today
Backend property
public
mixed
$today
= \NULL
$yesterday
Backend property
public
mixed
$yesterday
= \NULL
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_modelName
Model name
protected
mixed
$_modelName
= 'counter'
$_tableColums
Table columns
protected
array<string|int, mixed>
$_tableColums
= array()
Methods
__construct()
Constructor
public
__construct() : mixed
getDataValues()
Get dataValues
public
getDataValues() : array<string|int, mixed>
Return values
array<string|int, mixed>getModelName()
Get model name, e.g. 'book' for 'Book_Model'
public
getModelName() : string
Return values
stringgetPrimaryKeyName()
Get primary key name
public
getPrimaryKeyName() : string
Return values
stringgetRelatedSite()
Get Related Site
public
getRelatedSite() : null
Return values
nullgetTableColumns()
Get table colums
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>setTableColums()
Set table columns
public
setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
- $tableColums : array<string|int, mixed>
-
columns
Return values
self_loadColumns()
Load columns list
protected
_loadColumns() : self