Class name typo fixed, typo goverment->government fixed
[shipsimu.git] / application / ship-simu / main / commands / web / government / class_WebShipsimuGovernmentStartupCommand.php
index 18a3bc00e66d2c1f8d1daf1ca40e382a942d1881..70b580209636a77aee3934506b9f384e8bd4c741 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /**
  * A command for a failed startup request. This may happen when the user
- * "knows" the correct URL but goverment refuses to pay.
+ * "knows" the correct URL but government refuses to pay.
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class WebShipsimuGovermentStartupCommand extends BaseCommand implements Commandable {
+class WebShipsimuGovernmentStartupCommand extends BaseCommand implements Commandable {
        /**
         * Protected constructor
         *
@@ -39,9 +39,9 @@ class WebShipsimuGovermentStartupCommand extends BaseCommand implements Commanda
         * @param       $resolverInstance       An instance of a command resolver class
         * @return      $commandInstance        An instance a prepared command class
         */
-       public final static function createWebShipsimuGovermentStartupCommand (CommandResolver $resolverInstance) {
+       public final static function createWebShipsimuGovernmentStartupCommand (CommandResolver $resolverInstance) {
                // Get new instance
-               $commandInstance = new WebShipsimuGovermentStartupCommand();
+               $commandInstance = new WebShipsimuGovernmentStartupCommand();
 
                // Set the application instance
                $commandInstance->setResolverInstance($resolverInstance);
@@ -77,8 +77,8 @@ class WebShipsimuGovermentStartupCommand extends BaseCommand implements Commanda
                // Add user status filter here
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
 
-               // Check if goverment can pay startup help
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('goverment_pays_startup_help_filter'));
+               // Check if government can pay startup help
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('government_pays_startup_help_filter'));
 
                // Verify password
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_filter'));