ImageResourceContentObject extends AbstractContentObject
Contains IMG_RESOURCE class object.
Table of Contents
Properties
- $cObj : ContentObjectRenderer
- $pageRenderer : PageRenderer
- $request : ServerRequestInterface|null
Methods
- __construct() : mixed
- Default constructor.
- getContentObjectRenderer() : ContentObjectRenderer
- Getter for current ContentObjectRenderer
- render() : string
- Rendering the cObject, IMG_RESOURCE
- setContentObjectRenderer() : void
- setRequest() : void
- getPageRenderer() : PageRenderer
- getPageRepository() : PageRepository
- getTypoScriptFrontendController() : TypoScriptFrontendController
- hasTypoScriptFrontendController() : bool
Properties
$cObj
protected
ContentObjectRenderer
$cObj
$pageRenderer
protected
PageRenderer
$pageRenderer
$request
protected
ServerRequestInterface|null
$request
= null
Methods
__construct()
Default constructor.
public
__construct(ContentObjectRenderer $cObj) : mixed
Parameters
- $cObj : ContentObjectRenderer
getContentObjectRenderer()
Getter for current ContentObjectRenderer
public
getContentObjectRenderer() : ContentObjectRenderer
Return values
ContentObjectRendererrender()
Rendering the cObject, IMG_RESOURCE
public
render([array<string|int, mixed> $conf = [] ]) : string
Parameters
- $conf : array<string|int, mixed> = []
-
Array of TypoScript properties
Return values
string —Output
setContentObjectRenderer()
public
setContentObjectRenderer(ContentObjectRenderer $cObj) : void
Parameters
- $cObj : ContentObjectRenderer
setRequest()
public
setRequest(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface
getPageRenderer()
protected
getPageRenderer() : PageRenderer
Return values
PageRenderergetPageRepository()
protected
getPageRepository() : PageRepository
Return values
PageRepositorygetTypoScriptFrontendController()
protected
getTypoScriptFrontendController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllerhasTypoScriptFrontendController()
protected
hasTypoScriptFrontendController() : bool