Go to the source code of this file.
◆ $context
◆ $context_stack [1/2]
◆ $context_stack [2/2]
if ( $default_widgets) $context_stack[] = 'widgets' |
◆ $default_widgets
$default_widgets = (int) get_input('default_widgets', 0) |
◆ $guid
Elgg save widget settings action.
@uses int $_REQUEST['guid'] The guid of the widget to save @uses array $_REQUEST['params'] An array of params to set on the widget. @uses int $_REQUEST['default_widgets'] Flag for if these settings are for default wigets. @uses string $_REQUEST['context'] An optional context of the widget. Used to return the correct output if widget content changes depending on context.
Definition at line 13 of file save.php.
◆ $output
Initial value:= [
'content' =>
elgg_view(
'object/widget/elements/content', [
'entity' =>
$widget]),
'title' =>
$widget->getDisplayName(),
]
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition at line 51 of file save.php.
◆ $params
◆ $widget