From a99af80d10397a588bda35a4d7631d0563022072 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 5 Apr 2015 23:06:07 +0200 Subject: [PATCH] Renamed classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../main/resolver/command/{web => html}/.htaccess | 0 .../command/{web/class_ => html/class_Html} | 14 +++++++------- .../class_HtmlCommandResolver.php} | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) rename inc/classes/main/resolver/command/{web => html}/.htaccess (100%) rename inc/classes/main/resolver/command/{web/class_ => html/class_Html} (83%) rename inc/classes/main/resolver/command/{web/class_WebCommandResolver.php => html/class_HtmlCommandResolver.php} (83%) diff --git a/inc/classes/main/resolver/command/web/.htaccess b/inc/classes/main/resolver/command/html/.htaccess similarity index 100% rename from inc/classes/main/resolver/command/web/.htaccess rename to inc/classes/main/resolver/command/html/.htaccess diff --git a/inc/classes/main/resolver/command/web/class_ b/inc/classes/main/resolver/command/html/class_Html similarity index 83% rename from inc/classes/main/resolver/command/web/class_ rename to inc/classes/main/resolver/command/html/class_Html index 17bb3017..42b09af4 100644 --- a/inc/classes/main/resolver/command/web/class_ +++ b/inc/classes/main/resolver/command/html/class_Html @@ -1,6 +1,6 @@ * @version 0.0.0 @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class Web???CommandResolver extends BaseCommandResolver implements CommandResolver { +class Html???CommandResolver extends BaseCommandResolver implements CommandResolver { /** * Last successfull resolved command */ @@ -36,12 +36,12 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv // Call parent constructor parent::__construct(__CLASS__); - // Set prefix to 'Web' - $this->setCommandPrefix('Web'); + // Set prefix to 'html' + $this->setCommandPrefix('html'); } /** - * Creates an instance of a Web command resolver with a given default command + * Creates an instance of a Html command resolver with a given default command * * @param $commandName The default command we shall execute * @param $appInstance An instance of a manageable application helper class @@ -49,9 +49,9 @@ class Web???CommandResolver extends BaseCommandResolver implements CommandResolv * @throws EmptyVariableException Thrown if the default command is not set * @throws InvalidCommandException Thrown if the default command is invalid */ - public final static function createWeb???CommandResolver ($commandName, ManageableApplication $appInstance) { + public final static function createHtml???CommandResolver ($commandName, ManageableApplication $appInstance) { // Create the new instance - $resolverInstance = new Web???CommandResolver(); + $resolverInstance = new Html???CommandResolver(); // Is the variable $commandName set and the command is valid? if (empty($commandName)) { diff --git a/inc/classes/main/resolver/command/web/class_WebCommandResolver.php b/inc/classes/main/resolver/command/html/class_HtmlCommandResolver.php similarity index 83% rename from inc/classes/main/resolver/command/web/class_WebCommandResolver.php rename to inc/classes/main/resolver/command/html/class_HtmlCommandResolver.php index 146a2e5f..db1e6ac7 100644 --- a/inc/classes/main/resolver/command/web/class_WebCommandResolver.php +++ b/inc/classes/main/resolver/command/html/class_HtmlCommandResolver.php @@ -1,6 +1,6 @@ * @version 0.0.0 @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class WebCommandResolver extends BaseCommandResolver implements CommandResolver { +class HtmlCommandResolver extends BaseCommandResolver implements CommandResolver { /** * Last successfull resolved command */ @@ -36,12 +36,12 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver // Call parent constructor parent::__construct(__CLASS__); - // Set prefix to "Web" - $this->setClassPrefix('web'); + // Set prefix to "html" + $this->setClassPrefix('html'); } /** - * Creates an instance of a Web command resolver with a given default command + * Creates an instance of a Html command resolver with a given default command * * @param $commandName The default command we shall execute * @param $applicationInstance An instance of a manageable application helper class @@ -49,9 +49,9 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver * @throws EmptyVariableException Thrown if default command is not set * @throws InvalidCommandException Thrown if default command is invalid */ - public static final function createWebCommandResolver ($commandName, ManageableApplication $applicationInstance) { + public static final function createHtmlCommandResolver ($commandName, ManageableApplication $applicationInstance) { // Create the new instance - $resolverInstance = new WebCommandResolver(); + $resolverInstance = new HtmlCommandResolver(); // Is the variable $commandName set and the command is valid? if (empty($commandName)) { -- 2.30.2