Its not Model that you should be implementing.  You shoudl be looking
at a database driver to access the flat files.

Start here http://api.cakephp.org/1.2/class_dbo_source.html and use
one of the existing drivers as an example.

Geoff
--
http://lemoncake.wordpress.com

On Sep 7, 7:36 am, rtconner <[EMAIL PROTECTED]> wrote:
> Wow interesting. I don't know for sure, but a few guesses.
>
> Is useTable set to something besides false? You might need to override
> setSource() also.
> I'm not sure if I were in your shoes that I'd try to override a Model.
> I'd just write my own class.
>
> On Sep 6, 7:20 am, Zeekar <[EMAIL PROTECTED]> wrote:
>
> > Where can I find doc on what a Model class has to implement to work
> > properly?  I've got a flat-file database I'm trying to incorporate
> > into a Cake app.  I wrote findAll(), but the scaffold index view
> > didn't work - it shows one row per record, but those rows are empty
> > except for the action links (which bring up similary bereft pages for
> > the individual records).   I then found and implemented loadInfo(),
> > but that didn't help.  So what am I missing?


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