|
|
@ -727,7 +727,7 @@ class BaseHtml |
|
|
|
* @param string $name the name attribute of each checkbox. |
|
|
|
* @param string $name the name attribute of each checkbox. |
|
|
|
* @param string|array $selection the selected value(s). |
|
|
|
* @param string|array $selection the selected value(s). |
|
|
|
* @param array $items the data item used to generate the checkboxes. |
|
|
|
* @param array $items the data item used to generate the checkboxes. |
|
|
|
* The array keys are the labels, while the array values are the corresponding checkbox values. |
|
|
|
* The array values are the labels, while the array keys are the corresponding checkbox values. |
|
|
|
* @param array $options options (name => config) for the checkbox list container tag. |
|
|
|
* @param array $options options (name => config) for the checkbox list container tag. |
|
|
|
* The following options are specially handled: |
|
|
|
* The following options are specially handled: |
|
|
|
* |
|
|
|
* |
|
|
@ -1253,7 +1253,7 @@ class BaseHtml |
|
|
|
* @param string $attribute the attribute name or expression. See [[getAttributeName()]] for the format |
|
|
|
* @param string $attribute the attribute name or expression. See [[getAttributeName()]] for the format |
|
|
|
* about attribute expression. |
|
|
|
* about attribute expression. |
|
|
|
* @param array $items the data item used to generate the checkboxes. |
|
|
|
* @param array $items the data item used to generate the checkboxes. |
|
|
|
* The array keys are the labels, while the array values are the corresponding checkbox values. |
|
|
|
* The array values are the labels, while the array keys are the corresponding checkbox values. |
|
|
|
* Note that the labels will NOT be HTML-encoded, while the values will. |
|
|
|
* Note that the labels will NOT be HTML-encoded, while the values will. |
|
|
|
* @param array $options options (name => config) for the checkbox list. The following options are specially handled: |
|
|
|
* @param array $options options (name => config) for the checkbox list. The following options are specially handled: |
|
|
|
* |
|
|
|
* |
|
|
|