Base Class for Business Object Adapters
This class can be used to treat older business objects like phool models with a defined interface. Thus you can successively adapt your old business objects and "translate" them step by step into new models.
Only the abstract methods defined by the parent class "Model" must be implemented by the new Class right from the start. These are load(), save() and remove(). The abstract method "adapt()", that must be implemented to create and set up the adaptee object.
Located in /adapter.php (line 27)
Model | --Adapter
The original business object to be adapted
Abstract method adapt must be implemented by subclass
Create the adapted business object and perform any setup code needed to make the adaptee work.
Magic function for adaptee passthrough
If a method is called which isn't yet implemented in the adapter, the call will be passed to the adaptee.
Documentation generated on Tue, 12 May 2009 23:09:35 +0200 by phpDocumentor 1.4.1