X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Factions%2Fhtml%2Fclass_HtmlLoginProfileAction.php;h=990157273477db9f018897b4954ac587b616a94c;hp=44e9c5ef72cec8e59c9c5372f2fb9612852058e7;hb=refs%2Fheads%2Fmaster;hpb=a60894f1d6ef33613d2d0351075aa07aa257f304 diff --git a/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php b/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php index 44e9c5ef..36e73d9c 100644 --- a/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php +++ b/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php @@ -6,7 +6,7 @@ namespace Org\Mxchange\CoreFramework\Action\Login; use Org\Mxchange\CoreFramework\Action\BaseAction; use Org\Mxchange\CoreFramework\Action\PerformableAction; use Org\Mxchange\CoreFramework\Controller\Controller; -use Org\Mxchange\CoreFramework\Factory\ObjectFactory; +use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory; use Org\Mxchange\CoreFramework\Registry\Registerable; use Org\Mxchange\CoreFramework\Request\Requestable; use Org\Mxchange\CoreFramework\Response\Responseable; @@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Response\Responseable; * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -39,7 +39,7 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re * * @return void */ - protected function __construct () { + private function __construct () { // Call parent constructor parent::__construct(__CLASS__); } @@ -52,12 +52,14 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re */ public static final function createHtmlLoginProfileAction (ActionResolver $resolverInstance) { // Get a new instance + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: resolverInstance=%s - CALLED!', $resolverInstance->__toString())); $actionInstance = new HtmlLoginProfileAction(); // Set the resolver instance $actionInstance->setResolverInstance($resolverInstance); // Return the instance + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: actionInstance=%s - EXIT!', $actionInstance->__toString())); return $actionInstance; } @@ -70,6 +72,7 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { // Dummy method + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: requestInstance=%s,responseInstance=%s - CALLED!', $requestInstance->__toString(), $responseInstance->__toString())); } /** @@ -81,7 +84,11 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re */ public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) { // Add user status filter here + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('HTML-LOGIN-PROFILE-ACTION: controllerInstance=%s,requestInstance=%s - CALLED!', $controllerInstance->__toString(), $requestInstance->__toString())); $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter_class')); + + // Trace message + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage('HTML-LOGIN-PROFILE-ACTION: EXIT!'); } }