You are here

protected function ServletConfig::getParameterInt in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

4 calls to ServletConfig::getParameterInt()
ServletConfig::getJpegQuality in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getMaxImageResizeHeight in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getMaxImageResizeWidth in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getMaxUploadFileSize in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php

File

vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php, line 49

Class

ServletConfig

Namespace

EdSDK\FileUploaderServer\servlet

Code

protected function getParameterInt($name, $defaultValue) {
  $value = $this
    ->getParameter($name, $defaultValue, false);
  if (is_int($value) !== false) {
    return $value;
  }
  else {
    error_log("Incorrect '" . $name . "' parameter integer value");
    return $defaultValue;
  }
}