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