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

$request

Always set via setRequest() by ContentObjectFactory after instantiation

protected ServerRequestInterface $request

Methods

render()

Rendering the cObject, SVG

public render([array<string|int, mixed> $conf = [] ]) : string
Parameters
$conf : array<string|int, mixed> = []

Array of TypoScript properties

Return values
string

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>

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool
Return values
bool

renderInline()

protected renderInline(array<string|int, mixed> $conf) : string
Parameters
$conf : array<string|int, mixed>
Return values
string

renderObject()

Render the SVG as <object> tag

protected renderObject(array<string|int, mixed> $conf) : string
Parameters
$conf : array<string|int, mixed>
Return values
string

resolveAbsoluteSourcePath()

protected resolveAbsoluteSourcePath(array<string|int, mixed> $conf) : string
Parameters
$conf : array<string|int, mixed>
Return values
string

        
On this page

Search results