lib/components/dataInterface/DataSource.php
public function setSettings($settings)
    {
        if (is_null($this->_settings)) {
            $this->_settings = self::$defaultSettings;
        }
        if (!is_array($settings)) {
            return true;
        }
        $this->_settings = array_merge($this->_settings, $settings);

        return true;
    }
public function setSettings($settings)
    {
        if (is_null($this->_settings)) {
            $this->_settings = self::$defaultSettings;
        }
        if (!is_array($settings)) {
            return true;
        }
        $this->_settings = array_merge($this->_settings, $settings);

        return true;
    }
public function setSettings ( $ settings ) { if ( is_null ( $ this -> _settings ) ) { $ this -> _settings = self :: $ defaultSettings ; } if ( ! is_array ( $ settings ) ) { return true ; } $ this -> _settings = array_merge ( $ this -> _settings , $ settings ) ; return true ; }
Set settings.

@param [[@doctodo param_type:settings]] $settings [[@doctodo param_description:settings]]

@return [[@doctodo return_type:setSettings]] [[@doctodo return_description:setSettings]]
Set settings .