Esempio 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);
 }
Esempio n. 2
0
 public function __construct($value = null, $varname = null)
 {
     // No tags allowed
     $this->addAllowedTags(null);
     parent::__construct($value, $varname);
 }
Esempio n. 3
0
 public function __construct($value = null, $varname = null)
 {
     parent::__construct($value, $varname);
     $this->setLimit(255);
 }