\DtApp\ThinkLibrary\helperXmls

XML管理类

Summary

Methods
Properties
Constants
toXml()
toArray()
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

toXml()

toXml(array  $values) : string

数组转换为xml

Parameters

array $values

数组

Throws

\DtApp\ThinkLibrary\exception\DtaException

Returns

string

toArray()

toArray(string  $xml) : mixed

将XML转为array

Parameters

string $xml

Throws

\DtApp\ThinkLibrary\exception\DtaException

Returns

mixed