Function CMS_simple_xml_reader->__construct

Definitions

sources/xml.php

  • Constructs the XML reader: parses the given data. Check $gleamed and $error after constructing.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$xml_data string No No required parameter N/A N/A The XML data

Preview

Code (PHP)

/**
 * Constructs the XML reader: parses the given data. Check $gleamed and $error after constructing.
 *
 * @param  string $xml_data The XML data
 */

public function __construct(string $xml_data)