Esempio n. 1
0
 /**
  * @param string $key
  * @return array
  * @throws Exception
  */
 public static function getGuestAlertInfoFromKey($key)
 {
     $dataFromKey = SJB_GuestAlert::getDataFromKey($key);
     if (!SJB_Array::get($dataFromKey, 'sid') || !SJB_Array::get($dataFromKey, 'key')) {
         throw new Exception('PARAMETERS_MISSED');
     }
     return $dataFromKey;
 }