Utility extensions to yii