cool. its working :)
Does it support conditions from related models?
eg: I want to load the chapters for a specific user only?
$subjects = $this-Subject-find('all',
array('conditions'='Subject.enabled=1',
'restrict'=array(
If your using 1.2 definitely check out the wicked little behavior that is
bindable:
http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model
-bindings
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of sabkaraja
Sent: Monday,
On Mon, Mar 3, 2008 at 5:38 AM, sabkaraja [EMAIL PROTECTED] wrote:
Hi
Hi,
I have 3 models: Subject, Topic Chapter
Subject hasMany Topics Topic belongsTo Subject
Topic hasMany Chapters Chapter belongsTo Topic
User HABTM Chapter
I am trying to do a recursive query