Merged in victorsl/processmaker (pull request #44)

ProcessMaker-MA "Dynaforms Resources (endpoints)"
This commit is contained in:
erik ao
2013-12-23 17:21:41 -04:00
9 changed files with 1001 additions and 22 deletions

View File

@@ -148,6 +148,22 @@ class Project extends Api
}
}
/**
* @url GET /:projectUid/dynaforms
*/
public function doGetDynaForms($projectUid)
{
try {
$process = new \BusinessModel\Process();
$response = $process->getDynaForms($projectUid);
return $response;
} catch (\Exception $e) {
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
}
}
/**
* @url GET /:projectUid/input-documents
*/