Exemplo n.º 1
0
 /**
  * @param string           $mixPost
  * @param CodifyengineBase $objCodifyEngine
  *
  * @return mixed Anything you want like string, int, objects, array and so on
  * @internal param string $strPost The string from POST
  *
  */
 public function InputPost($mixPost, $objCodifyEngine)
 {
     $mixPost = base64_decode($mixPost);
     $mixPost = gzuncompress($mixPost);
     $mixPost = $objCodifyEngine->Decrypt($mixPost);
     $mixPost = unserialize($mixPost);
     $mixPost = $mixPost["data"];
     if (is_null($mixPost)) {
         return null;
     } else {
         return $mixPost;
     }
 }
Exemplo n.º 2
0
 /**
  * Return name of the codifyengine
  *
  * @return string
  */
 public function getCodifyengine()
 {
     return $this->objCodifyengine->getName();
 }