X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffilter%2Fclass_FilterChain.php;h=dcdb882c14cb927d82f285fd2eb6a9944d5bbd46;hb=768cc231b262ebeaa5aec373d9b7d97cc6b6ac95;hp=447772648b01454cfca393573ca9288dd4b9ec3f;hpb=bfb4fbd86ac6561ce9ac7160e6ef05b1653c1e6a;p=core.git diff --git a/inc/classes/main/filter/class_FilterChain.php b/inc/classes/main/filter/class_FilterChain.php index 44777264..dcdb882c 100644 --- a/inc/classes/main/filter/class_FilterChain.php +++ b/inc/classes/main/filter/class_FilterChain.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -35,10 +35,6 @@ class FilterChain extends BaseFrameworkSystem { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); - - // Clean up a little - $this->removeNumberFormaters(); - $this->removeSystemArray(); } /** @@ -46,7 +42,7 @@ class FilterChain extends BaseFrameworkSystem { * * @return $chainInstance An instance of this class */ - public final static function createFilterChain () { + public static final function createFilterChain () { // Get a new instance $chainInstance = new FilterChain(); @@ -73,13 +69,13 @@ class FilterChain extends BaseFrameworkSystem { */ public function processFilters (Requestable $requestInstance, Responseable $responseInstance) { // Run all filters - /* DEBUG */ echo "COUNT=".count($this->filters)."
\n"; + //* DEBUG */ echo "COUNT=".count($this->filters)."
\n"; foreach ($this->filters as $filterInstance) { // Try to execute this filter try { - /* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing started.
\n"; + //* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing started.
\n"; $filterInstance->execute($requestInstance, $responseInstance); - /* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing ended.
\n"; + //* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing ended.
\n"; } catch (FilterChainException $e) { // This exception can be thrown to just skip any further processing break;