internal package
Foswiki::Configure::Value
On this page:
internal package
Foswiki::Configure::Value is a
Foswiki::Configure::Item
A Value object is a Foswiki::Configure::Item that represents a single entry
in a *.spec or LocalSite.cfg file i.e. it is the leaf type in a configuration
model.
Values come in two types; 'DEFAULT' and 'CURRENT'; a DEFAULT type is read
from a *.spec file and a CURRENT type from LocalSite.cfg (or taken from
URL parameters)
Note that this object does not store the "actual" value of a configuration
item; that is done by a Foswiki::Configure::Valuer. This object is
the model only.
ClassMethod
new($typename, %params)
-
$typename
e.g 'STRING', name of one of the Foswiki::Configure::Types Defaults to 'UNKNOWN' if not given ('', 0 or undef).
- parent node
- keys e.g {Garden}{Flowers}
- expertsOnly boolean
- opts options