Re: Phrase inflections

2010-07-21 Thread Jeremy Burns | Class Outfit
http://book.cakephp.org/view/953/Inflections

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 20 Jul 2010, at 18:36, desheffer wrote:

> I have a model called LeaveOfAbsence. The proper English name for the
> pluralized controller would be "LeavesOfAbsence" rather than
> "LeaveOfAbsences" (similar to the plural "mothers-in-law").
> 
> Does anyone know to set up inflections for this specific case? It
> seems that CakePHP only looks at the last word in the phrase, never
> the entire phrase.
> 
> 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Phrase inflections

2010-07-20 Thread MattyHead
I know you can fake it with Routes, but I fear you'd end up tweaking URLs in
your views like crazy.

http://book.cakephp.org/view/46/Routes-Configuration

Sorry, I have nothing better.

Matt

On Tue, Jul 20, 2010 at 1:36 PM, desheffer  wrote:

> I have a model called LeaveOfAbsence. The proper English name for the
> pluralized controller would be "LeavesOfAbsence" rather than
> "LeaveOfAbsences" (similar to the plural "mothers-in-law").
>
> Does anyone know to set up inflections for this specific case? It
> seems that CakePHP only looks at the last word in the phrase, never
> the entire phrase.
>
> 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+unsubscr...@googlegroups.comFor
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Phrase inflections

2010-07-20 Thread desheffer
I have a model called LeaveOfAbsence. The proper English name for the
pluralized controller would be "LeavesOfAbsence" rather than
"LeaveOfAbsences" (similar to the plural "mothers-in-law").

Does anyone know to set up inflections for this specific case? It
seems that CakePHP only looks at the last word in the phrase, never
the entire phrase.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en