Свойство | Тип | Описание | |
---|---|---|---|
$selectedValue | mixed | ||
$tagName | string |
Метод | Описание | |
---|---|---|
initializeArguments ( ) : void | Initialize arguments. | |
render ( ) : string | Render the tag. |
Метод | Описание | |
---|---|---|
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 getOptions ( ) : array | ||
Результат | array |
protected getSelectedValue ( ) : mixed | ||
Результат | mixed | value string or an array of strings |
public initializeArguments ( ) : void | ||
Результат | void |
protected isSelected ( mixed $value ) : boolean | ||
$value | mixed | Value to check for |
Результат | 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 |
Результат | string | the rendered option tag |
protected renderOptionTags ( array $options ) : string | ||
$options | array | the options for the form. |
Результат | string | rendered tags. |