\Kendo\UI\FileManagerDialogsUpload
A PHP class representing the upload setting of FileManagerDialogs.
Methods
addAction
Adds one or more FileManagerDialogsUploadAction to the FileManagerDialogsUpload.
Returns
\Kendo\UI\FileManagerDialogsUpload
Parameters
$value[, $value2, ...] \Kendo\UI\FileManagerDialogsUploadAction|array
Example - using \Kendo\UI\FileManagerDialogsUploadAction
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$action = new \Kendo\UI\FileManagerDialogsUploadAction();
$primary = true;
$action->primary($primary);
$upload->addAction($action);
?>
Example - using array
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$primary = true;
$upload->addAction(array('primary' => $primary));
?>
Example - adding more than one FileManagerDialogsUploadAction
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$first = new \Kendo\UI\FileManagerDialogsUploadAction();
$second = new \Kendo\UI\FileManagerDialogsUploadAction();
$upload->addAction($first, $second);
?>
closable
Specifies whether a close button should be rendered at the top corner of the dialog.
Returns
\Kendo\UI\FileManagerDialogsUpload
Parameters
$value boolean
Example
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$upload->closable(true);
?>
content
Sets the HTML content of the FileManagerDialogsUpload.
Returns
FileManagerDialogsUpload
$value string
Example
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$upload->content('<strong>Content</strong>');
?>
title
The text in the dialog title bar.
Returns
\Kendo\UI\FileManagerDialogsUpload
Parameters
$value string
Example
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$upload->title('value');
?>
width
Specifies width of the dialog.
Returns
\Kendo\UI\FileManagerDialogsUpload
Parameters
$value float
Example
<?php
$upload = new \Kendo\UI\FileManagerDialogsUpload();
$upload->width(1);
?>