Posted by jamiesonhale on 08/03/06 21:11
Colin McKinnon wrote:
> But doesn't this work:
>
> function & getAttribute($name)
> {
> return $this->attributes[$name];
> }
Hmmm. I could have swore that threw an error too if the key wasn't
set... Am I thinking an older version? (Another language?)
That seems to work. I'll have to re-work a large chunk of code, but
that seems to do it. Thanks. :)
J
Navigation:
[Reply to this message]
|