Exemplo n.º 1
0
 public function __construct($value = null, $varname = null)
 {
     $this->setRegexpMatch('/^[^|;,!@#$()<>\\"\'`~{}\\[\\]=+&\\^\\s\\t]+([\\w\\s\\-]+(\\.[\\w]+))$/i');
     parent::__construct($value, $varname);
     $this->setLimit(255);
 }
Exemplo n.º 2
0
 public function __construct($value = null, $varname = null)
 {
     // No tags allowed
     $this->addAllowedTags(null);
     parent::__construct($value, $varname);
 }
Exemplo n.º 3
0
 public function __construct($value = null, $varname = null)
 {
     parent::__construct($value, $varname);
     $this->setLimit(255);
 }