Solar_Struct_Xml::load()

public void Solar_Struct_Xml::load ( string|array|Solar_Struct|SimpleXMLElement|DOMNode $spec )

Loads this object with XML data, replacing any existing XML in the object.

Parameters

  • (string|array|Solar_Struct|SimpleXMLElement|DOMNode) $spec: Load with data from the specified source.

Returns

  • (void)

Description

Loads this object with XML data, replacing any existing XML in the object.

Note that this behavior is different from the parent Solar_Struct, where subsequent load() calls merge the data instead of overwriting.



Local