ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (bool $a_log=false) | |
getPossibleModes () | |
get possible ilValidator modes More... | |
setMode (string $a_mode, bool $a_value) | |
set mode of ilValidator Usage: setMode("restore",true) => enable object restorey setMode("all",true) => enable all features For all possible modes see variables declaration More... | |
isModeEnabled (string $a_mode) | |
isLogEnabled () | |
setModeDependencies () | |
Sets modes by considering mode dependencies; some modes require other modes to be activated. More... | |
validate () | |
Performs the validation for each enabled mode. More... | |
findMissingObjects () | |
Search database for all object entries with missing reference and/or tree entry and stores result in $this->missing_objects. More... | |
findInvalidRolefolders () | |
Search database for all rolefolder object entries with missing reference entry. More... | |
findInvalidRBACEntries () | |
Search database for all role entries that are linked to invalid ref_ids, stores results in $this->invalid_rolefolders. More... | |
getMissingObjects () | |
Gets all object entries with missing reference and/or tree entry. More... | |
findInvalidReferences () | |
Search database for all reference entries that are not linked with a valid object id and stores result in $this->invalid_references. More... | |
getInvalidReferences () | |
Gets all reference entries that are not linked with a valid object id. More... | |
findInvalidChilds () | |
Search database for all tree entries without any link to a valid object and stores result in $this->invalid_childs. More... | |
getInvalidChilds () | |
Gets all tree entries without any link to a valid object. More... | |
findUnboundObjects () | |
Search database for all tree entries having no valid parent (=> no valid path to root node) and stores result in $this->unbound_objects Result does not contain childs that are marked as deleted! Deleted childs have a negative number. More... | |
findDeletedObjects () | |
Search database for all tree entries having no valid parent (=> no valid path to root node) and stores result in $this->unbound_objects Result also contains childs that are marked as deleted! Deleted childs has a negative number in ["deleted"] otherwise NULL. More... | |
getUnboundObjects () | |
Gets all tree entries having no valid parent (=> no valid path to root node) Returns an array with child => actual entry with broken uplink to its parent parent => parent of child that does not exist grandparent => grandparent of child (where path to root node continues) deleted => containing a negative number (= parent in trash) or NULL (parent does not exist at all) More... | |
getDeletedObjects () | |
Gets all object in trash. More... | |
getInvalidRolefolders () | |
Gets invalid rolefolders (same as missing objects) More... | |
removeInvalidReferences (array $a_invalid_refs=null) | |
Removes all reference entries that are linked with invalid object IDs. More... | |
removeInvalidChilds (array $a_invalid_childs=null) | |
Removes all tree entries without any link to a valid object. More... | |
removeInvalidRolefolders (array $a_invalid_rolefolders=null) | |
Removes invalid rolefolders. More... | |
restoreMissingObjects (array $a_missing_objects=null) | |
Restores missing reference and/or tree entry for all objects found by this::getMissingObjects() Restored object are placed in RecoveryFolder. More... | |
restoreReference (int $a_obj_id) | |
restore a reference for an object Creates a new reference entry in DB table object_reference for $a_obj_id More... | |
restoreUnboundObjects (array $a_unbound_objects=null) | |
Restore objects (and their subobjects) to RecoveryFolder that are valid but not linked correctly in the hierarchy because they point to an invalid parent_id. More... | |
restoreTrash (array $a_deleted_objects=null) | |
Restore all objects in trash to RecoveryFolder NOTE: All objects will be restored to top of RecoveryFolder regardless of existing hierarchical structure! More... | |
restoreDeletedObjects (array $a_nodes) | |
Restore deleted objects (and their subobjects) to RecoveryFolder. More... | |
restoreSubTrees (array $a_nodes) | |
Restore objects (and their subobjects) to RecoveryFolder. More... | |
purgeTrash (array $a_nodes=null) | |
Removes all objects in trash from system. More... | |
purgeUnboundObjects (array $a_nodes=null) | |
Removes all invalid objects from system. More... | |
purgeMissingObjects (array $a_nodes=null) | |
Removes all missing objects from system. More... | |
purgeObjects (array $a_nodes) | |
removes objects from system More... | |
initGapsInTree () | |
Initializes gaps in lft/rgt values of a tree. More... | |
handleErr (object $error) | |
Callback function handles PEAR_error and outputs detailed infos about error TODO: implement that in global errorhandler of ILIAS (via templates) More... | |
writeScanLogArray (array $a_arr) | |
writeScanLogLine (string $a_msg) | |
hasScanLog () | |
Quickly determine if there is a scan log. More... | |
deleteScanLog () | |
Delete scan log. More... | |
readScanLog () | |
get_last_scan (array $a_scan_log) | |
checkTreeStructure () | |
dumpTree () | |
Dumps the Tree structure into the scan log. More... | |
Data Fields | |
array | $rbac_object_types |
array | $workspace_object_ids = [] |
array | $invalid_rbac_entries |
array | $object_types_exclude |
list of object types to exclude from recovering More... | |
array | $mode |
array | dump_tree |
array | $invalid_references = [] |
array | $invalid_childs = [] |
array | $missing_objects = [] |
array | $unbound_objects = [] |
array | $deleted_objects = [] |
array | $invalid_rolefolders = [] |
contains missing objects that are rolefolders. More... | |
array | $invalid_objects = [] |
contains correct registrated objects but data are corrupted (experimental) More... | |
bool | $logging = false |
ilLog | $scan_log = null |
string | $scan_log_file = "scanlog.log" |
string | $scan_log_separator = "<!-- scan log start -->" |
Protected Member Functions | |
isMediaFolder (int $a_obj_id) | |
isExcludedFromRecovery (string $a_type, int $a_obj_id) | |
initWorkspaceObjects () | |
filterWorkspaceObjects (array &$a_data, string $a_index="obj_id") | |
Protected Attributes | |
ilObjectDefinition | $obj_definition |
ilDBInterface | $db |
ilLanguage | $lng |
ilLogger | $log |
ilRbacAdmin | $rbacadmin |
ilTree | $tree |
ilObjUser | $user |
array | $media_pool_ids = null |
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 ILIAS Data Validator & Recovery Tool
Definition at line 24 of file class.ilValidator.php.
ilValidator::__construct | ( | bool | $a_log = false | ) |
Definition at line 88 of file class.ilValidator.php.
References $DIC, $ilDB, CLIENT_DATA_DIR, deleteScanLog(), ILIAS\Repository\lng(), ILIAS\Repository\user(), and writeScanLogLine().
ilValidator::checkTreeStructure | ( | ) |
Definition at line 1757 of file class.ilValidator.php.
References writeScanLogLine().
Referenced by validate().
ilValidator::deleteScanLog | ( | ) |
Delete scan log.
Definition at line 1724 of file class.ilValidator.php.
References CLIENT_DATA_DIR.
Referenced by __construct().
ilValidator::dumpTree | ( | ) |
Dumps the Tree structure into the scan log.
Definition at line 1768 of file class.ilValidator.php.
References $GLOBALS, $i, ilDBConstants\FETCHMODE_OBJECT, initWorkspaceObjects(), and writeScanLogLine().
Referenced by validate().
|
protected |
Definition at line 2209 of file class.ilValidator.php.
References initWorkspaceObjects().
Referenced by findInvalidRBACEntries(), findInvalidReferences(), findInvalidRolefolders(), findMissingObjects(), removeInvalidReferences(), removeInvalidRolefolders(), and restoreMissingObjects().
ilValidator::findDeletedObjects | ( | ) |
Search database for all tree entries having no valid parent (=> no valid path to root node) and stores result in $this->unbound_objects Result also contains childs that are marked as deleted! Deleted childs has a negative number in ["deleted"] otherwise NULL.
Definition at line 786 of file class.ilValidator.php.
References $query, ilDBConstants\FETCHMODE_OBJECT, IL_CAL_DATETIME, IL_CAL_UNIX, writeScanLogArray(), and writeScanLogLine().
Referenced by validate().
ilValidator::findInvalidChilds | ( | ) |
Search database for all tree entries without any link to a valid object and stores result in $this->invalid_childs.
Definition at line 688 of file class.ilValidator.php.
References ilDBConstants\FETCHMODE_OBJECT, writeScanLogArray(), and writeScanLogLine().
Referenced by purgeObjects(), restoreSubTrees(), and validate().
ilValidator::findInvalidRBACEntries | ( | ) |
Search database for all role entries that are linked to invalid ref_ids, stores results in $this->invalid_rolefolders.
Definition at line 551 of file class.ilValidator.php.
References $db, $ilDB, ilDBConstants\FETCHMODE_OBJECT, filterWorkspaceObjects(), RECOVERY_FOLDER_ID, writeScanLogArray(), and writeScanLogLine().
ilValidator::findInvalidReferences | ( | ) |
Search database for all reference entries that are not linked with a valid object id and stores result in $this->invalid_references.
Definition at line 637 of file class.ilValidator.php.
References $db, $ilDB, ilDBConstants\FETCHMODE_OBJECT, filterWorkspaceObjects(), writeScanLogArray(), and writeScanLogLine().
Referenced by validate().
ilValidator::findInvalidRolefolders | ( | ) |
Search database for all rolefolder object entries with missing reference entry.
Furthermore gets all rolefolders that are placed accidently in RECOVERY_FOLDER from earlier versions of System check. Result is stored in $this->invalid_rolefolders
Definition at line 477 of file class.ilValidator.php.
References $db, $ilDB, ilDBConstants\FETCHMODE_OBJECT, filterWorkspaceObjects(), RECOVERY_FOLDER_ID, writeScanLogArray(), and writeScanLogLine().
Referenced by validate().
ilValidator::findMissingObjects | ( | ) |
Search database for all object entries with missing reference and/or tree entry and stores result in $this->missing_objects.
Definition at line 413 of file class.ilValidator.php.
References $db, $ilDB, ilDBConstants\FETCHMODE_OBJECT, filterWorkspaceObjects(), isExcludedFromRecovery(), writeScanLogArray(), and writeScanLogLine().
Referenced by validate().
ilValidator::findUnboundObjects | ( | ) |
Search database for all tree entries having no valid parent (=> no valid path to root node) and stores result in $this->unbound_objects Result does not contain childs that are marked as deleted! Deleted childs have a negative number.
Definition at line 738 of file class.ilValidator.php.
References ilDBConstants\FETCHMODE_OBJECT, writeScanLogArray(), and writeScanLogLine().
Referenced by validate().
ilValidator::get_last_scan | ( | array | $a_scan_log | ) |
Definition at line 1746 of file class.ilValidator.php.
Referenced by readScanLog().
ilValidator::getDeletedObjects | ( | ) |
Gets all object in trash.
Definition at line 851 of file class.ilValidator.php.
References $deleted_objects.
Referenced by validate().
ilValidator::getInvalidChilds | ( | ) |
Gets all tree entries without any link to a valid object.
Definition at line 726 of file class.ilValidator.php.
References $invalid_childs.
Referenced by validate().
ilValidator::getInvalidReferences | ( | ) |
Gets all reference entries that are not linked with a valid object id.
Definition at line 678 of file class.ilValidator.php.
References $invalid_references.
Referenced by validate().
ilValidator::getInvalidRolefolders | ( | ) |
Gets invalid rolefolders (same as missing objects)
Definition at line 859 of file class.ilValidator.php.
References $invalid_rolefolders.
Referenced by validate().
ilValidator::getMissingObjects | ( | ) |
Gets all object entries with missing reference and/or tree entry.
Returns array with obj_id => actual object entry with missing reference or tree type => symbolic name of object type ref_id => reference entry of object (or NULL if missing) child => always NULL (only for debugging and verification)
Definition at line 627 of file class.ilValidator.php.
References $missing_objects.
Referenced by validate().
ilValidator::getPossibleModes | ( | ) |
get possible ilValidator modes
Definition at line 125 of file class.ilValidator.php.
ilValidator::getUnboundObjects | ( | ) |
Gets all tree entries having no valid parent (=> no valid path to root node) Returns an array with child => actual entry with broken uplink to its parent parent => parent of child that does not exist grandparent => grandparent of child (where path to root node continues) deleted => containing a negative number (= parent in trash) or NULL (parent does not exist at all)
Definition at line 843 of file class.ilValidator.php.
References $unbound_objects.
Referenced by validate().
ilValidator::handleErr | ( | object | $error | ) |
Callback function handles PEAR_error and outputs detailed infos about error TODO: implement that in global errorhandler of ILIAS (via templates)
object | $error |
Definition at line 1630 of file class.ilValidator.php.
ilValidator::hasScanLog | ( | ) |
Quickly determine if there is a scan log.
Definition at line 1715 of file class.ilValidator.php.
References CLIENT_DATA_DIR.
Referenced by readScanLog().
ilValidator::initGapsInTree | ( | ) |
Initializes gaps in lft/rgt values of a tree.
Depending on the value of the gap property of the tree, this function either closes all gaps in the tree, or equally distributes gaps all over the tree.
Wrapper for ilTree::renumber()
Definition at line 1600 of file class.ilValidator.php.
References $log, $message, $tree, ilTree\renumber(), ROOT_FOLDER_ID, and writeScanLogLine().
Referenced by validate().
|
protected |
Definition at line 2188 of file class.ilValidator.php.
Referenced by dumpTree(), and filterWorkspaceObjects().
|
protected |
Definition at line 2175 of file class.ilValidator.php.
References isMediaFolder().
Referenced by findMissingObjects(), and restoreMissingObjects().
ilValidator::isLogEnabled | ( | ) |
Definition at line 171 of file class.ilValidator.php.
References $logging.
Referenced by writeScanLogArray(), and writeScanLogLine().
|
protected |
Definition at line 2158 of file class.ilValidator.php.
References $db, $ilDB, $query, and $res.
Referenced by isExcludedFromRecovery().
ilValidator::isModeEnabled | ( | string | $a_mode | ) |
Definition at line 160 of file class.ilValidator.php.
Referenced by validate().
ilValidator::purgeMissingObjects | ( | array | $a_nodes = null | ) |
Removes all missing objects from system.
?array | $a_nodes list of nodes to delete |
Definition at line 1475 of file class.ilValidator.php.
References $log, $message, $missing_objects, purgeObjects(), and writeScanLogLine().
Referenced by validate().
ilValidator::purgeObjects | ( | array | $a_nodes | ) |
removes objects from system
array | $a_nodes | list of objects |
Definition at line 1506 of file class.ilValidator.php.
References $ilUser, $log, $message, $ref_id, $user, ilTree\_removeEntry(), findInvalidChilds(), ilObjectFactory\getInstanceByRefId(), removeInvalidChilds(), and writeScanLogLine().
Referenced by purgeMissingObjects(), purgeTrash(), and purgeUnboundObjects().
ilValidator::purgeTrash | ( | array | $a_nodes = null | ) |
Removes all objects in trash from system.
array | $a_nodes | list of nodes to delete |
Definition at line 1414 of file class.ilValidator.php.
References $deleted_objects, $log, $message, purgeObjects(), and writeScanLogLine().
Referenced by validate().
ilValidator::purgeUnboundObjects | ( | array | $a_nodes = null | ) |
Removes all invalid objects from system.
array | $a_nodes | list of nodes to delete |
Definition at line 1444 of file class.ilValidator.php.
References $log, $message, $unbound_objects, purgeObjects(), and writeScanLogLine().
Referenced by validate().
ilValidator::readScanLog | ( | ) |
Definition at line 1729 of file class.ilValidator.php.
References $scan_log, CLIENT_DATA_DIR, get_last_scan(), and hasScanLog().
ilValidator::removeInvalidChilds | ( | array | $a_invalid_childs = null | ) |
Removes all tree entries without any link to a valid object.
array | invalid IDs in tree (optional) |
Definition at line 933 of file class.ilValidator.php.
References $invalid_childs, $log, $message, and writeScanLogLine().
Referenced by purgeObjects(), restoreSubTrees(), and validate().
ilValidator::removeInvalidReferences | ( | array | $a_invalid_refs = null | ) |
Removes all reference entries that are linked with invalid object IDs.
array | invalid IDs in object_reference (optional) |
Definition at line 869 of file class.ilValidator.php.
References $db, $ilDB, $invalid_references, $log, $message, $query, $res, filterWorkspaceObjects(), and writeScanLogLine().
Referenced by validate().
ilValidator::removeInvalidRolefolders | ( | array | $a_invalid_rolefolders = null | ) |
Removes invalid rolefolders.
array | obj_ids of rolefolder objects (optional) |
Definition at line 994 of file class.ilValidator.php.
References $invalid_rolefolders, $log, $message, filterWorkspaceObjects(), ilObjectFactory\getInstanceByRefId(), restoreReference(), and writeScanLogLine().
Referenced by validate().
ilValidator::restoreDeletedObjects | ( | array | $a_nodes | ) |
Restore deleted objects (and their subobjects) to RecoveryFolder.
array | $a_nodes | list of nodes |
Definition at line 1264 of file class.ilValidator.php.
References ILIAS\LTI\ToolProvider\$key, $log, $message, $rbacadmin, $tree, ilTree\deleteTree(), ilObjectFactory\getInstanceByRefId(), RECOVERY_FOLDER_ID, ilRbacAdmin\revokePermission(), and writeScanLogLine().
Referenced by restoreTrash().
ilValidator::restoreMissingObjects | ( | array | $a_missing_objects = null | ) |
Restores missing reference and/or tree entry for all objects found by this::getMissingObjects() Restored object are placed in RecoveryFolder.
array | obj_ids of missing objects (optional) |
ilDatabaseException | |
ilObjectNotFoundException |
Definition at line 1064 of file class.ilValidator.php.
References $log, $message, $missing_objects, $rbacadmin, filterWorkspaceObjects(), ilObjectFactory\getInstanceByRefId(), isExcludedFromRecovery(), RECOVERY_FOLDER_ID, restoreReference(), ilRbacAdmin\revokePermission(), and writeScanLogLine().
Referenced by validate().
ilValidator::restoreReference | ( | int | $a_obj_id | ) |
restore a reference for an object Creates a new reference entry in DB table object_reference for $a_obj_id
Definition at line 1140 of file class.ilValidator.php.
References $db, $ilDB, $log, $message, $query, and $res.
Referenced by removeInvalidRolefolders(), and restoreMissingObjects().
ilValidator::restoreSubTrees | ( | array | $a_nodes | ) |
Restore objects (and their subobjects) to RecoveryFolder.
array | $a_nodes | list of nodes |
Definition at line 1321 of file class.ilValidator.php.
References ILIAS\LTI\ToolProvider\$key, $log, $message, $rbacadmin, $tree, ilTree\deleteTree(), findInvalidChilds(), ilObjectFactory\getInstanceByRefId(), ilTree\getNodeData(), ilTree\getSubTree(), RECOVERY_FOLDER_ID, removeInvalidChilds(), ilRbacAdmin\revokePermission(), and writeScanLogLine().
Referenced by restoreUnboundObjects().
ilValidator::restoreTrash | ( | array | $a_deleted_objects = null | ) |
Restore all objects in trash to RecoveryFolder NOTE: All objects will be restored to top of RecoveryFolder regardless of existing hierarchical structure!
array | $a_deleted_objects | list of deleted childs (optional) |
Definition at line 1209 of file class.ilValidator.php.
References $deleted_objects, $log, $message, restoreDeletedObjects(), and writeScanLogLine().
Referenced by validate().
ilValidator::restoreUnboundObjects | ( | array | $a_unbound_objects = null | ) |
Restore objects (and their subobjects) to RecoveryFolder that are valid but not linked correctly in the hierarchy because they point to an invalid parent_id.
Definition at line 1171 of file class.ilValidator.php.
References $log, $message, $unbound_objects, restoreSubTrees(), and writeScanLogLine().
Referenced by validate().
ilValidator::setMode | ( | string | $a_mode, |
bool | $a_value | ||
) |
set mode of ilValidator Usage: setMode("restore",true) => enable object restorey setMode("all",true) => enable all features For all possible modes see variables declaration
string | $a_mode | |
bool | $a_value |
Definition at line 139 of file class.ilValidator.php.
References $mode, and setModeDependencies().
ilValidator::setModeDependencies | ( | ) |
Sets modes by considering mode dependencies; some modes require other modes to be activated.
This functions set all modes that are required according to the current setting.
Definition at line 181 of file class.ilValidator.php.
Referenced by setMode().
ilValidator::validate | ( | ) |
Performs the validation for each enabled mode.
Returns a validation summary for display to the user.
Definition at line 214 of file class.ilValidator.php.
References $lng, checkTreeStructure(), dumpTree(), findDeletedObjects(), findInvalidChilds(), findInvalidReferences(), findInvalidRolefolders(), findMissingObjects(), findUnboundObjects(), getDeletedObjects(), getInvalidChilds(), getInvalidReferences(), getInvalidRolefolders(), getMissingObjects(), getUnboundObjects(), initGapsInTree(), ILIAS\Repository\int(), isModeEnabled(), purgeMissingObjects(), purgeTrash(), purgeUnboundObjects(), removeInvalidChilds(), removeInvalidReferences(), removeInvalidRolefolders(), restoreMissingObjects(), restoreTrash(), restoreUnboundObjects(), and ilLanguage\txt().
ilValidator::writeScanLogArray | ( | array | $a_arr | ) |
Definition at line 1692 of file class.ilValidator.php.
References isLogEnabled().
Referenced by findDeletedObjects(), findInvalidChilds(), findInvalidRBACEntries(), findInvalidReferences(), findInvalidRolefolders(), findMissingObjects(), and findUnboundObjects().
ilValidator::writeScanLogLine | ( | string | $a_msg | ) |
Definition at line 1703 of file class.ilValidator.php.
References isLogEnabled().
Referenced by __construct(), checkTreeStructure(), dumpTree(), findDeletedObjects(), findInvalidChilds(), findInvalidRBACEntries(), findInvalidReferences(), findInvalidRolefolders(), findMissingObjects(), findUnboundObjects(), initGapsInTree(), purgeMissingObjects(), purgeObjects(), purgeTrash(), purgeUnboundObjects(), removeInvalidChilds(), removeInvalidReferences(), removeInvalidRolefolders(), restoreDeletedObjects(), restoreMissingObjects(), restoreSubTrees(), restoreTrash(), and restoreUnboundObjects().
|
protected |
Definition at line 27 of file class.ilValidator.php.
Referenced by findInvalidRBACEntries(), findInvalidReferences(), findInvalidRolefolders(), findMissingObjects(), initWorkspaceObjects(), isMediaFolder(), removeInvalidReferences(), and restoreReference().
array ilValidator::$deleted_objects = [] |
Definition at line 70 of file class.ilValidator.php.
Referenced by getDeletedObjects(), purgeTrash(), and restoreTrash().
array ilValidator::$invalid_childs = [] |
Definition at line 67 of file class.ilValidator.php.
Referenced by getInvalidChilds(), and removeInvalidChilds().
array ilValidator::$invalid_objects = [] |
contains correct registrated objects but data are corrupted (experimental)
Definition at line 82 of file class.ilValidator.php.
array ilValidator::$invalid_rbac_entries |
Definition at line 36 of file class.ilValidator.php.
array ilValidator::$invalid_references = [] |
Definition at line 66 of file class.ilValidator.php.
Referenced by getInvalidReferences(), and removeInvalidReferences().
array ilValidator::$invalid_rolefolders = [] |
contains missing objects that are rolefolders.
found by this:: findMissingObjects()' these rolefolders must be removed before any restore operations
Definition at line 77 of file class.ilValidator.php.
Referenced by getInvalidRolefolders(), and removeInvalidRolefolders().
|
protected |
Definition at line 28 of file class.ilValidator.php.
Referenced by validate().
|
protected |
Definition at line 29 of file class.ilValidator.php.
Referenced by initGapsInTree(), purgeMissingObjects(), purgeObjects(), purgeTrash(), purgeUnboundObjects(), removeInvalidChilds(), removeInvalidReferences(), removeInvalidRolefolders(), restoreDeletedObjects(), restoreMissingObjects(), restoreReference(), restoreSubTrees(), restoreTrash(), and restoreUnboundObjects().
bool ilValidator::$logging = false |
Definition at line 83 of file class.ilValidator.php.
Referenced by isLogEnabled().
|
protected |
Definition at line 33 of file class.ilValidator.php.
array ilValidator::$missing_objects = [] |
Definition at line 68 of file class.ilValidator.php.
Referenced by getMissingObjects(), purgeMissingObjects(), and restoreMissingObjects().
array ilValidator::$mode |
Definition at line 56 of file class.ilValidator.php.
Referenced by setMode().
|
protected |
Definition at line 26 of file class.ilValidator.php.
array ilValidator::$object_types_exclude |
list of object types to exclude from recovering
i added folder due to bug #1860 (even if this will not completely fix it) and the fact, that media pool folders may find their way into the recovery folder (what results in broken pools, if the are deleted) Alex, 2006-07-21
I removed file objects from this exclusion list, because file objects can be in the repository tree, and thus can suffer from data inconsistencies as well. Werner, 2007-04-16
Definition at line 51 of file class.ilValidator.php.
array ilValidator::$rbac_object_types |
Definition at line 34 of file class.ilValidator.php.
|
protected |
Definition at line 30 of file class.ilValidator.php.
Referenced by restoreDeletedObjects(), restoreMissingObjects(), and restoreSubTrees().
ilLog ilValidator::$scan_log = null |
Definition at line 84 of file class.ilValidator.php.
Referenced by readScanLog().
string ilValidator::$scan_log_file = "scanlog.log" |
Definition at line 85 of file class.ilValidator.php.
string ilValidator::$scan_log_separator = "<!-- scan log start -->" |
Definition at line 86 of file class.ilValidator.php.
|
protected |
Definition at line 31 of file class.ilValidator.php.
Referenced by initGapsInTree(), restoreDeletedObjects(), and restoreSubTrees().
array ilValidator::$unbound_objects = [] |
Definition at line 69 of file class.ilValidator.php.
Referenced by getUnboundObjects(), purgeUnboundObjects(), and restoreUnboundObjects().
|
protected |
Definition at line 32 of file class.ilValidator.php.
Referenced by purgeObjects().
array ilValidator::$workspace_object_ids = [] |
Definition at line 35 of file class.ilValidator.php.
array ilValidator::dump_tree |
Definition at line 58 of file class.ilValidator.php.