\com\bmj\jnp\plugins\jnp_highwireHighWire

Base class.

Summary

Methods
Properties
Constants
init()
getXml()
getXmlErrors()
LogXmlErrors()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

init()

init() 

Initialise.

getXml()

getXml(  $url,   $class,   $preprocess = null) : \SimpleXML

Load XML from URL.

Parameters

$url

URL.

$class

Class for parsing; must extend SimpleXML.

$preprocess

Function to pre-process the raw XML.

Throws

\com\bmj\jnp\plugins\jnp_highwire\HighWireFileGetContentsException
\com\bmj\jnp\plugins\jnp_highwire\HighWireSimpleXmlException

Returns

\SimpleXML

getXmlErrors()

getXmlErrors() 

Get XML parsing errors.

LogXmlErrors()

LogXmlErrors() 

Log XML errors