| Subject: | Re: Do I need to load a Model if I reference it in a contain? |
|---|---|
| From: | euromark |
| Date: | Mon, 12 Mar 2012 16:34:15 -0700 PDT |
|
well, If you use it inside a contain there has to be a relation present! either in the model - hardcoded in $hasMany/$belongsTo or dynamically via bindModel() but without the relation definition the containable behavior doesnt know what to do with it. Am Montag, 12. März 2012 13:32:32 UTC+1 schrieb Kro: I have removed 'var $uses' from a controller and replaced it with Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Do I need to load a Model if I reference it in a contain?, Kro |
|---|---|
| Next by Date: | Re: Do I need to load a Model if I reference it in a contain?, Kro |
| Previous by Thread: | Re: Do I need to load a Model if I reference it in a contain?, Kro |
| Next by Thread: | Re: Do I need to load a Model if I reference it in a contain?, Kro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |