X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Factions%2Fhtml%2Fclass_HtmlLoginProfileAction.php;h=990157273477db9f018897b4954ac587b616a94c;hb=HEAD;hp=aa576d26b211c7dd09c6082ee55a58862b58fb4b;hpb=2218902056efcf9a2c66fe7c24995e066bd7cd11;p=core.git diff --git a/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php b/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php index aa576d26..36e73d9c 100644 --- a/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php +++ b/framework/main/classes/actions/html/class_HtmlLoginProfileAction.php @@ -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 - 2020 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!'); } }