Esempio n. 1
0
 public function render()
 {
     if (!$this->_isEnabled()) {
         return;
     }
     // If it's disabled, we stop the execution of the class
     $this->validation[] = new \PFBC\Validation\Token($this->sName);
     parent::render();
 }
Esempio n. 2
0
 public function render()
 {
     $this->validation[] = new \PFBC\Validation\Token($this->sName);
     parent::render();
 }