Пример #1
0
 public function __construct($dict = array())
 {
     $this->size = Functions::nz($dict['size'], 10);
     if (!isset($dict['default'])) {
         $dict['default'] = 0;
     }
     parent::__construct($dict);
 }
Пример #2
0
 public function __construct($dict = array())
 {
     $this->maxlength = Functions::nz($dict['maxlength'], 255);
     if (!isset($dict['default'])) {
         $dict['default'] = '';
     }
     parent::__construct($dict);
 }
Пример #3
0
 public function __construct($dict = array())
 {
     $this->size = Functions::nz($dict['size'], 5);
     parent::__construct($dict);
 }
Пример #4
0
 public function __construct($dict = array())
 {
     $this->options = Functions::nz($dict['options'], array());
     parent::__construct($dict);
 }