public function MigrateSource::__construct in Migrate 6.2
Same name and namespace in other branches
- 7.2 includes/source.inc \MigrateSource::__construct()
Class constructor.
Parameters
array $options: Optional array of options.
7 calls to MigrateSource::__construct()
- MigrateSourceCSV::__construct in plugins/
sources/ csv.inc - Simple initialization.
- MigrateSourceList::__construct in plugins/
sources/ list.inc - Simple initialization.
- MigrateSourceMSSQL::__construct in plugins/
sources/ mssql.inc - Simple initialization.
- MigrateSourceMultiItems::__construct in plugins/
sources/ multiitems.inc - Simple initialization.
- MigrateSourceOracle::__construct in plugins/
sources/ oracle.inc - Simple initialization.
7 methods override MigrateSource::__construct()
- MigrateSourceCSV::__construct in plugins/
sources/ csv.inc - Simple initialization.
- MigrateSourceList::__construct in plugins/
sources/ list.inc - Simple initialization.
- MigrateSourceMSSQL::__construct in plugins/
sources/ mssql.inc - Simple initialization.
- MigrateSourceMultiItems::__construct in plugins/
sources/ multiitems.inc - Simple initialization.
- MigrateSourceOracle::__construct in plugins/
sources/ oracle.inc - Simple initialization.
File
- includes/
source.inc, line 179 - Define base for migration sources.
Class
- MigrateSource
- Abstract base class for source handling.
Code
public function __construct($options = array()) {
if (!empty($options['cache_counts'])) {
$this->cacheCounts = TRUE;
}
if (!empty($options['skip_count'])) {
$this->skipCount = TRUE;
}
if (!empty($options['cache_key'])) {
$this->cacheKey = $options['cache_key'];
}
}