b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.8) [ class tree: evocore ] [ index: evocore ] [ all elements ]

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.16.2.1 2006/06/12 20:00:41 fplanque 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 50]

void display_settings_fieldset_field( string $set_name, array $set_meta, Plugin &$Plugin, Form &$Form, [string $set_type = 'Settings'], [mixed $set_target = NULL], [mixed $use_value = NULL]  )

Recursive helper function to display a field of the plugin's settings.

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)


[ Top ]
set_Settings_for_Plugin_from_Request  [line 296]

void set_Settings_for_Plugin_from_Request( Plugin &$Plugin, Plugins &$use_Plugins, string $set_type, [mixed $set_target = NULL]  )

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 ]


Documentation generated on Tue, 18 Dec 2007 23:20:33 +0100 by phpDocumentor 1.4.0