public function getCfgValue($key, $default = false)
    {
        return (isset($this->_cfgValues[$key]) && $this->_cfgValues[$key] != '') ? $this->_cfgValues[$key] : $default;
    }
public function getCfgValue($key, $default = false)
    {
        return (isset($this->_cfgValues[$key]) && $this->_cfgValues[$key] != '') ? $this->_cfgValues[$key] : $default;
    }
public function getCfgValue ( $ key , $ default = false ) { return ( isset ( $ this -> _cfgValues [ $ key ] ) && $ this -> _cfgValues [ $ key ] != '' ) ? $ this -> _cfgValues [ $ key ] : $ default ; }
Get cfg value.

If the key does not exist in the array, is an empty string or null the default value will be returned.

@param string $key The name of the key you want to retrieve
@param mixed  $default A default value that will be returned if the key isn't found or empty.
@return mixed
Get cfg value .