Documentation

ADatepicker extends Component
in package

Table of Contents

$hint  : string|null
$id  : string
$label  : string|null
$maxDate  : string|null
$maxTime  : string|null
$minDate  : string|null
$minTime  : string|null
$name  : string
$type  : string
Type of picker - date | time | datetime
$value  : string|null
__construct()  : mixed
Create a new component instance
render()  : View|string
Get the view / contents that represent the component.

Properties

$type

Type of picker - date | time | datetime

public string $type

Methods

__construct()

Create a new component instance

public __construct(string $name[, string $type = 'date' ][, string $value = null ][, string $id = null ][, mixed $label = null ][, string $hint = null ][, array<string|int, mixed> $dateLimits = [] ][, array<string|int, mixed> $timeLimits = [] ]) : mixed
Parameters
$name : string
$type : string = 'date'
  • date | time | datetime
$value : string = null
$id : string = null
$label : mixed = null
$hint : string = null
$dateLimits : array<string|int, mixed> = []
$timeLimits : array<string|int, mixed> = []
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results