5 require_once
'./Services/Object/classes/class.ilObject2GUI.php';
7 require_once
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
56 $this->ilTabs = $DIC[
'ilTabs'];
57 $this->lng = $DIC[
'lng'];
58 $this->lng->loadLanguageModule(
'wfe');
59 $this->
ilCtrl = $DIC[
'ilCtrl'];
60 $this->tpl = $DIC[
'tpl'];
61 $this->tree = $DIC[
'tree'];
62 $this->ilLocator = $DIC[
'ilLocator'];
63 $this->ilToolbar = $DIC[
'ilToolbar'];
66 parent::__construct((
int)
$_GET[
'ref_id']);
91 public static function _goto(
$params)
100 $type =
'endpoint_event';
101 $content =
'was_requested';
102 $subject_type =
'workflow';
103 $subject_id = $workflow;
104 $context_type =
'event';
105 $context_id = $event;
125 if ($next_class ==
'') {
131 switch ($next_class) {
132 case 'ilpermissiongui':
134 $this->initTabs(
'permissions');
135 $this->ilTabs->setTabActive(
'perm_settings');
136 require_once
'Services/AccessControl/classes/class.ilPermissionGUI.php';
138 $this->ctrl->forwardCommand($perm_gui);
143 $this->ctrl->forwardCommand($ilObjBibliographicAdminLibrariesGUI);
155 $cmd_parts = explode(
'.', $cmd);
157 switch ($cmd_parts[0]) {
180 $this->tpl->getStandardTemplate();
183 $this->tpl->setTitle($this->
object->getPresentationTitle());
184 $this->tpl->setDescription($this->
object->getLongDescription());
205 if (
$rbacsystem->checkAccess(
'visible,read', $this->object->getRefId())) {
206 $this->ilTabs->addTab(
208 $this->lng->txt(
'definitions'),
211 $this->ilTabs->addTab(
213 $this->lng->txt(
'settings'),
217 if (
$rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
218 $this->ilTabs->addTab(
220 $this->lng->txt(
'perm_settings'),
232 $this->ilTabs->setTabActive(
$section);
240 $path = $this->tree->getPathFull((
int)
$_GET[
"ref_id"]);
242 if (
$row[
"title"] ==
"Workflow Engine") {
243 $row[
"title"] = $this->lng->txt(
"obj_wfe");
247 $this->ilLocator->addItem(
257 $this->tpl->setLocator();
267 $this->initTabs(
'dashboard');
269 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineDashboardGUI.php';
271 return $target_handler->handle($command);
281 $this->initTabs(
'definitions');
283 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineDefinitionsGUI.php';
285 return $target_handler->handle($command);
295 $this->initTabs(
'instances');
297 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineInstancesGUI.php';
299 return $target_handler->handle($command);
309 $this->initTabs(
'settings');
311 require_once
'./Services/WorkflowEngine/classes/administration/class.ilWorkflowEngineSettingsGUI.php';
313 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.
getLinkTarget( $a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui object.
New implementation of ilObjectGUI.
Class ilWorkflowEngineDefinitionsGUI.
Class ilWorkflowEngineInstancesGUI.
dispatchToSettings($command)
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.
getLinkTargetByClass( $a_class, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui class name.
__construct()
ilObjWorkflowEngineGUI constructor.
Create new PHPExcel object
obj_idprivate
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
assignObject()
create object instance as internal property (repository/workspace switch)
static redirect($a_script)