Sql_Table_Index_Entity
extends Core_Empty_Entity
in package
Sql_Table_Index_Entity
Tags
Table of Contents
Properties
- $columns : mixed
- $name : mixed
- $packed : mixed
- $type : mixed
- $unique : mixed
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_modelName : string
- Name of the model
- $_tableColums : array<string|int, mixed>
- Fields
- $_tableName : mixed
- Table name
Methods
- __construct() : mixed
- Constructor
- __get() : mixed
- Utilized for reading data from inaccessible properties
- __isset() : bool
- Triggered by calling isset() or empty() on inaccessible properties
- columnBackend() : string
- Backend callback method
- 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() : mixed
- Get primary key value
- getRelatedSite() : null
- Get Related Site
- getTableColumns() : array<string|int, mixed>
- Get table colums
- getTableName() : string
- Get table name
- setTableColums() : self
- Set table columns
- setTableName() : self
- Set table name
- uniqueBackend() : string
- Backend callback method
- _loadColumns() : self
- Load columns list
Properties
$columns
public
mixed
$columns
= \NULL
$name
public
mixed
$name
= \NULL
$packed
public
mixed
$packed
= \NULL
$type
public
mixed
$type
= \NULL
$unique
public
mixed
$unique
= \NULL
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_modelName
Name of the model
protected
string
$_modelName
= \NULL
$_tableColums
Fields
protected
array<string|int, mixed>
$_tableColums
= array('name' => array('datatype' => 'string', 'type' => 'string', 'max_length' => 255, 'default' => \NULL, 'null' => \FALSE))
$_tableName
Table name
protected
mixed
$_tableName
= \NULL
Methods
__construct()
Constructor
public
__construct() : mixed
__get()
Utilized for reading data from inaccessible properties
public
__get(string $property) : mixed
Parameters
- $property : string
-
property name
__isset()
Triggered by calling isset() or empty() on inaccessible properties
public
__isset(string $property) : bool
Parameters
- $property : string
-
property name
Return values
boolcolumnBackend()
Backend callback method
public
columnBackend() : string
Return values
stringdelete()
Delete
public
delete() : self
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 value
public
getPrimaryKeyName() : mixed
getRelatedSite()
Get Related Site
public
getRelatedSite() : null
Return values
nullgetTableColumns()
Get table colums
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>getTableName()
Get table name
public
getTableName() : string
Return values
stringsetTableColums()
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
selfuniqueBackend()
Backend callback method
public
uniqueBackend() : string
Return values
string_loadColumns()
Load columns list
protected
_loadColumns() : self