SproutCMS

This is the code documentation for the SproutCMS project

function setNavigation()

Sets up the sidebar navigation for a view to show the navigation for a specific controller.

Usage

void $AdminController->setNavigation ( View $view , Controller $ctlr );

Arguments

  1. View $view
    The view to set the navigation parameters for.
  2. Controller $ctlr
    The controller to use for navigation (and searching if supported).

Return value

  • void