Several entries fixed/renamed (sory, lame text)
[shipsimu.git] / application / ship-simu / main / resolver / web / class_WebGovernmentFailedCommandResolver.php
index 27c8a8ee87727de949cff5a591a62f01c8399d46..592e1a1dad747b6bd033e04e8576e220d7782a7f 100644 (file)
@@ -37,7 +37,7 @@ class WebGovernmentFailedCommandResolver extends BaseCommandResolver implements
                parent::__construct(__CLASS__);
 
                // Set prefix to "Web"
-               $this->setCommandPrefix("Web");
+               $this->setCommandPrefix('Web');
        }
 
        /**
@@ -164,7 +164,8 @@ class WebGovernmentFailedCommandResolver extends BaseCommandResolver implements
                $commandInstance = null;
 
                // Create command class name
-               $this->setClassName(sprintf("Web%sCommand",
+               $this->setClassName(sprintf("%s%sCommand",
+                       $this->getCommandPrefix(),
                        $this->convertToClassName($commandName)
                ));