PHP 클래스 FluentDOM\Loader\Json\SimpleXML

상속: implements FluentDOM\Loadable, use trait FluentDOM\Loader\Supports\Json
파일 보기 프로젝트 열기: fluentdom/fluentdom

공개 메소드들

메소드 설명
getSupported ( ) : string[]
load ( mixed $source, string $contentType, array | Traversable | Options $options = [] ) : Document | Result | null Load the json string into an DOMDocument

보호된 메소드들

메소드 설명
transferChildTo ( DOMNode $node, string $name, mixed $data ) : array
transferTo ( DOMNode $node, mixed $json )

메소드 상세

getSupported() 공개 메소드

public getSupported ( ) : string[]
리턴 string[]

load() 공개 메소드

Load the json string into an DOMDocument
public load ( mixed $source, string $contentType, array | Traversable | Options $options = [] ) : Document | Result | null
$source mixed
$contentType string
$options array | Traversable | Options
리턴 FluentDOM\Document | FluentDOM\Loader\Result | null

transferChildTo() 보호된 메소드

protected transferChildTo ( DOMNode $node, string $name, mixed $data ) : array
$node DOMNode
$name string
$data mixed
리턴 array

transferTo() 보호된 메소드

protected transferTo ( DOMNode $node, mixed $json )
$node DOMNode
$json mixed