]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/actions/web/class_WebShipSimuLoginGovernmentStartupHelpAction.php
'public static final' is correct
[shipsimu.git] / application / ship-simu / main / actions / web / class_WebShipSimuLoginGovernmentStartupHelpAction.php
index 6640bd3e1970e225046977a36b0b3a128b37af84..8e601aa560dabdf0e6f25e2a3d727cabce5594e9 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 /**
- * An action for goverment startup help form
+ * An action for government startup help form
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @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
  *
@@ -21,7 +21,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 WebShipSimuLoginGovermentStartupHelpAction extends BaseShipSimuAction implements Commandable, Registerable {
+class WebShipSimuLoginGovernmentStartupHelpAction extends BaseShipSimuAction implements Commandable, Registerable {
        /**
         * Protected constructor
         *
@@ -38,9 +38,9 @@ class WebShipSimuLoginGovermentStartupHelpAction extends BaseShipSimuAction impl
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginGovermentStartupHelpAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginGovernmentStartupHelpAction (ActionResolver $resolverInstance) {
                // Get a new instance
-               $actionInstance = new WebShipSimuLoginGovermentStartupHelpAction();
+               $actionInstance = new WebShipSimuLoginGovernmentStartupHelpAction();
 
                // Set the resolver instance
                $actionInstance->setResolverInstance($resolverInstance);
@@ -76,8 +76,8 @@ class WebShipSimuLoginGovermentStartupHelpAction extends BaseShipSimuAction impl
                // Check for user status by default
                $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'));
        }
 }