Yes, this is very confusing. If it extends Model, shouldn't it be a
behavior and be integrated into the model with the $actsAs variable?
His example shows "uses()". The extending Model part doesn't bother me
so much, because you can change that to extends AppModel (and still
inherit Model) if you want the behavior to inherit some custom
behavior of yours.

Has anyone actually used this successfully? If so, some clarification
would be nice.

On Nov 11, 5:11 pm, Drew Pearson <[EMAIL PROTECTED]> wrote:
> Thanks for the advice @validkeys and @Marcelo Andrade. I read through  
> Chris's file handler and it looks pretty easy.
> One thing though. He has a new snipit that extends the model that  
> seems to be exactly what I need.
>
> http://cakeforge.org/snippet/detail.php?type=snippet&id=52
>
> I'm not sure where to put this file though. Its not a regular model  
> because the class is extending "Model" not "AppModel." It doesn't look  
> like a  behavior either.
>
> can anyone help me out?
>
> On Nov 11, 2008, at 9:17 AM, validkeys wrote:
>
>
>
> > check out the FileHandler component by Chris Patridge
>
> >http://cake-php.blogspot.com/2006/09/easy-way-to-upload-files-up-to-y...
>
> > On Nov 10, 9:07 pm, farfignugin <[EMAIL PROTECTED]> wrote:
> >> Just started with cakephp (1.2) and I can't seem to find a simple  
> >> walk
> >> through on how to upload a file and save the url to a table field in
> >> the database. Links, hints, or tips would be much appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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