CController#layout-detail
在看api文档的时候看到这一句 the name of the layout to be applied to this controller’s views. Defaults to null, meaning the application layout is used. If it is false, no layout will be applied. Since version 1.0.3, the module layout will be used if the controller belongs to a module and this layout property is null.
最后一句话是说:从1.0.3开始 如果一个控制器属于一个模块并且这个layout的属性为null 那么模块的layout将会被使用
按照这样的翻译 如果模块的layout属性为null的话 那不就是使用了 application的layout了(Defaults to null, meaning the application layout is used.)?
是不是我翻译错了?还是文档有错误?