Just fulfilling an academic requirement using Yii PHP