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 software is a derived product, based on: Simple Machines Forum (SMF) 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