Links (KWebObjectLinks) read from another data source.
More...
Public Member Functions |
| __construct (Collection $collection, $objectIdField, array $options=array()) |
| prefetch ($limit=false, $start=false) |
| Items will be prefetched (if needed) in a batch for later retrieval.
|
Static Public Member Functions |
static | createFromLinkIds (array $data, array $options=array(), $objectIdField=false) |
Detailed Description
Links (KWebObjectLinks) read from another data source.
Prefetch prefetches KWebLink and link's target and parent KWebItems
Constructor & Destructor Documentation
KWebCollection_Links::__construct |
( |
Collection $ |
collection, |
|
|
$ |
objectIdField, |
|
|
array $ |
options = array() |
|
) |
| |
- Parameters:
-
$data | Source of the data |
$objectGenreOrField | Objects genre, or data field containing the genre prefixed with '.' |
$objectIdField | Data field containing the object id or name |
Member Function Documentation
static KWebCollection_Links::createFromLinkIds |
( |
array $ |
data, |
|
|
array $ |
options = array() , |
|
|
$ |
objectIdField = false |
|
) |
| [static] |
KWebCollection_Links::prefetch |
( |
$ |
limit = false , |
|
|
$ |
start = false |
|
) |
| |
Items will be prefetched (if needed) in a batch for later retrieval.
- Parameters:
-
Number | of items to prefetch or false |
Start | of the prefetch or false for current position |
- Returns:
- boolean TRUE if prefetch was successfull, FALSE if prefetch can't be supported
Reimplemented from KWebCollection_Objects.
The documentation for this class was generated from the following file: