renderItem() public method
Default callback for checkbox/radio list item rendering.
See also:
public string renderItem ( $index, $label, $name, $checked, $value ) | ||
---|---|---|
$index | integer |
Item index. |
$label | string |
Item label. |
$name | string |
Input name. |
$checked | boolean |
Whether value is checked or not. |
$value | string |
Input value. |
return | string |
Generated HTML. |
Please login to continue.