class_AbstractFilterDecorator.php

Go to the documentation of this file.
00001 <?php
00024 abstract class AbstractFilterDecorator extends BaseFrameworkSystem implements Filterable {
00028         private $filterInstance = null;
00029 
00036         protected function __construct ($className) {
00037                 // Call parent constructor
00038                 parent::__construct($className);
00039 
00040                 // Clean up a little
00041                 $this->removeNumberFormaters();
00042                 $this->removeSystemArray();
00043         }
00044 
00051         protected final function setFilterInstance (Filterable $filterInstance) {
00052                 $this->filterInstance = $filterInstance;
00053         }
00054 
00060         protected final function getFilterInstance () {
00061                 return $this->filterInstance;
00062         }
00063 
00071         public final function execute (Requestable $requestInstance, Responseable $responseInstance) {
00072                 $this->getFilterInstance()->execute($requestInstance, $responseInstance);
00073         }
00074 
00075 
00083         abstract public function doExecute (Requestable $requestInstance, Responseable $responseInstance);
00084 }
00085 
00086 // [EOF]
00087 ?>

Generated on Mon Dec 8 01:06:45 2008 for Ship-Simulator by  doxygen 1.5.6