Simple Basket class in yii framework