[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/plugins/model/ -> _pluginsettings.class.php (sommaire)

This file implements the PluginSettings class, to handle plugin/name/value triplets. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

Author: blueyed: Daniel HAHLER.
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _pluginsettings.class.php,v 1.1 2007/06/25 11:00:52 fplanque Exp $
Poids: 134 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PluginSettings:: (4 méthodes):
  PluginSettings()
  get()
  set()
  delete()


Classe: PluginSettings  - X-Ref

Class to handle settings for plugins

PluginSettings( $plugin_ID )   X-Ref
Constructor

param: integer plugin ID where these settings are for

get( $setting )   X-Ref
Get a setting by name for the Plugin.

param: string The settings name.
return: mixed|NULL|false False in case of error, NULL if not found, the value otherwise.

set( $setting, $value )   X-Ref
Set a Plugin setting. Use {@link dbupdate()} to write it to the database.

param: string The settings name.
param: string The settings value.
return: boolean true, if the value has been set, false if it has not changed.

delete( $setting )   X-Ref
Delete a setting.

Use {@link dbupdate()} to commit it to the database.

param: string name of setting



Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics