protected function renderContent() { $recentItems = UserChild::getRecentItems(Yii::app()->user->getId()); $this->render('recentItems',array('recentItems'=>$recentItems)); }