Call the function or method for the selected menu item. $selectedMenu is the array of menu information, with the format as retrieved from createMenu()
If $selectedMenu['controller'] is set, then it is a class, and $selectedMenu['function'] will be a method of it. If it is not set, then $selectedMenu['function'] is simply a function to call.
License: http://opensource.org/licenses/BSD-3-Clause This file contains code covered by: copyright: 2011 Simple Machines (http://www.simplemachines.org) license: BSD, See included LICENSE.TXT for terms and conditions.
Located at sources/subs/Menu.subs.php