2009年4月1日星期三

Re: [fw-mvc] Disable namespacing for NotDefaultModule

You can do that with a route:

'super-application-backend/:controller/:action/*' routes to 'admin' module


-Hector


On Wed, Apr 1, 2009 at 9:09 AM, K.L. <coviex@gmail.com> wrote:
Maybe there is a way to add alias to module? Say Admin_IndexController
instead of SuperApplicationBackend_IndexController.
*SuperApplicationBackend is customer's decision to call backend module
folder this way.

On 4/1/09, Matthew Weier O'Phinney <matthew@zend.com> wrote:
> -- K.L. <coviex@gmail.com> wrote
> (on Wednesday, 01 April 2009, 06:18 PM +0300):
>> Can you please tell me how to disable namespacing for modules which
>> are not default? Because using names like
>> NotDefaultModule_IndexController is too long.
>
> Can't be done. Modules are namespaced by definition; it's to avoid
> naming conflicts.
>
> --
> Matthew Weier O'Phinney
> Software Architect      | matthew@zend.com
> Zend Framework          | http://framework.zend.com/
>


--
Opera.com


没有评论: