b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.10) [ class tree: admin ] [ index: admin ] [ all elements ]

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
require_once ($inc_path.'_misc/_plugin.funcs.php') [line 1058]
[ Top ]

require_once ($inc_path.'_misc/_plugin.funcs.php') [line 661]
[ Top ]


Functions
install_plugin_db_schema_action  [line 67]

boolean install_plugin_db_schema_action( Plugin &$Plugin  )

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]

array|false _set_setting_by_path( string &$Plugin, string $path, [mixed $init_value = array()], [mixed $setting = NULL], [mixed $meta = NULL]  )

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 ]


Documentation generated on Tue, 20 May 2008 01:36:31 +0200 by phpDocumentor 1.4.2