Adds extra filters to the given controller instance.
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:
![]()
|
1.5.6