5 require_once
'./Services/Object/classes/class.ilObject2GUI.php';
7 require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
51 $this->ilTabs = $DIC[
'ilTabs'];
52 $this->lng = $DIC[
'lng'];
53 $this->lng->loadLanguageModule(
'wfe');
54 $this->
ilCtrl = $DIC[
'ilCtrl'];
55 $this->tpl = $DIC[
'tpl'];
56 $this->tree = $DIC[
'tree'];
57 $this->ilLocator = $DIC[
'ilLocator'];
58 $this->ilToolbar = $DIC[
'ilToolbar'];
60 parent::__construct((
int)
$_GET[
'ref_id']);
85 public static function _goto(
$params)
94 $type =
'endpoint_event';
95 $content =
'was_requested';
96 $subject_type =
'workflow';
97 $subject_id = $workflow;
98 $context_type =
'event';
119 if($next_class ==
'')
126 switch ($next_class) {
127 case 'ilpermissiongui':
129 $this->initTabs(
'permissions');
130 $this->ilTabs->setTabActive(
'perm_settings');
131 require_once
'Services/AccessControl/classes/class.ilPermissionGUI.php';
133 $this->ctrl->forwardCommand($perm_gui);
138 $this->ctrl->forwardCommand($ilObjBibliographicAdminLibrariesGUI);
150 $cmd_parts = explode(
'.',
$cmd);
152 switch($cmd_parts[0])
176 $this->tpl->getStandardTemplate();
179 $this->tpl->setTitle($this->
object->getPresentationTitle());
180 $this->tpl->setDescription($this->
object->getLongDescription());
193 $rbacsystem = $DIC[
'rbacsystem'];
202 if ($rbacsystem->checkAccess(
'visible,read', $this->object->getRefId()))
204 $this->ilTabs->addTab(
206 $this->lng->txt(
'definitions'),
209 $this->ilTabs->addTab(
211 $this->lng->txt(
'settings'),
215 if ($rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId()))
217 $this->ilTabs->addTab(
219 $this->lng->txt(
'permission'),
231 $this->ilTabs->setTabActive(
$section);
239 $path = $this->tree->getPathFull((
int)
$_GET[
"ref_id"]);
241 if (
$row[
"title"] ==
"Workflow Engine") {
242 $row[
"title"] = $this->lng->txt(
"obj_wfe");
246 $this->ilLocator->addItem(
256 $this->tpl->setLocator();
266 $this->initTabs(
'dashboard');
268 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineDashboardGUI.php';
270 return $target_handler->handle($command);
280 $this->initTabs(
'definitions');
282 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineDefinitionsGUI.php';
284 return $target_handler->handle($command);
294 $this->initTabs(
'instances');
296 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineInstancesGUI.php';
298 return $target_handler->handle($command);
308 $this->initTabs(
'settings');
310 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineSettingsGUI.php';
312 return $target_handler->handle($command);
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
setParameter($a_obj, $a_parameter, $a_value)
Set parameters that should be passed a form and link of a gui class.
This class provides processing control methods.
New implementation of ilObjectGUI.
Class ilWorkflowEngineDefinitionsGUI.
Class ilWorkflowEngineInstancesGUI.
dispatchToSettings($command)
getLinkTargetByClass($a_class, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui class name.
dispatchToInstances($command)
Class ilWorkflowEngineDashboardGUI.
Class ilWorkflowEngineSettingsGUI.
getNextClass($a_gui_class=null)
Get next class in the control path from the current class to the target command class.
ilWorkflowEngine is part of the petri net based workflow engine.
dispatchToDashboard($command)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
getCmd($a_default_cmd="", $a_safe_commands="")
Determines current get/post command.
dispatchToDefinitions($command)
Bibliographic Administration Settings.
Create styles array
The data for the language used.
__construct()
ilObjWorkflowEngineGUI constructor.
Create new PHPExcel object
obj_idprivate
getLinkTarget($a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui object.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
assignObject()
create object instance as internal property (repository/workspace switch)
static redirect($a_script)
http redirect to other script