Documentation

RefineWidgetDatepicker extends RefineWidget
in package

A datepicker widget for the refine bar

Table of Contents

Properties

$label  : mixed
$name  : mixed
$options  : mixed

Methods

__construct()  : mixed
getLabel()  : mixed
getName()  : mixed
getValue()  : mixed
Returns the current value for this refine widget
render()  : string
Draws the widget.
setLabel()  : mixed
setName()  : mixed

Properties

Methods

__construct()

public __construct(string $name, string $label, array<string|int, mixed> $options) : mixed
Parameters
$name : string

The field name, e.g. 'name', '_some_foreign_column'

$label : string

The label to display on the form, e.g. 'Name'

$options : array<string|int, mixed>

Options for the autocomplete field; see $options of Fb::autocomplete

getValue()

Returns the current value for this refine widget

public final getValue() : mixed

render()

Draws the widget.

public render() : string
Return values
string —

The HTML for the widget.

setLabel()

public final setLabel(mixed $label) : mixed
Parameters
$label : mixed

setName()

public final setName(mixed $name) : mixed
Parameters
$name : mixed
On this page

Search results