public function saveSettings($settings)
    {
        if (isset($settings['name']) && isset($this->config['servers'][$settings['name']])) {
            return $this->saveConfig(array_merge($this->config['servers'][$settings['name']], $settings));
        }
    }
public function saveSettings($settings)
    {
        if (isset($settings['name']) && isset($this->config['servers'][$settings['name']])) {
            return $this->saveConfig(array_merge($this->config['servers'][$settings['name']], $settings));
        }
    }
public function saveSettings ( $ settings ) { if ( isset ( $ settings [ 'name' ] ) && isset ( $ this -> config [ 'servers' ] [ $ settings [ 'name' ] ] ) ) { return $ this -> saveConfig ( array_merge ( $ this -> config [ 'servers' ] [ $ settings [ 'name' ] ] , $ settings ) ) ; } }
Save the LDAP mapping settings.

@param $settings The settings array containing mapping

@return bool
Save the LDAP mapping settings .