Exemple #1
0
 /**
  * 
  * @param type $value
  * @return boolean 
  */
 public function isValid($value)
 {
     $this->_setValue($value);
     if (!ZendT_Lib::checkCnpjCpf($value)) {
         $this->_error(self::CNPJ_CPF);
         return false;
     }
     return true;
 }