gozer 2004/09/16 17:07:23
Modified: src/docs/2.0/api/Apache Module.pod
Log:
Apache::Module $mod->version() and $mod->minor_version() renamed
to $mod->ap_api_major_version() and $mod->ap_api_minor_version
for clarity
Revision Changes Path
1.24 +35 -33 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.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Module.pod 16 Sep 2004 22:24:06 -0000 1.23
+++ Module.pod 17 Sep 2004 00:07:23 -0000 1.24
@@ -11,11 +11,11 @@
# iterate over the whole module list
for (my $modp = Apache::Module::top_module(); $modp; $modp = $modp->next) {
- my $name = $modp->name;
- my $index = $modp->module_index;
- my $apache_api_version = $modp->apache_api_version;
- my $commands = $modp->cmds;
- my $minor_version = $modp->minor_version;
+ my $name = $modp->name;
+ my $index = $modp->module_index;
+ my $ap_api_major_version = $modp->ap_api_major_version;
+ my $ap_api_minor_version = $modp->ap_api_minor_version;
+ my $commands = $modp->cmds;
}
# find a specific module
@@ -68,19 +68,19 @@
-=head2 C<apache_api_version>
+=head2 C<ap_api_major_version>
Get the httpd API version this module was build against, B<not> the
module's version.
- $version = $module->apache_api_version();
+ $major_version = $module->ap_api_major_version();
=over 4
=item obj: C<$module>
( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> )
-=item ret: C<$version> ( integer )
+=item ret: C<$major_version> ( integer )
=item since: 1.99_17
@@ -92,6 +92,33 @@
+
+
+=head2 C<ap_api_minor_version>
+
+Get the module API minor version.
+
+ $minor_version = $module->ap_api_minor_version();
+
+=over 4
+
+=item obj: C<$module>
+( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> )
+
+=item ret: C<$minor_version> ( integer )
+
+=item since: 1.99_12
+
+=back
+
+C<ap_api_minor_version()> provides API feature milestones.
+
+It's not checked during module init.
+
+
+
+
+
=head2 C<cmds>
Get the C<L<Apache::Command|docs::2.0::api::Apache::Command>> object,
@@ -245,31 +272,6 @@
}
-
-
-
-
-
-=head2 C<minor_version>
-
-Get the module API minor version.
-
- $minor_version = $module->minor_version();
-
-=over 4
-
-=item obj: C<$module>
-( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> )
-
-=item ret: C<$minor_version> ( integer )
-
-=item since: 1.99_12
-
-=back
-
-C<minor_version()> provides API feature milestones.
-
-It's not checked during module init.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]