Studying YII framework