Dominique Dumont > Config-Model-Itself-1.239 > Config::Model::models::Itself::Class

Download:
Config-Model-Itself-1.239.tar.gz

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Config-Model-Itself-1.241

NAME ^

Config::Model::models::Itself::Class - Configuration class Itself::Class

DESCRIPTION ^

Configuration classes used by Config::Model

Configuration class. This class represents a node of a configuration tree.

Elements ^

class_description

Explain the purpose of this configuration class. This description will be re-used to generate the documentation of your configuration class. You can use pod markup to format your description. See perlpod for details.Optional. Type string.

license

Optional. Type string.

author

Optional. Type list of uniline.

copyright

Optional. Type list of uniline.

element

Specify the elements names of this configuration class.Optional. Type hash of node of class Itself::Element .

include

Include the specification of another class into this class.Optional. Type list of reference.

include_after

insert the included elements after a specific element. Optional. Type reference.

generated_by

When set, this class was generated by some program. You should not edit it as your modification may be clobbered later on. Optional. Type uniline.

read_config

Specify the Perl class(es) and function(s) used to read configuration data. The specified function will be tried in sequence to get configuration data. Optional. Type list of node of class Itself::ConfigRead .

write_config

Specify the Perl class and function used to write configuration data.Optional. Type list of node of class Itself::ConfigWrite .

accept

Specifies names of the elements this configuration class will accept as valid. The key of the hash is a regular expression that will be tested against candidate parameters. When the parameter matches the regular expression, a new parameter is created in the model using the description provided in the value of this hash key. Note that the regexp must match the whole candidate parameter name. I.e. the specified regexp will be eval'ed with a leading ^ and a trailing $.Optional. Type hash of node of class Itself::ConfigAccept .

SEE ALSO ^

AUTHOR ^

Dominique Dumont

COPYRIGHT ^

2007-2011 Dominique Dumont.

LICENSE ^

LGPL-2
syntax highlighting: