giving a class or id name to CHtml::ajaxLink

How would I go about giving a class or id name to CHtml::ajaxLink?

This is the signature of ajaxLink method -

public static string ajaxLink(string $text, mixed $url, array $ajaxOptions=array ( ), array $htmlOptions=array ( ))

you can specify the id as well as class in an array as the forth parameter. e.g. array(‘id’=>‘someid’, ‘class’=>‘someanotherclass’)

documentation - http://www.yiiframework.com/doc/api/1.1/CHtml#ajaxLink-detail