class ChoiceView
Represents a choice in templates.
Properties
string | $label | The label displayed to humans. | |
string | $value | The view representation of the choice. | |
mixed | $data | The original choice value. | |
array | $attr | Additional attributes for the HTML tag. |
Methods
__construct(mixed $data, string $value, string $label, array $attr = array()) Creates a new choice view. |
Details
__construct(mixed $data, string $value, string $label, array $attr = array())
Creates a new choice view.
Please login to continue.