Containable Behavior
The Containable behavior allows to restrict the association data returned in Model find calls. Instead of just specifying a recursiveness level, it gives you the flexibility of specifying what model associations you want to include and which ones you don't.
Download
You can download the latest version of the Containable behavior here: Download 2.0.1Documentation
A complete documentation of the behavior will show up here soon. For now please take a look at the blog post about it over at ThinkingPHP.
License
The Containable behavior is licensed under the MIT license. This means you can do just about anything with it other than removing the license information. Software projects that are using this code do not need to be open source or even mention the usage of the code published here.
Unless stated otherwise, the entire code was written by Debuggable Limited.


I am getting an error witht the sources var on google_analytics_source.php, line 187
foreach...
Hi Felix, I always read your blog. The fun things is that you work with the two things I love a...
The line: < ?php echo ($num % 2) ? 'row-a': 'row-b'; ?>">
Could be :
if($num ++ >0){...
Information hiding is one of the cornerstones of OOP. Without private/protected modifiers ......
This discussion has been going on for a bit, but I feel I just have to add my 2 pennies to...