SproutCMS

This is the code documentation for the SproutCMS project

function renderSubActions()

Render a list of sub-actions into HTML as links

Each sub-action should be an array, with the following keys:
   url     Link URL
   name    Link text
   class   Optional class
   new_tab Optional bool to show in new window/tab

Use a special entry with a key of "_preview" and a value of the
preview URL to set up a preview button

Usage

HTML $AdminController->renderSubActions ( array $list );

Arguments

  1. array $list
    Sub-actions to render

Return value