Re: common method names
| From: | Alan Knowles | Date: | Wed, 05 Mar 2003 09:58:15 +0000 |
| Subject: | Re: common method names | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-14079@lists.php.net to get a copy of this message | ||
yeah - would be nice - although looks like some of these actually do more than toHTML - eg. outputHTML - 'to' should return the string, output will actually echo it.... - obviously depends on the case on which is more suitable..
Regards
Alan
Wolfram Kriesing wrote:
i was just using HTML_TreeMenu and QuickForm and i realized that in TreeMenu you print the menu using-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com$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() any comments?