コード例 #1
0
 /**
  * Retorna os parâmetros com ou sem criptografia
  *
  * @param string      $sParametro
  * @param string|null $sValorPadrao
  * @return mixed|null
  */
 public function getParam($sParametro, $sValorPadrao = NULL)
 {
     $aRequest = DBSeller_Helper_Url_Encrypt::decrypt();
     if (isset($aRequest[$sParametro])) {
         return $aRequest[$sParametro] ?: $sValorPadrao;
     }
     return $this->getRequest()->getParam($sParametro, $sValorPadrao);
 }