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