SproutCMS

This is the code documentation for the SproutCMS project

function navigationTreeNode()

Render a tree of nodes for the navigation area of the admin
Used by the pages module

Usage

void Admin::navigationTreeNode ( Treenode $node , array $actions [, int $depth ] );

Arguments

  1. Treenode $node
    The node to render
  2. array $actions
    Additional links to show in the cog icon menu; keys: url, class, name
  3. int $depth = 1
    How deep in the tree the rendering is, starts at 1 for the top-level

Return value

  • void
    Outputs HTML directly