Lines Matching refs:null
40 const GLOBAL_SCOPE = null;
86 public static function getConfValue($confName, $defaultValue = null, ?string $namespace = PluginUtility::PLUGIN_BASE_NAME)
89 if ($namespace !== null) {
91 $namespace = $conf['plugin'][$namespace] ?? null;
92 if ($namespace === null) {
95 $value = $namespace[$confName] ?? null;
99 $value = $conf[$confName] ?? null;
110 if ($value === null || trim($value) === "") {
120 * @param string|null $pluginNamespace - null for the global namespace
167 public function getValue(string $key, ?string $default = null, ?string $scope = PluginUtility::PLUGIN_BASE_NAME)
191 $this->setConf('cachetime', 60 * 60, null);
247 if ($value === null) {
310 $this->setConf('maxseclevel', 0, null);
356 $value = $this->getValue('maxseclevel', null, self::GLOBAL_SCOPE);
414 $metadataDirectory = $this->getValue('metadir', null, self::GLOBAL_SCOPE);
415 if ($metadataDirectory === null) {
416 throw new ExceptionRuntime("The meta directory configuration value ('metadir') is null");
489 if ($dataDirectory === null) {
490 throw new ExceptionRuntime("The data directory ($dataDirectory) is null");
518 $value === null ||
561 if ($secondaryColor === null) {