API documentation

Process Class Reference

Description

Renders a process.

Protected Member Functions

 _render ($process)
 Renders a process. More...
 
 _renderStub ($process)
 Renders a process stub. More...
 

Member Function Documentation

_render (   $process)
protected

Renders a process.

{
"id": 42,
"entityType": "Processes",
"rev": "3",
"name": "Sales Process",
"type": "0",
"startedTime": "2010-08-13T13:30:16+0000", // NULL or time
"closedTime": null, // NULL or time
"currentMilestoneId": 4,
"steps": [ Step, ... ]
}
Returns
array
_renderStub (   $process)
protected

Renders a process stub.

{
"id": 42,
"entityType": "Processes",
"rev": "3",
"name": "Sales Process",
"type": "0",
"startedTime": "2010-08-13T13:30:16+0000", // NULL or time
"closedTime": null, // NULL or time
"currentMilestoneId": 4,
}
Returns
array