TCalendar
extends TElement
in package
Calendar Widget
Tags
Table of Contents
Properties
- $action : mixed
- $height : mixed
- $month : mixed
- $months : mixed
- $selectedDays : mixed
- $weekendHighlight : mixed
- $width : mixed
- $year : mixed
Methods
- __construct() : mixed
- Class Constructor
- getMonth() : mixed
- Return the current month
- getYear() : mixed
- Return the current year
- highlightWeekend() : mixed
- highglight weekend
- selectDays() : mixed
- Select a collection of days
- setAction() : mixed
- Define the action when click at some day
- setMonth() : mixed
- Define the current month to display
- setSize() : mixed
- Define the calendar's size
- setYear() : mixed
- Define the current year to display
- show() : mixed
- Show the calendar
Properties
$action
private
mixed
$action
$height
private
mixed
$height
$month
private
mixed
$month
$months
private
mixed
$months
$selectedDays
private
mixed
$selectedDays
$weekendHighlight
private
mixed
$weekendHighlight
$width
private
mixed
$width
$year
private
mixed
$year
Methods
__construct()
Class Constructor
public
__construct() : mixed
getMonth()
Return the current month
public
getMonth() : mixed
getYear()
Return the current year
public
getYear() : mixed
highlightWeekend()
highglight weekend
public
highlightWeekend() : mixed
selectDays()
Select a collection of days
public
selectDays( $days) : mixed
Parameters
setAction()
Define the action when click at some day
public
setAction( $action) : mixed
Parameters
setMonth()
Define the current month to display
public
setMonth( $month) : mixed
Parameters
setSize()
Define the calendar's size
public
setSize( $width, $height) : mixed
Parameters
setYear()
Define the current year to display
public
setYear( $year) : mixed
Parameters
show()
Show the calendar
public
show() : mixed