\Kendo\UI\PDFViewerMessages

A PHP class representing the messages setting of PDFViewer.

Methods

defaultFileName

Specifies the default file name used for Download.

Returns

\Kendo\UI\PDFViewerMessages

Parameters

$value string

Example

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

toolbar

Specifies the localization messages of the toolbar.

Returns

\Kendo\UI\PDFViewerMessages

Parameters

$value \Kendo\UI\PDFViewerMessagesToolbar|array

Example - using \Kendo\UI\PDFViewerMessagesToolbar

<?php
$messages = new \Kendo\UI\PDFViewerMessages();
$toolbar = new \Kendo\UI\PDFViewerMessagesToolbar();
$open = 'value';
$toolbar->open($open);
$messages->toolbar($toolbar);
?>

Example - using array

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