\GingerXMLSerializer

XMLSerializer handling class

Summary

Methods
Properties
Constants
generateValidXmlFromObj()
generateValidXmlFromArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
generateXmlFromArray()
No private properties found
N/A

Methods

generateValidXmlFromObj()

generateValidXmlFromObj(\Ginger\stdClass $obj, string $node_block, string $node_name) : string

Generate xml from object

Parameters

\Ginger\stdClass $obj
string $node_block
string $node_name

Returns

string

generateValidXmlFromArray()

generateValidXmlFromArray(array $array, string $node_block, string $node_name) : string

Generate valid xml from array

Parameters

array $array
string $node_block
string $node_name

Returns

string

generateXmlFromArray()

generateXmlFromArray(array $array, string $node_name) : string

Generate XML from array

Parameters

array $array
string $node_name

Returns

string