Dotclear 2.24
|
Data Structures | |
class | publicWidgets |
Namespaces | |
namespace | Dotclear |
Authentication and user credentials management. | |
Functions | |
static | tplIfWidgets (ArrayObject $attr, string $content) |
static | ifWidgetsHandler (string $type) |
static | tplWidget (ArrayObject $attr, string $content) |
static | widgetHandler (string $id, $xml) |
|
static |
tpl:IfWidgets : Include content only if test succeed (tpl block)
attributes:
- type Type of widgets (nav, extra, custom), default to all - disable Comma separated list of widget to disable, default to empty
ArrayObject | $attr | The attributes |
string | $content | The content |
References defaultWidgets\WIDGETS_CUSTOM, defaultWidgets\WIDGETS_EXTRA, and defaultWidgets\WIDGETS_NAV.
|
static |
|
static |
tpl:Widget [attributes] : Includes a widget (tpl block)
attributes:
- id widget ID
ArrayObject | $attr | The attributes |
string | $content | The content (widget optional settings) |
References dcCore\app().
|
static |
Render widget
string | $id | The widget identifier |
string | $xml | The xml (widget optional settings) |
References dcCore\app().