Constructor & Destructor Documentation
KWebSource_Data::__construct |
( |
$ |
id, |
|
|
$ |
group, |
|
|
$ |
attributeId = false |
|
) |
| |
Member Function Documentation
Commits remaining updates to the data source.
- Returns:
- boolean TRUE if any changes where found
Reimplemented from KWebSource.
KWebSource_Data::fetchDataForUids |
( |
$ |
uids, |
|
|
$ |
genre, |
|
|
KWebAttribute_Table_Class $ |
attributes, |
|
|
$ |
languages = false , |
|
|
$ |
mainLanguage = false |
|
) |
| |
Fetches data for specified object UIDs and languages.
- Parameters:
-
$objects | Array of object UIDs, or IDs |
$genre | Default genre for UIDs |
$languages | Array of languages to fetch or false for every language |
$mainLanguage | Main language - results will be sorted, with the main language as the first one |
- Returns:
- array results as [$genre][$objectId][$lang] => array(data)
Reimplemented from KWebSource.
Field Documentation
KWebSource_Data::$attributeId = false |
Attribute to store data into.
KWebSource_Data::$keyData = 'data' |
The documentation for this class was generated from the following file: