You are here

public function MigrateItemJSON::__construct in Migrate 7.2

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

Overrides MigrateItem::__construct

File

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

Class

MigrateItemJSON
Implementation of MigrateItem, for retrieving a parsed JSON object given an ID provided by a MigrateList class.

Code

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