|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilSystemCheckTrash:Public Member Functions | |
| __construct () | |
| setNumberLimit (int $a_limit) | |
| getNumberLimit () | |
| setAgeLimit (ilDateTime $dt) | |
| getAgeLimit () | |
| setTypesLimit (array $a_types) | |
| getTypesLimit () | |
| setMode (int $a_mode) | |
| getMode () | |
| start () | |
Data Fields | |
| const | MODE_TRASH_RESTORE = 1 |
| const | MODE_TRASH_REMOVE = 2 |
Protected Member Functions | |
| restore () | |
| removeSelectedFromSystem () | |
| readSelectedDeleted () | |
| readDeleted (?int $tree_id=null) | |
Protected Attributes | |
| ilLogger | $logger |
| ilDBInterface | $db |
| ilTree | $tree |
| ilRbacAdmin | $admin |
Private Attributes | |
| int | $limit_number = 0 |
| ilDateTime | $limit_age |
| array | $limit_types = array() |
| int | $mode |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 23 of file class.ilSystemCheckTrash.php.
| ilSystemCheckTrash::__construct | ( | ) |
Definition at line 38 of file class.ilSystemCheckTrash.php.
References $DIC, IL_CAL_UNIX, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilSystemCheckTrash::getAgeLimit | ( | ) |
Definition at line 65 of file class.ilSystemCheckTrash.php.
References $limit_age.
Referenced by readSelectedDeleted(), and start().
Here is the caller graph for this function:| ilSystemCheckTrash::getMode | ( | ) |
Definition at line 85 of file class.ilSystemCheckTrash.php.
References $mode.
Referenced by start().
Here is the caller graph for this function:| ilSystemCheckTrash::getNumberLimit | ( | ) |
Definition at line 55 of file class.ilSystemCheckTrash.php.
References $limit_number.
Referenced by readSelectedDeleted(), and start().
Here is the caller graph for this function:| ilSystemCheckTrash::getTypesLimit | ( | ) |
Definition at line 75 of file class.ilSystemCheckTrash.php.
References $limit_types.
Referenced by readSelectedDeleted(), and start().
Here is the caller graph for this function:
|
protected |
Definition at line 207 of file class.ilSystemCheckTrash.php.
References $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by removeSelectedFromSystem(), and restore().
Here is the caller graph for this function:
|
protected |
Definition at line 156 of file class.ilSystemCheckTrash.php.
References $id, $query, $res, $type, ilDBConstants\FETCHMODE_OBJECT, getAgeLimit(), getNumberLimit(), getTypesLimit(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\logger(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by removeSelectedFromSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 138 of file class.ilSystemCheckTrash.php.
References ilTree\_removeEntry(), ilObjectFactory\getInstanceByRefId(), readDeleted(), and readSelectedDeleted().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 112 of file class.ilSystemCheckTrash.php.
References ilObjectFactory\getInstanceByRefId(), ILIAS\Repository\int(), ILIAS\Repository\logger(), readDeleted(), and RECOVERY_FOLDER_ID.
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSystemCheckTrash::setAgeLimit | ( | ilDateTime | $dt | ) |
Definition at line 60 of file class.ilSystemCheckTrash.php.
| ilSystemCheckTrash::setMode | ( | int | $a_mode | ) |
Definition at line 80 of file class.ilSystemCheckTrash.php.
| ilSystemCheckTrash::setNumberLimit | ( | int | $a_limit | ) |
Definition at line 50 of file class.ilSystemCheckTrash.php.
| ilSystemCheckTrash::setTypesLimit | ( | array | $a_types | ) |
Definition at line 70 of file class.ilSystemCheckTrash.php.
| ilSystemCheckTrash::start | ( | ) |
Definition at line 90 of file class.ilSystemCheckTrash.php.
References getAgeLimit(), getMode(), getNumberLimit(), getTypesLimit(), ILIAS\Repository\logger(), MODE_TRASH_REMOVE, MODE_TRASH_RESTORE, removeSelectedFromSystem(), and restore().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file class.ilSystemCheckTrash.php.
|
protected |
Definition at line 34 of file class.ilSystemCheckTrash.php.
|
private |
Definition at line 29 of file class.ilSystemCheckTrash.php.
Referenced by getAgeLimit().
|
private |
Definition at line 28 of file class.ilSystemCheckTrash.php.
Referenced by getNumberLimit().
|
private |
Definition at line 30 of file class.ilSystemCheckTrash.php.
Referenced by getTypesLimit().
|
protected |
Definition at line 33 of file class.ilSystemCheckTrash.php.
|
private |
Definition at line 31 of file class.ilSystemCheckTrash.php.
Referenced by getMode().
|
protected |
Definition at line 35 of file class.ilSystemCheckTrash.php.
| const ilSystemCheckTrash::MODE_TRASH_REMOVE = 2 |
Definition at line 26 of file class.ilSystemCheckTrash.php.
Referenced by ilObjSystemCheckGUI\handleTrashAction(), ilObjSystemCheckGUI\initFormTrash(), ilSCCronTrash\run(), and start().
| const ilSystemCheckTrash::MODE_TRASH_RESTORE = 1 |
Definition at line 25 of file class.ilSystemCheckTrash.php.
Referenced by ilObjSystemCheckGUI\initFormTrash(), and start().