Returns all or a single module setting
@param string $module_id
@param null|string $key
@param mixed $default
@return mixed
178106
public function getModuleSettings($module_id, $key = null, $default = null)
    {
        return $this->module->getSettings($module_id, $key, $default);
    }
718822
public static function get($key, $default = null)
    {
        if (is_null($key)) {
            return $default;
        }

        return (isset($_GET[$key]) ? $_GET[$key] : $default);
    }
170090
public function get($module_id)
    {
        $modules = $this->getList();
        return empty($modules[$module_id]) ? array() : $modules[$module_id];
    }
426276
public function get($key = null, $default = null)
    {
        if ($key === null) {
            return $this->all();
        }

        return $this->getStackReference($this->storage, explode(self::SEPARATOR, $key), $default);
    }
58139
function(moduleId) {
		var visitedModules = {};
		var recurse = function(moduleId) {
			if (visitedModules[moduleId] == true) { return true; }
			visitedModules[moduleId] = true;
			var module = getModule(moduleId);
			if (!module || !module.defined) { return false; }
			else {
				var deps = module.deps || [];
				for (var i = deps.length; i--;) {
					if (!recurse(deps[i])) {
						return false;
					}
				}
				return true;
			}
		};
		return recurse(moduleId);
	}
269812
public function getFile($langcode = null, $module_id = '')
    {
        if (!isset($langcode)) {
            $langcode = $this->langcode;
        }

        if (empty($module_id)) {
            $directory = $this->getDirectory($langcode);
        } else {
            $directory = $this->getModuleDirectory($module_id);
        }

        return "$directory/$langcode.csv";
    }
1209080
public function getSettings($key, $default = null)
    {
        return Yii::$app->settings->get($key, $this->id, $default);
    }
557441
private function get($key, $default = null)
    {
        if ( ! empty($this->config[$key])) {
            return $this->config[$key];
        }

        if (function_exists('config')) {
            if (null !== (config($key))) {
                return config($key);
            }
        }
        
        return $default;
    }
1186876
public static function getParam($key, $defaultValue = null, $module = null)
    {
        if(null !== $module) {
            return self::getParam(strtolower($module) . '.' . $key, self::getParam($key, $defaultValue));
        }
        $param = self::getInstance()->get($key);
        return (null !== $param) ? $param : $defaultValue;
    }
1329953
public function get( $key, $post_id = null, $single = true, $default = '' ) {
		if ( ! isset( $post_id ) ) {
			$post_id = $this->get_post_id( true );
		}
		if ( $post_id <= 0 ) {
			return $this->apply_filters( 'get_post_meta', $default, $key, $post_id, $single, $default );
		}

		return $this->apply_filters( 'get_post_meta', get_post_meta( $post_id, $this->get_meta_key( $key ), $single ), $key, $post_id, $single, $default, $this->get_post_prefix() );
	}
1197458
public function get($key = null, $default = null, $set = false)
    {
        if (isset($this->_settings[$key])) {
            return $this->_settings[$key];
        }
        if ($set) {
            $this->set($key, $default);
        }
        return $default;
    }
364205
public function canUninstall($module_id)
    {
        if ($this->module->isActiveTheme($module_id)) {
            $error = $this->translation->text('Modules with "theme" type and active status cannot be disabled/uninstalled');
            throw new UnexpectedValueException($error);
        }

        if ($this->module->isLocked($module_id)) {
            throw new UnexpectedValueException($this->translation->text('Module is locked in code'));
        }

        return $this->checkDependentModules($module_id, $this->module->getList());
    }
759292
public function get_config($section, $key = '', $default = null) {
        if ($section === '' || !isset($this->data[$section])) {
            return null;
        }
        if ($key === '') {
            return $this->data[$section];
        }
        if (!isset($this->data[$section][$key])) {
            return $default;
        }
        return $this->data[$section][$key];
    }
508704
private function _getConfig(string $key, $default = null)
    {
        if (isset($this->_config[$key])) {
            return $this->_config[$key];
        }

        return $default;
    }
247634
public static function get($key = null, $default = null)
    {
        // 无参数时获取所有
        if (empty($key)) {
            return self::$_content;
        }

        $key = strtolower($key);
        return Cml::doteToArr($key, self::$_content['normal'], $default);
    }
1059315
public function get($key, $default = null, $package = null)
    {
        if ($package) {
            return $this->getForPackage($package, $key, $default);
        }
        return Arr::get($this->mainConfiguration, $key, $default);

    }
861963
public function get($key, $default_value = null, $index_name = null)
	{

		list($index_name_x, $key) = $this->normalizeAccessKey($key, $index_name);

		if (!empty($index_name_x)) {
			$index_name = $index_name_x;
		}

		if (array_key_exists($index_name, $this->items)) {
			return $this->evaluate($this->walkConfig($this->items[$index_name], $key, $default_value));
		} else {
			return $this->evaluate($default_value);
		}
	}