yiiext/twig-renderer — pull request #13 by izonder (2013-03-05 13:53:25+00:00)
Title: Add callback functions/filters

Now I can do this in config file:

'viewRenderer' => array(
'class' => 'ext.ETwigViewRenderer',
'functions' => array(
'route' => function($route) {
return Yii::app()->urlManager->createUrl($route);
}
)
),