]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/class_BasePersonell.php
getter, setter are all final; several code clean-ups
[shipsimu.git] / application / ship-simu / main / class_BasePersonell.php
index 09e3576a99b97590aa8d4278a6c0dcc19d2d394f..d79a0d8da783e232c936fb03854dcbb21bffb03f 100644 (file)
@@ -141,7 +141,7 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
        }
 
        // Getter for surname
-       public function getSurname () {
+       public final function getSurname () {
                return $this->surname;
        }
 
@@ -203,35 +203,35 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer {
        }
 
        // Remove gender
-       public function removeGender () {
+       public final function removeGender () {
                unset($this->gender);
        }
 
        // Remove both names
-       public function removeNames () {
+       public final function removeNames () {
                unset($this->surname);
                unset($this->family);
        }
 
        // Remove complete birthday
-       public function removeBirthday () {
+       public final function removeBirthday () {
                unset($this->yearBirth);
                unset($this->monthBirth);
                unset($this->dayBirth);
        }
 
        // Remove salary
-       public function removeSalary () {
+       public final function removeSalary () {
                unset($this->salary);
        }
 
        // Remove employment status
-       public function removeEmployed () {
+       public final function removeEmployed () {
                unset($this->employed);
        }
 
        // Remove marrital status
-       public function removeMarried () {
+       public final function removeMarried () {
                unset($this->married);
        }
 }