On Dec 12, 7:31 am, abba bryant <[EMAIL PROTECTED]> wrote:
> The right way to do this would be to have 3 models each of which uses the
> same table ( letter_contents )
> with the correct conditions defined ( see finderQuery ) or place the
> conditions within the Letter model's
OR consider scaffolding what it is (a development tool), bake/write
some code and add the conditions to the generateList call as you would
need to do for any polymorphic model definition. if you use 3 models
opperating on the same table, just edit the model's beforeFind to add
a condition to only return rows with 'type' = middle (for example).
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---