<?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
*
* 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
*
* @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);
// 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'));
}
}