Esempio n. 1
0
 /**
  * @url GET
  */
 public function doGetProjects()
 {
     try {
         $start = null;
         $limit = null;
         $filter = "";
         $projects = Adapter\BpmnWorkflow::getList($start, $limit, $filter, CASE_LOWER);
         return DateTime::convertUtcToIso8601($projects, $this->arrayFieldIso8601);
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }
Esempio n. 2
0
    /**
     * @url GET
     */
    public function doGetProjects()
    {
        try {
            $start = null;
            $limit = null;
            $filter = "";

            $projects = Adapter\BpmnWorkflow::getList($start, $limit, $filter, CASE_LOWER);

            return $projects;
        } catch (\Exception $e) {
            throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
        }
    }