5require_once 
'./Services/WorkflowEngine/interfaces/ilActivity.php';
 
    7require_once 
'./Services/WorkflowEngine/interfaces/ilNode.php';
 
   91                $this->class_and_method_name = 
$name;
 
  154                $name = explode(
'::', $this->class_and_method_name);
 
  156                $list = (array)$this->context->getContext()->getInstanceVars();
 
  158                foreach($this->parameters as $key => $parameter)
 
  161                        foreach($list as $instance_var)
 
  163                                if($instance_var[
'id'] == $parameter)
 
  166                                        $role = $instance_var[
'role'];
 
  167                                        if($instance_var[
'reference'] == 
true)
 
  169                                                foreach($list as $definitions)
 
  171                                                        if($definitions[
'id'] == $instance_var[
'target'])
 
  173                                                                $role = $definitions[
'role'];
 
  177                                        $params[$role] = $this->context->getContext()->getInstanceVarById($parameter);
 
  182                                $params[$parameter] = $parameter;
 
  188                $return_value = call_user_func_array(
 
  190                        array($this, array(
$params, $this->outputs))
 
  192                foreach((array) $return_value as $key => $value)
 
  194                        $this->context->getContext()->setInstanceVarById($key, $value);
 
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
setClassAndMethodName($name)
getParameters()
Returns the currently set parameters to be passed to the method.
__construct(ilNode $context)
Default constructor.
getContext()
Returns a reference to the parent node.
getIncludeFilename()
Returns the currently set filename of the classfile to be included.
setIncludeFilename($filename)
Sets the name of the file to be included prior to calling the method.
getClassAndMethodName()
Returns the currently set class- and methodname of the method to be called.
setParameters($params)
Sets an array with params for the method.
ilActivity Interface is part of the petri net based workflow engine.
@noinspection PhpIncludeInspection
ilWorkflowEngineElement Interface is part of the petri net based workflow engine.