How To Add "title" Html Property To Links From Cmenu- For Seo

I want CMenu to outpud just like default but with


<a title=$item->label(...)>"$item->label" </a>

Caution PSEUDO code

I imagine i should modyfy itemTemplate but i dont know where and how? And what’s the default itemTemplate?

use linkOptions, check this wiki out


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

	'items'=>array(

		array('label'=>'Home', 'url'=>array('/site/index')),

		array('label'=>'Contact', 'url'=>array('/site/contact'),

			'linkOptions'=> array(

				 'title' => 'thisisatest',

			  ),	

		),

//~~

		),

)); ?>

?>

Thanks but this will set title for whole menu and i want different title for each link. But maybe that wiki will help me out.

EDIT: I was wrong that’s exactly what i needed