10-22-2009, 10:04 AM
|
#5 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Database is not a variable nor function inside Base class so you cannot access it via $base->Database.
You would need a __get method and retrieve the object from an array of objects. And you also need to store the objects in that array when you use load_class.
__________________
|
|
|
|