PHP Class FluidTYPO3\Flux\Backend\Preview

Inheritance: implements TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface
Show file Open project: fluidtypo3/flux

Protected Properties

Property Type Description
$assetsIncluded boolean
$configurationService FluidTYPO3\Flux\Service\FluxService
$objectManager TYPO3\CMS\Extbase\Object\ObjectManagerInterface
$recordService FluidTYPO3\Flux\Service\RecordService

Public Methods

Method Description
__construct ( ) CONSTRUCTOR
preProcess ( TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, boolean &$drawItem, string &$headerContent, string &$itemContent, array &$row ) : void
renderPreview ( string &$headerContent, string &$itemContent, array &$row, boolean &$drawItem ) : null

Protected Methods

Method Description
attachAssets ( ) : void
createShortcutIcon ( array $row ) : string
getPageTitleAndPidFromContentUid ( integer $contentUid ) : array

Method Details

__construct() public method

CONSTRUCTOR
public __construct ( )

attachAssets() protected method

protected attachAssets ( ) : void
return void

createShortcutIcon() protected method

protected createShortcutIcon ( array $row ) : string
$row array
return string

getPageTitleAndPidFromContentUid() protected method

protected getPageTitleAndPidFromContentUid ( integer $contentUid ) : array
$contentUid integer
return array

preProcess() public method

public preProcess ( TYPO3\CMS\Backend\View\PageLayoutView &$parentObject, boolean &$drawItem, string &$headerContent, string &$itemContent, array &$row ) : void
$parentObject TYPO3\CMS\Backend\View\PageLayoutView
$drawItem boolean
$headerContent string
$itemContent string
$row array
return void

renderPreview() public method

public renderPreview ( string &$headerContent, string &$itemContent, array &$row, boolean &$drawItem ) : null
$headerContent string
$itemContent string
$row array
$drawItem boolean
return null

Property Details

$assetsIncluded protected static property

protected static bool $assetsIncluded
return boolean

$configurationService protected property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
return FluidTYPO3\Flux\Service\FluxService

$objectManager protected property

protected ObjectManagerInterface,TYPO3\CMS\Extbase\Object $objectManager
return TYPO3\CMS\Extbase\Object\ObjectManagerInterface

$recordService protected property

protected RecordService,FluidTYPO3\Flux\Service $recordService
return FluidTYPO3\Flux\Service\RecordService