PHP 클래스 Jackalope\NodeType\NodeTypeXmlConverter

파일 보기 프로젝트 열기: jackalope/jackalope 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Jackalope\FactoryInterface $factory ) Empty constructor.
getItemDefinitionFromXml ( DOMElement $node ) : array
getNodeDefinitionFromXml ( DOMElement $node ) : array Convert Node Definition XML into array.
getNodeTypeDefinitionFromXml ( DOMElement $node ) : array Convert NodeTypeDefinition XML into array.
getNodeTypesFromXml ( DOMDocument $dom )
getPropertyDefinitionFromXml ( DOMElement $node ) : array Convert property definition xml into array.

메소드 상세

__construct() 공개 메소드

Everything inside jackalope has to accept the factory in the constructor. We define the constructor but do nothing at all.
public __construct ( Jackalope\FactoryInterface $factory )
$factory Jackalope\FactoryInterface the object factory

getItemDefinitionFromXml() 공개 메소드

public getItemDefinitionFromXml ( DOMElement $node ) : array
$node DOMElement
리턴 array

getNodeDefinitionFromXml() 공개 메소드

Convert Node Definition XML into array.
public getNodeDefinitionFromXml ( DOMElement $node ) : array
$node DOMElement
리턴 array

getNodeTypeDefinitionFromXml() 공개 메소드

Convert NodeTypeDefinition XML into array.
public getNodeTypeDefinitionFromXml ( DOMElement $node ) : array
$node DOMElement
리턴 array

getNodeTypesFromXml() 공개 메소드

public getNodeTypesFromXml ( DOMDocument $dom )
$dom DOMDocument

getPropertyDefinitionFromXml() 공개 메소드

Convert property definition xml into array.
public getPropertyDefinitionFromXml ( DOMElement $node ) : array
$node DOMElement
리턴 array