PHP Класс Pop\Db\Record\AbstractRecord

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$auto boolean Property that determines whether or not the primary ID is auto-increment or not
$columns array Column names of the database table
$finder array Original query finder, if primary ID is not set.
$primaryId string Primary ID column name of the database table
$rows array Rows of multiple return results from a database query in an ArrayObject format.
$sql Pop\Db\Sql Sql abstraction object
$tableName string Table name of the database table

Открытые методы

Метод Описание
getResult ( ) : array Get the result rows.
sql ( ) : Sql Get the SQL abtraction object.

Защищенные методы

Метод Описание
getOrder ( string $order ) : array Get the order by values

Описание методов

getOrder() защищенный Метод

Get the order by values
protected getOrder ( string $order ) : array
$order string
Результат array

getResult() публичный Метод

Get the result rows.
public getResult ( ) : array
Результат array

sql() публичный Метод

Get the SQL abtraction object.
public sql ( ) : Sql
Результат Pop\Db\Sql

Описание свойств

$auto защищенное свойство

Property that determines whether or not the primary ID is auto-increment or not
protected bool $auto
Результат boolean

$columns защищенное свойство

Column names of the database table
protected array $columns
Результат array

$finder защищенное свойство

Original query finder, if primary ID is not set.
protected array $finder
Результат array

$primaryId защищенное свойство

Primary ID column name of the database table
protected string $primaryId
Результат string

$rows защищенное свойство

Rows of multiple return results from a database query in an ArrayObject format.
protected array $rows
Результат array

$sql защищенное свойство

Sql abstraction object
protected Sql,Pop\Db $sql
Результат Pop\Db\Sql

$tableName защищенное свойство

Table name of the database table
protected string $tableName
Результат string