SproutCMS

This is the code documentation for the SproutCMS project

function addDefault()

Adds a widget to the list of widgets allowed for this area

Usage

void $WidgetArea->addDefault ( string $widget_name , mixed $settings );

Arguments

  1. string $widget_name
    The name of the widget to add
  2. $settings

Return value

  • void