]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/personell/class_SimulatorPersonell.php
Graphical code CAPTCHA partly finished, crypto class supports encryption/decryption...
[shipsimu.git] / application / ship-simu / main / personell / class_SimulatorPersonell.php
index 724980be21c988f28f0374ec3c4d1392449b103e..9cc0adbf00883678f3a06a6c04bc9ceadb6e3d34 100644 (file)
@@ -344,10 +344,11 @@ class SimulatorPersonell extends BasePersonell {
         * Getter for surname. If no surname is set then default surnames are set
         * for male and female personells.
         *
-        * @return      $surname                The personell' surname
+        * @return      $surname        The personell' surname
         */
        public final function getSurname () {
                $surname = parent::getSurname();
+
                // Make sure every one has a surname...
                if (empty($surname)) {
                        if ($this->isMale()) {
@@ -360,7 +361,9 @@ class SimulatorPersonell extends BasePersonell {
 
                        // Set typical family name
                        parent::setFamily("Smith");
-               }
+               } // END - if
+
+               // Return surname
                return $surname;
        }
 
@@ -376,22 +379,22 @@ class SimulatorPersonell extends BasePersonell {
        /**
         * Loads the mostly pre-cached personell list
         *
-        * @param               $idNumber               The ID number we shall use for looking up
+        * @param       $idNumber       The ID number we shall use for looking up
         *                                              the right data.
         * @return      void
         * @throws      ContainerItemIsNullException    If a container item is null
         * @throws      ContainerItemIsNoArrayException If a container item is
-        *                                                                              not an array
+        *                                                                                      not an array
         * @throws      ContainerMaybeDamagedException  If the container item
-        *                                                                              is missing the indexes
-        *                                                                              'name' and/or 'value'
+        *                                                                                      is missing the indexes
+        *                                                                                      'name' and/or 'value'
         * @see         SerializationContainer  A special container class which
-        *                                                              helps storing only some attributes
-        *                                                              of a class.
+        *                                                                      helps storing only some attributes
+        *                                                                      of a class.
         */
        public function loadPersonellList ($idNumber) {
                // Cleared because old code
-               $this->partialStub("Clear because of old lost code was usaged.");
+               $this->partialStub("Cleared because old lost code was used.");
        }
 }