Re: common method names

From: Date: Wed, 05 Mar 2003 09:36:36 +0000
Subject: Re: common method names
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14077@lists.php.net to get a copy of this message
On Wed, 05 Mar 2003 10:28:40 +0100 Wolfram Kriesing <wolfram@visionp.de> wrote: > i was just using HTML_TreeMenu and QuickForm > and i realized that in TreeMenu you print the menu using > $treeMenu->printMenu() > but in QuickForm you need to use > $form->display() > > should there not be a common name for both? > i would suggest display() or toHtml() I like display() better. But please keep printMenu() as a deprecated wrapper method around display() in HTML_TreeMenu for BC´s sake ;-) Regards, Markus -- Markus Wolff <wolff@21st.de>

« previous php.pear.dev (#14077) next »