GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Apache::Config::Preproc::Expand(3) User Contributed Perl Documentation Apache::Config::Preproc::Expand(3)

Apache::Config::Preproc::Expand - base class for preprocessor modules

    $obj = new($conf, ...)

The only required argument to the constructor is a reference to the Apache::Config::Preproc object which controls the preprocessing. The default constructor saves this reference in the object and makes it available via the conf method. Rest of arguments are specific for each particular expansion and are ignored by the default constructor.

Returns the Apache::Config::Preproc object which controls the preprocessing. The module can use it in order to inspect the configuration parse tree.

    $obj->begin_section($section);

Invoked before running preprocessor expansions on a section. The section (an instance of Apache::Admin::Config::Tree or a derived class) is passed as the argument.

Default implementation is a no-op.

    $obj->end_section($section);

Invoked when all preprocessor expansions are finished for a section. The section (an instance of Apache::Admin::Config::Tree or a derived class) is passed as the argument.

Default implementation is a no-op.

    $result = $obj->expand($node, \@items);

Expands the configuration tree node $node, places the resulting nodes to @items and returns true. Returns false if no expansion was done on the node.

2020-01-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.