X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fclass_BasePersonell.php;h=744c160f7bd0c99505692b2d6f611d2b2e1c3dc1;hp=d77fbaa05d9ff95e78bd3ac385beef1e6e05cd14;hb=1d128d8532290e84885d09d2d3f0060abd08e49e;hpb=ace5ab5addea14f33c3576db5fae85f82d247d87 diff --git a/application/ship-simu/main/class_BasePersonell.php b/application/ship-simu/main/class_BasePersonell.php index d77fbaa..744c160 100644 --- a/application/ship-simu/main/class_BasePersonell.php +++ b/application/ship-simu/main/class_BasePersonell.php @@ -19,7 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ class BasePersonell extends BaseFrameworkSystem implements Personellizer { // Maximum/minimum age @@ -48,20 +48,15 @@ class BasePersonell extends BaseFrameworkSystem implements Personellizer { private $salary = 0.00; // Constructor - private function __construct ($class) { + protected function __construct ($class) { // Call parent constructor - parent::constructor($class); + parent::__construct($class); // Debug message if ((defined('DEBUG_PERSONELL')) && (defined('DEBUG_CONSTRUCT'))) $this->getDebugInstance()->output("[PersonellBase:] Konstruktor erreicht.
\n"); // Set description - $this->setPartDescr("Personal"); - } - - // Calls the constructor - public function constructor ($class) { - $this->__construct($class); + $this->setObjectDescription("Personal"); } // Remove min/max ages