KoolTimeView Class [PHP]
Summary
Properties | Description | |
ClientEvents | Get or set the client-side event handle. | |
EndTime | Get or set the end time. | |
HeaderText | Get or set the header text of TimeView. | |
id | Get or set id of KoolTimeView | |
Interval | Get or set the time interval. | |
NumberOfColumns | Get or set number of columns for TimeView. | |
Orientation | Get or set the rendering orientation of month. | |
scriptFolder | Get or set the path to folder which contains KoolCalendar script. | |
StartTime | Get or set the start time. | |
styleFolder | Get or set folder which contain css style for KoolTimeView | |
TimeFormat | Get or set the time format. |
Methods | Description | |
Init | Initiate datetime picker. | |
Render | Render the KoolTimeView | |
RegisterScript | Return html to register js library for KoolTimeView. | |
RegisterCSS | Return html to register CSS for KoolTimeView | |
RenderCalendar | Return html content of KoolTimeView body | |
StartupScript | Return js code to inititate KoolTimeView. |
Properties Detail
ClientEventsTop
array ClientEvents
Get or set the client-side event handle.
Supported from version: 1.0.0.0
HeaderTextTop
string HeaderText
Get or set the header text of TimeView.
Supported from version: 1.0.0.0
idTop
string id
Get or set the id for KoolTimeView. This id will be use as variable name of KoolTimeView at client-side.
Supported from version: 1.0.0.0
NumberOfColumnsTop
int NumberOfColumns
Get or set number of columns for TimeView.
Default value : 4
Supported from version: 1.0.0.0
OrientationTop
string Orientation
Get or set the rendering orientation of month.
Allowed values :
- "Horizontal" : Render month days horizontally.
- "Vertical" : Render month days vertically.
Supported from version: 1.0.0.0
scriptFolderTop
string scriptFolder
Get or set the path to folder which contains KoolCalendar script.
Supported from version: 1.0.0.0
styleFolderTop
string styleFolder
Get or set folder which contain css style for KoolTimeView
Supported from version: 1.0.0.0
TimeFormatTop
string TimeFormat
Get or set the time format.
Default value : "g:i A"
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.
Supported from version: 1.0.0.0
RegisterScriptTop
string RegisterScript()
Return html to register js library for KoolTimeView.
Supported from version: 1.0.0.0
RegisterCSSTop
string RegisterCSS()
Return html to register CSS for KoolTimeView
Supported from version: 1.0.0.0
RenderCalendarTop
string RenderCalendar()
Return html content of KoolTimeView body
Supported from version: 1.0.0.0
StartupScriptTop
string StartupScript()
Return js code to inititate KoolTimeView.
Supported from version: 1.0.0.0