class_WebLoginProfileAction.php

Go to the documentation of this file.
00001 <?php
00024 class WebLoginProfileAction extends BaseAction implements Commandable, Registerable {
00030         protected function __construct () {
00031                 // Call parent constructor
00032                 parent::__construct(__CLASS__);
00033         }
00034 
00041         public final static function createWebLoginProfileAction (ActionResolver $resolverInstance) {
00042                 // Get a new instance
00043                 $actionInstance = new WebLoginProfileAction();
00044 
00045                 // Set the resolver instance
00046                 $actionInstance->setResolverInstance($resolverInstance);
00047 
00048                 // Return the instance
00049                 return $actionInstance;
00050         }
00051 
00059         public function execute (Requestable $requestInstance, Responseable $responseInstance) {
00060                 // Dummy method
00061         }
00062 
00070         public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
00071                 // Add user status filter here
00072                 $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
00073         }
00074 }
00075 
00076 // [EOF]
00077 ?>

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