$logger
$logger : \Monolog\Logger
XSL transformation writer; generates static HTML out of the structure and XSL templates.
$routers : \phpDocumentor\Transformer\Router\Queue
checkRequirements() : void
Checks whether XSL handling is enabled with PHP as that is not enabled by default.
To enable XSL handling you need either the xsl extension or the xslcache extension installed.
if neither xsl extensions are installed.
transform(\phpDocumentor\Descriptor\ProjectDescriptor $project, \phpDocumentor\Transformer\Transformation $transformation) : void
This method combines the structure.xml and the given target template and creates a static html page at the artifact location.
\phpDocumentor\Descriptor\ProjectDescriptor | $project | Document containing the structure. |
\phpDocumentor\Transformer\Transformation | $transformation | Transformation to execute. |
if the structure.xml file could not be found.
if the structure.xml file's documentRoot could not be read because of encoding issues or because it was absent.
setRouters(\phpDocumentor\Transformer\Router\Queue $routers) : void
Sets the routers that can be used to determine the path of links.
\phpDocumentor\Transformer\Router\Queue | $routers |
setProcessorParameters(\phpDocumentor\Transformer\Transformation $transformation, \XSLTProcessor $proc) : void
Sets the parameters of the XSLT processor.
\phpDocumentor\Transformer\Transformation | $transformation | Transformation. |
\XSLTProcessor | $proc | XSLTProcessor. |
getXslProcessor(\phpDocumentor\Transformer\Transformation $transformation) : \XSLTCache|\XSLTProcessor
\phpDocumentor\Transformer\Transformation | $transformation |
registerDefaultVariables(\phpDocumentor\Transformer\Transformation $transformation, $proc, $structure)
\phpDocumentor\Transformer\Transformation | $transformation | |
$proc | ||
$structure |
getAstPath(\phpDocumentor\Transformer\Transformation $transformation) : string
\phpDocumentor\Transformer\Transformation | $transformation |
getArtifactPath(\phpDocumentor\Transformer\Transformation $transformation) : string|null
Returns the path to the location where the artifact should be written, or null to automatically detect the location using the router.
\phpDocumentor\Transformer\Transformation | $transformation |
generateUrlForXmlElement(\phpDocumentor\Descriptor\ProjectDescriptor $project, $element) : false|string
\phpDocumentor\Descriptor\ProjectDescriptor | $project | |
$element |