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. As Manu asked,
how well do you know PHP? Have you done OO PHP before?
Jim
On Aug 21, 2007, at 12:12 PM, Michael Heyder wrote:
Emanuele D'Arrigo schrieb:
On 8/21/07, Michael Heyder
<Info(a)hafenvolleyballer.de> wrote:
thanks, but the main problem is, that the new
special page - in
my case
SpecialNewPageWizard.php - should be an extented class of the
wizardBase.php? So, what could I do now?
Your question is very broad. If you were somebody who wanted
to be an artist it'd be like asking: I'd like to draw a landscape,
what do I do now?
Do you know enough about PHP? If yes, you should be able to
make a new special page with the information in the link I gave
you. If not you should first learn more about php and then go
back to the link.
If I'm not understanding your question: what do you need?
Manu
So, in the link you told me the new specialsite is a extented class
from
parent specialpage. It can't be at the same time a kindclass of the
abstract wizardbase, which implements all global methods of the
wizard.
Surely, it's no problem to create a new specialsite, but a
specialsite,
wich is a kind of wizardbase.
I will continue my personal brainstorming
greetz
mic
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054