예제 #1
0
파일: textarea.php 프로젝트: staabm/redaxo
 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
파일: datetime.php 프로젝트: skerbis/redaxo
 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 = '';
 }