\Kendo\UI\DatePickerMessages

A PHP class representing the messages setting of DatePicker.

Methods

dateInput

The messages that DateInput uses. Use it to customize or localize the placeholders of each date/time part.

Returns

\Kendo\UI\DatePickerMessages

Parameters

$value \Kendo\UI\DatePickerMessagesDateInput|array

Example - using \Kendo\UI\DatePickerMessagesDateInput

<?php
$messages = new \Kendo\UI\DatePickerMessages();
$dateInput = new \Kendo\UI\DatePickerMessagesDateInput();
$day = 'value';
$dateInput->day($day);
$messages->dateInput($dateInput);
?>

Example - using array

<?php
$messages = new \Kendo\UI\DatePickerMessages();
$day = 'value';
$messages->dateInput(array('day' => $day));
?>

weekColumnHeader

Allows customization of the week column header text in the Calendar. Set the value to make the widget compliant with web accessibility standards.

Returns

\Kendo\UI\DatePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\DatePickerMessages();
$messages->weekColumnHeader('value');
?>
In this article
Not finding the help you need?