libSmalldb
v0.6
|
BPMN reader.
Read BPMN diagram and create state machine which implements given business proces. When multiple BPMN loaders used, the final state machine will implement all of the business processes.
The first step is to load all BPMN diagrams, but not to update state machine definition. The second step is performed during machine definition postprocessing, when all BPMN diagrams are combined together and state machine definition is generated.
Options:
process_id
: ID of BPMN process to use from the file (string). If null, the first process is used.Static Public Member Functions | |
static | loadString ($data_string, $options=array(), $filename=null) |
Parse string and return fragment of state machine definition. More... | |
static | postprocessDefinition (&$machine_def) |
If reader was invoked, it may need to postprocess the definition when everything is loaded (after last loadString call is completed). More... | |
|
static |
Parse string and return fragment of state machine definition.
$data_string | - Data to parse. |
$options | - Additional options specified in master definition. |
$filename | - Name of the file (or similar identifier) - only for debug messages. |
Implements IMachineDefinitionReader.
|
static |
If reader was invoked, it may need to postprocess the definition when everything is loaded (after last loadString call is completed).
Postprocessing is invoked only once, even when loadString has been invoked multiple times.
$machine_def | - Machine definition to be processed in place. |
Implements IMachineDefinitionReader.