Back to ComboField class

Method getInput

protected string
getInput
()
Method to get the field input markup for a combo box field.
Returns
  • string The field input markup.
Since
  • 1.7.0
Class: ComboField
Project: Joomla

Method getInput - Source code

/**
 * Method to get the field input markup for a combo box field.
 *
 * @return  string  The field input markup.
 *
 * @since   1.7.0
 */
protected function getInput()
{
    if (empty($this->layout)) {
        throw new \UnexpectedValueException(sprintf('%s has no layout assigned.', $this->name));
    }
    return $this->getRenderer($this->layout)->render($this->getLayoutData());
}