stas 2004/09/09 13:19:49 Modified: src/docs/2.0/api/Apache RequestUtil.pod Log: Apache->request can now be set-able w/o needing PerlOptions +GlobalRequest Revision Changes Path 1.26 +11 -4 modperl-docs/src/docs/2.0/api/Apache/RequestUtil.pod Index: RequestUtil.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/RequestUtil.pod,v retrieving revision 1.25 retrieving revision 1.26 diff -u -u -r1.25 -r1.26 --- RequestUtil.pod 16 Jul 2004 01:11:03 -0000 1.25 +++ RequestUtil.pod 9 Sep 2004 20:19:49 -0000 1.26 @@ -811,11 +811,12 @@ =head2 C<request> -Retrieve the ( C<L<Apache::RequestRec +Get/set the ( C<L<Apache::RequestRec object|docs::2.0::api::Apache::RequestRec>> ) object for the current request. $r = Apache->request; + Apache->request($new_r); =over 4 @@ -823,16 +824,22 @@ The Apache class name +=item opt arg1: C<$new_r> +( C<L<Apache::RequestRec object|docs::2.0::api::Apache::RequestRec>> ) + =item ret: C<$r> ( C<L<Apache::RequestRec object|docs::2.0::api::Apache::RequestRec>> ) -=item since: 1.99_10 +=item since: 1.99_17 =back -This method is only available if C<L<PerlOptions +The get-able part of this method is only available if C<L<PerlOptions +GlobalRequest|docs::2.0::user::config::config/C_GlobalRequest_>> is -in effect. +in effect or if C<Apache-E<gt>request($new_r)> was called earlier. So +instead of setting C<L<PerlOptions ++GlobalRequest|docs::2.0::user::config::config/C_GlobalRequest_>>, one +can set the global request from within the handler.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]