The ORDER class provides the functioanallity to create a XML, which is validatable with the MDXI.xsd
| author | mPAY24 GmbH <support@mpay24.com> |
|---|---|
| version | $Id: orderXML.php 5477 2013-06-18 13:00:17Z anna $ |
| filesource | orderXML.php |
| license | http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1 |
ORDER(\DOMNode $doc = null, \DOMNode $node = null)
\DOMNodeThe root DOMNode of an XML tree
\DOMNodeThe child DOMNode
__call(string $method, array $args)
stringThe name of the method, which is called for the Item-Object
arrayThe arguments with them the method is called - minOccurance = 0, maxOccurance = 2: The first argument must be a positive integer (will be used as a index) The second argument is optional and would be used as value for the DOMNode
__get(string $name)
stringThe name of the method, which is called for the Item-Object
__set(string $name, mixed $value)
stringThe name of the Node you want to set
mixedThe value of the Node you want to set
toXML()
validate()
xmlencode(string $txt)
stringA string to be encoded
olderThanOneWeek(string $filename)
stringThe path to the file (MDXI.xsd)
doc
node