People => Person
Uninflected:
Kelas => Kelas
Cya,
--
Thiago Belem
Desenvolvedor
Rio de Janeiro - RJ - Brasil
-- --
Thiago Belem
Desenvolvedor
Rio de Janeiro - RJ - Brasil
Assando Sites - Curso online de CakePHP
assando-sites.com.br
thiagobelem.net
contato@thiagobelem.net
Skype / gTalk » thiago.belem.web
LinkedIn » br.linkedin.com/in/thiagobelem/pt
thiagobelem.net
contato@thiagobelem.net
Skype / gTalk » thiago.belem.web
LinkedIn » br.linkedin.com/in/thiagobelem/pt
On Tue, Aug 28, 2012 at 3:26 PM, Novrian YF <andi.novrian@gmail.com> wrote:
Thanks Doctor :)
I've use irregullar value in my Inflector. Now it runs well :)
But may I ask you what is the difference between uninflected and irregular?
Pada Selasa, 28 Agustus 2012 20:27:54 UTC+8, Dr. Tarique Sani menulis:Read the good book--
http://book.cakephp.org/2.0/en/development/configuration.html#inflection-configuration
You don't really need to disable that...
Tarique
On Tue, Aug 28, 2012 at 2:14 PM, Novrian YF <andi.n...@gmail.com> wrote:
> Hi all,
> I'm Novrian from Indonesia. Just call me Nono (weird name, huh?).
>
> I assuming that cake uses their naming convention over the application.
> And I'm getting confused to naming my application MVC because in my language
> there is totally different pluralize & singularize.
>
> The question is, how to disable pluralize in cake?
> I'm thinking about custom rules in Inflector to disable conversion of (s or
> es) in pluralize form.
>
> and how about If I name the MVC in the same way, eg. (
> Controller/KelasController, Model/Kelas, View/Kelas )
> Note that Kelas is singular & plural name in my language.
> Is there any risk in my 'custom' naming conventions?
>
> Thanks in advance :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake...@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+u...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
No comments:
Post a Comment