[SOLVED] Modify controller's property from a filter.

Hi, is it possible to alter a controller’s property from a CFilter? If so, how can be done? Thanks.

You can get controller’s instance via $filterChain:

http://www.yiiframework.com/doc/api/1.1/CFilter#postFilter-detail

http://www.yiiframework.com/doc/api/1.1/CFilterChain

Thank you.