You are here: TWiki> Codev Web>GetPluginPreferences (2004-08-29, PeterThoeny)
Tags:
create new tag
, view all tags

Implemented: New TWiki::Func Functions to get Plugin Preferences

Two new functions are available in FuncDotPm:

getPluginPreferencesValue( $key ) ==> $value

Description: Get a preferences value from your Plugin
Parameter: $key Plugin Preferences key w/o PLUGINNAME_ prefix.
Return: $value Preferences value; empty string if not set
Since: TWiki::Plugins::VERSION 1.021 (27 Mar 2004)

getPluginPreferencesFlag( $key ) ==> $flag

Description: Get a preferences flag from your Plugin
Parameter: $key Plugin Preferences key w/o PLUGINNAME_ prefix.
Return: $flag Preferences flag "1" (if set), or "0" (for preferences values "off", "no" and "0", or values not set at all)
Since: TWiki::Plugins::VERSION 1.021 (27 Mar 2004)

-- PeterThoeny - 29 Aug 2004

Discussions

Added docs of feature added on 27 Mar 2004 by WalterMundt.

-- PeterThoeny - 29 Aug 2004

 
Topic revision: r1 - 2004-08-29 - 07:34:37 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.