On 10/20/06, Syl <[EMAIL PROTECTED]> wrote:
>
> G'day all -
>
> What would be the best way to manipulate info from many tables using
> one view.  Here's what I'm working on....I've got three types of
> keywords:
>
> Category,  Subcategory and Help Categories.
>
> All three have their own models, controllers and views.  However, my
> users want to be able to treat them all as "keywords".  So, I'll need a
> page where they can add a keyword, and select the "type of keyword".
> And, a page that can list them all.
>
> I don't want to have to re-build everything.  There must be a way to do
> this.....any ideas anyone ?
>
> Thank you all !
>
> Sylvia


Hi Sylvia,

I'd suggest you read up on model associations so that you can have one
controller that pulls in all the associated data from the models.
Simple stuff really.

Take a close look at belongTo and hasMany.

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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

Reply via email to