Exemplo n.º 1
0
 /**
  * @url GET /:prjUid/activity/:actUid/adhoc-assignee/all
  *
  * @param string $prjUid {@min 32} {@max 32}
  * @param string $actUid {@min 32} {@max 32}
  * @param string $filter
  * @param int    $start
  * @param int    $limit
  * @param string $type
  *
  */
 public function doGetActivityAdhocAssigneesAll($prjUid, $actUid, $filter = '', $start = null, $limit = null, $type = '')
 {
     $response = array();
     try {
         $task = new \ProcessMaker\BusinessModel\Task();
         $arrayData = $task->getTaskAdhocAssigneesAll($prjUid, $actUid, $filter, $start, $limit, $type);
         //Response
         $response = $arrayData;
     } catch (\Exception $e) {
         //Response
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
     return $response;
 }