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