[thelist] PHP conditionally create a class method?
Stephen Rider
evolt_org at striderweb.com
Wed Aug 27 23:19:12 CDT 2008
On Aug 27, 2008, at 7:57 PM, sbeam wrote:
>> Okay, _that_ was my main confusion. I thought that would result in
>> more "You've already defined that function" errors. I'll give that a
>> try.
>
> quite so. In fact that is the basic concept of inheritance at work.
> Wouldn't
> be an OO paradigm without it.
> http://en.wikipedia.org/wiki/Inheritance_(computer_science)
That how I _thought_ it was supposed to work, but I could swear I had
tried it and gotten the error. Maybe that had been in conjunction
with the nested declaration or something....
So yes, it makes sense. :)
Stephen
More information about the thelist
mailing list