function rex_event_select($options) { global $I18N; parent::rex_select(); $this->setMultiple(1); foreach ($options as $key => $value) { $this->addOption($value, $key); } $this->setSize(count($options)); }
function select() { parent::rex_select(); }
function rex_category_select($ignore_offlines = false, $clang = false, $check_perms = true, $add_homepage = true) { $this->ignore_offlines = $ignore_offlines; $this->clang = $clang; $this->check_perms = $check_perms; if ($add_homepage) { $this->addOption('Homepage', 0); } if ($cats = OOCategory::getRootCategories($ignore_offlines, $clang)) { foreach ($cats as $cat) { $this->addCatOption($cat); } } parent::rex_select(); }
function rex_mediacategory_select($check_perms = true) { $this->check_perms = $check_perms; $this->rootId = null; parent::rex_select(); }