Unbind Model, Relationships and hasMany

2007-07-09 Thread Jonathan Holloway
Hi all, I've got a bit of a query, I have a relationship between a User and an object I'm modelling whereby a user may have an image associated which them as follows: class User { // Define relationship with images with object_id as the key in images var $hasMany =

Edit Functionality

2007-07-07 Thread Jonathan Holloway
Hi all, This is probably a very basic question but I'm retrieving a user from a database using the following: $user = $this-User-findByEmail($email); Then setting a subset of the users details in the update my details form: $this-data = $user; When this form is resubmitted with the updated

Framework Integration Question

2007-06-19 Thread Jonathan Holloway
Hi all, I've just started out with CakePHP over the last few days and I'm stuck trying to integrate htmlmimemail into the framework. Do I have to create a Component and reference it in app/vendors or is there another way to do this? Can I just reference the htmlmimemail.php class directly. If