KoolDatePicker Class [PHP]

Summary

Properties Description
CalendarSettings Get or set the settings of calendar.
ClientEvents Get or set the client-side event handle.
CssStyles Get or set the css styles for input textbox of KoolDatePicker.
DateFormat Get or set the date format.
id Get or set id of KoolDatePicker
OffsetLeft Get or set offset left of panel containing calendar and timeview.
OffsetTop Get or set offset top of panel containing calendar and timeview.
scriptFolder Get or set the path to folder which contains KoolCalendar script.
styleFolder Get or set folder which contain css style for KoolDatePicker
Value Get or set the value of KoolDatePicker.
Width Get or set the width of KoolDatePicker.
Methods Description
Init Initiate datetime picker.
Render Render the KoolDatePicker
RegisterScript Return html to register js library for KoolDatePicker.
RegisterCSS Return html to register CSS for KoolDatePicker
RenderCalendar Return html content of KoolDatePicker body
StartupScript Return js code to inititate KoolDatePicker.

Properties Detail

CalendarSettingsTop

CalendarSettings CalendarSettings

Get or set the settings of calendar.

Show/Hide Code

Supported from version: 1.0.0.0

ClientEventsTop

array ClientEvents

Get or set the client-side event handle.

Show/Hide Code

Supported from version: 1.0.0.0

CssStylesTop

array CssStyles

Get or set the css styles for input textbox of KoolDatePicker.

Show/Hide Code

Supported from version: 1.0.0.0

DateFormatTop

string DateFormat

Get or set the date format.

Default value : "m/d/Y"

Show/Hide Code

Supported from version: 1.0.0.0

idTop

string id

Get or set the id for KoolDatePicker. This id will be use as variable name of KoolDatePicker at client-side.

Show/Hide Code

Supported from version: 1.0.0.0

OffsetLeftTop

int OffsetLeft

Get or set offset left of panel containing calendar and timeview.

Show/Hide Code

Supported from version: 1.0.0.0

OffsetTopTop

int OffsetTop

Get or set offset top of panel containing calendar and timeview.

Show/Hide Code

Supported from version: 1.0.0.0

scriptFolderTop

string scriptFolder

Get or set the path to folder which contains KoolCalendar script.

Show/Hide Code

Supported from version: 1.0.0.0

styleFolderTop

string styleFolder

Get or set folder which contain css style for KoolDatePicker

Show/Hide Code

Supported from version: 1.0.0.0

ValueTop

string Value

Get or set the value of KoolDatePicker.

Show/Hide Code

Supported from version: 1.0.0.0

WidthTop

string Width

Get or set the width of KoolDatePicker.

Default value : "160px"

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

InitTop

void Init()

Initiate datetime picker. This function should be called before datetime picker's Render() function.

Show/Hide Code

Supported from version: 1.0.0.0

RenderTop

void Render()

Render the KoolDatePicker

Show/Hide Code

Supported from version: 1.0.0.0

RegisterScriptTop

string RegisterScript()

Return html to register js library for KoolDatePicker.

Show/Hide Code

Supported from version: 1.0.0.0

RegisterCSSTop

string RegisterCSS()

Return html to register CSS for KoolDatePicker

Show/Hide Code

Supported from version: 1.0.0.0

RenderCalendarTop

string RenderCalendar()

Return html content of KoolDatePicker body

Show/Hide Code

Supported from version: 1.0.0.0

StartupScriptTop

string StartupScript()

Return js code to inititate KoolDatePicker.

Show/Hide Code

Supported from version: 1.0.0.0