You are here

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

5 calls to ServletConfig::getParameter()
ServletConfig::getBaseDir in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getParameterBool in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getParameterInt in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getParameterStr in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php
ServletConfig::getTmpDir in vendor/edsdk/file-uploader-server-php/src/servlet/ServletConfig.php

File

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

Class

ServletConfig

Namespace

EdSDK\FileUploaderServer\servlet

Code

protected function getParameter($name, $defaultValue, $doAddTrailingSlash) {
  if (array_key_exists($name, $this->m_testConf)) {
    return $this
      ->addTrailingSlash($this->m_testConf[$name], $doAddTrailingSlash);
  }
  else {
    if (array_key_exists($name, $this->m_conf)) {
      return $this
        ->addTrailingSlash($this->m_conf[$name], $doAddTrailingSlash);
    }
    return $defaultValue;
  }
}