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.1

Documentation

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.