ScalableVectorGraphicsContentObject

class \TYPO3\CMS\Frontend\ContentObject\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
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 $conf = [] ]) : string

Parameters

$conf : array = []

Array of TypoScript properties

Return values

string

setRequest()

public setRequest(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface

getDimensions()

protected getDimensions(array $conf) : array

Parameters

$conf : array

Return values

array

hasTypoScriptFrontendController()

protected hasTypoScriptFrontendController() : bool

Return values

bool

renderInline()

protected renderInline(array $conf) : string

Parameters

$conf : array

Return values

string

renderObject()

Render the SVG as <object> tag

protected renderObject(array $conf) : string

Parameters

$conf : array

Return values

string

resolveAbsoluteSourcePath()

protected resolveAbsoluteSourcePath(array $conf) : string

Parameters

$conf : array

Return values

string
On this page