false to my AppModel inherit it to all my models and cause all queries
to fail.
I guess I could explicitly specify a $useTable for each of my models
but it does not seem a good approach.
Maybe all of this is due to the special hierarchy I'm using, I have an
intermediate model between AppModel and Model :
Post extends AppModel
AppModel extends SpecialModel
SpecialModel extends Model
I'll stick to manually excluding AppModel and SpecialModel from my
loops until I found a more elegant solution
On 28 avr, 03:29, Pixelastic <timcc.pe...@gmail.com> wrote:
> Thanks, it does the trick.
>
> I didn't thought of that, or to be clearer I thought that setting a
> $useTable = false to my AppModel, it would inherit to all my models.
> Guess I should have tested a little more.
>
> Thanks, anyway
>
> On 28 avr, 00:16, Miles J <mileswjohn...@gmail.com> wrote:
>
> > Add this in your model.
>
> > var $useTable = false;
>
>
--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment