stas 2004/09/13 14:44:06
Modified: src/docs/2.0/api/Apache Module.pod
Log:
tweaks
Revision Changes Path
1.16 +9 -7 modperl-docs/src/docs/2.0/api/Apache/Module.pod
Index: Module.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Module.pod,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -u -r1.15 -r1.16
--- Module.pod 19 Aug 2004 17:53:57 -0000 1.15
+++ Module.pod 13 Sep 2004 21:44:06 -0000 1.16
@@ -8,7 +8,7 @@
=head1 Synopsis
use Apache::Module ();
-
+
# iterate over the whole module list
for (my $modp = Apache::Module->top_module; $modp; $modp = $modp->next) {
my $name = $modp->name;
@@ -95,10 +95,12 @@
=head2 C<get_config>
-Retrieves a module's configuration. Used by configuration directives.
+Retrieve a module's configuration. Used by configuration directives.
- $cfg = Apache::Module->get_config($class, $server, [$dir_config]);
- $cfg = $self->get_config($server, [$dir_config]);
+ $cfg = Apache::Module->get_config($class, $server, $dir_config);
+ $cfg = Apache::Module->get_config($class, $server);
+ $cfg = $self->get_config($server, $dir_config);
+ $cfg = $self->get_config($server);
=over 4
@@ -107,14 +109,14 @@
=item arg1: C<$class> ( string )
-The perl package this configuration is for
+The Perl package this configuration is for
-=item arg1: C<$server>
+=item arg2: C<$server>
( C<L<Apache::ServerRec object|docs::2.0::api::Apache::ServerRec>> )
The current server, typically C<$r-E<gt>server> or C<$parms-E<gt>server>
-=item opt arg1: C<$dir_config>
+=item opt arg3: C<$dir_config>
( C<L<Apache::ConfVector object|docs::2.0::api::Apache::ConfVector>> )
By default, the configuration returned is the server level one. To retrieve
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]