]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/actions/web/class_WebLoginCompanyAction.php
Another wrong name fixed
[shipsimu.git] / application / ship-simu / main / actions / web / class_WebLoginCompanyAction.php
index f3ffdcd050b8af2a62aec66929def240b3447122..edc7e19713cdb095e7f9cad1b0f7284580b44430 100644 (file)
@@ -30,12 +30,6 @@ class WebLoginCompanyAction extends BaseAction implements Commandable, Registera
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Shipping comany action");
-
-               // Generate unique key
-               $this->generateUniqueId();
        }
 
        /**
@@ -61,9 +55,10 @@ class WebLoginCompanyAction extends BaseAction implements Commandable, Registera
         * @param       $requestInstance        An instance of a class with an Requestable interface
         * @param       $responseInstance       An instance of a class with an Responseable interface
         * @return      void
+        * @todo        Maybe add fetching company list of current user here?
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               $this->partialStub("Maybe add fetching company list here.");
+               // Unfinished method
        }
 
        /**
@@ -75,7 +70,7 @@ class WebLoginCompanyAction extends BaseAction implements Commandable, Registera
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Add user status filter here
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_class'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }