/** * Get information for status paused and participated or other status * * @param $userUid * @param $type * @param $app_uid * @throws \Exception */ public function getInformation($userUid, $type, $app_uid) { $response = array(); switch ($type) { case 'unassigned': case 'paused': case 'participated': $oCase = new \Cases(); $iDelIndex = $oCase->getCurrentDelegationCase( $app_uid ); $aFields = $oCase->loadCase( $app_uid, $iDelIndex ); $response = $this->getInfoResume($userUid, $aFields, $type); break; } return $response; }