Stores information about an individual widget area, including the names of all widgets that are allowed to be in this area.
This is the code documentation for the SproutCMS project
| Search documentation | class WidgetAreaStores information about an individual widget area, including the names of all widgets that are allowed to be in this area. 
 Variables
 Functions
 public __constructvoid $WidgetArea->__construct (  string $name ,  int $index  ); Constructor public addDefaultvoid $WidgetArea->addDefault (  string $widget_name ,  mixed $settings  ); Adds a widget to the list of widgets allowed for this area public addWidgetvoid $WidgetArea->addWidget (  string $widget_name  ); Adds a widget to the list of widgets allowed for this area public findAreaByNameunknown WidgetArea::findAreaByName (  string $name  ); Returns the widget area which has the specified name. Uses the widget areas defined in the sprout config. public getIndexunknown $WidgetArea->getIndex (  ); Returns the index of this widget area public getNameunknown $WidgetArea->getName (  ); Returns the name of this widget area public getNiceNameunknown $WidgetArea->getNiceName (  ); Returns the nice name of this widget area public getOrientationunknown $WidgetArea->getOrientation (  ); Gets the orientation of the widget area public getWidgetsunknown $WidgetArea->getWidgets (  ); Gets the list of allowed widgets public isEmbedunknown $WidgetArea->isEmbed (  ); If the widget area is an embedding area public setEmbedvoid $WidgetArea->setEmbed (  mixed $embed  ); If true, the widget area is an 'embedding' area. public setNiceNamevoid $WidgetArea->setNiceName (  string $name  ); Sets the nice name of this widget area public setOrientationvoid $WidgetArea->setOrientation (  int $value  ); Sets the orientation of the widget area | 
| Powered by Pelzini, version 0.9.0 | Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |   |