code/control/Users_Register_Controller.php
public function getMenu($level = 1)
    {
        if (class_exists(ContentController::class)) {
            $controller = Injector::inst()->get(ContentController::class);
            return $controller->getMenu($level);
        }
    }
public function getMenu($level = 1)
    {
        if (class_exists(ContentController::class)) {
            $controller = Injector::inst()->get(ContentController::class);
            return $controller->getMenu($level);
        }
    }
public function getMenu ( $ level = 1 ) { if ( class_exists ( ContentController :: class ) ) { $ controller = Injector :: inst ( ) -> get ( ContentController :: class ) ; return $ controller -> getMenu ( $ level ) ; } }
If content controller exists, return it's menu function

@param int $level Menu level to return.

@return ArrayList
If content controller exists return it s menu function