TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
DocbookGeneratorService Class Reference
Inheritance diagram for DocbookGeneratorService:
DocbookGenerator AbstractGenerator

Public Member Functions

 userFunc ()
 
- Public Member Functions inherited from DocbookGenerator
 generateDocbook ($namespace)
 
- Public Member Functions inherited from AbstractGenerator
 __construct ()
 

Protected Member Functions

 getClassNamesInNamespace ($namespace)
 
- Protected Member Functions inherited from DocbookGenerator
 generateXmlForClassName ($className, $namespace,\SimpleXMLElement $xmlRootNode)
 
 addArguments ($className,\SimpleXMLElement $docbookSection)
 
 instanciateViewHelper ($className)
 
 addDocumentation ($documentation,\SimpleXMLElement $docbookSection)
 
 addText ($text,\SimpleXMLElement $parentElement)
 
- Protected Member Functions inherited from AbstractGenerator
 getClassNamesInNamespace ($namespace)
 
 getTagNameForClass ($className, $namespace)
 
 addChildWithCData (\SimpleXMLElement $parentXmlNode, $childNodeName, $childNodeValue)
 

Protected Attributes

 $objectManager
 

Private Member Functions

 recursiveClassNameSearch ($namespace, $directory, &$classNames)
 

Detailed Description

Class extending the docbook generator service for use in typo3 v4.

Usage in TypoScript:

config.disableAllHeaderCode = 1 page = PAGE page.10 = USER_INT page.10.userFunc = ->userFunc

Definition at line 29 of file DocbookGeneratorService.php.

Member Function Documentation

getClassNamesInNamespace (   $namespace)
protected

Get class names within namespace

Parameters
string$namespace
Returns
array

Definition at line 56 of file DocbookGeneratorService.php.

References DocbookGeneratorService\recursiveClassNameSearch().

recursiveClassNameSearch (   $namespace,
  $directory,
$classNames 
)
private

Search recursivly class names within namespace

Parameters
string$namespace
string$directory
array$classNames
Returns
void

Definition at line 77 of file DocbookGeneratorService.php.

References elseif.

Referenced by DocbookGeneratorService\getClassNamesInNamespace().

userFunc ( )

User function

Returns
string

Definition at line 42 of file DocbookGeneratorService.php.

References DocbookGenerator\generateDocbook().

Member Data Documentation

$objectManager
protected

Definition at line 35 of file DocbookGeneratorService.php.