5require_once 
'./Services/Object/classes/class.ilObject2GUI.php';
 
    7require_once 
'./Services/WorkflowEngine/classes/class.ilWorkflowEngine.php';
 
   56        $this->ilTabs = 
$DIC[
'ilTabs'];
 
   57        $this->lng = 
$DIC[
'lng'];
 
   58        $this->lng->loadLanguageModule(
'wfe');
 
   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'),
 
  209                $this->ilCtrl->getLinkTarget($this, 
'definitions.view')
 
  211            $this->ilTabs->addTab(
 
  213                $this->lng->txt(
'settings'),
 
  214                $this->ilCtrl->getLinkTarget($this, 
'settings.view')
 
  217        if (
$rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
 
  218            $this->ilTabs->addTab(
 
  220                $this->lng->txt(
'perm_settings'),
 
  221                $this->ilCtrl->getLinkTargetByClass(array(
'ilobjworkflowenginegui',
'ilpermissiongui'), 
'perm')
 
  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);
 
An exception for terminatinating execution or to throw for unit testing.
This class provides processing control methods.
getCmd($a_default_cmd="", $a_safe_commands="")
Determines current get/post command.
getNextClass($a_gui_class=null)
Get next class in the control path from the current class to the target command class.
getLinkTarget( $a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui object.
setParameter($a_obj, $a_parameter, $a_value)
Set parameters that should be passed a form and link of a gui class.
Bibliographic Administration Settings.
@noinspection PhpIncludeInspection
executeCommand()
execute command
__construct()
ilObjWorkflowEngineGUI constructor.
dispatchToInstances($command)
dispatchToDefinitions($command)
dispatchToDashboard($command)
dispatchToSettings($command)
New implementation of ilObjectGUI.
assignObject()
create object instance as internal property (repository/workspace switch)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
static redirect($a_script)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Class ilWorkflowEngineDashboardGUI.
Class ilWorkflowEngineDefinitionsGUI.
Class ilWorkflowEngineInstancesGUI.
Class ilWorkflowEngineSettingsGUI.
ilWorkflowEngine is part of the petri net based workflow engine.