ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct () | |
setNumberLimit ($a_limit) | |
getNumberLimit () | |
setAgeLimit (ilDateTime $dt) | |
getAgeLimit () | |
setTypesLimit ($a_types) | |
getTypesLimit () | |
setMode ($a_mode) | |
getMode () | |
start () | |
Data Fields | |
const | MODE_TRASH_RESTORE = 1 |
const | MODE_TRASH_REMOVE = 2 |
Protected Member Functions | |
restore () | |
Restore to recovery folder. More... | |
removeSelectedFromSystem () | |
remove (containers) from system More... | |
readSelectedDeleted () | |
read deleted according to filter settings More... | |
readDeleted ($tree_id=null) | |
Read deleted objects type $ilDB. More... | |
Private Attributes | |
$limit_number = 0 | |
$limit_age = null | |
$limit_types = array() | |
Definition at line 6 of file class.ilSystemCheckTrash.php.
ilSystemCheckTrash::__construct | ( | ) |
ilSystemCheckTrash::getAgeLimit | ( | ) |
Definition at line 40 of file class.ilSystemCheckTrash.php.
References $limit_age.
Referenced by readSelectedDeleted(), and start().
ilSystemCheckTrash::getMode | ( | ) |
Definition at line 60 of file class.ilSystemCheckTrash.php.
Referenced by start().
ilSystemCheckTrash::getNumberLimit | ( | ) |
Definition at line 26 of file class.ilSystemCheckTrash.php.
References $limit_number.
Referenced by readSelectedDeleted(), and start().
ilSystemCheckTrash::getTypesLimit | ( | ) |
Definition at line 50 of file class.ilSystemCheckTrash.php.
References $limit_types, and array.
Referenced by readSelectedDeleted(), and start().
|
protected |
Read deleted objects type $ilDB.
Definition at line 197 of file class.ilSystemCheckTrash.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by removeSelectedFromSystem(), and restore().
|
protected |
read deleted according to filter settings
Definition at line 139 of file class.ilSystemCheckTrash.php.
References $GLOBALS, $id, $ilDB, $query, $res, $row, $type, array, ilDBConstants\FETCHMODE_OBJECT, getAgeLimit(), ilLoggerFactory\getLogger(), getNumberLimit(), getTypesLimit(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by removeSelectedFromSystem().
|
protected |
remove (containers) from system
Definition at line 116 of file class.ilSystemCheckTrash.php.
References $factory, ilTree\_removeEntry(), readDeleted(), and readSelectedDeleted().
Referenced by start().
|
protected |
Restore to recovery folder.
Definition at line 87 of file class.ilSystemCheckTrash.php.
References $factory, $GLOBALS, and readDeleted().
Referenced by start().
ilSystemCheckTrash::setAgeLimit | ( | ilDateTime | $dt | ) |
Definition at line 31 of file class.ilSystemCheckTrash.php.
ilSystemCheckTrash::setMode | ( | $a_mode | ) |
Definition at line 55 of file class.ilSystemCheckTrash.php.
ilSystemCheckTrash::setNumberLimit | ( | $a_limit | ) |
Definition at line 21 of file class.ilSystemCheckTrash.php.
ilSystemCheckTrash::setTypesLimit | ( | $a_types | ) |
ilSystemCheckTrash::start | ( | ) |
Definition at line 65 of file class.ilSystemCheckTrash.php.
References $GLOBALS, getAgeLimit(), getMode(), getNumberLimit(), getTypesLimit(), removeSelectedFromSystem(), and restore().
|
private |
Definition at line 12 of file class.ilSystemCheckTrash.php.
Referenced by getAgeLimit().
|
private |
Definition at line 11 of file class.ilSystemCheckTrash.php.
Referenced by getNumberLimit().
|
private |
Definition at line 13 of file class.ilSystemCheckTrash.php.
Referenced by getTypesLimit().
const ilSystemCheckTrash::MODE_TRASH_REMOVE = 2 |
Definition at line 9 of file class.ilSystemCheckTrash.php.
Referenced by ilObjSystemCheckGUI\handleTrashAction(), ilObjSystemCheckGUI\initFormTrash(), and ilSCCronTrash\run().
const ilSystemCheckTrash::MODE_TRASH_RESTORE = 1 |
Definition at line 8 of file class.ilSystemCheckTrash.php.
Referenced by ilObjSystemCheckGUI\initFormTrash().