In the controller:
var $uses = array('Email', 'CountEmails');
$this->CountEmails.... whatever
Rick
On Jun 14, 5:09 am, amjith ps <[email protected]> wrote:
> hi friends,
>
> I want to use another table update on a controller which users one
> model class.
>
> I have emailsController with its model as Email
> I uses this in the controller, while i fetch the data using Email
> model i want to update another table with count. say the table is
> count_emails. how will i do this in the same controller?
>
> Hope you got my doubt.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---