DB_DataObject - problem with inheritance

From: Date: Sun, 28 Dec 2003 16:57:49 +0000
Subject: DB_DataObject - problem with inheritance
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9840@lists.php.net to get a copy of this message
Hi, I just read the DB_DataObject documentation and wondered about the following. If I create a DataObject class for all my tables and use those as my application objects (e.g. DataObjects_Person is my Person class), I've got no possibility to inherit from other classes (for example extend a Base class with basic functionality for all classes) because of PHP4's inheritance limitation. How do you guys get around this? Big thanks in advance, Torsten Roehr

« previous php.pear.general (#9840) next »