Good afternoon everybody,
I'm trying to define a new rule of type singular-plural so that
CakePHP joins magically the table and the model names that these rule
refers to. More specifically, I go to inflections.php and write:
$irregularPlural = array('sedeuve', 'sedeuves');
But this doesn't work because my table, sede_uves, is a compound noun.
I've worked before in this way, with simple nouns, and everything has
gone ok, but now, with a compound name, this doesn't work... Could
somebody give me a clue to solve this? Thanks a lot in advance! :-D
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---