]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/actions/html/class_HtmlLoginProfileAction.php
Continued:
[core.git] / framework / main / classes / actions / html / class_HtmlLoginProfileAction.php
index 2917f7f73852ead76bc8b84715ea6b81f87e5040..36e73d9c5ce24bae03d0931e7b7babc1ae3156ea 100644 (file)
@@ -1,21 +1,22 @@
 <?php
 // Own namespace
-namespace CoreFramework\Action\Login;
+namespace Org\Mxchange\CoreFramework\Action\Login;
 
 // Import framework stuff
-use CoreFramework\Action\PerformableAction;
-use CoreFramework\Controller\Controller;
-use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Registry\Registerable;
-use CoreFramework\Request\Requestable;
-use CoreFramework\Response\Responseable;
+use Org\Mxchange\CoreFramework\Action\BaseAction;
+use Org\Mxchange\CoreFramework\Action\PerformableAction;
+use Org\Mxchange\CoreFramework\Controller\Controller;
+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;
 
 /**
  * An action for the profile page in login area
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @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
  *
@@ -38,7 +39,7 @@ class HtmlLoginProfileAction extends BaseAction implements PerformableAction, Re
         *
         * @return      void
         */
-       protected function __construct () {
+       private function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -51,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;
        }
 
@@ -69,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()));
        }
 
        /**
@@ -80,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!');
        }
 
 }