Back to GroupedlistField class

Method getInput

protected string
getInput
()
Method to get the field input markup fora grouped list.
Returns
  • string The field input markup.
Since
  • 1.7.0

Method getInput - Source code

/**
 * Method to get the field input markup fora grouped list.
 * Multiselect is enabled by using the multiple attribute.
 *
 * @return  string  The field input markup.
 *
 * @since   1.7.0
 */
protected function getInput()
{
    $data = $this->getLayoutData();
    // Get the field groups.
    $data['groups'] = (array) $this->getGroups();
    return $this->getRenderer($this->layout)->render($data);
}