Code Snippets for PHP Yii Framework