I think I've answered my own question:

By setting up the relations in the models, you can access and write to
the other tables.
If there is no relation (For instance my temp and perm tables above),
then $uses is the best bet.

Am I correct here?

Thanks,
Jason

On Apr 11, 10:13 am, "uolax" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Please forgive me if this is a newbie question.
>
> I have a temporary table and a permanant table.....each with their
> respective models.
> I have 2 users: userNormal and userAdmin.
>
> 1. A form posts data to the temporary table from userNormal.
> 2. A notice/email/flag is sent to userAdmin.
> 3. userAdmin then approves or denies the data from the temporary
> table.
> 4. If it is denied it is erased from the temporary table.
> 5. If it is approved the data is moved from the temporary table to the
> permanant table.
>
> Is using the $use command to bring in the other model the best way to
> complete step 5 ? I was thinking about passing the data via
> Post....but that seems a little insecure to me as anyone can change
> the Name/Value pairs.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Jason


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to