From 51984ac3d3da3006809c6866fdecd4ad83610731 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 30 Jul 2001 07:36:04 +0000 Subject: templates!!! --- httemplate/docs/man/FS/Conf.html | 81 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 httemplate/docs/man/FS/Conf.html (limited to 'httemplate/docs/man/FS/Conf.html') diff --git a/httemplate/docs/man/FS/Conf.html b/httemplate/docs/man/FS/Conf.html new file mode 100644 index 000000000..7b1613efd --- /dev/null +++ b/httemplate/docs/man/FS/Conf.html @@ -0,0 +1,81 @@ + + +FS::Conf - Read access to Freeside configuration values + + + + + + + + + + + +
+

+

NAME

+

FS::Conf - Read access to Freeside configuration values

+

+


+

SYNOPSIS

+
+  use FS::Conf;
+
+  $conf = new FS::Conf "/config/directory";
+
+  $FS::Conf::default_dir = "/config/directory";
+  $conf = new FS::Conf;
+
+  $dir = $conf->dir;
+
+  $value = $conf->config('key');
+  @list  = $conf->config('key');
+  $bool  = $conf->exists('key');
+

+


+

DESCRIPTION

+

Read access to Freeside configuration values. Keys currently map to filenames, +but this may change in the future.

+

+


+

METHODS

+
+
new [ DIRECTORY ]
+
+Create a new configuration object. A directory arguement is required if +$FS::Conf::default_dir has not been set. +

+
dir
+
+Returns the directory. +

+
config
+
+Returns the configuration value or values (depending on context) for key. +

+
exists
+
+Returns true if the specified key exists, even if the corresponding value +is undefined. +

+

+


+

BUGS

+

Write access (with locking) should be implemented.

+

+


+

SEE ALSO

+

config.html from the base documentation contains a list of configuration files.

+ + + + -- cgit v1.2.1