We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Codev Web>GetPluginPreferences (29 Aug 2004, 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 - 29 Aug 2004 - 07:34:37 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback