[Mediawiki-l] creating specialpages
Jan Steinman
Jan at Bytesmiths.com
Wed Aug 22 04:06:08 UTC 2007
> From: Michael Daly <michaeldaly at kayakwiki.org>
>
> Jim Hu wrote:
>> php does not have multiple inheritance AFAIK, but you can instantiate
>> an object of class WizardBase within your execute method within a
>> SpecialPage object and call WizardBase methods on it.
>
> Aka delegation. Multiple inheritance is over-sold and overused
> IMNSHO.
>
> Delegation will do what the OP wants rather well.
"Delegation is Inheritance," Lynn Andrea Stein, OOPSLA '87. QED.
:::: Trusting Microsoft to protect your personal information is a bit
too much like hiring Michael Jackson to baby-sit your kids. -- Robert
X. Cringely
:::: Jan Steinman "http://www.EcoReality.org"
More information about the MediaWiki-l
mailing list