src/Config/Config.php
protected function getSettingsByGroup($group)
    {
        $result = array();
        foreach ($this->getKeyInfo() as $key => $keyInfo) {
            if ($keyInfo['group'] === $group) {
                $result[$key] = $this->get($key);
            }
        }
        return $result;
    }
protected function getSettingsByGroup($group)
    {
        $result = array();
        foreach ($this->getKeyInfo() as $key => $keyInfo) {
            if ($keyInfo['group'] === $group) {
                $result[$key] = $this->get($key);
            }
        }
        return $result;
    }
protected function getSettingsByGroup ( $ group ) { $ result = array ( ) ; foreach ( $ this -> getKeyInfo ( ) as $ key => $ keyInfo ) { if ( $ keyInfo [ 'group' ] === $ group ) { $ result [ $ key ] = $ this -> get ( $ key ) ; } } return $ result ; }
Get all settings belonging to the same group.

@param string $group

@return array
An array of settings.
Get all settings belonging to the same group .