PHP 클래스 Neos\FluidAdaptor\Service\XsdGenerator

상속: extends AbstractGenerator
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface

공개 메소드들

메소드 설명
generateXsd ( string $viewHelperNamespace, string $xsdNamespace ) : string Generate the XML Schema definition for a given namespace.

보호된 메소드들

메소드 설명
addAttributes ( string $className, SimpleXMLElement $xsdElement ) : void Add attribute descriptions to a given tag.
addDocumentation ( string $documentation, SimpleXMLElement $xsdParentNode ) : void Add documentation XSD to a given XML node
generateXmlForClassName ( string $className, string $viewHelperNamespace, SimpleXMLElement $xmlRootNode ) : void Generate the XML Schema for a given class name.

메소드 상세

addAttributes() 보호된 메소드

Initializes the view helper and its arguments, and then reads out the list of arguments.
protected addAttributes ( string $className, SimpleXMLElement $xsdElement ) : void
$className string Class name where to add the attribute descriptions
$xsdElement SimpleXMLElement XML element to add the attributes to.
리턴 void

addDocumentation() 보호된 메소드

Add documentation XSD to a given XML node
protected addDocumentation ( string $documentation, SimpleXMLElement $xsdParentNode ) : void
$documentation string Documentation string to add.
$xsdParentNode SimpleXMLElement Node to add the documentation to
리턴 void

generateXmlForClassName() 보호된 메소드

Generate the XML Schema for a given class name.
protected generateXmlForClassName ( string $className, string $viewHelperNamespace, SimpleXMLElement $xmlRootNode ) : void
$className string Class name to generate the schema for.
$viewHelperNamespace string Namespace prefix. Used to split off the first parts of the class name.
$xmlRootNode SimpleXMLElement XML root node where the xsd:element is appended.
리턴 void

generateXsd() 공개 메소드

It will generate an XSD file for all view helpers in this namespace.
public generateXsd ( string $viewHelperNamespace, string $xsdNamespace ) : string
$viewHelperNamespace string Namespace identifier to generate the XSD for, without leading Backslash.
$xsdNamespace string $xsdNamespace unique target namespace used in the XSD schema (for example "http://yourdomain.org/ns/viewhelpers")
리턴 string XML Schema definition

프로퍼티 상세

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface