* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class ShipSimuGovermentPaysStartupHelpFilter extends BaseFilter implements Filterable {
+3class ShipSimuGovermentPaysStartupHelpFilter extends BaseShipSimuFilter implements Filterable {
/**
* Protected constructor
*
/**
* Creates an instance of this filter class
*
- * @return $filterInstance An instance of this filter class
+ * @param $controllerInstance An instance of a Controller class
+ * @return $filterInstance An instance of this filter class
*/
- public final static function createShipSimuGovermentPaysStartupHelpFilter () {
+ public final static function createShipSimuGovermentPaysStartupHelpFilter (Controller $controllerInstance) {
// Get a new instance
$filterInstance = new ShipSimuGovermentPaysStartupHelpFilter();
+ // Set the controller
+ $filterInstance->setControllerInstance($controllerInstance);
+
// Return the instance
return $filterInstance;
}
* @todo 0% done
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
+ // Execute the parent execute method
+ parent::execute($requestInstance, $responseInstance);
+
// Get the user instance from registry
$userInstance = Registry::getRegistry()->getInstance('user');