KoolDateTimePicker 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 KoolDateTimePicker.
DateFormat Get or set the date format.
id Get or set id of KoolDateTimePicker
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 KoolDateTimePicker
TimeFormat Get or set the time format.
TimeViewSettings Get or set the settings of timeview.
Value Get or set the value of KoolDateTimePicker.
Width Get or set the width of KoolDateTimePicker.
Methods Description
Init Initiate datetime picker.
Render Render the KoolDateTimePicker
RegisterScript Return html to register js library for KoolDateTimePicker.
RegisterCSS Return html to register CSS for KoolDateTimePicker
RenderCalendar Return html content of KoolDateTimePicker body
StartupScript Return js code to inititate KoolDateTimePicker.

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 KoolDateTimePicker.

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 KoolDateTimePicker. This id will be use as variable name of KoolDateTimePicker 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 KoolDateTimePicker

Show/Hide Code

Supported from version: 1.0.0.0

TimeFormatTop

string TimeFormat

Get or set the time format.

Default value : "g:i A"

Show/Hide Code

Supported from version: 1.0.0.0

TimeViewSettingsTop

TimeViewSettings TimeViewSettings

Get or set the settings of timeview.

Show/Hide Code

Supported from version: 1.0.0.0

ValueTop

string Value

Get or set the value of KoolDateTimePicker.

Show/Hide Code

Supported from version: 1.0.0.0

WidthTop

string Width

Get or set the width of KoolDateTimePicker.

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 KoolDateTimePicker

Show/Hide Code

Supported from version: 1.0.0.0

RegisterScriptTop

string RegisterScript()

Return html to register js library for KoolDateTimePicker.

Show/Hide Code

Supported from version: 1.0.0.0

RegisterCSSTop

string RegisterCSS()

Return html to register CSS for KoolDateTimePicker

Show/Hide Code

Supported from version: 1.0.0.0

RenderCalendarTop

string RenderCalendar()

Return html content of KoolDateTimePicker body

Show/Hide Code

Supported from version: 1.0.0.0

StartupScriptTop

string StartupScript()

Return js code to inititate KoolDateTimePicker.

Show/Hide Code

Supported from version: 1.0.0.0