Should be able to do this in the model.
Class Service extends AppModel {
var $useTable = 'service';
}
On Oct 16, 4:48 pm, MDB <[EMAIL PROTECTED]> wrote:
> Hello all, I have a cake application that I need to add an existing
> table to that doesn't follow the cake naming convention and I am
> unable to change the table name so my question is, how do I work
> around this. For example, the table name is service (rather than
> services) so do to this, I can not figure out how to name the
> controller, controller class or if this is even possible? Is there a
> way to do this where the naming conventions are not used on all tables?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---