Re: relationships, joins and pagination. I've hit a wall.

2008-08-25 Thread Ariel Arjona
); > $results = $this->paginate('Place'); > > $conditions holds a bunch of belongsTo conditions like   > 'Place.location_id' => $location_id etc, > but also the array of Place.ids I got earlier, which translated to an   > SQL query like > WHERE `Place`.`id`

relationships, joins and pagination. I've hit a wall.

2008-08-24 Thread Ariel Arjona
What I'm trying to model is the following: I have a number of Sites which represent wells. From these sites at certain depths Samples are collected. Each Sample contains a number of different Subjects (specimens) found in varying quantities. These are represented by the SubjectHits model in the Su

Re: What happens with CakePHP Cookbook?

2008-07-18 Thread Ariel Arjona
The other option is to use http://book.cakephp.org/complete/3/the-manual to see the whole thing. I think this is a good opportunity to express the need of a downloadable version of the manual (or at least add the table of contents to the above link so it's easier to navigate). Not being a cake ex

Re: model relationship for optional details

2008-04-22 Thread Ariel Arjona
a > > On Apr 21, 1:31 pm, Ariel Arjona <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I seem to run often into the situation where I have a field certain > > fields in my tables that are basically drop down lists, but they are > > optional. I'm wondering

model relationship for optional details

2008-04-21 Thread Ariel Arjona
Hello, I seem to run often into the situation where I have a field certain fields in my tables that are basically drop down lists, but they are optional. I'm wondering what's the correct way to manage this. Here's an example: I have a User model and a Department model. Not every user has a depa

API docs for the branch

2008-03-24 Thread Ariel Arjona
.php -- Parsing file WARNING in ajax.php on line 37: Unknown tag "@modifiedby" used WARNING in ajax.php on line 37: Unknown tag "@lastmodified" used Regards, Ariel Arjona --~--~-~--~~~---~--~~ You received this message because you are subscribed to