PHP Class FluidTYPO3\Flux\View\PreviewView

Datei anzeigen Open project: fluidtypo3/flux

Protected Properties

Property Type Description
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$configurationService FluidTYPO3\Flux\Service\FluxService
$templates array
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Public Methods

Method Description
getPreview ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row ) : string
injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
injectConfigurationService ( FluxService $configurationService ) : void
injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void

Protected Methods

Method Description
configurePageLayoutViewForLanguageMode ( PageLayoutView $view ) : PageLayoutView
drawElement ( array $row, PageLayoutView $dblist ) : string
drawGrid ( array $row, FluidTYPO3\Flux\Form\Container\Grid $grid, Form $form ) : string
drawGridColumn ( array $row, FluidTYPO3\Flux\Form\Container\Column $column ) : string
drawGridToggle ( array $row, string $content ) : string
drawNewIcon ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, integer $after ) : string
drawPasteIcon ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, boolean $reference = FALSE, array $relativeTo = [] ) : string
drawRecord ( array $parentRow, FluidTYPO3\Flux\Form\Container\Column $column, array $record, PageLayoutView $dblist ) : string
getActiveWorkspaceId ( ) : integer
getBackendUser ( ) : TYPO3\CMS\Core\Authentication\BackendUserAuthentication
getCookie ( ) : string | null
getDatabaseConnection ( ) : TYPO3\CMS\Core\Database\DatabaseConnection
getFluxParentUid ( array $row ) : mixed
getInitializedPageLayoutView ( array $row ) : PageLayoutView
getLanguageService ( ) : TYPO3\CMS\Lang\LanguageService
getNewLink ( array $row, integer $after, string $columnName ) : string Generate a link valid on TYPO3 7.0+
getOptionMode ( array $options = NULL ) : string
getOptionToggle ( array $options = NULL ) : boolean
getPageModuleSettings ( ) : array
getPreviewOptions ( Form $form = NULL ) : array
getRecords ( PageLayoutView $view, array $row, string $area ) : array
getWorkspaceVersionOfRecordOrRecordItself ( array $record ) : array
isDeleteOrMovePlaceholder ( mixed $record ) : boolean
isRowCollapsed ( array $row ) : string
parseGridColumnTemplate ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, integer $colPosFluxContent, PageLayoutView $dblist, integer $target, string $id, string $content ) : string
processRecordOverlays ( array $rows, PageLayoutView $view ) : array
registerTargetContentAreaInSession ( integer $contentElementUid, string $areaName ) : integer
renderGrid ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row, Form $form ) : string
renderPreviewSection ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row, Form $form = NULL ) : string | null

Method Details

configurePageLayoutViewForLanguageMode() protected method

protected configurePageLayoutViewForLanguageMode ( PageLayoutView $view ) : PageLayoutView
$view PageLayoutView
return PageLayoutView

drawElement() protected method

protected drawElement ( array $row, PageLayoutView $dblist ) : string
$row array
$dblist PageLayoutView
return string

drawGrid() protected method

protected drawGrid ( array $row, FluidTYPO3\Flux\Form\Container\Grid $grid, Form $form ) : string
$row array
$grid FluidTYPO3\Flux\Form\Container\Grid
$form FluidTYPO3\Flux\Form
return string

drawGridColumn() protected method

protected drawGridColumn ( array $row, FluidTYPO3\Flux\Form\Container\Column $column ) : string
$row array
$column FluidTYPO3\Flux\Form\Container\Column
return string

drawGridToggle() protected method

protected drawGridToggle ( array $row, string $content ) : string
$row array
$content string
return string

drawNewIcon() protected method

protected drawNewIcon ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, integer $after ) : string
$row array
$column FluidTYPO3\Flux\Form\Container\Column
$after integer
return string

drawPasteIcon() protected method

protected drawPasteIcon ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, boolean $reference = FALSE, array $relativeTo = [] ) : string
$row array
$column FluidTYPO3\Flux\Form\Container\Column
$reference boolean
$relativeTo array
return string

drawRecord() protected method

