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