Re: Complex findAll/Count, and specifying conditions on the HABTM

2008-03-04 Thread Bob Mattax
I just noticed I copied something wrong. This is correct: http://bin.cakephp.org/saved/29464 On Mar 4, 8:25 pm, Bob Mattax <[EMAIL PROTECTED]> wrote: > Here is a link to the code for my classes.http://bin.cakephp.org/saved/29458 > > On Mar 2, 8:04 pm, Bob Mattax <[EMAIL PROTECTED]> wrote: > > >

Re: Complex findAll/Count, and specifying conditions on the HABTM

2008-03-04 Thread Bob Mattax
Here is a link to the code for my classes. http://bin.cakephp.org/saved/29458 On Mar 2, 8:04 pm, Bob Mattax <[EMAIL PROTECTED]> wrote: > I'm trying to write an app for managing some of rental properties. > Here is a basic outline of the models I'm trying to work with right > now.  I'm working on

Complex findAll/Count, and specifying conditions on the HABTM

2008-03-02 Thread Bob Mattax
I'm trying to write an app for managing some of rental properties. Here is a basic outline of the models I'm trying to work with right now. I'm working on making the functions in my model to handle paginating the results. A - Campus id HABTM Building B - CampusesBuilding