Yii 1.1: render-action

Class XRenderAction
2 followers

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.

Documentation

Requirements

  • Yii 1.3 or above

Installation

  • Extract the release file under protected/components

Change Log

September 9, 2010

  • Initial release.

Total 3 comments

#2305 report it
Trejder at 2010/12/10 05:47am
Me 2! :)

Thanks for this useful extension. Came right in the time I need it! :)

#2192 report it
rainyjune at 2010/11/23 01:21am
Thanks

Thank you.

#1924 report it
Antonio Ramirez at 2010/10/16 02:24pm
thanks

Very clever; good way to organize code when actions take quite a lot of space too...

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: volkmar
  • Category: Others
  • Votes: +4
  • Downloaded: 864 times
  • Created on: Sep 9, 2010
  • Last updated: Apr 17, 2011