Wednesday, March 31, 2010

Re: always use singular model and controller names

Try adding some custom inflections (plurals):

http://book.cakephp.org/view/953/Inflections

Jeremy Burns
jeremyburns@me.com


On 31 Mar 2010, at 22:42, tekcorap wrote:

> Hi everyone, I have a small problem. I'm using CakePHP 1.2.6.
> Unfortunately, not as in English plurals in Turkish. eg
> "makale"(article) in the plural of the word Turkish "makaleler" (not
> articles). Create a model when I check the articles CakePHP table
> names should be in the form of my makalelers. I do not use any English
> name control.I do not want to have plural model names automatically.
> All names must be singular model. how can I do?
>
> Thank you for your help.
>
> 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
>
> To unsubscribe, reply using "remove me" as the subject.

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: