コード例 #1
0
ファイル: Cases.php プロジェクト: emildev35/processmaker
 /**
  * Get process list for start case
  *
  * @url GET /start-cases
  *
  * @param string $type_view {@from path}
  * @return array
  *
  */
 public function doGetCasesListStarCase($type_view = '')
 {
     try {
         $usr_uid = $this->getUserId();
         $case = new \ProcessMaker\BusinessModel\Cases();
         $response = $case->getCasesListStarCase($usr_uid, $type_view);
         return $response;
     } catch (\Exception $e) {
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
 }