Process all added filters.
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 }
|
1.5.6