|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
* @license http://www.yiiframework.com/license/ |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
namespace yii\util; |
|
|
|
|
namespace yii\helpers; |
|
|
|
|
|
|
|
|
|
use Yii; |
|
|
|
|
use yii\base\InvalidParamException; |
|
|
|
@ -655,7 +655,7 @@ class Html
|
|
|
|
|
* are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). |
|
|
|
|
* For each sub-array, an option group will be generated whose label is the key associated with the sub-array. |
|
|
|
|
* If you have a list of data models, you may convert them into the format described above using |
|
|
|
|
* [[\yii\util\ArrayHelper::map()]]. |
|
|
|
|
* [[\yii\helpers\ArrayHelper::map()]]. |
|
|
|
|
* |
|
|
|
|
* Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in |
|
|
|
|
* the labels will also be HTML-encoded. |
|
|
|
@ -695,7 +695,7 @@ class Html
|
|
|
|
|
* are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). |
|
|
|
|
* For each sub-array, an option group will be generated whose label is the key associated with the sub-array. |
|
|
|
|
* If you have a list of data models, you may convert them into the format described above using |
|
|
|
|
* [[\yii\util\ArrayHelper::map()]]. |
|
|
|
|
* [[\yii\helpers\ArrayHelper::map()]]. |
|
|
|
|
* |
|
|
|
|
* Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in |
|
|
|
|
* the labels will also be HTML-encoded. |
|
|
|
@ -866,7 +866,7 @@ class Html
|
|
|
|
|
* are the corresponding option labels. The array can also be nested (i.e. some array values are arrays too). |
|
|
|
|
* For each sub-array, an option group will be generated whose label is the key associated with the sub-array. |
|
|
|
|
* If you have a list of data models, you may convert them into the format described above using |
|
|
|
|
* [[\yii\util\ArrayHelper::map()]]. |
|
|
|
|
* [[\yii\helpers\ArrayHelper::map()]]. |
|
|
|
|
* |
|
|
|
|
* Note, the values and labels will be automatically HTML-encoded by this method, and the blank spaces in |
|
|
|
|
* the labels will also be HTML-encoded. |
|
|
|
|