You are here

function emfield_retrieve_xml in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6.2 emfield.module \emfield_retrieve_xml()

A wrapper around simplexml to retrieve a given XML file.

Parameters

$url: The URL to the XML to retrieve. @param $display_errors Optional; if TRUE, then we'll display errors to the end user. They'll be logged to the watchdog in any case. @param $refresh Optional; if TRUE, then we'll force a new load of the XML. Otherwise, a cached version will be retrieved if possible. @return A fully populated object, or FALSE on an error.

File

deprecated/emfield-deprecated.inc, line 808
Functionality to be deprecated from earlier versions of Embedded Media Field.

Code

function emfield_retrieve_xml($url, $display_errors = FALSE, $refresh = FALSE) {
  return emapi_retrieve_xml($url, $display_errors, $refresh);
}