I have a class which instantiates other classes, and has a magic method
like this:
function _get($classname)
{
return $this-instantiate($classname);
}
Obviously, the class also has an instantiate method which does what it
says.
Here's the problem: When I call the instantiate method, it
On Wed, Jan 27, 2010 at 11:04 AM, Paul M Foster pa...@quillandmouse.comwrote:
I have a class which instantiates other classes, and has a magic method
like this:
function _get($classname)
{
return $this-instantiate($classname);
}
Obviously, the class also has an instantiate method
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Tuesday, January 26, 2010 7:05 PM
To: php-general@lists.php.net
Subject: [PHP] Magic Methods not working
I have a class which instantiates other classes, and has a
magic method
like this:
function
On Wed, Jan 27, 2010 at 11:19:34AM +0800, Eric Lee wrote:
On Wed, Jan 27, 2010 at 11:04 AM, Paul M Foster pa...@quillandmouse.com
wrote:
I have a class which instantiates other classes, and has a magic method
like this:
function _get($classname)
{
return
On Tue, Jan 26, 2010 at 07:21:34PM -0800, Daevid Vincent wrote:
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Tuesday, January 26, 2010 7:05 PM
To: php-general@lists.php.net
Subject: [PHP] Magic Methods not working
I have a class which
5 matches
Mail list logo