Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

yii1 findall as array


echo CHtml::activeDropDownList($model, 'category', CHtml::listData(Category::model()->findAll(), 'id', 'name'));

Source by forum.yiiframework.com #
 
PREVIOUS NEXT
Tagged: #findall #array
ADD COMMENT
Topic
Name
4+9 =