]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/filter/class_FilterChain.php
NullFilter class added, partial filter for accepting rules added
[shipsimu.git] / inc / classes / main / filter / class_FilterChain.php
index a3353231bc25c74efd070392c231245212a99f9d..cb1ac380aa740874030cb3bd8132014913481d6f 100644 (file)
@@ -28,7 +28,7 @@ class FilterChain extends BaseFrameworkSystem {
        private $filters = array();
 
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
@@ -37,7 +37,7 @@ class FilterChain extends BaseFrameworkSystem {
                parent::__construct(__CLASS__);
 
                // Set part description
-               $this->setObjectDescription("");
+               $this->setObjectDescription("A filter chain class");
 
                // Create unique ID number
                $this->createUniqueID();
@@ -79,6 +79,7 @@ class FilterChain extends BaseFrameworkSystem {
         */
        public function processFilters (Requestable $requestInstance, Responseable $responseInstance) {
                // Run all filters
+               //* DEBUG */ echo "COUNT=".count($this->filters)."<br />\n";
                foreach ($this->filters as $filterInstance) {
                        // Execute this filter
                        //* DEBUG */ echo "FILTER: ".$filterInstance->__toString().": Processing started.<br />\n";