Check Boxes issue

Hi i am very new to Yii Framework so i need your understanding :) My question is the following. How can i have the checkboxes at the code below checked by default ??

<?php echo CHtml::checkbox('languages[]',






Any luck here ?

You need read

<?php echo CHtml::checkbox(


                             true, // default as checked

                             array() //this is $htmlOptions



Maybe you need CHtml::checkBoxList()