프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$options | |||
$value |
메소드 | 설명 | |
---|---|---|
__construct ( string $label, array $options ) | ||
options ( null | array $options = null ) | Get or set the options of the optgroup | |
storeValue ( string $value ) : boolean | Store the given value so it can be used during rendering | |
toHTML ( ) : string | The HTML representation of this element |
메소드 | 설명 | |
---|---|---|
renderOptions ( ) : string |
public __construct ( string $label, array $options ) | ||
$label | string | The label text for this element (will be autoescaped) |
$options | array | The available options |
public storeValue ( string $value ) : boolean | ||
$value | string | |
리턴 | boolean | true if an option with the given value exists, false otherwise |