コード例 #1
0
ファイル: CookieRequestT.php プロジェクト: bogdananton/vsc
 /**
  *
  * @param string $sVarName
  * @throws Exception
  * @return mixed
  */
 protected function getCookieVar($sVarName)
 {
     if (array_key_exists($sVarName, $this->aCookieVars)) {
         return HttpRequestA::getDecodedVar($this->aCookieVars[$sVarName]);
     } else {
         return null;
     }
 }
コード例 #2
0
ファイル: getDecodedVarTest.php プロジェクト: bogdananton/vsc
 public static function getDecodedVar($var)
 {
     return parent::getDecodedVar($var);
 }
コード例 #3
0
ファイル: SessionRequestT.php プロジェクト: bogdananton/vsc
 /**
  *
  * @param string $sVarName
  * @return mixed
  */
 public function getSessionVar($sVarName)
 {
     if (array_key_exists($sVarName, $this->aSessionVars)) {
         return HttpRequestA::getDecodedVar($this->aSessionVars[$sVarName]);
     } else {
         return null;
     }
 }