Elgg
Version 6.1
|
Go to the source code of this file.
Variables | |
$params = get_input('params') | |
Saves global plugin settings. More... | |
$flush_cache = get_input('flush_cache') | |
$plugin_id = get_input('plugin_id') | |
if(empty($plugin_id)) | $plugin = elgg_get_plugin_from_id($plugin_id) |
if(!$plugin) | $plugin_name = $plugin->getDisplayName() |
$result = false | |
$params = get_input('params') |
Saves global plugin settings.
This action can be overriden for a specific plugin by creating the <plugin_id>/settings/save action in that plugin.
array $_REQUEST['params'] A set of key/value pairs to save to the ElggPlugin entity mixed $_REQUEST['flush_cache'] If a truthy value is provided the caches will be flushed int $_REQUEST['plugin_id'] The ID of the plugin
if (empty($plugin_id)) $plugin = elgg_get_plugin_from_id($plugin_id) |