PHP 클래스 Nette\Database\Table\GroupedSelection

상속: extends Selection
파일 보기 프로젝트 열기: nette/database 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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