X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Factions%2Fweb%2Fclass_WebLoginCompanyAction.php;h=edc7e19713cdb095e7f9cad1b0f7284580b44430;hp=f3ffdcd050b8af2a62aec66929def240b3447122;hb=ed423f90d3cad10f8a1de9fa70274c4b322e662e;hpb=4f8c6dfcdc9b0a11ef041d0658f98d10a85e87fa diff --git a/application/ship-simu/main/actions/web/class_WebLoginCompanyAction.php b/application/ship-simu/main/actions/web/class_WebLoginCompanyAction.php index f3ffdcd..edc7e19 100644 --- a/application/ship-simu/main/actions/web/class_WebLoginCompanyAction.php +++ b/application/ship-simu/main/actions/web/class_WebLoginCompanyAction.php @@ -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')); } }