Public Member Functions |
| | __construct () |
| | getPrinter () |
| | Zwraca tablicę identyfikatorów wyświetlania.
|
| | getObjectId () |
| | useObjectSynch () |
| | getObjectGenre () |
| | getObjectType () |
| | isBeingCreated () |
| | isNew () |
| | Czy jest obiektem zupełnie nowym?.
|
| | isStoreable () |
| | getTaskId () |
| | getUserId () |
| | getTaskAction () |
| | getTaskGenre () |
| | getTaskObjectId () |
| | getTaskParams () |
| | Returns task params.
|
| | setTaskParams ($params) |
| | getTaskResult () |
| | Returns task params.
|
| | getObject () |
| | canRemove ($userId=null) |
| | Uniwersalne zapytanie, czy user może usunšć ten element.
|
| | run () |
| | handleAction () |
| | removeTask () |
| | Usuwa kometarz ze sprawdzaniem uprawnień...
|
| | commitUpdates () |
| | Commits all pending updates to the data sources.
|
Static Public Member Functions |
| static | useObjectCache () |
| static | getTypeClass ($type) |
| static | fetchObjects ($ids, $params) |
| | Zwraca tablicę obiektów.
|
| static | buildCacheTaskObject ($row, $store=true) |
| static | createNewTask ($runTime, $genre, $objectId, $action, $params, $userId=false) |
| | Tworzy nowe zadanie.
|
| static | onObjectSwitchId ($genre, $oldId, $newId) |
| | Wywoływane, gdy jakiś obiekt zmieni swoje id.
|
Data Fields |
| | $removeOnSuccess = false |
Protected Attributes |
| | $isAlreadyRemoved = false |
Constructor & Destructor Documentation
| KWebTask::__construct |
( |
| ) |
|
Member Function Documentation
| static KWebTask::buildCacheTaskObject |
( |
$ |
row, |
|
|
$ |
store = true |
|
) |
| [static] |
| KWebTask::canRemove |
( |
$ |
userId = null | ) |
|
Uniwersalne zapytanie, czy user może usunšć ten element.
Reimplemented from KWebObject.
| KWebTask::commitUpdates |
( |
| ) |
|
Commits all pending updates to the data sources.
Reimplemented from KWebObject.
| static KWebTask::createNewTask |
( |
$ |
runTime, |
|
|
$ |
genre, |
|
|
$ |
objectId, |
|
|
$ |
action, |
|
|
$ |
params, |
|
|
$ |
userId = false |
|
) |
| [static] |
Tworzy nowe zadanie.
- Parameters:
-
| $parentId | ID elementu nadrzędnego |
| $data | Dane początkowe... |
- Returns:
- KWebComment
`task_id` int(11) NOT NULL auto_increment, `create_time` datetime NOT NULL default '0000-00-00 00:00:00', `run_time` datetime NOT NULL default '0000-00-00 00:00:00', `done_time` datetime default NULL, `genre` varchar(20) collate utf8_polish_ci default NULL, `object_id` int(11) default NULL, `action` varchar(50) collate utf8_polish_ci NOT NULL default '', `params` text collate utf8_polish_ci, `user_id` int(11) NOT NULL default '0', `result` text collate utf8_polish_ci,
| static KWebTask::fetchObjects |
( |
$ |
ids, |
|
|
$ |
params |
|
) |
| [static] |
Zwraca tablicę obiektów.
Reimplemented from KWebObject.
| KWebTask::getObjectGenre |
( |
| ) |
|
| KWebTask::getObjectId |
( |
| ) |
|
| KWebTask::getObjectType |
( |
| ) |
|
Zwraca tablicę identyfikatorów wyświetlania.
Wg. tej listy wyszukiwane są szablony w widokach - od ostatniego do pierwszego... Dla typów spoza rodzaju "item" identyfikatory powinny zawierać nazwę rodzaju aby nie wchodzić w konflikt z identyfikatorami z item.
Reimplemented from KWebObject.
| KWebTask::getTaskAction |
( |
| ) |
|
| KWebTask::getTaskGenre |
( |
| ) |
|
| KWebTask::getTaskObjectId |
( |
| ) |
|
| KWebTask::getTaskParams |
( |
| ) |
|
| KWebTask::getTaskResult |
( |
| ) |
|
| static KWebTask::getTypeClass |
( |
$ |
type | ) |
[static] |
| KWebTask::handleAction |
( |
| ) |
|
| KWebTask::isBeingCreated |
( |
| ) |
|
Czy jest obiektem zupełnie nowym?.
Reimplemented from KWebObject.
| KWebTask::isStoreable |
( |
| ) |
|
| static KWebTask::onObjectSwitchId |
( |
$ |
genre, |
|
|
$ |
oldId, |
|
|
$ |
newId |
|
) |
| [static] |
Wywoływane, gdy jakiś obiekt zmieni swoje id.
Reimplemented from KWebObject.
Usuwa kometarz ze sprawdzaniem uprawnień...
| KWebTask::setTaskParams |
( |
$ |
params | ) |
|
| static KWebTask::useObjectCache |
( |
| ) |
[static] |
| KWebTask::useObjectSynch |
( |
| ) |
|
Field Documentation
KWebTask::$isAlreadyRemoved = false [protected] |
| KWebTask::$removeOnSuccess = false |
The documentation for this class was generated from the following file: