Cportlet And Cmenu


i want to know where CMenu (in the layout) gets the items in this code?

$this->beginWidget('zii.widgets.CPortlet', array(



					$this->widget('zii.widgets.CMenu', array(






By default this parameter is defined in file: protected/components/Controller.php.


* @var array context menu items. This property will be assigned to {@link CMenu::items}.


public $menu=array();

By default all controllers located in protected/controllers/ extends this class. You can change this array values inside controller action or in view file.