Sql_Table_View_Entity
extends Core_Empty_Entity
in package
Sql_Table_View_Entity
Tags
Table of Contents
Properties
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_fields : mixed
- $_modelName : string
- Name of the model
- $_primaryKeyName : mixed
- Primary key name
- $_queryBuilder : Core_QueryBuilder_Select
- Select query builder
- $_tableColums : array<string|int, mixed>
- Table columns
- $_tableName : mixed
- Table name
Methods
- __call() : mixed
- Triggered when invoking inaccessible methods in an object context
- __construct() : mixed
- Constructor
- __get() : mixed
- Utilized for reading data from inaccessible properties
- __isset() : bool
- __isset
- delete() : self
- Delete
- getDataValues() : array<string|int, mixed>
- Get dataValues
- getModelName() : string
- Get model name, e.g. 'book' for 'Book_Model'
- getPrimaryKey() : mixed
- Get primary key value
- getPrimaryKeyName() : string
- Get primary key name
- getRelatedSite() : null
- Get Related Site
- getTableColumns() : array<string|int, mixed>
- Get table columns
- getTableName() : string
- Get table name
- isCallable() : mixed
- Verify that the contents of a variable can be called as a function
- queryBuilder() : Core_QueryBuilder_Select
- Get query builder for select
- setTableColums() : self
- Set table columns
- setTableName() : self
- Set table name
- _loadColumns() : self
- Load columns list
Properties
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_fields
protected
mixed
$_fields
= array()
$_modelName
Name of the model
protected
string
$_modelName
= 'sql_table_view'
$_primaryKeyName
Primary key name
protected
mixed
$_primaryKeyName
= \NULL
$_queryBuilder
Select query builder
protected
Core_QueryBuilder_Select
$_queryBuilder
= \NULL
$_tableColums
Table columns
protected
array<string|int, mixed>
$_tableColums
= array()
$_tableName
Table name
protected
mixed
$_tableName
= \NULL
Methods
__call()
Triggered when invoking inaccessible methods in an object context
public
__call(mixed $methodName, array<string|int, mixed> $arguments) : mixed
Parameters
- $methodName : mixed
- $arguments : array<string|int, mixed>
-
arguments
Tags
__construct()
Constructor
public
__construct() : mixed
__get()
Utilized for reading data from inaccessible properties
public
__get(string $property) : mixed
Parameters
- $property : string
-
property name
__isset()
__isset
public
__isset(string $property) : bool
Parameters
- $property : string
Return values
booldelete()
Delete
public
delete([mixed $primaryKey = NULL ]) : self
Parameters
- $primaryKey : mixed = NULL
Return values
selfgetDataValues()
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
stringgetPrimaryKey()
Get primary key value
public
getPrimaryKey() : mixed
getPrimaryKeyName()
Get primary key name
public
getPrimaryKeyName() : string
Return values
stringgetRelatedSite()
Get Related Site
public
getRelatedSite() : null
Return values
nullgetTableColumns()
Get table columns
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>getTableName()
Get table name
public
getTableName() : string
Return values
stringisCallable()
Verify that the contents of a variable can be called as a function
public
isCallable(string $methodName) : mixed
Parameters
- $methodName : string
-
method name
queryBuilder()
Get query builder for select
public
queryBuilder() : Core_QueryBuilder_Select
Return values
Core_QueryBuilder_SelectsetTableColums()
Set table columns
public
setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
- $tableColums : array<string|int, mixed>
-
columns
Return values
selfsetTableName()
Set table name
public
setTableName(string $tableName) : self
Parameters
- $tableName : string
Return values
self_loadColumns()
Load columns list
protected
_loadColumns() : self