Sql_Processlist_Entity
extends Core_Empty_Entity
in package
SQL.
Tags
Table of Contents
Properties
- $command : mixed
- $db : mixed
- $host : mixed
- $id : mixed
- $info : mixed
- $state : mixed
- $time : mixed
- $user : mixed
- $_columns : mixed
- Columns
- $_dataValues : array<string|int, mixed>
- data-values, e.g. dataMyValue
- $_fields : mixed
- $_modelName : string
- Name of the model
- $_tableColums : array<string|int, mixed>
- Table columns
Methods
- __construct() : mixed
- Constructor
- __isset() : bool
- Triggered by calling isset() or empty() on inaccessible properties
- 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 tableColumns
- kill() : mixed
- Kill Process
- setTableColums() : self
- Set table columns
- _loadColumns() : self
- Load columns list
Properties
$command
public
mixed
$command
= \NULL
$db
public
mixed
$db
= \NULL
$host
public
mixed
$host
= \NULL
$id
public
mixed
$id
= \NULL
$info
public
mixed
$info
= \NULL
$state
public
mixed
$state
= \NULL
$time
public
mixed
$time
= \NULL
$user
public
mixed
$user
= \NULL
$_columns
Columns
protected
mixed
$_columns
= \NULL
$_dataValues
data-values, e.g. dataMyValue
protected
array<string|int, mixed>
$_dataValues
= array()
$_fields
protected
mixed
$_fields
= array('id', 'user', 'host', 'db', 'command', 'time', 'state', 'info')
$_modelName
Name of the model
protected
string
$_modelName
= 'sql_processlist'
$_tableColums
Table columns
protected
array<string|int, mixed>
$_tableColums
= array()
Methods
__construct()
Constructor
public
__construct() : mixed
__isset()
Triggered by calling isset() or empty() on inaccessible properties
public
__isset(string $property) : bool
Parameters
- $property : string
-
property name
Return values
boolgetDataValues()
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 tableColumns
public
getTableColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>kill()
Kill Process
public
kill() : 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