Ejemplo n.º 1
0
 function __construct($instance, $pattern)
 {
     parent::__construct($instance);
     $this->pattern = $pattern;
 }
Ejemplo n.º 2
0
 function __construct($instance, $forbidden, $message = "La valeur donnée pour %s est interdite.")
 {
     parent::__construct($instance, $message);
     $this->forbidden = $forbidden;
 }
Ejemplo n.º 3
0
 function __construct($instance, $ref)
 {
     parent::__construct($instance);
     $this->ref = $ref;
 }
Ejemplo n.º 4
0
 function __construct($instance, $ref, $silent = false)
 {
     parent::__construct($instance);
     $this->ref = $ref;
     $this->silent = $silent;
 }
Ejemplo n.º 5
0
 function __construct($instance, $min = null, $max = null)
 {
     parent::__construct($instance);
     $this->min = $min;
     $this->max = $max;
 }