ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Handles tree tasks. More...
Public Member Functions | |
getGroupTitle () | |
getGroupDescription () | |
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 174 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
|
protected |
Show repair missing confirmation.
Definition at line 366 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
|
protected |
Show repair missing confirmation.
Definition at line 415 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
|
protected |
Show repair missing confirmation.
Definition at line 194 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\showSimpleConfirmation().
|
protected |
Definition at line 311 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCTreeTasks\deleteDuplicateFromTree(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilSCTreeTasks\repairPK(), and ilUtil\sendSuccess().
|
protected |
Definition at line 326 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCTreeTasks\deleteDuplicateFromTree(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilSCTreeTasks\repairPK(), and ilUtil\sendSuccess().
|
protected |
find missing objects
Definition at line 345 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
|
protected |
find missing objects
Definition at line 396 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
ilSCTreeTasksGUI::getActions | ( | ) |
get actions for table gui
Definition at line 81 of file class.ilSCTreeTasksGUI.php.
References array, ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), and ilSCTask\STATUS_FAILED.
ilSCTreeTasksGUI::getDescription | ( | ) |
Get title of task.
Definition at line 58 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\getTask().
ilSCTreeTasksGUI::getGroupDescription | ( | ) |
Definition at line 27 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang().
ilSCTreeTasksGUI::getGroupTitle | ( | ) |
Definition at line 22 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang().
ilSCTreeTasksGUI::getTitle | ( | ) |
Get title of task.
Definition at line 35 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getLang(), and ilSCComponentTaskGUI\getTask().
ilSCTreeTasksGUI::listTree | ( | ) |
List tree.
Definition at line 233 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendFailure(), ilSCTask\STATUS_COMPLETED, ilSCTask\STATUS_FAILED, and time.
|
protected |
repair
type | $a_task_identifier |
Definition at line 297 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, $table, and ilSCTreeTasks\findDeepestDuplicate().
|
protected |
Repair missing objects.
Definition at line 378 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), ilSCTask\STATUS_COMPLETED, and time.
|
protected |
Repair missing objects.
Definition at line 427 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), ilSCTask\STATUS_COMPLETED, and time.
|
protected |
Repair structure.
Definition at line 206 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS, ilMaterializedPathTree\createFromParentReleation(), ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), IL_CAL_UNIX, ilUtil\sendSuccess(), ilSCTask\STATUS_COMPLETED, and time.
ilSCTreeTasksGUI::showTree | ( | ) |
Show already scanned tree.
Definition at line 259 of file class.ilSCTreeTasksGUI.php.
References $GLOBALS.
ilSCTreeTasksGUI::validateDuplicates | ( | ) |
start task
type | $a_task_identifier |
Definition at line 276 of file class.ilSCTreeTasksGUI.php.
References ilSCComponentTaskGUI\getCtrl(), ilSCComponentTaskGUI\getLang(), ilSCComponentTaskGUI\getTask(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilSCTask\STATUS_FAILED.
const ilSCTreeTasksGUI::TYPE_DUMP = 'dump' |
Definition at line 16 of file class.ilSCTreeTasksGUI.php.
const ilSCTreeTasksGUI::TYPE_DUPLICATES = 'duplicates' |
Definition at line 15 of file class.ilSCTreeTasksGUI.php.
const ilSCTreeTasksGUI::TYPE_MISSING = 'missing_reference' |
Definition at line 17 of file class.ilSCTreeTasksGUI.php.
const ilSCTreeTasksGUI::TYPE_MISSING_TREE = 'missing_tree' |
Definition at line 18 of file class.ilSCTreeTasksGUI.php.
const ilSCTreeTasksGUI::TYPE_STRUCTURE = 'structure' |
Definition at line 19 of file class.ilSCTreeTasksGUI.php.