Method | Description | |
---|---|---|
load ( mixed $source, string $contentType, array | Traversable | Options $options = [] ) : |
Load the json string into an DOMDocument | |
loadFragment ( string $source, string $contentType, array | Traversable | Options $options = [] ) : |
Method | Description | |
---|---|---|
transferTo ( DOMNode $node, mixed $json ) |
Method | Description | |
---|---|---|
getJson ( mixed $source, string $contentType ) : mixed | ||
getNamespaceForNode ( string $nodeName, stdClass $properties, DOMNode $parent ) : string | ||
getNamespacePropertyName ( string $prefix ) : string | Get the property name for a namespace prefix | |
getValueAsString ( mixed $value ) : string |
public loadFragment ( string $source, string $contentType, array | Traversable | Options $options = [] ) : |
||
$source | string | |
$contentType | string | |
$options | array | Traversable | Options | |
return |
abstract protected transferTo ( DOMNode $node, mixed $json ) | ||
$node | DOMNode | |
$json | mixed |