use bindValue() build like statement in Yii 1.0 DAO

the follow code, show how to build like SQL statement in Yii 1.0 DAO environment by bindValue() function.

$sql ='  ...  yiilib_desc like :keywords or yiilib_title like :keywords ... ';
$TmpStatement = Yii::app()->db->createCommand($sql);
$TmpStatement->bindValue(':keywords', '%'.$keywords.'%');