protected static function saveExtraParams(array $data)
    {
        $final_data = array();
        if (count($data) > 0) {
            Logger::log('Saving extra configuration parameters');
            foreach ($data as $key => $value) {
                if (null !== $value || $value !== '') {
                    $final_data[$key] = $value;
                }
            }
        }
        return $final_data;
    }
protected static function saveExtraParams(array $data)
    {
        $final_data = array();
        if (count($data) > 0) {
            Logger::log('Saving extra configuration parameters');
            foreach ($data as $key => $value) {
                if (null !== $value || $value !== '') {
                    $final_data[$key] = $value;
                }
            }
        }
        return $final_data;
    }
protected static function saveExtraParams ( array $ data ) { $ final_data = array ( ) ; if ( count ( $ data ) > 0 ) { Logger :: log ( 'Saving extra configuration parameters' ) ; foreach ( $ data as $ key => $ value ) { if ( null !== $ value || $ value !== '' ) { $ final_data [ $ key ] = $ value ; } } } return $ final_data ; }
Method that saves the extra parameters into the configuration
@param array $data
@return array
Method that saves the extra parameters into the configuration