I added some comments

This commit is contained in:
Paula V. Quispe
2015-02-13 16:33:22 -04:00
parent 0087164f0d
commit fa7f8290bd

View File

@@ -1011,7 +1011,12 @@ class Process extends BaseProcess
return 0;
}
}
/**
* Check is the Process is BPMN.
*
* @param string $ProUid the uid of the Prolication
* @return int 1 if is BPMN process or 0 if a Normal process
*/
public function isBpmnProcess($proUid){
$c = new Criteria("workflow");
$c->add(BpmnProcessPeer::PRJ_UID, $proUid);