프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
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 |
protected addDocumentation ( string $documentation, SimpleXMLElement $xsdParentNode ) : void | ||
$documentation | string | Documentation string to add. |
$xsdParentNode | SimpleXMLElement | Node to add the documentation to |
리턴 | void |
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 |
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 |