5 require_once
'./Services/WorkflowEngine/interfaces/ilActivity.php';
7 require_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(
192 foreach((
array) $return_value as $key => $value)
194 $this->context->getContext()->setInstanceVarById($key, $value);
ilWorkflowEngineElement Interface is part of the petri net based workflow engine. ...
getClassAndMethodName()
Returns the currently set class- and methodname of the method to be called.
__construct(ilNode $context)
Default constructor.
getIncludeFilename()
Returns the currently set filename of the classfile to be included.
getParameters()
Returns the currently set parameters to be passed to the method.
Create styles array
The data for the language used.
setParameters($params)
Sets an array with params for the method.
ilActivity Interface is part of the petri net based workflow engine.
getContext()
Returns a reference to the parent node.
setClassAndMethodName($name)
setIncludeFilename($filename)
Sets the name of the file to be included prior to calling the method.