protected drawRecord ( array $parentRow, FluidTYPO3\Flux\Form\Container\Column $column, array $record, PageLayoutView $dblist ) : string
$parentRow array
$column FluidTYPO3\Flux\Form\Container\Column
$record array
$dblist PageLayoutView
return string

getActiveWorkspaceId() protected method

protected getActiveWorkspaceId ( ) : integer
return integer

getBackendUser() protected method

protected getBackendUser ( ) : TYPO3\CMS\Core\Authentication\BackendUserAuthentication
return TYPO3\CMS\Core\Authentication\BackendUserAuthentication

getCookie() protected method

protected getCookie ( ) : string | null
return string | null

getDatabaseConnection() protected method

protected getDatabaseConnection ( ) : TYPO3\CMS\Core\Database\DatabaseConnection
return TYPO3\CMS\Core\Database\DatabaseConnection

getFluxParentUid() protected method

protected getFluxParentUid ( array $row ) : mixed
$row array
return mixed

getInitializedPageLayoutView() protected method

protected getInitializedPageLayoutView ( array $row ) : PageLayoutView
$row array
return PageLayoutView

getLanguageService() protected method

protected getLanguageService ( ) : TYPO3\CMS\Lang\LanguageService
return TYPO3\CMS\Lang\LanguageService

getOptionMode() protected method

protected getOptionMode ( array $options = NULL ) : string
$options array
return string

getOptionToggle() protected method

protected getOptionToggle ( array $options = NULL ) : boolean
$options array
return boolean

getPageModuleSettings() protected method

protected getPageModuleSettings ( ) : array
return array

getPreview() public method

public getPreview ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row ) : string
$provider FluidTYPO3\Flux\Provider\ProviderInterface
$row array
return string

getPreviewOptions() protected method

protected getPreviewOptions ( Form $form = NULL ) : array
$form FluidTYPO3\Flux\Form
return array

getRecords() protected method

protected getRecords ( PageLayoutView $view, array $row, string $area ) : array
$view PageLayoutView
$row array
$area string
return array

getWorkspaceVersionOfRecordOrRecordItself() protected method

protected getWorkspaceVersionOfRecordOrRecordItself ( array $record ) : array
$record array
return array

injectConfigurationManager() public method

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
return void

injectConfigurationService() public method

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
return void

injectWorkspacesAwareRecordService() public method

public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
return void

isDeleteOrMovePlaceholder() protected method

protected isDeleteOrMovePlaceholder ( mixed $record ) : boolean
$record mixed
return boolean

isRowCollapsed() protected method

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

parseGridColumnTemplate() protected method

protected parseGridColumnTemplate ( array $row, FluidTYPO3\Flux\Form\Container\Column $column, integer $colPosFluxContent, PageLayoutView $dblist, integer $target, string $id, string $content ) : string
$row array
$column FluidTYPO3\Flux\Form\Container\Column
$colPosFluxContent integer
$dblist PageLayoutView
$target integer
$id string
$content string
return string

processRecordOverlays() protected method

protected processRecordOverlays ( array $rows, PageLayoutView $view ) : array
$rows array
$view PageLayoutView
return array

registerTargetContentAreaInSession() protected method

protected registerTargetContentAreaInSession ( integer $contentElementUid, string $areaName ) : integer
$contentElementUid integer
$areaName string
return integer

renderGrid() protected method

protected renderGrid ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row, Form $form ) : string
$provider FluidTYPO3\Flux\Provider\ProviderInterface
$row array
$form FluidTYPO3\Flux\Form
return string

renderPreviewSection() protected method

protected renderPreviewSection ( FluidTYPO3\Flux\Provider\ProviderInterface $provider, array $row, Form $form = NULL ) : string | null
$provider FluidTYPO3\Flux\Provider\ProviderInterface
$row array
$form FluidTYPO3\Flux\Form
return string | null

Property Details

$configurationManager protected_oe property

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
return TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$configurationService protected_oe property

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

$templates protected_oe property

protected array $templates
return array

$workspacesAwareRecordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $workspacesAwareRecordService
return FluidTYPO3\Flux\Service\WorkspacesAwareRecordService