protected function ActionUploadCommit::validateSize in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
1 call to ActionUploadCommit::validateSize()
- ActionUploadCommit::validateSizes in vendor/
edsdk/ file-uploader-server-php/ src/ lib/ action/ ActionUploadCommit.php
File
- vendor/
edsdk/ file-uploader-server-php/ src/ lib/ action/ ActionUploadCommit.php, line 26
Class
Namespace
EdSDK\FileUploaderServer\lib\actionCode
protected function validateSize($size, $sizeName) {
$size->enlarge = $this
->validateBoolean($size->enlarge, $sizeName === "preview");
$size->width = $this
->validateInteger($size->width, 0);
$size->height = $this
->validateInteger($size->height, 0);
}