Re: Working with files

2006-07-12 Thread Luke
How would I do that? Could somebody provide me with an example of using Cake's builtin File and Folder objects? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send e

Re: Working with files

2006-06-23 Thread nate
Yes, you could certainly use Cake's builtin File and Folder objects for writing your own custom model. --~--~-~--~~~---~--~~ 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@

Re: Working with files

2006-06-23 Thread Luke
What are all these methods for? http://api.cakephp.org/class_folder.html --~--~-~--~~~---~--~~ 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 unsubscri

Re: Working with files

2006-06-23 Thread Luke
I meant I have tried many of the functions in the API meant to deal with files and folders... oops (not functions) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email

Re: Working with files

2006-06-23 Thread John David Anderson
On Jun 23, 2006, at 3:35 PM, Luke wrote: > > I'm still having a hard time... can anybody post an example of a > "directory-manipulating function" that is built into the model? I have > tried many of the functions in the API meant to deal with functions, > and I just can't seem to get them to wor

Re: Working with files

2006-06-23 Thread Luke
I'm still having a hard time... can anybody post an example of a "directory-manipulating function" that is built into the model? I have tried many of the functions in the API meant to deal with functions, and I just can't seem to get them to work. --~--~-~--~~~---~--~

Re: Working with files

2006-06-23 Thread John David Anderson (_psychic_)
On Jun 23, 2006, at 3:13 PM, Luke wrote: > THANKS! That helps so much... that would have taken me probably 2 or 3 > hours to figure out... :-D For future reference, you might check out the manual. The chapter on models talks about $useTable specifically, and the Cake Sheet announced here earl

Re: Working with files

2006-06-23 Thread Luke
THANKS! That helps so much... that would have taken me probably 2 or 3 hours to figure out... :-D --~--~-~--~~~---~--~~ 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@googl

Re: Working with files

2006-06-23 Thread John David Anderson (_psychic_)
On Jun 23, 2006, at 2:55 PM, Luke wrote: > > I am pretty new to the MVC model. I am rebuilding my File management > system (that i just finished without cakePHP). My question is > basically > this: > > If I am working with files, won't my model be directories inst

Working with files

2006-06-23 Thread Luke
I am pretty new to the MVC model. I am rebuilding my File management system (that i just finished without cakePHP). My question is basically this: If I am working with files, won't my model be directories instead of a database? Would the file structure actually be the model? I am confused o