Open Source Content Management System

midgard_replicator method import_from_xml

  1. Examples

Imports data from xml content.

void import_from_xml(string xml);

Minimum version: 1.8.1

This method takes one parameter:

  • xml, valid xml content

You should use:

Examples

$xml = file_get_contents("exported.xml");
midgard_replicator::import_from_xml($xml);

PHP midgard_replicator

Designed by Nemein, hosted by Anykey