Property | Type | Description | |
---|---|---|---|
$selectedValue | mixed | ||
$tagName | string |
Method | Description | |
---|---|---|
initializeArguments ( ) : void | Initialize arguments. | |
render ( ) : string | Render the tag. |
Method | Description | |
---|---|---|
getOptions ( ) : array | Render the option tags. | |
getSelectedValue ( ) : mixed | Retrieves the selected value(s) | |
isSelected ( mixed $value ) : boolean | Render the option tags. | |
renderOptionTag ( string $value, string $label, boolean $isSelected ) : string | Render one option tag | |
renderOptionTags ( array $options ) : string | Render the option tags. |
protected getSelectedValue ( ) : mixed | ||
return | mixed | value string or an array of strings |
public initializeArguments ( ) : void | ||
return | void |
protected isSelected ( mixed $value ) : boolean | ||
$value | mixed | Value to check for |
return | boolean | TRUE if the value should be marked a s selected; FALSE otherwise |
protected renderOptionTag ( string $value, string $label, boolean $isSelected ) : string | ||
$value | string | value attribute of the option tag (will be escaped) |
$label | string | content of the option tag (will be escaped) |
$isSelected | boolean | specifies wheter or not to add selected attribute |
return | string | the rendered option tag |
protected renderOptionTags ( array $options ) : string | ||
$options | array | the options for the form. |
return | string | rendered tags. |