professional-php-03-class.Individual.php / php
<?php require_once('class.Entity.php'); require_once('class.Organization.php'); class Individual extends Entity { public function __construct(userID); this->propertyTable['lastname'] = 'name2'; } public function __toString() { return this->lastname; } public function getEmployer() { return DataManager::getEmployer(//add individual-specific validation } } ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.