In your controller, you'd need $uses = array('Katch');
Here's what I would do:
1. Commit all your code into SVN.
2. Do a global find and replace Catch for Katch in your files.
3. Do a global find and replace catch for katch in your files.
4. Fix the $name in model Katch.
That should generally fix things. You may also have some small issues
with foreign keys named "catch_id" so you'll need to think about that
too.
Wayne
On 10/25/07, MikeK <[EMAIL PROTECTED]> wrote:
>
> We are trying...
>
> So would this have a chance?
>
> In model:
>
> class Katch extends AppModel
> {
> var $name = 'Catch';
>
> And in controller
> var uses = array('Catch')
>
> Also wouldn;t we have to change every reference to the Catch model
> ($this->Catch... to $this->Katch) and all references to the data it
> pulls out from ($data['Catch']['field'] to $data['Katch']['field']?
>
> Just trying not to go down the long road of modding 5000 lines of code
> till we know what works...
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---