2009年3月2日星期一

[fw-mvc] Re: [fw-general] Re: Using custom router. Where exactly?

Any example for this? Since i saw that Matthew didn't use any router.

2009/3/2 Paweł Chuchmała <pawel.chuchmala@gmail.com>
On Mon, Mar 2, 2009 at 13:33, vadim gavrilov <vadimg88@gmail.com> wrote:
> Thanks i already looked at those files. Still can i place an instance of the
> addRoute inside a certain controller? or do i need to place it somewhere in
> the bootstarp file? Basically what i would like to do is to make a file that
> will hold all the routes for each module/controller. Did anyone made
> something like that before?

The best file is for me routes.ini. in config directory;-)
The rest in bootstrap initRoutes.

Regards,
pch

--
Paweł Chuchmała
pawel.chuchmala at gmail dot com



--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.




没有评论: