yiisoft/yii — pull request #1427 by acorncom (2012-09-19 02:56:11+00:00)
Title: Doc update: added info about AR lazy-loading relationship scoping syntax

Ran across a need for this the other day and ended up finding syntax for it in a bug report. But I haven't ever seen this mentioned anywhere else. I posted on the forum about it:
http://www.yiiframework.com/forum/index.php/topic/32978-apply-criteria-on-lazy-loading/

but thought it'd be better to add it to the docs.