Smarty plugins that could be used with Yii framework