code/CMSMenu.php
public static function add_controller($controllerClass)
    {
        if ($menuItem = self::menuitem_for_controller($controllerClass)) {
            $code = static::get_menu_code($controllerClass);
            self::add_menu_item_obj($code, $menuItem);
        }
    }
public static function add_controller($controllerClass)
    {
        if ($menuItem = self::menuitem_for_controller($controllerClass)) {
            $code = static::get_menu_code($controllerClass);
            self::add_menu_item_obj($code, $menuItem);
        }
    }
public static function add_controller ( $ controllerClass ) { if ( $ menuItem = self :: menuitem_for_controller ( $ controllerClass ) ) { $ code = static :: get_menu_code ( $ controllerClass ) ; self :: add_menu_item_obj ( $ code , $ menuItem ) ; } }
Add a LeftAndMain controller to the CMS menu.

@param string $controllerClass The class name of the controller
@todo A director rule is added when a controller link is added, but it won't be removed
when the item is removed. Functionality needed in {@link Director}.
Add a LeftAndMain controller to the CMS menu .