Свойство | Тип | Описание | |
---|---|---|---|
$data | |||
$entity | string | |
||
$refColumn | string | null | ||
$refTable | string | null | ||
$selection |
Метод | Описание | |
---|---|---|
__construct ( |
||
count ( string $column = NULL ) : integer | ||
current ( ) : |
||
key ( ) : mixed | ||
limit ( integer $limit, integer $offset = NULL ) : |
||
next ( ) : void | ||
orderBy ( string | array $column, boolean $dir = NULL ) : |
API: | |
rewind ( ) : void | ||
toArray ( ) : array | ||
valid ( ) : boolean |
Метод | Описание | |
---|---|---|
invalidate ( ) : void | ||
loadData ( ) : void |
$this->orderBy('column', EntityCollection::DESC); // ORDER BY [column] DESC
or
$this->orderBy(array(
'first' => EntityCollection::ASC,
'second' => EntityCollection::DESC,
); // ORDER BY [first], [second] DESC
protected string|Callback,Nette\Utils $entity | ||
Результат | string | |