Re: Re: Package proposal: HTML_QuickForm_Controller
| From: | Greg Beaver | Date: | Fri, 29 Aug 2003 14:01:01 +0000 |
| Subject: | Re: Re: Package proposal: HTML_QuickForm_Controller | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20824@lists.php.net to get a copy of this message | ||
Alexey Borzov wrote:
OK, got your point. The switch in Controller::handle() was not made to add custom actions, it was done to fall back to some default handlers for default actions. The Right Way (tm) to add custom ones is through addAction(). Besides, I really hate four-word class names like HTML_QuickForm_Action_FooBar, as you can see in the examples I gave shorter names to custom handlers. :]This is great, please ignore my comment, your way is better, I understand now :) Greg