PHP Класс Nette\Database\Table\GroupedSelection

Наследование: extends Selection
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$active primary key
$column grouping column name
$refCacheCurrent current assigned referencing array
$refTable referenced table

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

Метод Описание
__construct ( Context $context, Nette\Database\IConventions $conventions, $tableName, $column, Selection $refTable, Nette\Caching\IStorage $cacheStorage = NULL ) Creates filtered and grouped table representation.
aggregation ( $function ) ******************* aggregations ****************d*g*
count ( $column = NULL )
delete ( )
insert ( $data ) ******************* manipulation ****************d*g*
order ( $columns, $params )
select ( $columns, $params )
setActive ( $active ) : self Sets active group.
update ( $data )

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

Метод Описание
emptyResultSet ( $saveCache = TRUE, $deleteRererencedCache = TRUE )
execute ( ) ******************* internal ****************d*g*
getRefTable ( &$refPath )
loadRefCache ( )

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

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

Creates filtered and grouped table representation.
public __construct ( Context $context, Nette\Database\IConventions $conventions, $tableName, $column, Selection $refTable, Nette\Caching\IStorage $cacheStorage = NULL )
$context Nette\Database\Context
$conventions Nette\Database\IConventions
$refTable Selection
$cacheStorage Nette\Caching\IStorage

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

******************* aggregations ****************d*g*
public aggregation ( $function )

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

public count ( $column = NULL )

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

public delete ( )

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

protected emptyResultSet ( $saveCache = TRUE, $deleteRererencedCache = TRUE )

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

******************* internal ****************d*g*
protected execute ( )

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

protected getRefTable ( &$refPath )

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

******************* manipulation ****************d*g*
public insert ( $data )

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

protected loadRefCache ( )

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

public order ( $columns, $params )

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

public select ( $columns, $params )

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

Sets active group.
public setActive ( $active ) : self
Результат self

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

public update ( $data )

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

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

primary key
protected $active

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

grouping column name
protected $column

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

current assigned referencing array
protected $refCacheCurrent

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

referenced table
protected $refTable