Can anyone provide an example inflections configuration that would
override 'data' --> 'datum to 'data' --> 'data'?

In version 1.2 of inflections.php, I see the comment:

/**
 * This is a key only array of plural words that should not be
inflected.
 * Notice the last comma
 *
 * $uninflectedPlural = array('.*[nrlm]ese', '.*deer', '.*fish',
'.*measles', '.*ois', '.*pox');
 */

First off, what am I noticing about the last comma? When creating an
array, you delimit your list with commas...what's significant about
the last one?

I have a table name "sp_data" and when I use the bake command to bake
my model, it shows up as "SpDatum". Everything I've tried in
inflections.php doesn't work. Please help.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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