JsonSimpleXMLElementDecorator
class JsonSimpleXMLElementDecorator implements JsonSerializable (View source)
Class JsonSimpleXMLElementDecorator
Constants
DEF_DEPTH |
|
Methods
__construct(SimpleXMLElement $element, $useAttributes = TRUE, $useText = TRUE, $depth = self::DEF_DEPTH)
No description
useAttributes($bool)
No description
useText($bool)
No description
setDepth($depth)
No description
mixed
jsonSerialize()
Specify data which should be serialized to JSON
Details
__construct(SimpleXMLElement $element, $useAttributes = TRUE, $useText = TRUE, $depth = self::DEF_DEPTH)
No description
useAttributes($bool)
No description
useText($bool)
No description
setDepth($depth)
No description
mixed
jsonSerialize()
Specify data which should be serialized to JSON