示例#1
0
 public function __construct()
 {
     parent::__construct();
     $this->setAttribute('class', 'form-control');
     $this->setAttribute('cols', '50');
     $this->setAttribute('rows', '6');
 }
示例#2
0
文件: time.php 项目: skerbis/redaxo
 public function __construct()
 {
     parent::__construct();
     $this->hourSelect = new rex_select();
     $this->hourSelect->addOptions(range(0, 23), true);
     $this->hourSelect->setSize(1);
     $this->hourSelect->setAttribute('class', 'rex-form-select-date');
     $this->minuteSelect = new rex_select();
     $this->minuteSelect->addOptions(range(0, 59), true);
     $this->minuteSelect->setSize(1);
     $this->minuteSelect->setAttribute('class', 'rex-form-select-date');
 }
示例#3
0
文件: date.php 项目: staabm/redaxo
 public function __construct()
 {
     parent::__construct();
     $this->yearSelect = new rex_select();
     $this->yearSelect->addOptions(range(2005, date('Y') + 10), true);
     $this->yearSelect->setAttribute('class', 'rex-form-select-year');
     $this->yearSelect->setSize(1);
     $this->monthSelect = new rex_select();
     $this->monthSelect->addOptions(range(1, 12), true);
     $this->monthSelect->setAttribute('class', 'rex-form-select-date');
     $this->monthSelect->setSize(1);
     $this->daySelect = new rex_select();
     $this->daySelect->addOptions(range(1, 31), true);
     $this->daySelect->setAttribute('class', 'rex-form-select-date');
     $this->daySelect->setSize(1);
 }
示例#4
0
文件: text.php 项目: skerbis/redaxo
 public function __construct()
 {
     parent::__construct();
     $this->setAttribute('class', 'form-control');
     $this->setAttribute('type', 'text');
 }
示例#5
0
文件: select.php 项目: staabm/redaxo
 public function __construct()
 {
     parent::__construct();
     $this->select = new rex_select();
     $this->setAttribute('class', 'form-control');
 }
示例#6
0
 public function __construct()
 {
     parent::__construct();
     $this->dateInput = rex_input::factory('date');
     $this->timeInput = rex_input::factory('time');
 }
示例#7
0
 public function __construct()
 {
     parent::__construct();
     $this->buttonId = '';
     $this->categoryId = '';
 }