You are here

public function MigrateItemJSON::__construct in Migrate 6.2

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

Overrides MigrateItem::__construct

File

plugins/sources/json.inc, line 117
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) {
  parent::__construct();
  $this->itemUrl = $item_url;
  $this->httpOptions = $http_options;
}