Documentation

Sql_Table_Index_Entity extends Core_Empty_Entity
in package

Sql_Table_Index_Entity

Tags
subpackage

Sql

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

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
bool

columnBackend()

Backend callback method

public columnBackend() : string
Return values
string

delete()

Delete

public delete() : self
Return values
self

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
string

getPrimaryKey()

Get primary key value

public getPrimaryKey() : mixed

getPrimaryKeyName()

Get primary key value

public getPrimaryKeyName() : mixed

getRelatedSite()

Get Related Site

public getRelatedSite() : null
Return values
null

getTableColumns()

Get table colums

public getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTableName()

Get table name

public getTableName() : string
Return values
string

setTableColums()

Set table columns

public setTableColums(array<string|int, mixed> $tableColums) : self
Parameters
$tableColums : array<string|int, mixed>

columns

Return values
self

setTableName()

Set table name

public setTableName(string $tableName) : self
Parameters
$tableName : string
Return values
self

uniqueBackend()

Backend callback method

public uniqueBackend() : string
Return values
string

_loadColumns()

Load columns list

protected _loadColumns() : self
Return values
self

        
On this page

Search results