public function getConfigValue($name)
    {
        $config = $this->getConfig();

        $path = explode('.', (string)$name);
        foreach ($path as $entry) {
            if (isset($config[$entry])) {
                $config =& $config[$entry];
            } else {
                return null;
            }
        }

        return $config;
    }
public function getConfigValue($name)
    {
        $config = $this->getConfig();

        $path = explode('.', (string)$name);
        foreach ($path as $entry) {
            if (isset($config[$entry])) {
                $config =& $config[$entry];
            } else {
                return null;
            }
        }

        return $config;
    }
public function getConfigValue ( $ name ) { $ config = $ this -> getConfig ( ) ; $ path = explode ( '.' , ( string ) $ name ) ; foreach ( $ path as $ entry ) { if ( isset ( $ config [ $ entry ] ) ) { $ config = & $ config [ $ entry ] ; } else { return null ; } } return $ config ; }
Returns the value of a config entry.
The name can be a namespace, each name being separated by a dot, like: 'itemCaching.enabled'
@param string $name
@return mixed
Returns the value of a config entry . The name can be a namespace each name being separated by a dot like : itemCaching . enabled