array2data()
array2data(array $array, $root_node = 'array', $prefix = '') : string
Make XML out of an array.
Parameters
array | $array | |
$root_node | ||
$prefix |
Move midgard objects to and from XML
array2object(array $data, \midcom_core_dbaobject $object) : object
Take data from array and move it into an object
array | $data | |
\midcom_core_dbaobject | $object |
the updated object (not saved)
data2object(array $data, \midcom_core_dbaobject $object)
array | $data | |
\midcom_core_dbaobject | $object |
object2data(\midcom_core_dbaobject $object, $prefix = '') : string
Make XML out of an object.
\midcom_core_dbaobject | $object | |
$prefix |