src/wcmf/lib/model/mapper/impl/AbstractRDBMapper.php
public function setConnectionParams($params) {
    $this->connectionParams = $params;
    if (isset($this->connectionParams['dbPrefix'])) {
      $this->dbPrefix = $this->connectionParams['dbPrefix'];
    }
  }
public function setConnectionParams($params) {
    $this->connectionParams = $params;
    if (isset($this->connectionParams['dbPrefix'])) {
      $this->dbPrefix = $this->connectionParams['dbPrefix'];
    }
  }
public function setConnectionParams ( $ params ) { $ this -> connectionParams = $ params ; if ( isset ( $ this -> connectionParams [ 'dbPrefix' ] ) ) { $ this -> dbPrefix = $ this -> connectionParams [ 'dbPrefix' ] ; } }
Set the connection parameters.
@param $params Initialization data given in an associative array with the following keys:
dbType, dbHostName, dbUserName, dbPassword, dbName
if dbPrefix is given it will be appended to every table string, which is
useful if different applications operate on the same database
Set the connection parameters .