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) {
 
  160            foreach (
$list as $instance_var) {
 
  161                if ($instance_var[
'id'] == $parameter) {
 
  163                    $role = $instance_var[
'role'];
 
  164                    if ($instance_var[
'reference'] == 
true) {
 
  165                        foreach (
$list as $definitions) {
 
  166                            if ($definitions[
'id'] == $instance_var[
'target']) {
 
  167                                $role = $definitions[
'role'];
 
  171                    $params[$role] = $this->context->getContext()->getInstanceVarById($parameter);
 
  175                $params[$parameter] = $parameter;
 
  181        $return_value = call_user_func_array(
 
  183            array($this, array(
$params, $this->outputs))
 
  185        foreach ((array) $return_value as 
$key => $value) {
 
  186            $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.
if(isset($_REQUEST['delete'])) $list