cholet 01/12/27 07:44:33
Modified: Apache Apache.pm
Log:
document current_callback()
Revision Changes Path
1.65 +9 -0 modperl/Apache/Apache.pm
Index: Apache.pm
===================================================================
RCS file: /home/cvs/modperl/Apache/Apache.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- Apache.pm 2001/05/01 17:28:34 1.64
+++ Apache.pm 2001/12/27 15:44:33 1.65
@@ -776,6 +776,15 @@
$r->push_handlers( PerlHandler => \&footer);
+=item $r->current_callback
+
+Returns the name of the handler currently being run. This method is most
+useful to PerlDispatchHandlers who wish to only take action for certain phases.
+
+ if($r->current_callback eq "PerlLogHandler") {
+ $r->warn("Logging request");
+ }
+
=back
=head1 SETTING UP THE RESPONSE
- cvs commit: modperl/Apache Apache.pm cholet
- cvs commit: modperl/Apache Apache.pm cholet
- cvs commit: modperl/Apache Apache.pm dougm
- cvs commit: modperl/Apache Apache.pm ask
- cvs commit: modperl/Apache Apache.pm sbekman
- RE: cvs commit: modperl/Apache Apache.pm Geoffrey Young
- cvs commit: modperl/Apache Apache.pm dougm
- cvs commit: modperl/Apache Apache.pm dougm
- RE: cvs commit: modperl/Apache Apache.pm Geoffrey Young
- RE: cvs commit: modperl/Apache Apache.pm Matt Sergeant
- cvs commit: modperl/Apache Apache.pm cholet
- cvs commit: modperl/Apache Apache.pm cholet
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
- cvs commit: modperl/Apache Apache.pm stas
