메소드 | 설명 | |
---|---|---|
__construct ( DOMDocument $document ) | Import a DOM document and use the JsonDOM rules to convert it into JSONx. | |
__toString ( ) : string | Create a JSONX document and return it as xml string | |
addNode ( |
||
getDocument ( ) : |
Create and return a JSONx document. |
메소드 | 설명 | |
---|---|---|
appendChildNodes ( DOMElement $target, DOMElement $source, boolean $addNameAttribute = FALSE ) | ||
getType ( DOMElement $node ) : string |
public __construct ( DOMDocument $document ) | ||
$document | DOMDocument |
public __toString ( ) : string | ||
리턴 | string |
public getDocument ( ) : |
||
리턴 |