Hi, is it possible to alter a controller’s property from a CFilter? If so, how can be done? Thanks.
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
Thank you.