Return a WYSIWYG configuration value.

@param string $name

@return bool
970530
protected function isWysiwygEnabled($name)
    {
        return isset($this->allowedWyswig[$name]) && (bool) $this->allowedWyswig[$name];
    }
1073227
public function get(string $name): array
    {
        if (isset($this->compiled[$name])) {
            $config = $this->compiled[$name];
        } else {
            $this->compiled[$name] = $this->createServiceConfig($name);
            $config = $this->compiled[$name];
        }

        if (!isset($config['use'])) {
            $config['use'] = $name;
        }

        return $config;
    }
350501
public function getConfig(string $name)
	{
		if (isset($this->store[$name])) {
			return $this->store[$name];
		}
		return null;
	}
614655
final public function getConfig($name = '')
    {
        static $_config = [];
        if (empty($name)) {
            $name = $this->getName();
        }
        if (isset($_config[$name])) {
            return $_config[$name];
        }
        $map['name']   = $name;
        $map['status'] = 1;
        $config        = [];
        if (is_file($this->config_file)) {
            $temp_arr = include $this->config_file;
            foreach ($temp_arr as $key => $value) {
                if ($value['type'] == 'group') {
                    foreach ($value['options'] as $gkey => $gvalue) {
                        foreach ($gvalue['options'] as $ikey => $ivalue) {
                            $config[$ikey] = $ivalue['value'];
                        }
                    }
                } else {
                    $config[$key] = $temp_arr[$key]['value'];
                }
            }
            unset($temp_arr);
        }
        $_config[$name] = $config;

        return $config;
    }
1082610
public function get($name)
    {
        $controlValue = $this->getControlValue($name);

        $value = $controlValue;

        switch ($controlValue) {
            case null:
                // break intentionally omitted
            case self::WURFL_CONTROL_DEFAULT:
                // The value is null if it is not in the loaded WURFL, it's default if it is loaded and not overridden
                // The control capability was not used, use the \Wurfl\VirtualCapability\VirtualCapability provider
                $value = $this->getObject($name)->getValue();
                break;
            case 'force_true':
                $value = true;
                break;
            case 'force_false':
                $value = false;
                break;
            default:
                // nothing to do here
                break;
        }

        // Use the control value from WURFL
        return $value;
    }
589458
public function getConfig(string $name = null)
    {
        return (null !== $name)
            ? $this->_config->get($name)
            : $this->_config;
    }
1279059
public static function get(String $configName, String $name) : String
    {
        $config = Config::default('ZN\Services\CDNDefaultConfiguration')
                        ::get('CDNLinks');

        $configData = ! empty($config[$configName]) ? $config[$configName] : '';

        if( empty($configData) )
        {
            return false;
        }

        $data = array_change_key_case($configData);
        $name = strtolower($name);

        if( isset($data[$name]) )
        {
            return $data[$name];
        }
        else
        {
            return $data;
        }
    }
1250251
public function has(string $name) : bool
    {
        try {
            $result = $this->configCommand($name);
        } catch (RuntimeException $exception) {
            return false;
        }

        return $result->isSuccessful();
    }
237763
public function getCustomConfig($name = '')
    {
        $custom_config = $this->getConfigByName('custom');
        return $name ? ($custom_config[$name] ?? null) : $custom_config;
    }
805156
public static function get(string $name)
    {
        return (isset($_GET[$name]) && $_GET[$name] != '') ? $_GET[$name] : '';
    }
865253
public function get($name)
    {
        $control_value = $this->getControlValue($name);
        
        // The value is null if it is not in the loaded WURFL, it's default if it is loaded and not overridden
        if ($control_value === null || $control_value == self::WURFL_CONTROL_DEFAULT) {
            // The control capability was not used, use the WURFL_VirtualCapability provider
            return $this->getObject($name)->getValue();
        }
        
        // Forced capabilities
        if ($control_value === 'force_true') {
            return true;
        }
        if ($control_value === 'force_false') {
            return false;
        }
        
        // Use the control value from WURFL
        return $control_value;
    }
120631
public static function getDescriptionByName($name)
    {
        $key = strtoupper($name);
        if (isset(self::$availableNameList[$key])) {
            return self::$availableNameList[$key];
        } else {
            return false;
        }
    }
1055872
public function getAttribStr($name)
	{
		$value = $this->attributes[$name];
		if ($value === null || $value === false || $name === null) {
			return '';
		}
		if ($value === true) {
			if ($this->element) {
				$class = get_class($this->element);
				if ($class::HTML_MODE) {
					return ' ' . $name;
				}
			}
			$value = $name;
		}
		return ' ' . $name . '="' . $value . '"';
	}
721335
public static function has(string $name)
    {
        $names = Imi::parseDotRule($name);
        if (isset($names[0]))
        {
            $first = array_shift($names);
            if(isset(static::$configs[$first]))
            {
                return null !== static::$configs[$first]->get($names, null);
            }
            else
            {
                return false;
            }
        }
        else
        {
            return false;
        }
    }
1232768
public function get($name, $default = null)
    {
        return $this->has($name) ? (@$this->data[$name] ?: $this->data["wyswyg_$name"]) : $default;
    }
1268043
public function getByName($name) {
        $templates = $this->listAll();
        if (empty($templates['user']))
            return false;
        foreach ($templates['user'] as $template) {
            if ($template['name'] === $name) {
                return $template['id'];
            }
        }
        return false;
    }
396919
protected function _get($name)
    {
        $config = $this->option($name);
        list($key, $extra) = $this->_splitOptionName($name);

        if ($extra === '' && $config['group']) {
            $result = [];
            if (!isset($this->_values[$key])) {
                return $result;
            }
            foreach ($this->_values[$key] as $extra => $value) {
                $result[$extra] = $this->_get($name . ':' . $extra);
            }
            return $result;
        } else {
            $value = isset($this->_values[$key][$extra]) ? $this->_values[$key][$extra] : $config['default'];
        }

        $casted = $this->cast($value, $config['type'], $config['array']);
        if (!isset($config['value'])) {
            return $casted;
        }
        if (is_callable($config['value'])) {
            return array_key_exists($key, $this->_values) ? $config['value']($casted, $name, $this) : $casted;
        }
        return $config['value'];
    }