Tuesday, August 28, 2012

Re: How to disable pluralize in cake 2.x

On Tuesday, August 28, 2012 3:44:24 PM UTC+7, Novrian YF 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 :)

Well, apa kabar?

I simply use English in my code. Makes things a whole lot easier.


--
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: