|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Defines a system check task. More...
Inheritance diagram for ilSCTask:
Collaboration diagram for ilSCTask:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| getId () | |
| setGroupId ($a_id) | |
| getGroupId () | |
| setIdentifier ($a_ide) | |
| getIdentifier () | |
| setLastUpdate (ilDateTime $a_update) | |
| getLastUpdate () | |
| Get last update date. More... | |
| setStatus ($a_status) | |
| getStatus () | |
| Get status. More... | |
| isActive () | |
| read () | |
| Read group. More... | |
| create () | |
| Create new group. More... | |
| update () | |
| Update task. More... | |
Data Fields | |
| const | STATUS_NOT_ATTEMPTED = 0 |
| const | STATUS_IN_PROGRESS = 1 |
| const | STATUS_COMPLETED = 2 |
| const | STATUS_FAILED = 3 |
Private Attributes | |
| $id = 0 | |
| $grp_id = 0 | |
| $last_update = null | |
| $status = 0 | |
| $identifier = '' | |
Defines a system check task.
Definition at line 12 of file class.ilSCTask.php.
| ilSCTask::__construct | ( | $a_id = 0 | ) |
Constructor.
| type | $a_id |
Definition at line 32 of file class.ilSCTask.php.
References read().
Here is the call graph for this function:| ilSCTask::create | ( | ) |
Create new group.
Definition at line 131 of file class.ilSCTask.php.
References $DIC, $ilDB, $query, getGroupId(), getId(), getIdentifier(), and getStatus().
Here is the call graph for this function:| ilSCTask::getGroupId | ( | ) |
Definition at line 48 of file class.ilSCTask.php.
References $grp_id.
Referenced by create().
Here is the caller graph for this function:| ilSCTask::getId | ( | ) |
| ilSCTask::getIdentifier | ( | ) |
Definition at line 58 of file class.ilSCTask.php.
References $identifier.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSCTask::getLastUpdate | ( | ) |
Get last update date.
Definition at line 73 of file class.ilSCTask.php.
References $last_update.
Referenced by update().
Here is the caller graph for this function:| ilSCTask::getStatus | ( | ) |
Get status.
Definition at line 90 of file class.ilSCTask.php.
References $status.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSCTask::isActive | ( | ) |
Reimplemented in ilSCTreeDumpTask.
Definition at line 98 of file class.ilSCTask.php.
| ilSCTask::read | ( | ) |
Read group.
Definition at line 106 of file class.ilSCTask.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getId(), IL_CAL_DATETIME, setGroupId(), setIdentifier(), setLastUpdate(), setStatus(), and ilTimeZone\UTC.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCTask::setGroupId | ( | $a_id | ) |
Definition at line 43 of file class.ilSCTask.php.
Referenced by read().
Here is the caller graph for this function:| ilSCTask::setIdentifier | ( | $a_ide | ) |
Definition at line 53 of file class.ilSCTask.php.
Referenced by read().
Here is the caller graph for this function:| ilSCTask::setLastUpdate | ( | ilDateTime | $a_update | ) |
Definition at line 64 of file class.ilSCTask.php.
Referenced by read().
Here is the caller graph for this function:| ilSCTask::setStatus | ( | $a_status | ) |
Definition at line 81 of file class.ilSCTask.php.
Referenced by read().
Here is the caller graph for this function:| ilSCTask::update | ( | ) |
Update task.
Definition at line 153 of file class.ilSCTask.php.
References $DIC, $ilDB, $query, getId(), getIdentifier(), getLastUpdate(), getStatus(), IL_CAL_DATETIME, and ilTimeZone\UTC.
Here is the call graph for this function:
|
private |
Definition at line 22 of file class.ilSCTask.php.
Referenced by getGroupId().
|
private |
Definition at line 21 of file class.ilSCTask.php.
Referenced by getId().
|
private |
Definition at line 25 of file class.ilSCTask.php.
Referenced by getIdentifier().
|
private |
Definition at line 23 of file class.ilSCTask.php.
Referenced by getLastUpdate().
|
private |
Definition at line 24 of file class.ilSCTask.php.
Referenced by getStatus().
| const ilSCTask::STATUS_COMPLETED = 2 |
Definition at line 16 of file class.ilSCTask.php.
Referenced by ilSCGroupTableGUI\fillRow(), ilSCTaskTableGUI\fillRow(), ilSCTreeTasks\findMissing(), ilSCTreeTasks\findMissingTreeEntries(), ilSCTreeTasksGUI\listTree(), ilSCTasks\lookupCompleted(), ilSCTreeTasksGUI\repairMissing(), ilSCTreeTasksGUI\repairMissingTreeEntries(), ilSCTreeTasksGUI\repairStructure(), ilSCUtils\taskStatus2Text(), ilSCTreeTasks\validateDuplicates(), and ilSCTreeTasks\validateStructure().
| const ilSCTask::STATUS_FAILED = 3 |
Definition at line 17 of file class.ilSCTask.php.
Referenced by ilSCTreeTasksGUI\analyzeStructure(), ilSCGroupTableGUI\fillRow(), ilSCTaskTableGUI\fillRow(), ilSCTreeTasks\findMissing(), ilSCTreeTasksGUI\findMissing(), ilSCTreeTasks\findMissingTreeEntries(), ilSCTreeTasksGUI\findMissingTreeEntries(), ilSCTreeTasksGUI\getActions(), ilSCTreeTasksGUI\listTree(), ilSCTasks\lookupFailed(), ilSCTasks\lookupLastUpdate(), ilSCUtils\taskStatus2Text(), ilSCTreeTasks\validateDuplicates(), ilSCTreeTasksGUI\validateDuplicates(), and ilSCTreeTasks\validateStructure().
| const ilSCTask::STATUS_IN_PROGRESS = 1 |
Definition at line 15 of file class.ilSCTask.php.
Referenced by ilSCUtils\taskStatus2Text().
| const ilSCTask::STATUS_NOT_ATTEMPTED = 0 |
Definition at line 14 of file class.ilSCTask.php.
Referenced by ilSCUtils\taskStatus2Text().