Updating GET /projects data return, now it is returning all projects bpmn and classic projects

Them can be classified by prj_type: [bpmn|classic]
This commit is contained in:
Erik Amaru Ortiz
2014-02-26 12:53:17 -04:00
parent 896f9963c7
commit 56be79f2ae
4 changed files with 41 additions and 12 deletions

View File

@@ -129,6 +129,12 @@ class Workflow extends Handler
$processes = $process->getAllProcesses( $start, $limit, "", "");
//$processes = $process->getAll();
if ($changeCaseTo != CASE_UPPER) {
foreach ($processes as $i => $processRow) {
$processes[$i] = array_change_key_case($processRow, $changeCaseTo);
}
}
return $processes;
}