protected function _getConfigValue( array $keys, $default = null )
	{
		$srvconfig = $this->getServiceItem()->getConfig();

		foreach( $keys as $key )
		{
			if( isset( $srvconfig[$key] ) ) {
				return $srvconfig[$key];
			}

			if( isset( $this->_beGlobalConfig[$key] ) ) {
				return $this->_beGlobalConfig[$key];
			}
		}

		return $default;
	}
protected function _getConfigValue( array $keys, $default = null )
	{
		$srvconfig = $this->getServiceItem()->getConfig();

		foreach( $keys as $key )
		{
			if( isset( $srvconfig[$key] ) ) {
				return $srvconfig[$key];
			}

			if( isset( $this->_beGlobalConfig[$key] ) ) {
				return $this->_beGlobalConfig[$key];
			}
		}

		return $default;
	}
protected function _getConfigValue ( array $ keys , $ default = null ) { $ srvconfig = $ this -> getServiceItem ( ) -> getConfig ( ) ; foreach ( $ keys as $ key ) { if ( isset ( $ srvconfig [ $ key ] ) ) { return $ srvconfig [ $ key ] ; } if ( isset ( $ this -> _beGlobalConfig [ $ key ] ) ) { return $ this -> _beGlobalConfig [ $ key ] ; } } return $ default ; }
Returns the configuration value that matches one of the given keys.

The config of the service item and (optionally) the global config
is tested in the order of the keys. The first one that matches will
be returned.

@param array $keys List of key names that should be tested for in the order to test
@param string $default Returned value if the key wasn't was found
@return mixed Value of the first key that matches or null if none was found
Returns the configuration value that matches one of the given keys .