echo CHtml::checkBoxList('Categories',
array(),
CHtml::listData(Category::model()->findAll(), 'IdCategory', 'Category'),
array(
'template' => '<li>{input} {label}</li>',
'separator' => '',
'checkAll' => 'Alle rubrieken')
);
Page 1 of 1
how to HTML-encode labels
#1
Posted 06 January 2010 - 03:36 PM
how to HTML-encode the labels that are automatically generated using the code below:
#2
Posted 06 January 2010 - 04:02 PM
Class reference usually helps a lot 
http://www.yiiframew...listData-detail
http://www.yiiframew...odeArray-detail
http://www.yiiframew...listData-detail
http://www.yiiframew...odeArray-detail
#3
Posted 06 January 2010 - 04:08 PM
andy_s, on 06 January 2010 - 04:02 PM, said:
Class reference usually helps a lot 
http://www.yiiframew...listData-detail
http://www.yiiframew...odeArray-detail
http://www.yiiframew...listData-detail
http://www.yiiframew...odeArray-detail
if you know where to look for
thank you!
Share this topic:
Page 1 of 1

Help













