Documentation

DateRangePicker extends TiqBase
in package

Create a Date Range Picker

Table of Contents

$eventPath  : mixed
$loader  : mixed
__construct()  : mixed
Loads the dependancies for this component
__get()  : mixed
Base getter hooked into php's magic __get
__set()  : mixed
Base setter hooked into php's magic __set
createPicker()  : mixed
Creates a daterange picker attached to a grid
terminate()  : mixed
Logs an error and throws and exception

Properties

Methods

__get()

Base getter hooked into php's magic __get

public __get(string $name) : mixed

Allows the retrieval of properties from a class. Requires the implementation of a get method in the concrete class

Parameters
$name : string

name of the property

Return values
mixed

__set()

Base setter hooked into php's magic __set

public __set(string $name, mixed $value) : mixed

Allows the settings of properties on a class safely. Requires the implementation of a set method in the concrete class

Parameters
$name : string

name of property to be set

$value : mixed
Return values
mixed

createPicker()

Creates a daterange picker attached to a grid

public createPicker(string $custom_javascript) : mixed

When the data is changed in either the start or the end date an ajax call is made to a specified path with two parameters passed in as well. T

Parameters
$custom_javascript : string
Return values
mixed

terminate()

Logs an error and throws and exception

protected terminate([string $message = '' ]) : mixed
Parameters
$message : string = ''

Reason for termination

Tags
throws
LogicException
Return values
mixed

Search results