You are here

public function MigrateListJSON::__construct in Migrate 7.2

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

Overrides MigrateList::__construct

File

plugins/sources/json.inc, line 23
Support for migration from JSON sources.

Class

MigrateListJSON
Implementation of MigrateList, for retrieving a list of IDs to be migrated from a JSON object.

Code

public function __construct($list_url, $http_options = array()) {
  parent::__construct();
  $this->listUrl = $list_url;
  $this->httpOptions = $http_options;
}