コード例 #1
0
ファイル: Assignee.php プロジェクト: rrsc/processmaker
 /**
  * @url GET /:prjUid/activity/:actUid/adhoc-available-assignee
  *
  * @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 doGetActivityAvailableAdhocAssignee($prjUid, $actUid, $filter = '', $start = null, $limit = null, $type = '')
 {
     $response = array();
     try {
         $task = new \ProcessMaker\BusinessModel\Task();
         $arrayData = $task->getTaskAvailableAdhocAssignee($prjUid, $actUid, $filter, $start, $limit, $type);
         //Response
         $response = $arrayData;
     } catch (\Exception $e) {
         //Response
         throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
     }
     return $response;
 }