public function FeedsImporter::load in Feeds 6
Same name and namespace in other branches
- 7.2 includes/FeedsImporter.inc \FeedsImporter::load()
- 7 includes/FeedsImporter.inc \FeedsImporter::load()
Load configuration and unpack.
1 call to FeedsImporter::load()
- FeedsImporter::__construct in includes/
FeedsImporter.inc - Instantiate class variables, initialize and configure plugins.
File
- includes/
FeedsImporter.inc, line 125 - FeedsImporter class and related.
Class
- FeedsImporter
- A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.
Code
public function load() {
ctools_include('export');
if ($config = ctools_export_load_object('feeds_importer', 'conditions', array(
'id' => $this->id,
))) {
$config = array_shift($config);
$this->export_type = $config->export_type;
$this->disabled = isset($config->disabled) ? $config->disabled : FALSE;
$this->config = $config->config;
return TRUE;
}
return FALSE;
}