|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Handles tree tasks. More...
Inheritance diagram for ilSCTreeTasksGUI:
Collaboration diagram for ilSCTreeTasksGUI:Public Member Functions | |
| getGroupTitle () | |
| Get title of group. More... | |
| getGroupDescription () | |
| Get description of group. More... | |
| getTitle () | |
| Get title of task. More... | |
| getDescription () | |
| Get title of task. More... | |
| getActions () | |
| get actions for table gui More... | |
| analyzeStructure () | |
| Analyze tree structure. More... | |
| listTree () | |
| List tree. More... | |
| showTree () | |
| Show already scanned tree. More... | |
| validateDuplicates () | |
| start task More... | |
Public Member Functions inherited from ilSCComponentTaskGUI | |
| __construct (ilSCTask $task=null) | |
| getActions () | |
| Get actions for task table gui array( 'txt' => $lng->txt('sysc_action_repair') 'command' => 'repairTask' );. More... | |
| getTitle () | |
| Get title of task. More... | |
| getDescription () | |
| get description of task More... | |
| getGroupTitle () | |
| Get title of group. More... | |
| getGroupDescription () | |
| Get description of group. More... | |
| getTask () | |
| executeCommand () | |
| Execute command. More... | |
Data Fields | |
| const | TYPE_DUPLICATES = 'duplicates' |
| const | TYPE_DUMP = 'dump' |
| const | TYPE_MISSING = 'missing_reference' |
| const | TYPE_MISSING_TREE = 'missing_tree' |
| const | TYPE_STRUCTURE = 'structure' |
Protected Member Functions | |
| confirmRepairStructure () | |
| Show repair missing confirmation. More... | |
| repairStructure () | |
| Repair structure. More... | |
| repairDuplicates () | |
| repair More... | |
| deleteDuplicatesFromRepository () | |
| deleteDuplicatesFromTrash () | |
| findMissing () | |
| find missing objects More... | |
| confirmRepairMissing () | |
| Show repair missing confirmation. More... | |
| repairMissing () | |
| Repair missing objects. More... | |
| findMissingTreeEntries () | |
| find missing objects More... | |
| confirmRepairMissingTreeEntries () | |
| Show repair missing confirmation. More... | |
| repairMissingTreeEntries () | |
| Repair missing objects. More... | |
Protected Member Functions inherited from ilSCComponentTaskGUI | |
| getLang () | |
| Get language. More... | |
| getCtrl () | |
| Get ctrl. More... | |
| showSimpleConfirmation ($a_text, $a_btn_text, $a_cmd) | |
| Show simple confirmation. More... | |
| cancel () | |
| Cancel and return to task list. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilSCComponentTaskGUI | |
| $ctrl | |
| $lng | |
| $task = null | |
Handles tree tasks.
Definition at line 13 of file class.ilSCTreeTasksGUI.php.
| ilSCTreeTasksGUI::analyzeStructure | ( | ) |
Analyze tree structure.
Definition at line 183 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
Here is the call graph for this function:
|
protected |
Show repair missing confirmation.
Definition at line 394 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
Here is the call graph for this function:
|
protected |
Show repair missing confirmation.
Definition at line 446 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
Here is the call graph for this function:
|
protected |
Show repair missing confirmation.
Definition at line 206 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
Here is the call graph for this function:
|
protected |
Definition at line 333 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCTreeTasks\deleteDuplicateFromTree(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilSCTreeTasks\repairPK(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 350 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCTreeTasks\deleteDuplicateFromTree(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilSCTreeTasks\repairPK(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
find missing objects
Definition at line 370 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
Here is the call graph for this function:
|
protected |
find missing objects
Definition at line 424 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
Here is the call graph for this function:| ilSCTreeTasksGUI::getActions | ( | ) |
get actions for table gui
Reimplemented from ilSCComponentTaskGUI.
Definition at line 83 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilSCTask\STATUS_FAILED, TYPE_DUMP, TYPE_DUPLICATES, TYPE_MISSING, TYPE_MISSING_TREE, and TYPE_STRUCTURE.
Here is the call graph for this function:| ilSCTreeTasksGUI::getDescription | ( | ) |
Get title of task.
Reimplemented from ilSCComponentTaskGUI.
Definition at line 59 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), TYPE_DUMP, TYPE_DUPLICATES, TYPE_MISSING, TYPE_MISSING_TREE, and TYPE_STRUCTURE.
Here is the call graph for this function:| ilSCTreeTasksGUI::getGroupDescription | ( | ) |
Get description of group.
Reimplemented from ilSCComponentTaskGUI.
Definition at line 27 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang().
Here is the call graph for this function:| ilSCTreeTasksGUI::getGroupTitle | ( | ) |
Get title of group.
Reimplemented from ilSCComponentTaskGUI.
Definition at line 22 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang().
Here is the call graph for this function:| ilSCTreeTasksGUI::getTitle | ( | ) |
Get title of task.
Reimplemented from ilSCComponentTaskGUI.
Definition at line 35 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), TYPE_DUMP, TYPE_DUPLICATES, TYPE_MISSING, TYPE_MISSING_TREE, and TYPE_STRUCTURE.
Here is the call graph for this function:| ilSCTreeTasksGUI::listTree | ( | ) |
List tree.
Definition at line 248 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendFailure(), ilSCTask\STATUS_COMPLETED, and ilSCTask\STATUS_FAILED.
Here is the call graph for this function:
|
protected |
repair
| type | $a_task_identifier |
Definition at line 319 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, and ilSCTreeTasks\findDeepestDuplicate().
Here is the call graph for this function:
|
protected |
Repair missing objects.
Definition at line 406 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), and ilSCTask\STATUS_COMPLETED.
Here is the call graph for this function:
|
protected |
Repair missing objects.
Definition at line 458 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), and ilSCTask\STATUS_COMPLETED.
Here is the call graph for this function:
|
protected |
Repair structure.
Definition at line 218 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilMaterializedPathTree\createFromParentReleation(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), and ilSCTask\STATUS_COMPLETED.
Here is the call graph for this function:| ilSCTreeTasksGUI::showTree | ( | ) |
Show already scanned tree.
Definition at line 277 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS.
| ilSCTreeTasksGUI::validateDuplicates | ( | ) |
start task
| type | $a_task_identifier |
Definition at line 295 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
Here is the call graph for this function:| const ilSCTreeTasksGUI::TYPE_DUMP = 'dump' |
Definition at line 16 of file class.ilSCTreeTasksGUI.php.
Referenced by getActions(), getDescription(), and getTitle().
| const ilSCTreeTasksGUI::TYPE_DUPLICATES = 'duplicates' |
Definition at line 15 of file class.ilSCTreeTasksGUI.php.
Referenced by getActions(), getDescription(), and getTitle().
| const ilSCTreeTasksGUI::TYPE_MISSING = 'missing_reference' |
Definition at line 17 of file class.ilSCTreeTasksGUI.php.
Referenced by getActions(), getDescription(), and getTitle().
| const ilSCTreeTasksGUI::TYPE_MISSING_TREE = 'missing_tree' |
Definition at line 18 of file class.ilSCTreeTasksGUI.php.
Referenced by getActions(), getDescription(), and getTitle().
| const ilSCTreeTasksGUI::TYPE_STRUCTURE = 'structure' |
Definition at line 19 of file class.ilSCTreeTasksGUI.php.
Referenced by getActions(), getDescription(), and getTitle().