\JHtmlDropdown
HTML utility class for building a dropdown menu
Synopsis
class JHtmlDropdown
{
- // members
- protected $loaded;
- protected $dropDownList;
- // methods
- public static void init()
- public static void start()
- public static string render()
- public static void edit()
- public static void publish()
- public static void unpublish()
- public static void featured()
- public static void unfeatured()
- public static void archive()
- public static void unarchive()
- public static void trash()
- public static void untrash()
- public static void checkin()
- public static void divider()
- public static void addCustomItem()
Members
protected
- $dropDownList — string
- $loaded — array
Methods
public
- addCustomItem() — Append a custom item to current dropdown menu
- archive() — Append an archive item to the current dropdown menu
- checkin() — Append a checkin item to the current dropdown menu
- divider() — Writes a divider between dropdown items
- edit() — Append an edit item to the current dropdown menu
- featured() — Append a featured item to the current dropdown menu
- init() — Method to inject needed script
- publish() — Append a publish item to the current dropdown menu
- render() — Method to render current dropdown menu
- start() — Method to start a new dropdown menu
- trash() — Append a trash item to the current dropdown menu
- unarchive() — Append an unarchive item to the current dropdown menu
- unfeatured() — Append an unfeatured item to the current dropdown menu
- unpublish() — Append an unpublish item to the current dropdown menu
- untrash() — Append an untrash item to the current dropdown menu