27 $this->element_varname =
'$_v_' . $element_id;
29 $source_element =
'$_v_' . $element[
'attributes'][
'sourceRef'];
30 $target_element =
'$_v_' . $element[
'attributes'][
'targetRef'];
33 ' . $target_element .
'_detector = new ilSimpleDetector(' . $target_element .
'); 34 ' . $target_element .
'_detector->setName(\'' . $target_element .
'_detector\'); 35 ' . $target_element .
'_detector->setSourceNode(' . $source_element .
'); 36 ' . $target_element .
'->addDetector(' . $target_element .
'_detector); 37 ' . $source_element .
'_emitter = new ilActivationEmitter(' . $source_element .
'); 38 ' . $source_element .
'_emitter->setName(\'' . $source_element .
'_emitter\'); 39 ' . $source_element .
'_emitter->setTargetDetector(' . $target_element .
'_detector); 40 ' . $source_element .
'->addEmitter(' . $source_element .
'_emitter); 43 $class_object->
registerRequire(
'./Services/WorkflowEngine/classes/emitters/class.ilActivationEmitter.php');
44 $class_object->
registerRequire(
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php');
static xsIDToPHPVarname($xsID)
Class ilWorkflowScaffold.
Class ilSequenceFlowElement.
getPHP($element, ilWorkflowScaffold $class_object)
registerRequire($require)