X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fcommands%2Fweb%2Fgovernment%2Fclass_WebGovernmentFailedTrainingCommand.php;h=45bcc3206766c2e65feba64cc5e4fad35d91f968;hp=1feecb10e8ca4f2c25d4decd093289fa768f3d47;hb=4f70843ae8428f051d70ccff5bb43fc4c03dda8d;hpb=4b77adf26e258ee7fb318778d9c2d9b8b93f27f0 diff --git a/application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php b/application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php index 1feecb1..45bcc32 100644 --- a/application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php +++ b/application/ship-simu/main/commands/web/government/class_WebGovernmentFailedTrainingCommand.php @@ -3,11 +3,11 @@ * A command for a failed training request. This may happen when the user * "knows" the correct URL but government refuses to pay. * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ class WebGovernmentFailedTrainingCommand 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 createWebGovernmentFailedTrainingCommand (CommandResolver $resolverInstance) { + public static final function createWebGovernmentFailedTrainingCommand (CommandResolver $resolverInstance) { // Get new instance $commandInstance = new WebGovernmentFailedTrainingCommand(); @@ -118,7 +118,7 @@ class WebGovernmentFailedTrainingCommand extends BaseCommand implements Commanda $menuInstance->renderMenu(); // Transfer it to the template engine instance - $menuInstance->transferToTemplateEngine(); + $menuInstance->transferContentToTemplateEngine(); // ... and all variables. This should be merged together in a pattern // to make things easier. A cache mechanism should be added between