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
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
> wrote:
>
> I have a class which instantiates other classes, and has a magic method
> like this:
>
> function _get($classname)
> {
> return $this->instan
> -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
>
On Wed, Jan 27, 2010 at 11:04 AM, Paul M Foster wrote:
> 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 wha
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
5 matches
Mail list logo