ForwardFW
[ class tree: ForwardFW ] [ index: ForwardFW ] [ all elements ]

Class: ForwardFW_Filter_RequestResponse

Source Location: /Filter/RequestResponse.php

Class Overview

ForwardFW_Filter
   |
   --ForwardFW_Filter_RequestResponse

This abstract class needs to be extended to be a callable filter.


Author(s):

Variables

Methods


Child classes:

ForwardFW_Filter_RequestResponse_FirePHP
This class sends the log and error message queue to the client via FirePHP.
ForwardFW_Filter_RequestResponse_Application
This class loads and runs the requested Application.

Inherited Variables

Inherited Methods

Class: ForwardFW_Filter

ForwardFW_Filter::__construct()
Constructor
ForwardFW_Filter::doFilter()
Function to process filtering incoming/child/outgoing
ForwardFW_Filter::doIncomingFilter()
Function to process before your child
ForwardFW_Filter::doOutgoingFilter()
Function to process after your child

Class Details

[line 47]
This abstract class needs to be extended to be a callable filter.



Tags:



[ Top ]


Class Variables

$request =  null

[line 54]

The Request object



Tags:

access:  protected

Type:   ForwardFW_Request


[ Top ]

$response =  null

[line 61]

The Response object



Tags:

access:  protected

Type:   ForwardFW_Request


[ Top ]



Class Methods


static method getFilters [line 140]

static ForwardFW_Filter_RequestResponse getFilters( ForwardFW_Request $_request, ForwardFW_Response $_response)

Builds the Filters which are defined in the configuration for RequestResponse handling.



Tags:

return:  The start filter with the configured childs. So the filters can be started.
access:  public


Parameters:

ForwardFW_Request   $_request   The request for this application
ForwardFW_Response   $_response   The response for this application

[ Top ]

constructor __construct [line 75]

new __construct( [ForwardFW_Filter_RequestResponse $_child = null], [ForwardFW_Request $_request = null], [ForwardFW_Response $_response = null])

Constructor



Tags:

return:  instance
access:  public


Overrides ForwardFW_Filter::__construct() (Constructor)

Parameters:

ForwardFW_Filter_RequestResponse   $_child   The child filter or null if you are the last
ForwardFW_Request   $_request   The request for this application
ForwardFW_Response   $_response   The response for this application

[ Top ]

method doIncomingFilter [line 95]

void doIncomingFilter( )

Function to process before your child



Tags:

access:  public


Overridden in child classes as:

ForwardFW_Filter_RequestResponse_FirePHP::doIncomingFilter()
Function to process before your child
ForwardFW_Filter_RequestResponse_Application::doIncomingFilter()
Function to process before your child

Overrides ForwardFW_Filter::doIncomingFilter() (Function to process before your child)

[ Top ]

method doOutgoingFilter [line 105]

void doOutgoingFilter( )

Function to process after your child



Tags:

access:  public


Overridden in child classes as:

ForwardFW_Filter_RequestResponse_FirePHP::doOutgoingFilter()
Function to process after your child
ForwardFW_Filter_RequestResponse_Application::doOutgoingFilter()
Function to process after your child

Overrides ForwardFW_Filter::doOutgoingFilter() (Function to process after your child)

[ Top ]

method getRequest [line 115]

ForwardFW_Request getRequest( )

Returns the request object of this process



Tags:

access:  public


[ Top ]

method getResponse [line 125]

ForwardFW_Response getResponse( )

Returns the response object of this process



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 30 Jan 2011 20:46:44 +0100 by phpDocumentor 1.4.3