title: How to include javascript actions in Yii CHtml::link?
body: <p><strong>Situation:</strong><br />
  My current links are generated by the following yii methods:</p>
  
  <pre><code>&lt;?php 
  echo CHtml::link(CHtml::encode($data-&gt;name), array('view', 'id'=&gt;$data-&gt;idCategory)); 
  ?&gt;
  </code></pre>
  
  <p><strong>What I'd like to do:</strong><br />
  Need to build a link structured like this</p>
  
  <pre><code>&lt;a onmouseover="doSomething();" href="http://mysite.com/index.php?r=categories/view"&gt;Books&lt;/a&gt;
  </code></pre>
  
  <p>Please advise. Thanks.</p>