class Search (View source)

The search field component.

Methods

static string
render(string $placeholder = '', string $tooltip = '')

Create a search field.

Details

static string render(string $placeholder = '', string $tooltip = '')

Create a search field.

Parameters

string $placeholder
string $tooltip

Return Value

string The HTML for the search field