Any example for this? Since i saw that Matthew didn't use any router.
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
2009/3/2 Paweł Chuchmała <pawel.chuchmala@gmail.com>
On Mon, Mar 2, 2009 at 13:33, vadim gavrilov <vadimg88@gmail.com> wrote:The best file is for me routes.ini. in config directory;-)
> 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 rest in bootstrap initRoutes.
Regards,
pch
--
Paweł Chuchmała
pawel.chuchmala at gmail dot com
--
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
没有评论:
发表评论