Пример #1
0
 public function __construct($minLength = 0, $maxLength = null)
 {
     if (func_num_args() == 1) {
         $maxLength = $minLength;
     }
     parent::__construct($minLength, $maxLength, 's');
 }
Пример #2
0
 public function __construct($required = false)
 {
     parent::__construct($required, 10, 10);
 }
Пример #3
0
 public function __construct($required = false, $checkMx = false, $checkHost = false)
 {
     parent::__construct($required);
     $this->mergeOptions(array('checkMX' => $checkMx, 'checkHost' => $checkHost));
 }
 public function __construct(\Happymeal\Port\Adaptor\Data\XML\Schema\String $tdo, \Happymeal\Port\Adaptor\Data\ValidationHandler $handler)
 {
     parent::__construct($tdo, $handler);
 }