![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
Protected Member Functions | |
getClassNamesInNamespace ($namespace) | |
getTagNameForClass ($className, $namespace) | |
addChildWithCData (\SimpleXMLElement $parentXmlNode, $childNodeName, $childNodeValue) | |
Protected Attributes | |
$abstractViewHelperReflectionClass | |
$docCommentParser | |
$reflectionService | |
Common base class for XML generators.
Definition at line 17 of file AbstractGenerator.php.
__construct | ( | ) |
Constructor. Sets $this->abstractViewHelperReflectionClass
Definition at line 44 of file AbstractGenerator.php.
|
protected |
Add a child node to $parentXmlNode, and wrap the contents inside a CDATA section.
\SimpleXMLElement | $parentXmlNode | Parent XML Node to add the child to |
string | $childNodeName | Name of the child node |
string | $childNodeValue | Value of the child node. Will be placed inside CDATA. |
Definition at line 106 of file AbstractGenerator.php.
Referenced by DocbookGenerator\addText().
|
protected |
Get all class names inside this namespace and return them as array.
string | $namespace |
Definition at line 56 of file AbstractGenerator.php.
Referenced by DocbookGenerator\generateDocbook().
|
protected |
Get a tag name for a given ViewHelper class. Example: For the View Helper TYPO3, and the namespace prefix TYPO3\, this method returns "form.select".
string | $className | Class name |
string | $namespace | Base namespace to use |
Strip namespace from the beginning and "ViewHelper" from the end of the class name
Definition at line 82 of file AbstractGenerator.php.
References Fluid\NAMESPACE_SEPARATOR.
Referenced by DocbookGenerator\generateXmlForClassName().
|
protected |
Definition at line 24 of file AbstractGenerator.php.
|
protected |
Definition at line 32 of file AbstractGenerator.php.
|
protected |
Definition at line 38 of file AbstractGenerator.php.