\Kendo\UI\FileManagerPreviewPane
A PHP class representing the previewPane setting of FileManager.
Methods
metaFields
Configures the meta fields to be showed in the preview pane.
Returns
\Kendo\UI\FileManagerPreviewPane
Parameters
$value array
Example
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->metaFields(array());
?>
multipleFilesTemplate
Defines a new template for the preview pane when multiple files/folders are selected.
Returns
\Kendo\UI\FileManagerPreviewPane
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->multipleFilesTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->multipleFilesTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
noFileTemplate
Defines a new template for the preview pane when no file/folder is selected.
Returns
\Kendo\UI\FileManagerPreviewPane
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->noFileTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->noFileTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
singleFileTemplate
Defines a new template for the preview pane when a single file/folder is selected.
Returns
\Kendo\UI\FileManagerPreviewPane
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->singleFileTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$previewPane = new \Kendo\UI\FileManagerPreviewPane();
$previewPane->singleFileTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>