⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class.individual.php

📁 Professional PHP5 code for this book
💻 PHP
字号:
<?php  require_once('class.Entity.php');  require_once('class.Organization.php');   class Individual extends Entity {       public function __construct($userID) {      parent::__construct($userID);           $this->propertyTable['firstname'] = 'name1';      $this->propertyTable['lastname'] = 'name2';    }    public function __toString() {      return $this->firstname . ' ' . $this->lastname;    }       public function getEmployer() {      return DataManager::getEmployer($this->id);    }       public function validate() {      parent::validate();      //add individual-specific validation         }   }?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -