コード例 #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();
 }
コード例 #2
0
ファイル: Token.php プロジェクト: joswilson/NotJustOK
 public function render()
 {
     $this->validation[] = new \PFBC\Validation\Token($this->sName);
     parent::render();
 }