Procedural File: _plugin.funcs.php
Source Location: /blogs/inc/_misc/_plugin.funcs.php
Page Details
Functions for Plugin handling.
This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.
| Author: | blueyed: Daniel HAHLER |
| Author: | fplanque: Francois PLANQUE |
| Version: | $Id: _plugin.funcs.php,v 1.20.2.6 2006/11/16 23:12:38 blueyed Exp $ |
| Copyright: | (c)2003-2006 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - http://thequod.de/contact. |
| Filesource: | Source Code for this file |
Functions
display_settings_fieldset_field [line 52]
|
Recursive helper function to display a field of the plugin's settings (by manipulating a Form).
This gets used for PluginSettings ("Edit plugin") and PluginUserSettings ("Edit user settings").
Parameters:| string | $set_name: | Settings name (key) |
| array | $set_meta: | Meta data for this setting. See Plugin::GetDefaultSettings() |
| Plugin | &$Plugin: | (by reference) |
| Form | &$Form: | (by reference) |
| string | $set_type: | Settings type ('Settings' or 'UserSettings') |
| mixed | $set_target: | Target (User object for 'UserSettings') |
| mixed | $use_value: | Value to really use (used for recursion into array type settings) |
Information Tags:
| Todo: | dh> Allow to move setting sets up and down (order). Control goes into /inc/CONTROL/settings/plugins.php. |
[ Top ]
set_Settings_for_Plugin_from_Request [line 330]
|
Set Plugin settings from params.
This gets used when saving a user profile (PluginUserSettings) or plugin settings (PluginSettings).
Parameters:| Plugin | &$Plugin: | |
| Plugins | &$use_Plugins: | An object derived from Plugins, probably either $Plugins or $Plugins_admin. |
| string | $set_type: | Type of Settings (either 'Settings' or 'UserSettings'). |
| mixed | $set_target: | Target (User object for 'UserSettings') |
[ Top ]
