Esempio n. 1
0
 public function getEmailElementFieldName()
 {
     if ($this->_emailFieldName !== null) {
         return $this->_emailFieldName;
     }
     if (!$this->isEmailAntispamEnabled()) {
         $this->_emailFieldName = $this->_orgEmailFieldName;
     } else {
         if (isset($_POST[$this->_orgEmailFieldName . '_field'])) {
             $this->_emailFieldName = base64_decode($_POST[$this->_orgEmailFieldName . '_field']);
         } else {
             $this->_emailFieldName = Engine_String::str_random(10);
         }
     }
     return $this->_emailFieldName;
 }