]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/personell/company/class_CompanyEmployee.php
Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / main / personell / company / class_CompanyEmployee.php
index ae73132da98c3da3cd41ed5b5c820c4d90291f0d..b97f70c7d6e75e0e38ea910040ea0287729d5269 100644 (file)
  * 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 <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class CompanyEmployee extends SimulatorPersonell {
        // Employeee list
        private $employeeList = null;
 
        // Constructor
-       private function __construct () {
+       protected function __construct () {
                // Call parent constructor
-               parent::constructor(__CLASS__);
+               parent::__construct(__CLASS__);
 
                // Debug message
                if ((((defined('DEBUG_COMPANY_EMPLOYEE')) && (defined('DEBUG_PERSONELL'))) || (defined('DEBUG_ALL'))) && (defined('DEBUG_CONSTRUCT'))) {
@@ -39,7 +39,7 @@ class CompanyEmployee extends SimulatorPersonell {
                }
 
                // Set description
-               $this->setPartDescr("Firmenangestellte(r)");
+               $this->setObjectDescription("Firmenangestellte(r)");
 
                // Create unique ID
                $this->createUniqueID();