| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Defines a system check task. More...
 Collaboration diagram for ilSCTreeTasks:Public Member Functions | |
| __construct (ilSCTask $task) | |
| getTask () | |
| validateStructure () | |
| checkStructure () | |
| validateDuplicates () | |
| checkDuplicates () | |
| findMissingTreeEntries () | |
| findMissing () | |
| repairMissing () | |
| repairMissingTreeEntries () | |
Static Public Member Functions | |
| static | findDeepestDuplicate () | 
| static | repairPK () | 
| static | getNodeInfo (int $a_tree_id, int $a_child) | 
| static | getChilds (int $a_tree_id, int $a_childs) | 
| static | findDuplicates (int $a_duplicate_id) | 
| static | hasDuplicate (int $a_child) | 
| static | deleteDuplicateFromTree (int $a_duplicate_id, bool $a_delete_trash) | 
Protected Member Functions | |
| getDB () | |
| repairMissingObject (int $a_parent_ref, int $a_ref_id) | |
| readMissing () | |
| deleteMissingTreeEntry (int $a_tree_id, int $a_ref_id) | |
| readMissingTreeEntries () | |
| Read missing tree entries for referenced objects Entry in tree but no entry in object reference.  More... | |
| createRecoveryContainer () | |
Static Protected Member Functions | |
| static | deleteDuplicate (int $tree_id, int $dup_id) | 
Protected Attributes | |
| ilTree | $tree | 
| ilDBInterface | $db | 
Private Attributes | |
| ilSCTask | $task | 
Defines a system check task.
Definition at line 10 of file class.ilSCTreeTasks.php.
| ilSCTreeTasks::__construct | ( | ilSCTask | $task | ) | 
Definition at line 16 of file class.ilSCTreeTasks.php.
| ilSCTreeTasks::checkDuplicates | ( | ) | 
Definition at line 228 of file class.ilSCTreeTasks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by validateDuplicates().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCTreeTasks::checkStructure | ( | ) | 
Definition at line 209 of file class.ilSCTreeTasks.php.
Referenced by validateStructure().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 402 of file class.ilSCTreeTasks.php.
References IL_CAL_DATETIME, IL_CAL_UNIX, and RECOVERY_FOLDER_ID.
Referenced by repairMissing().
 Here is the caller graph for this function:
      
  | 
  staticprotected | 
Definition at line 162 of file class.ilSCTreeTasks.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ilDBConstants\T_INTEGER.
      
  | 
  static | 
Definition at line 148 of file class.ilSCTreeTasks.php.
Referenced by ilSCTreeTasksGUI\deleteDuplicatesFromRepository(), and ilSCTreeTasksGUI\deleteDuplicatesFromTrash().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 351 of file class.ilSCTreeTasks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ilDBConstants\T_INTEGER.
Referenced by repairMissingTreeEntries().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 24 of file class.ilSCTreeTasks.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilSCTreeTasksGUI\repairDuplicates().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 112 of file class.ilSCTreeTasks.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by ilSCTreeDuplicatesTableGUI\fillRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCTreeTasks::findMissing | ( | ) | 
Definition at line 257 of file class.ilSCTreeTasks.php.
References getTask(), IL_CAL_UNIX, readMissing(), ilSCTask\STATUS_COMPLETED, and ilSCTask\STATUS_FAILED.
 Here is the call graph for this function:| ilSCTreeTasks::findMissingTreeEntries | ( | ) | 
Definition at line 242 of file class.ilSCTreeTasks.php.
References getTask(), IL_CAL_UNIX, readMissingTreeEntries(), ilSCTask\STATUS_COMPLETED, and ilSCTask\STATUS_FAILED.
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 93 of file class.ilSCTreeTasks.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by ilSCTreeDuplicatesTableGUI\fillRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
      
  | 
  static | 
Definition at line 52 of file class.ilSCTreeTasks.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), and ilDBConstants\T_INTEGER.
Referenced by ilSCTreeDuplicatesTableGUI\fillObjectRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCTreeTasks::getTask | ( | ) | 
Definition at line 190 of file class.ilSCTreeTasks.php.
References $task.
Referenced by findMissing(), findMissingTreeEntries(), validateDuplicates(), and validateStructure().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 139 of file class.ilSCTreeTasks.php.
      
  | 
  protected | 
Definition at line 323 of file class.ilSCTreeTasks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by findMissing(), and repairMissing().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Read missing tree entries for referenced objects Entry in tree but no entry in object reference.
Definition at line 387 of file class.ilSCTreeTasks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by findMissingTreeEntries(), and repairMissingTreeEntries().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCTreeTasks::repairMissing | ( | ) | 
Definition at line 272 of file class.ilSCTreeTasks.php.
References $ref_id, createRecoveryContainer(), readMissing(), and repairMissingObject().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 281 of file class.ilSCTreeTasks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ilDBConstants\T_INTEGER.
Referenced by repairMissing().
 Here is the caller graph for this function:| ilSCTreeTasks::repairMissingTreeEntries | ( | ) | 
Definition at line 337 of file class.ilSCTreeTasks.php.
References $ref_id, $res, deleteMissingTreeEntry(), ilDBConstants\FETCHMODE_OBJECT, readMissingTreeEntries(), and ilDBConstants\T_INTEGER.
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 43 of file class.ilSCTreeTasks.php.
Referenced by ilSCTreeTasksGUI\deleteDuplicatesFromRepository(), and ilSCTreeTasksGUI\deleteDuplicatesFromTrash().
 Here is the caller graph for this function:| ilSCTreeTasks::validateDuplicates | ( | ) | 
Definition at line 214 of file class.ilSCTreeTasks.php.
References checkDuplicates(), getTask(), IL_CAL_UNIX, ilSCTask\STATUS_COMPLETED, and ilSCTask\STATUS_FAILED.
 Here is the call graph for this function:| ilSCTreeTasks::validateStructure | ( | ) | 
Definition at line 195 of file class.ilSCTreeTasks.php.
References checkStructure(), getTask(), IL_CAL_UNIX, ilSCTask\STATUS_COMPLETED, and ilSCTask\STATUS_FAILED.
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 13 of file class.ilSCTreeTasks.php.
Referenced by getDB().
      
  | 
  private | 
Definition at line 14 of file class.ilSCTreeTasks.php.
Referenced by __construct(), and getTask().
      
  | 
  protected | 
Definition at line 12 of file class.ilSCTreeTasks.php.