The DataSource has direct access to the model all over the place.
Look at all the places in DboSouce/DboMysql where it says &$model.

On Jan 12, 12:35 am, Robby Anderson <[EMAIL PROTECTED]> wrote:
> Thanks, nate. Thats useful info.
>
> The datasource doesn't have direct access to the model, does it? The
> column prefixes are different by table, so (if I understand it right),
> if I extend the mySQL driver, I'll have to extend other classes to
> pass the model name (or at least the column prefix down), or build a
> table of table -> column maps and stash it through Config or something
> - or, I suppose, look at the table name and pick up the prefix that
> way, assuming the convention will hold (which sadly, I'm not sure if
> it will).
>
> Hmm. Food for thought.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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