Method |
Description |
|
count ( ) : integer |
Returns the total items count. |
|
current ( ) : Document |
Returns the current listing row. |
|
getCondition ( ) : string |
Returns the SQL condition value. |
|
getDocuments ( ) : array |
Returns documents, also loads the rows if these aren't loaded. |
|
getItems ( integer $offset, integer $itemCountPerPage ) : Listing |
Returns the listing based on defined offset and limit as parameters. |
|
getPaginatorAdapter ( ) : Listing |
|
|
getUnpublished ( ) : boolean |
Checks if the document is unpublished. |
|
isValidOrderKey ( $key ) : boolean |
Tests if the given key is an valid order key to sort the results |
|
key ( ) : mixed |
Returns the current listing row key. |
|
next ( ) : mixed |
Returns the next listing row key. |
|
rewind ( ) |
Rewind the listing back to te start. |
|
setDocuments ( array $documents ) : Listing |
Assign documents to the listing. |
|
setUnpublished ( $unpublished ) : boolean |
Set the unpublished flag for the document. |
|
valid ( ) : boolean |
Checks whether the listing contains more entries. |
|