1docs::api::Apache2::FilUtseerrReCco(n3t)ributed Perl Docduomcesn:t:aatpiio:n:Apache2::FilterRec(3)
2
3
4

NAME

6       Apache2::FilterRec - Perl API for manipulating the Apache filter record
7

Synopsis

9         use Apache2::Filter ();
10         use Apache2::FilterRec ();
11
12         my $frec = $filter->frec;
13         print "filter name is:", $frec->name;
14

Description

16       "Apache2::FilterRec" provides an access to the filter record structure.
17
18       The "Apache2::FilterRec" object is retrieved by calling "frec()":
19
20         $frec = $filter->frec;
21

API

23       "Apache2::FilterRec" provides the following functions and/or methods:
24
25       "name"
26
27       The registered name for this filter
28
29         $name = $frec->name();
30
31       obj: $frec ( "Apache2::FilterRec object" )
32       ret: $name (string)
33       since: 2.0.00
34
35       mod_perl filters have four names:
36
37         modperl_request_output
38         modperl_request_input
39         modperl_connection_output
40         modperl_connection_input
41
42       You can see the names of the non-mod_perl filters as well. By calling
43       "$filter->next->frec->name" you can get the name of the next filter in
44       the chain.
45
46       Example:
47
48       Let's print the name of the current and the filter that follows it:
49
50         use Apache2::Filter ();
51         use Apache2::FilterRec ();
52         for my $frec ($filter->frec, $filter->next->frec) {
53             print "Name: ", $frec->name;
54         }
55

See Also

57       mod_perl 2.0 documentation.
58
60       mod_perl 2.0 and its core modules are copyrighted under The Apache
61       Software License, Version 2.0.
62

Authors

64       The mod_perl development team and numerous contributors.
65
66
67
68perl v5.8.8                       2006-11-19  docs::api::Apache2::FilterRec(3)
Impressum