Top "Yii-chtml" questions

CHtml is a static class that provides a collection of helper methods for creating HTML views.

yii -> dropDownList -> CHtml::listData -> set selected value

How can I set the selected value in the following statement: echo $form->dropDownList( $model, 'land_id', CHtml::listData(…

drop-down-menu yii selected yii-chtml
multi model forms in yii

How to create a multi-model form in Yii? I searched the entire documentation of Yii, but got no interesting results. …

php templates yii yii-cmodel yii-chtml
Need listbox with multiple selection - in yii

I need listbox of multiple selection in yii, i have code of form area but its saving to database as …

yii html-select yii-chtml
Class 'CHtml' not found in Gridview in Yii2

I am developing Yii2 application where I want to list orders data in GridView. User can click on order id …

php gridview yii2 yii-chtml
yii CHtml submitButtion

I start learning yii and try to make some changes in others' code. I want to add the submitButton function …

php yii yii-chtml
Yii Controller call from a View?

I have a view that has a form. I have a button which calls a controller via Ajax. echo CHtml::…

php jquery yii yii-chtml