RefineWidgetDatepicker
extends RefineWidget
in package
A datepicker widget for the refine bar
Table of Contents
Properties
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
$label
protected
mixed
$label
$name
protected
mixed
$name
$options
private
mixed
$options
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
getLabel()
public
final getLabel() : mixed
getName()
public
final getName() : mixed
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