WebShipsimuGovernmentStartupCommand.addExtraFilters ( Controller controllerInstance,
Requestable requestInstance 
)

Adds extra filters to the given controller instance.

Parameters:
$controllerInstance A controller instance
$requestInstance An instance of a class with an Requestable interface
Returns:
void
Todo:
Maybe we need some filters here?

Implements Commandable.

Definition at line 73 of file class_WebShipsimuGovernmentStartupCommand.php.

References ObjectFactory.createObjectByConfiguredName().

00073                                                                                                        {
00074                 // Add user auth filter (we don't need an update of the user here because it will be redirected)
00075                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_filter'));
00076 
00077                 // Add user status filter here
00078                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
00079 
00080                 // Check if government can pay startup help
00081                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
00082 
00083                 // Verify password
00084                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter'));
00085 
00086                 // Verify CAPTCHA code
00087                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('captcha_refill_verifier_filter'));
00088         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:28:04 2008 for Ship-Simulator by  doxygen 1.5.6