class Select (View source)

The select button component.

Methods

static string
render(string $name, array $values, string $selected, string $prefix = '', string $class = '')

Create a select button.

Details

static string render(string $name, array $values, string $selected, string $prefix = '', string $class = '')

Create a select button.

Parameters

string $name
array $values
string $selected
string $prefix
string $class

Return Value

string The HTML for the button