ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Defines a system check task. More...
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... | |
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().
ilSCTask::create | ( | ) |
Create new group.
Definition at line 124 of file class.ilSCTask.php.
References $ilDB, $query, getGroupId(), getId(), getIdentifier(), and getStatus().
ilSCTask::getGroupId | ( | ) |
Definition at line 48 of file class.ilSCTask.php.
References $grp_id.
Referenced by create().
ilSCTask::getId | ( | ) |
ilSCTask::getIdentifier | ( | ) |
Definition at line 58 of file class.ilSCTask.php.
References $identifier.
Referenced by create(), and update().
ilSCTask::getLastUpdate | ( | ) |
Get last update date.
Definition at line 73 of file class.ilSCTask.php.
References $last_update.
Referenced by update().
ilSCTask::getStatus | ( | ) |
Get status.
Definition at line 91 of file class.ilSCTask.php.
References $status.
Referenced by create(), and update().
ilSCTask::read | ( | ) |
Read group.
Definition at line 99 of file class.ilSCTask.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getId(), IL_CAL_DATETIME, setGroupId(), setIdentifier(), setLastUpdate(), and setStatus().
Referenced by __construct().
ilSCTask::setGroupId | ( | $a_id | ) |
Definition at line 43 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setIdentifier | ( | $a_ide | ) |
Definition at line 53 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setLastUpdate | ( | ilDateTime | $a_update | ) |
Definition at line 64 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setStatus | ( | $a_status | ) |
Definition at line 82 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::update | ( | ) |
Update task.
Definition at line 144 of file class.ilSCTask.php.
References $ilDB, $query, getId(), getIdentifier(), getLastUpdate(), getStatus(), and IL_CAL_DATETIME.
|
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().