SproutCMS

This is the code documentation for the SproutCMS project

class Html

Helper functions for outputting HTML elements.

Class structure

As a function return value

renderSubActions from class AdminController

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

From /sprout/Controllers/AdminController.php

renderSubActions from class AdminController

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

From /sprout/Controllers/AdminController.php

renderTabItem from class JsonForm

Render a tab item, which may be a field, heading, html block, etc

From /sprout/Helpers/JsonForm.php

_paginationBar from class ManagedAdminController

Builds the HTML for showing the navigation through pages in the admin.
This method is FINAL to help keep the user interface consistent.

From /sprout/Controllers/Admin/ManagedAdminController.php

_paginationBar from class ManagedAdminController

Builds the HTML for showing the navigation through pages in the admin.
This method is FINAL to help keep the user interface consistent.

From /sprout/Controllers/Admin/ManagedAdminController.php