\Kendo\UI\FileManagerUploadValidation

A PHP class representing the validation setting of FileManagerUpload.

Methods

allowedExtensions

A list of the file extensions which are allowed for upload. Recognizes entries of both .type and type values.

Returns

\Kendo\UI\FileManagerUploadValidation

Parameters

$value array

Example

<?php
$validation = new \Kendo\UI\FileManagerUploadValidation();
$validation->allowedExtensions(array());
?>

maxFileSize

Defines the maximum file size in bytes allowed for upload.

Returns

\Kendo\UI\FileManagerUploadValidation

Parameters

$value float

Example

<?php
$validation = new \Kendo\UI\FileManagerUploadValidation();
$validation->maxFileSize(1);
?>

minFileSize

Defines the minimum file size in bytes allowed for upload.

Returns

\Kendo\UI\FileManagerUploadValidation

Parameters

$value float

Example

<?php
$validation = new \Kendo\UI\FileManagerUploadValidation();
$validation->minFileSize(1);
?>
In this article
Not finding the help you need?