SproutCMS

This is the code documentation for the SproutCMS project

function renderArea()

Draw the widgets for a specific area

The available widget areas are defined in the /config/sprout.php file.
Typically there are two areas defined, 'sidebar' and 'embedded'.

Usage

string Widgets::renderArea ( string $area_name );

Arguments

  1. string $area_name
    The name of the widget area to draw.

Return value

  • string
    HTML representing the rendered widgets