You are here

public function MigrateSourceOracle::__construct in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/oracle.inc \MigrateSourceOracle::__construct()

Simple initialization.

Overrides MigrateSource::__construct

File

plugins/sources/oracle.inc, line 69
Define a MigrateSource class for importing from Oracle databases.

Class

MigrateSourceOracle
Implementation of MigrateSource, to handle imports from remote Oracle servers.

Code

public function __construct(array $configuration, $query, $count_query, array $fields, array $options = array()) {
  parent::__construct($options);
  $this->query = $query;
  $this->countQuery = $count_query;
  $this->configuration = $configuration;
  $this->fields = $fields;
  if (empty($options['character_set'])) {
    $this->characterSet = 'UTF8';
  }
  else {
    $this->characterSet = $options['character_set'];
  }
}