32 if($definition->hasTask($task))
34 $definition->loadTask($task);
35 $taskHandler = $definition->buildTask($task, $this);
36 $taskHandler->execute($method);
58 if(
$_GET[
'admin_mode'] ==
'repository')
60 $this->ctrl->setParameterByClass(
'iladministrationgui',
'admin_mode',
'settings');
62 $this->lng->txt(
'administration'),
63 $this->ctrl->getLinkTargetByClass(
'iladministrationgui',
'frameset'),
66 $this->ctrl->setParameterByClass(
'iladministrationgui',
'admin_mode',
'repository');
68 if($tree->getSavedNodeData($this->object->getRefId()))
70 $tabs_gui->
addTarget(
'trash', $this->ctrl->getLinkTarget($this,
'trash'),
'trash', get_class($this));