ScalableVectorGraphicsContentObject extends AbstractContentObject
Contains SVG content object.
Table of Contents
Properties
- $cObj : ContentObjectRenderer|null
- $pageRenderer : PageRenderer|null
- $request : ServerRequestInterface
- Always set via setRequest() by ContentObjectFactory after instantiation
Methods
- getContentObjectRenderer() : ContentObjectRenderer
- render() : string
- Rendering the cObject, SVG
- setContentObjectRenderer() : void
- setRequest() : void
- getDimensions() : array<string|int, mixed>
- getPageRenderer() : PageRenderer
- getPageRepository() : PageRepository
- getTypoScriptFrontendController() : TypoScriptFrontendController
- hasTypoScriptFrontendController() : bool
- renderInline() : string
- renderObject() : string
- Render the SVG as <object> tag
- resolveAbsoluteSourcePath() : string
Properties
$cObj
protected
ContentObjectRenderer|null
$cObj
= null
$pageRenderer
protected
PageRenderer|null
$pageRenderer
= null
$request
Always set via setRequest() by ContentObjectFactory after instantiation
protected
ServerRequestInterface
$request
Methods
getContentObjectRenderer()
public
getContentObjectRenderer() : ContentObjectRenderer
Return values
ContentObjectRendererrender()
Rendering the cObject, SVG
public
render([array<string|int, mixed> $conf = [] ]) : string
Parameters
- $conf : array<string|int, mixed> = []
-
Array of TypoScript properties
Return values
stringsetContentObjectRenderer()
public
setContentObjectRenderer(ContentObjectRenderer $cObj) : void
Parameters
- $cObj : ContentObjectRenderer
setRequest()
public
setRequest(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
getDimensions()
protected
getDimensions(array<string|int, mixed> $conf) : array<string|int, mixed>
Parameters
- $conf : array<string|int, mixed>
Return values
array<string|int, mixed>getPageRenderer()
protected
getPageRenderer() : PageRenderer
Return values
PageRenderergetPageRepository()
protected
getPageRepository() : PageRepository
Return values
PageRepositorygetTypoScriptFrontendController()
protected
getTypoScriptFrontendController() : TypoScriptFrontendController
Tags
Return values
TypoScriptFrontendControllerhasTypoScriptFrontendController()
protected
hasTypoScriptFrontendController() : bool
Return values
boolrenderInline()
protected
renderInline(array<string|int, mixed> $conf) : string
Parameters
- $conf : array<string|int, mixed>
Return values
stringrenderObject()
Render the SVG as <object> tag
protected
renderObject(array<string|int, mixed> $conf) : string
Parameters
- $conf : array<string|int, mixed>
Return values
stringresolveAbsoluteSourcePath()
protected
resolveAbsoluteSourcePath(array<string|int, mixed> $conf) : string
Parameters
- $conf : array<string|int, mixed>