Documentation

Sql_Table_View_Entity extends Core_Empty_Entity
in package

Sql_Table_View_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
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

$_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
hostcms-event

modelname.onCall

__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
bool

delete()

Delete

public delete([mixed $primaryKey = NULL ]) : self
Parameters
$primaryKey : mixed = NULL
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 name

public getPrimaryKeyName() : string
Return values
string

getRelatedSite()

Get Related Site

public getRelatedSite() : null
Return values
null

getTableColumns()

Get table columns

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

getTableName()

Get table name

public getTableName() : string
Return values
string

isCallable()

Verify that the contents of a variable can be called as a function

public isCallable(string $methodName) : mixed
Parameters
$methodName : string

method name

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

_loadColumns()

Load columns list

protected _loadColumns() : self
Return values
self

        
On this page

Search results