4 require_once
'Modules/Chatroom/classes/class.ilChatroomObjectDefinition.php';
5 require_once
'Modules/Chatroom/classes/class.ilChatroomTaskHandler.php';
30 protected function dispatchCall($task, $method)
36 if($definition->hasTask($task))
38 $definition->loadTask($task);
39 $taskHandler = $definition->buildTask($task, $this);
40 $taskHandler->execute($method);
62 if(isset(
$_GET[
'admin_mode']) &&
$_GET[
'admin_mode'] ==
'repository')
64 $this->ctrl->setParameterByClass(
'iladministrationgui',
'admin_mode',
'settings');
66 $this->lng->txt(
'administration'),
67 $this->ctrl->getLinkTargetByClass(
'iladministrationgui',
'frameset'),
70 $this->ctrl->setParameterByClass(
'iladministrationgui',
'admin_mode',
'repository');
72 if($tree->getSavedNodeData($this->object->getRefId()))
74 $tabs_gui->
addTarget(
'trash', $this->ctrl->getLinkTarget($this,
'trash'),
'trash', get_class($this));