Some tools for an yii-application