/** * Method to get the field input markup. * * @return string The field input markup. * @since 1.6 */ protected function getInput() { $html = array(); $selectedId = (int) $this->form->getValue('default_gallery'); $options = SolidresHelper::getGalleryOptions(); $html[] = JHtml::_('select.genericlist', $options, $this->name, null, 'value', 'text', $selectedId); return implode($html); }