PageRenderer
extends BaseTypeRenderer
in package
FinalYes
Renders every parsed document as a standalone HTML page (format: "page").
Activate this renderer by setting output-format="page" (or adding page to
the output_format list) in your guides.xml, and by registering
PagesExtension as an
extension in the same file.
Because the page format uses the standard node-renderer pipeline inherited from
BaseTypeRenderer, any Node type that has a template registered for the
"page" format (via guides.xml <template> entries or through
PagesExtension::prepend())
will be rendered automatically.
Table of Contents
Properties
- $commandBus : CommandBus
Methods
- __construct() : mixed
- render() : void
Properties
$commandBus read-only
protected
CommandBus
$commandBus
Methods
__construct()
public
__construct(CommandBus $commandBus) : mixed
Parameters
- $commandBus : CommandBus
render()
public
render(RenderCommand $renderCommand) : void
Parameters
- $renderCommand : RenderCommand