Back to Dropdown class

Method render

public static string
render
()
Method to render current dropdown menu
Returns
  • string HTML markup for the dropdown list
Since
  • 3.0
Class: Dropdown
Project: Joomla

Method render - Source code

/**
 * Method to render current dropdown menu
 *
 * @return  string  HTML markup for the dropdown list
 *
 * @since   3.0
 */
public static function render()
{
    $dropDownList = static::$dropDownList;
    $dropDownList .= '</ul></div>';
    static::$dropDownList = null;
    static::$loaded[__CLASS__ . '::start'] = false;
    return $dropDownList;
}