\Kendo\UI\CalendarMonth

A PHP class representing the month setting of Calendar.

Methods

content

Sets the HTML content of the CalendarMonth.

Returns

CalendarMonth

$value string

Example

<?php
$month = new \Kendo\UI\CalendarMonth();
$month->content('<strong>Content</strong>');
?>

_empty

The template to be used for rendering the cells in the "month" view, which are not in the min/max range. By default, the widget renders an empty string.

Returns

\Kendo\UI\CalendarMonth

Parameters

$value string

Example

<?php
$month = new \Kendo\UI\CalendarMonth();
$month->_empty('value');
?>

weekNumber

The template to be used for rendering the cells in "week" column. By default, the widget renders the calculated week of the year. The properties available in the data object are: currentDate - returns the first date of the current week. or weekNumber - calculated week number.. These properties can be used in the template to make additional calculations.

Returns

\Kendo\UI\CalendarMonth

Parameters

$value string

Example

<?php
$month = new \Kendo\UI\CalendarMonth();
$month->weekNumber('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy