Typo in 'goverment' fixed ('government' is correct)
[shipsimu.git] / application / ship-simu / main / user / class_ShipSimuBaseUser.php
index 63c9b8d290ea5b00f71ffdb9fb1783e7212e078c..243218adc230a6e40a9277e0ca35b9b177b705f8 100644 (file)
@@ -94,7 +94,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
         *
         * @return      $ifGovHelps             Wether if goverment helps the user with a virtual training course
         */
-       public function ifGovermentPaysTraining () {
+       public function ifGovernmentPaysTraining () {
                // By default they want to help.
                $ifGovHelps = true;
 
@@ -111,7 +111,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
                } // END - if
 
                // Then ask the goverment if they want to pay a "startup help" to the user
-               if ($govermentInstance->ifGovermentAlreadyPayedTraining()) {
+               if ($govermentInstance->ifGovernmentAlreadyPayedTraining()) {
                        // Training already given!
                        $ifGovHelps = false;
                } // END - if
@@ -125,7 +125,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
         *
         * @return      $ifGovHelps             Wether if goverment helps the user with some startup money
         */
-       public function ifGovermentPaysStartupHelp () {
+       public function ifGovernmentPaysStartupHelp () {
                // By default they want to help.
                $ifGovHelps = true;
 
@@ -142,7 +142,7 @@ class ShipSimuBaseUser extends BaseUser implements Registerable, Updateable {
                } // END - if
 
                // Then ask the goverment if they want to pay a "startup help" to the user
-               if ($govermentInstance->ifGovermentPayedMaxmimumStartupHelp()) {
+               if ($govermentInstance->ifGovernmentPayedMaxmimumStartupHelp()) {
                        // They can't pay anymore to the user (excited amount)
                        $ifGovHelps = false;
                } // END - if