예제 #1
0
 public function __construct($id, $name, $class, $type, $textLabel = null, $labelClass = null)
 {
     parent::__construct($id, $name, $class);
     $this->type = $type;
     $this->textLabel = $textLabel;
     $this->labelClass = $labelClass;
 }
예제 #2
0
 public function __construct($id, $name, $class, $type, $value)
 {
     parent::__construct($id, $name, $class);
     $this->type = $type;
     $this->value = $value;
 }
예제 #3
0
 public function __construct($id, $name, $class, $method, Validator $validator)
 {
     parent::__construct($id, $name, $class);
     $this->method = $method;
     $this->validator = $validator;
 }