CAction provides a way to divide a complex controller into smaller actions in separate class files. XRenderAction extends CAction to enable direct access to controller methods. So you can move code from action methods in a controller to action class files without changes and blow up the code.
There is a generator for classes which extend XRenderAction.
The sample showing you the usage of the class together with controllers from the Yii Blog demo.
- Yii 1.3 or above
- Extract the release file under
Change Log ¶
September 9, 2010 ¶
- Initial release.