hasOne ?

with a bit of on the fly bindModel() thrown in depending on the language....

HTH

T

On 5/3/07, Anton Morrison <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> I have a table with a page title and body. the title and body are
> integers that link to a table with there content value (so i can have
> different tables for different languages). Is there a relationship i
> can set up to get the content values in one query?
>
> at the moment i get the integer values then go through the content
> table and get the text values, but this means extra trips to the
> database.
>
> thanks in advance.
>
> Anton Morrison
> [EMAIL PROTECTED]
>
>
>
>
> >
>


-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org
=============================================================

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