FilterChain.processFilters ( Requestable requestInstance,
Responseable responseInstance 
)

Process all added filters.

Parameters:
$requestInstance An instance of a request class
$responseInstance An instance of a response class
Returns:
void

Definition at line 74 of file class_FilterChain.php.

00074                                                                                                       {
00075                 // Run all filters
00076                 //* DEBUG */ echo "COUNT=".count($this->filters)."<br />\n";
00077                 foreach ($this->filters as $filterInstance) {
00078                         // Try to execute this filter
00079                         try {
00080                                 //* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing started.<br />\n";
00081                                 $filterInstance->execute($requestInstance, $responseInstance);
00082                                 //* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing ended.<br />\n";
00083                         } catch (FilterChainException $e) {
00084                                 // This exception can be thrown to just skip any further processing
00085                                 break;
00086                         }
00087                 } // END - foreach
00088         }


Generated on Mon Dec 8 01:12:08 2008 for Ship-Simulator by  doxygen 1.5.6