yiisoft/yii — pull request #2397 by gusnips (2013-04-24 15:08:16+00:00)
Title: CGridView accept an array as formatter config

you can now pass an array of configuration parameters for the formatter.
if you the config contains a 'class' element, it will create a new formatter, otherwise it will clone the current formatter and set the new options to it