Property | Type | Description | |
---|---|---|---|
$_first_item | string | Used to display a special first item (disable and display none and non selectable) to use instead label | |
$autofocus | * Interface. | ||
$disabled | |||
$form | |||
$multiple | |||
$name | |||
$size | |||
$value |
Method | Description | |
---|---|---|
__construct ( array | callback $options = [], string $name = '', string $id = '' ) | Create an instance of WPDKHTMLTagSelect class | |
draw ( ) | Override parent method for draw the options with selectd values. | |
options ( array $options ) : string | Return the HTML markup for the option and optgroup tag. | |
selected ( string | array $haystack, mixed $current ) : string | Return HTML selected attribute or empty string. |
Method | Description | |
---|---|---|
_options ( array $options ) | Recursive method to build the options and option group for select tag. |
public draw ( ) |
public string $_first_item | ||
return | string |