static WebGovernmentFailedController.createWebGovernmentFailedController ( CommandResolver resolverInstance  )  [static, final]

Creates an instance of this class.

Parameters:
$resolverInstance An instance of a command resolver class
Returns:
$controllerInstance A prepared instance of this class
Todo:
Add some filters to this controller

Definition at line 42 of file class_WebGovernmentFailedController.php.

References BaseFrameworkSystem.$controllerInstance, and ObjectFactory.createObjectByConfiguredName().

00042                                                                                                              {
00043                 // Create the instance
00044                 $controllerInstance = new WebGovernmentFailedController();
00045 
00046                 // Set the command resolver
00047                 $controllerInstance->setResolverInstance($resolverInstance);
00048 
00049                 // User auth filter
00050                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_filter'));
00051 
00052                 // User update filter
00053                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_update_filter'));
00054 
00055                 // News fetcher filter
00056                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('news_download_filter'));
00057 
00058                 // News proccess/display-preparation
00059                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('news_process_filter'));
00060 
00061                 // Return the prepared instance
00062                 return $controllerInstance;
00063         }

Here is the call graph for this function:


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