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