Author: Grégoire Passault (g.passault@gmail.com)
Inheritance: extends Gregwar\Formidable\Language\LanguageAware
Exemplo n.º 1
0
 public function getHtml()
 {
     $temp = $this->value;
     $this->value = '';
     $input_html = parent::getHtml();
     $this->value = $temp;
     $_SESSION['Formidable_Captcha'] = $this->getCaptchaValue();
     $html = '<img src="' . $this->builder->inline() . '" class="Formidable_Captcha" alt="Code visuel" ><br />' . $input_html;
     return $html;
 }
Exemplo n.º 2
0
 public function __sleep()
 {
     return array_merge(array('parserData', 'minEntries', 'maxEntries'), parent::__sleep());
 }
Exemplo n.º 3
0
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('childs'));
 }