Even more renamed 'web' -> 'html'
authorRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 15:04:36 +0000 (16:04 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 23 Mar 2015 15:04:36 +0000 (16:04 +0100)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/resolver/command/web/class_
inc/classes/main/resolver/command/web/class_WebCommandResolver.php
inc/classes/main/response/html/class_HtmlResponse.php

index 8a9db58..d96768a 100644 (file)
@@ -89,7 +89,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
                $commandName = $requestInstance->getRequestElement('page');
 
                // Is the command empty? Then fall back to default command
-               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
 
                // Check if the command is valid
                if ($this->isCommandValid($commandName) === FALSE) {
@@ -125,7 +125,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
                $commandInstance = null;
 
                // Is the command empty? Then fall back to default command
-               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+               if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
 
                // Check if the command is valid
                if ($this->isCommandValid($commandName) === FALSE) {
@@ -150,7 +150,7 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv
         */
        private function loadCommand ($commandName) {
                // Cache default command
-               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_web_command');
+               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_html_command');
 
                // Init command instance
                $commandInstance = null;
index f6a5af9..0ee2764 100644 (file)
@@ -90,7 +90,7 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver
 
                // Is the command empty? Then fall back to default command
                if (empty($commandName)) {
-                       $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+                       $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
                } // END - if
 
                // Check if command is valid
@@ -128,7 +128,7 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver
 
                // Is the command empty? Then fall back to default command
                if (empty($commandName)) {
-                       $commandName = $this->getConfigInstance()->getConfigEntry('default_web_command');
+                       $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
                } // END - if
 
                // Check if command is valid
index 80b50e8..4a3da75 100644 (file)
@@ -209,7 +209,7 @@ class HtmlResponse extends BaseResponse implements Responseable {
         * @return      $defaultCommand         Default command for this response
         */
        public function getDefaultCommand () {
-               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_web_command');
+               $defaultCommand = $this->getConfigInstance()->getConfigEntry('default_html_command');
                return $defaultCommand;
        }
 }