Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->setAttribute('class', 'form-control');
     $this->setAttribute('cols', '50');
     $this->setAttribute('rows', '6');
 }
Ejemplo n.º 2
0
 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');
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->setAttribute('class', 'form-control');
     $this->setAttribute('type', 'text');
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->select = new rex_select();
     $this->setAttribute('class', 'form-control');
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->dateInput = rex_input::factory('date');
     $this->timeInput = rex_input::factory('time');
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct();
     $this->buttonId = '';
     $this->categoryId = '';
 }