SearchResults
class SearchResults extends MetadataCollection (View source)
Constants
COLLECTION_ITEMS_KEY |
Collection Items Key |
COLLECTION_CURSOR_KEY |
Collection Cursor Key |
COLLECTION_HAS_MORE_ITEMS_KEY |
Collection has-more-items Key |
Properties
protected array | $data | Collection Data | from MetadataCollection |
protected ModelCollection | $items | List of Files/Folder Metadata | from MetadataCollection |
protected string | $cursor | Cursor for pagination and updates | from MetadataCollection |
protected boolean | $hasMoreItems | If more items are available | from MetadataCollection |
Methods
void
processItems(array $items)
Process items and cast them to their respective Models
Details
in MetadataCollection at line line 61
__construct(array $data)
Create a new Metadata Collection
in MetadataCollection at line line 76
string
getCollectionItemsKey()
Get the Collection Items Key
in MetadataCollection at line line 86
string
getCollectionHasMoreItemsKey()
Get the Collection has-more-items Key
in MetadataCollection at line line 96
string
getCollectionCursorKey()
Get the Collection Cursor Key
in MetadataCollection at line line 106
array
getData()
Get the Collection data
in MetadataCollection at line line 116
ModelCollection
getItems()
Get the Items
in MetadataCollection at line line 126
string
getCursor()
Get the cursor
in MetadataCollection at line line 136
boolean
hasMoreItems()
More items are available
at line line 35
protected void
processItems(array $items)
Process items and cast them to their respective Models