Procedural File: plugins.php
Source Location: /blogs/inc/CONTROL/settings/plugins.php
Page Details
This file implements the UI controller for plugins management.
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: plugins.php,v 1.49.2.9.2.1 2007/04/25 22:17:48 fplanque Exp $ |
| Copyright: | (c)2003-2007 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 |
Includes
Functions
install_plugin_db_schema_action [line 67]
|
Helper function to do the action part of DB schema upgrades for "enable" and "install" actions.
Parameters:| Plugin | &$Plugin: |
API Tags:
| Return: | True, if no changes needed or done; false if we should break out to display "install_db_schema" action payload. |
[ Top ]
_set_setting_by_path [line 136]
|
Helper method for "add_settings_set" and "delete_settings_set" action.
Walks the given settings path and either inits the target entry or unsets it ($init_value=NULL).
Parameters:| string | &$Plugin: | Setting name |
| string | $path: | The settings path, e.g. 'setting[0]foo[1]'. (Is used as array internally for recursion.) |
| mixed | $init_value: | The initial value of the setting, typically array() - NULL to unset it (action "delete_settings_set" uses it) |
| mixed | $setting: | Used internally for recursion (current setting to look at) |
| mixed | $meta: | Used internally for recursion (meta info of current setting to look at) |
[ Top ]
