ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Defines a system check task. More...
Public Member Functions | |
__construct (int $a_id=0) | |
getId () | |
setGroupId (int $a_id) | |
getGroupId () | |
setIdentifier (string $a_ide) | |
getIdentifier () | |
setLastUpdate (ilDateTime $a_update) | |
getLastUpdate () | |
setStatus (int $a_status) | |
getStatus () | |
isActive () | |
read () | |
create () | |
update () | |
Data Fields | |
const | STATUS_NOT_ATTEMPTED = 0 |
const | STATUS_IN_PROGRESS = 1 |
const | STATUS_COMPLETED = 2 |
const | STATUS_FAILED = 3 |
Protected Attributes | |
ilDBInterface | $db |
Private Attributes | |
int | $id = 0 |
int | $grp_id = 0 |
ilDateTime | $last_update = null |
int | $status = 0 |
string | $identifier = '' |
Defines a system check task.
Definition at line 24 of file class.ilSCTask.php.
ilSCTask::__construct | ( | int | $a_id = 0 | ) |
ilSCTask::create | ( | ) |
Definition at line 119 of file class.ilSCTask.php.
References getGroupId(), getId(), getIdentifier(), getStatus(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilSCTask::getGroupId | ( | ) |
Definition at line 58 of file class.ilSCTask.php.
References $grp_id.
Referenced by create().
ilSCTask::getId | ( | ) |
ilSCTask::getIdentifier | ( | ) |
Definition at line 68 of file class.ilSCTask.php.
References $identifier.
Referenced by create(), and update().
ilSCTask::getLastUpdate | ( | ) |
Definition at line 78 of file class.ilSCTask.php.
References $last_update.
Referenced by update().
ilSCTask::getStatus | ( | ) |
Definition at line 91 of file class.ilSCTask.php.
References $status.
Referenced by create(), and update().
ilSCTask::isActive | ( | ) |
Definition at line 96 of file class.ilSCTask.php.
ilSCTask::read | ( | ) |
Definition at line 101 of file class.ilSCTask.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getId(), IL_CAL_DATETIME, setGroupId(), setIdentifier(), setLastUpdate(), setStatus(), ilDBConstants\T_INTEGER, and ilTimeZone\UTC.
Referenced by __construct().
ilSCTask::setGroupId | ( | int | $a_id | ) |
Definition at line 53 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setIdentifier | ( | string | $a_ide | ) |
Definition at line 63 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setLastUpdate | ( | ilDateTime | $a_update | ) |
Definition at line 73 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::setStatus | ( | int | $a_status | ) |
Definition at line 86 of file class.ilSCTask.php.
Referenced by read().
ilSCTask::update | ( | ) |
Definition at line 134 of file class.ilSCTask.php.
References getId(), getIdentifier(), getLastUpdate(), getStatus(), IL_CAL_DATETIME, ilDBConstants\T_INTEGER, ilDBConstants\T_TEXT, ilDBConstants\T_TIMESTAMP, and ilTimeZone\UTC.
|
protected |
Definition at line 37 of file class.ilSCTask.php.
|
private |
Definition at line 32 of file class.ilSCTask.php.
Referenced by getGroupId().
|
private |
Definition at line 31 of file class.ilSCTask.php.
Referenced by getId().
|
private |
Definition at line 35 of file class.ilSCTask.php.
Referenced by getIdentifier().
|
private |
Definition at line 33 of file class.ilSCTask.php.
Referenced by getLastUpdate().
|
private |
Definition at line 34 of file class.ilSCTask.php.
Referenced by getStatus().
const ilSCTask::STATUS_COMPLETED = 2 |
Definition at line 28 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 29 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 27 of file class.ilSCTask.php.
Referenced by ilSCUtils\taskStatus2Text().
const ilSCTask::STATUS_NOT_ATTEMPTED = 0 |
Definition at line 26 of file class.ilSCTask.php.
Referenced by ilSCUtils\taskStatus2Text().