MDL-41432 output: several action_menu improvements
authorSam Hemelryk <sam@moodle.com>
Mon, 26 Aug 2013 22:43:55 +0000 (10:43 +1200)
committerSam Hemelryk <sam@moodle.com>
Sun, 1 Sep 2013 20:34:54 +0000 (08:34 +1200)
commit3f47974fc09d079756b6b1a7a6f265eb7661e6cd
treefb33870f90b405ec98a276750dcdf93b9c5df339
parentee788142f200c292a3ad95d8dedf61429e4eb761
MDL-41432 output: several action_menu improvements

The following improvements have been made:
* Items no longer MUST have an icon, it can now be null instead.
* You can specify the icon displayed to toggle the dropdown menu.
* You can add text in front of the aforementioned icon.
lib/outputcomponents.php