Typical Anchor Link

is this really necessary for generating an anchor link


echo CHtml::link($object->title, CController::createUrl('controller/method'));

or am I missing something?

echo CHtml::link($object->title, array(‘controller/method’));