1
0
www.mikescher.com/demos/blog/protected/components/UserMenu.php

17 lines
254 B
PHP
Raw Normal View History

2014-05-12 10:11:20 +02:00
<?php
Yii::import('zii.widgets.CPortlet');
class UserMenu extends CPortlet
{
public function init()
{
$this->title=CHtml::encode(Yii::app()->user->name);
parent::init();
}
protected function renderContent()
{
$this->render('userMenu');
}
}