Nick Wilson wrote:

>Is there a better way? It just seems like overkill to include 6-700
>lines of methods /twice/
Use inheritance. Define a "base" class with all of the methods in it. 
Then define the two other classes to extend this base class, meaning 
they will have all of the methods you have defined but can implement 
their own variables:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to