gozer 2004/09/16 14:59:38 Modified: src/docs/2.0/api/Apache Module.pod Log: Apache::Module $mod->version() renamed $mod->apache_api_version() for clarity Revision Changes Path 1.22 +28 -28 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.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- Module.pod 13 Sep 2004 22:52:46 -0000 1.21 +++ Module.pod 16 Sep 2004 21:59:38 -0000 1.22 @@ -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 $version = $modp->version; - my $commands = $modp->cmds; - my $minor_version = $modp->minor_version; + 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; } # find a specific module @@ -68,6 +68,29 @@ +=head2 C<apache_api_version> + +Get the httpd API version this module was build against, B<not> +the module's version; Used to check that module is compatible +with this version of the server before loading it. + + $version = $module->apache_api_version(); + +=over 4 + +=item obj: C<$module> +( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> ) + +=item ret: C<$version> ( integer ) + +=item since: 1.99_12 + +=back + + + + + =head2 C<cmds> Get the C<L<Apache::Command|docs::2.0::api::Apache::Command>> object, @@ -357,29 +380,6 @@ =item ret: C<$module> ( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> ) - -=item since: 1.99_12 - -=back - - - - - -=head2 C<version> - -Get the httpd API version this module was build against, B<not> -the module's version; Used to check that module is compatible -with this version of the server before loading it. - - $version = $module->version(); - -=over 4 - -=item obj: C<$module> -( C<L<Apache::Module object|docs::2.0::api::Apache::Module>> ) - -=item ret: C<$version> ( integer ) =item since: 1.99_12
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]