Sunday, January 31, 2010

Re: How & where to define a new class for routes

http://mark-story.com/posts/view/using-custom-route-classes-in-cakephp

There's the post. Im sure the functionality hasn't been released yet.

On Jan 31, 7:52 pm, Ramkumar Ramkumar <ramkumar.r...@gmail.com> wrote:
> Hey mark, I'm not sure I'm using your example. will you please give me the
> URL where you are going to explain it?
>
>
>
> On Sat, Jan 30, 2010 at 3:15 AM, mark_story <mark.st...@gmail.com> wrote:
> > Well considering you're using an example from my post, why not read
> > the rest of it.  I explain it there.
>
> > -Mark
>
> > On Jan 28, 11:47 pm, Ram <ramkumar.r...@gmail.com> wrote:
> > > Hi all,
>
> > >      In my application i need to analyze the url, I seen in one
> > > article that in order to do this stuff we can define a class to routes
> > > like
>
> > > Router::connect('/:slug', array('controller' => 'posts', 'action' =>
> > > 'view'), array('routeClass' => 'SlugRoute'));
>
> > > I want to to where to define this SlugRoute class.
>
> > > Thanks,
> > > M.Ramkumar
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> --
> Thanks & Regards,
> M.Ramkumar

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: