-
Quick start
-
The basics
-
Helper classes
- Benchmark Class
- Cache Class
- Captcha Class
- cURL Class
- Database Class
- Date Class
- Errors Class
- FileSystem Class
- FTP Class
- Images Class
- Language Class
- Logger Class
- Number Class
- PayPal Class
- PHPMailer Class
- Plugins Class
- RestClient Class
- Security Class
- Template Class
- Text Class
- URL Class
- XML Class
- ZIP Class
XML class
The following sections explain each method of the class.
loadXML
public static void loadXML ( string $xml)
Loads the passed XML in the XML class for further processing.
Parameter list
xml
The transferred content can be an XML, a path to a local XML file or a URL to an XML file.
toArray
public static array toArray ( )
Converts the loaded XML into an array and then returns it.
toObject
public static object toObject ( )
Converts the loaded XML into an object and returns it then.
getSimpleXML
public static SimpleXMLElement getSimpleXML ( )
Converts the loaded XML into a SimpleXMLElement and returns it then.