Property | Type | Description | |
---|---|---|---|
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface |
Method | Description | |
---|---|---|
generateXsd ( string $viewHelperNamespace, string $xsdNamespace ) : string | Generate the XML Schema definition for a given namespace. |
Method | Description | |
---|---|---|
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. |
return | void |
protected addDocumentation ( string $documentation, SimpleXMLElement $xsdParentNode ) : void | ||
$documentation | string | Documentation string to add. |
$xsdParentNode | SimpleXMLElement | Node to add the documentation to |
return | 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. |
return | 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") |
return | string | XML Schema definition |