Get the given filesystem's admin configset.

@param  string $ident The filesystem identifier.
@return array|null Returns the filesystem configset
or NULL if the filesystem is not found.
6664
protected function getFilesystemAdminConfig($ident)
    {
        if ($this->hasFilesystem($ident) === false) {
            return null;
        }

        $elfConfig = $this->getAdminConnectorOptions();
        if (isset($elfConfig['roots'][$ident])) {
            return $elfConfig['roots'][$ident];
        }

        return [];
    }
1081760
public function getConfig($alias = null)
    {
        if ($alias === null) {
            return $this->_config;
        }

        return isset($this->_config[$alias]) ? $this->_config[$alias] : [];
    }
811950
protected function getConfig($key = null)
    {
        if ($this->config === null) {
            $this->setConfig();
        }

        if (null === $key) {
            return $this->config;
        }

        if (!array_key_exists($key, $this->config)) {
            throw new InvalidArgumentException("key: '" . $key . "' is not set in configuration options.");
        }

        return $this->config[$key];
    }
284658
public static function getConfig(string $moduleId = null)
	{
		if (is_null(self::$configModule)){
			$root = Main\Application::getDocumentRoot();
			$folder = ['/local', '/bitrix'];
			$config = null;
			foreach ($folder as $item) {
				$fileMainConfig = $root.$item.'/modules/'.$moduleId.'/config/'.$moduleId.'.yaml';
				if (file_exists($fileMainConfig)){
					try {
						$config = Yaml::parseFile($fileMainConfig);
					} catch (ParseException $e) {
						throw new AdminExceptions\ConfigurationModule($e->getMessage(), $e->getCode());
					}
					break;
				}
			}

			if (is_null($config) || count($config) == 0){
				throw new AdminExceptions\ConfigurationModule('Configuration file not found or empty');
			}

			self::$configModule = $config;
		}

		return self::$configModule;
	}
130344
final protected function getConfigs($config = null)
    {
        if (null !== $config) {
            if (array_key_exists($config, self::$_configs)) {
                return self::$_configs[$config];
            } else {
                return false;
            }
        }

        return self::$_configs;
    }
1157339
private function extractSchema(string $ident): ?string
    {
        if (false === ($pos = \strpos($ident, '.'))) {
            return null;
        }

        return \substr($ident, 0, $pos);
    }
117034
protected function _getConf()
    {
        // retrieve and cache config
        $services = $this->services();

        /** @var aSapi $config */
        $config   = $services->get('/sapi');
        $orig = $config   = $config->config();
        /** @var DataEntity $config */
        $config   = $config->get(\Module\Authorization\Module::CONF, array());

        if (!isset($config[self::CONF]) && !is_array($config[self::CONF]))
            return null;


        $config   = $config[self::CONF];
        return $config;
    }
26189
public function getConfig($key) {
        return isset($this->_config[$key]) ? $this->_config[$key] : null;
    }
729762
public function get_config($name)
	{
		return isset($this->config[$name]) ? $this->config[$name] : null;
	}
1331415
public function get_setting() {
        $result = $this->config_read($this->name);
        if (is_null($result)) {
            return NULL;
        }
        if ($result === '') {
            return array();
        }
        return explode(',', $result);
    }
428322
public function getContentByIdent($ident)
    {
        if (!isset($this->_aContents[$ident])) {
            $this->_aContents[$ident] = oxNew(\OxidEsales\Eshop\Application\Model\Content::class);
            $this->_aContents[$ident]->loadByIdent($ident);
        }

        return $this->_aContents[$ident];
    }
328956
protected function getConfig($key = null)
    {
        if (!is_null($key)) {
            if (!array_key_exists($key, $this->config)) {
                throw new \InvalidArgumentException('Config key "'.$key.'" does not exist. Valid keys are: "'.implode(', ', array_keys($this->config)).'"');
            }

            return $this->config[$key];
        }

        return $this->config;
    }
413004
public function getSortingSql($ident)
    {
        $sorting = $this->getSorting($ident);
        if (is_array($sorting)) {
            $sortBy = \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quoteIdentifier($sorting['sortby']);
            $sortDir = isset($sorting['sortdir']) ? $sorting['sortdir'] : '';
            $sortString = trim($sortBy . ' ' . $sortDir);

            return $sortString;
        }
    }
1199174
protected function _getConfigSet() : array
    {

        if (empty($_SERVER) && empty($GLOBALS['argv'])) {
            return [];
        }

        return $this->sortConfigSet(
            $this->getConfigSet(),
            $this->get(self::HIERARCHY_PLACEHOLDER_INDEX)
        );

    }
1186718
public static function getOrganizationSettings($name = 'all')
    {
        $config = \Drupal::config('site_offices.organization_settings')->get();
        if ($name == 'all') {
            return $config;
        } else {
            if (isset($config[$name])) {
                return $config[$name];
            }            
        }
        return FALSE;
    }
26964
public function configHierarchical($key = null)
    {
        $config = [];
        $all = $this->config($key);
        if (! is_array($all)) $all = array($key => $all);
        foreach ($all as $_key => $_val) {
            $keys = explode('.', $_key);
            $value = &$config;
            while ($key = array_shift($keys)) {
                if ($keys) {
                    if (! isset($value[$key])) $value[$key] = [];
                    $value = &$value[$key];
                } else {
                    $value[$key] = $_val;
                }
            }
        }
        return $config;
    }
723370
public function getConfig($name) {
        return isset($this->settings[$name]) ? $this->settings[$name] : null;
    }