20 $this->element_varname =
'$_v_' . $element_id;
24 $class_object->
registerRequire(
'./Services/WorkflowEngine/classes/nodes/class.ilBasicNode.php');
25 $class_object->
registerRequire(
'./Services/WorkflowEngine/classes/activities/class.ilStaticMethodCallActivity.php');
28 $activity_parameters =
'';
29 if (count($data_inputs)) {
30 $activity_parameters =
'"' . implode(
'","', $data_inputs) .
'"';
34 $activity_outputs =
'';
35 if (count($data_outputs)) {
36 $activity_outputs =
'"' . implode(
'","', $data_outputs) .
'"';
40 ' . $this->element_varname .
' = new ilBasicNode($this); 41 $this->addNode(' . $this->element_varname .
'); 42 ' . $this->element_varname .
'->setName(\'' . $this->element_varname .
'\');
45 ' . $this->element_varname . '_callActivity->setName(\
'' . $this->element_varname .
'_callActivity\'); 46 ' . $this->element_varname .
'_callActivity->setIncludeFilename("' . $library_definition[
'include_filename'] .
'"); 47 ' . $this->element_varname .
'_callActivity->setClassAndMethodName("' . $library_definition[
'class_and_method'] .
'"); 48 ' . $this->element_varname .
'_callActivity_params = array(' . $activity_parameters .
'); 49 ' . $this->element_varname .
'_callActivity->setParameters(' . $this->element_varname .
'_callActivity_params); 50 ' . $this->element_varname .
'_callActivity_outputs = array(' . $activity_outputs .
'); 51 ' . $this->element_varname .
'_callActivity->setOutputs(' . $this->element_varname .
'_callActivity_outputs); 52 ' . $this->element_varname .
'->addActivity(' . $this->element_varname .
'_callActivity); getDataInputAssociationIdentifiers($element)
static xsIDToPHPVarname($xsID)
Class ilWorkflowScaffold.
handleDataAssociations($element, $class_object, $element_varname)
getDataOutputAssociationIdentifiers($element)
static extractILIASLibraryCallDefinitionFromElement($element)
Class ilCallActivityElement.
getPHP($element, ilWorkflowScaffold $class_object)
registerRequire($require)