New to Telerik UI for PHP? Download free 30-day trial

\Kendo\UI\TimePickerMessages

A PHP class representing the messages setting of TimePicker.

Methods

cancel

Allows customization of the Cancel button text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->cancel('value');
?>

dateInput

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

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value \Kendo\UI\TimePickerMessagesDateInput|array

Example - using \Kendo\UI\TimePickerMessagesDateInput

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

Example - using array

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

hour

Allows customization of the Hour text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->hour('value');
?>

millisecond

Allows customization of the Millisecond text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->millisecond('value');
?>

minute

Allows customization of the Minute text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->minute('value');
?>

now

Allows customization of the Now text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->now('value');
?>

second

Allows customization of the Second text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TimePickerMessages();
$messages->second('value');
?>

set

Allows customization of the Set button text in the TimePicker.

Returns

\Kendo\UI\TimePickerMessages

Parameters

$value string

Example

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