예제 #1
0
파일: Pattern.php 프로젝트: bersace/strass
 function __construct($instance, $pattern)
 {
     parent::__construct($instance);
     $this->pattern = $pattern;
 }
예제 #2
0
파일: Forbid.php 프로젝트: bersace/strass
 function __construct($instance, $forbidden, $message = "La valeur donnée pour %s est interdite.")
 {
     parent::__construct($instance, $message);
     $this->forbidden = $forbidden;
 }
예제 #3
0
파일: Depends.php 프로젝트: bersace/strass
 function __construct($instance, $ref)
 {
     parent::__construct($instance);
     $this->ref = $ref;
 }
예제 #4
0
파일: Equal.php 프로젝트: bersace/strass
 function __construct($instance, $ref, $silent = false)
 {
     parent::__construct($instance);
     $this->ref = $ref;
     $this->silent = $silent;
 }
예제 #5
0
파일: Length.php 프로젝트: bersace/strass
 function __construct($instance, $min = null, $max = null)
 {
     parent::__construct($instance);
     $this->min = $min;
     $this->max = $max;
 }