On Jun 4, 9:19 am, teum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was just wondering how come Cake would automatically know that a
> "Person" model corresponds to a "people" table in your Db as it is
> said here :http://book.cakephp.org/view/26/view-conventions. It may
> be easy with a "Fruit" model and a "fruits" table because Cake can
> look for a table matching the following pattern : "[model name]s", but
> for Person/people I really wonder how it can work (if it does).
>
> And what about naming models and tables in an other language than
> English ?

http://book.cakephp.org/view/47/custom-inflections

hth

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

Reply via email to