PHP Class FluidTYPO3\Flux\View\PreviewView

Afficher le fichier Open project: fluidtypo3/flux

Protected Properties

Свойство Type Description
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
$configurationService FluidTYPO3\Flux\Service\FluxService
$templates array
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

protected configurePageLayoutViewForLanguageMode ( PageLayoutView $view ) : PageLayoutView
$view PageLayoutView
Résultat PageLayoutView

drawElement() protected méthode

protected drawElement ( array $row, PageLayoutView $dblist ) : string
$row array
$dblist PageLayoutView
Résultat string

drawGrid() protected méthode

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
Résultat string

drawGridColumn() protected méthode

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

drawGridToggle() protected méthode

protected drawGridToggle ( array $row, string $content ) : string
$row array
$content string
Résultat string

drawNewIcon() protected méthode

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

drawPasteIcon() protected méthode

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
Résultat string

drawRecord() protected méthode

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
Résultat string

getActiveWorkspaceId() protected méthode

protected getActiveWorkspaceId ( ) : integer
Résultat integer

getBackendUser() protected méthode

protected getBackendUser ( ) : TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Résultat TYPO3\CMS\Core\Authentication\BackendUserAuthentication

getCookie() protected méthode

protected getCookie ( ) : string | null
Résultat string | null

getDatabaseConnection() protected méthode

protected getDatabaseConnection ( ) : TYPO3\CMS\Core\Database\DatabaseConnection
Résultat TYPO3\CMS\Core\Database\DatabaseConnection

getFluxParentUid() protected méthode

protected getFluxParentUid ( array $row ) : mixed
$row array
Résultat mixed

getInitializedPageLayoutView() protected méthode

protected getInitializedPageLayoutView ( array $row ) : PageLayoutView
$row array
Résultat PageLayoutView

getLanguageService() protected méthode

protected getLanguageService ( ) : TYPO3\CMS\Lang\LanguageService
Résultat TYPO3\CMS\Lang\LanguageService

getOptionMode() protected méthode

protected getOptionMode ( array $options = NULL ) : string
$options array
Résultat string

getOptionToggle() protected méthode

protected getOptionToggle ( array $options = NULL ) : boolean
$options array
Résultat boolean

getPageModuleSettings() protected méthode

protected getPageModuleSettings ( ) : array
Résultat array

getPreview() public méthode

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

getPreviewOptions() protected méthode

protected getPreviewOptions ( Form $form = NULL ) : array
$form FluidTYPO3\Flux\Form
Résultat array

getRecords() protected méthode

protected getRecords ( PageLayoutView $view, array $row, string $area ) : array
$view PageLayoutView
$row array
$area string
Résultat array

getWorkspaceVersionOfRecordOrRecordItself() protected méthode

protected getWorkspaceVersionOfRecordOrRecordItself ( array $record ) : array
$record array
Résultat array

injectConfigurationManager() public méthode

public injectConfigurationManager ( TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager ) : void
$configurationManager TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
Résultat void

injectConfigurationService() public méthode

public injectConfigurationService ( FluxService $configurationService ) : void
$configurationService FluidTYPO3\Flux\Service\FluxService
Résultat void

injectWorkspacesAwareRecordService() public méthode

public injectWorkspacesAwareRecordService ( FluidTYPO3\Flux\Service\WorkspacesAwareRecordService $workspacesAwareRecordService ) : void
$workspacesAwareRecordService FluidTYPO3\Flux\Service\WorkspacesAwareRecordService
Résultat void

isDeleteOrMovePlaceholder() protected méthode

protected isDeleteOrMovePlaceholder ( mixed $record ) : boolean
$record mixed
Résultat boolean

isRowCollapsed() protected méthode

protected isRowCollapsed ( array $row ) : string
$row array
Résultat string

parseGridColumnTemplate() protected méthode

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
Résultat string

processRecordOverlays() protected méthode

protected processRecordOverlays ( array $rows, PageLayoutView $view ) : array
$rows array
$view PageLayoutView
Résultat array

registerTargetContentAreaInSession() protected méthode

protected registerTargetContentAreaInSession ( integer $contentElementUid, string $areaName ) : integer
$contentElementUid integer
$areaName string
Résultat integer

renderGrid() protected méthode

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

renderPreviewSection() protected méthode

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
Résultat string | null

Property Details

$configurationManager protected_oe property

protected ConfigurationManagerInterface,TYPO3\CMS\Extbase\Configuration $configurationManager
Résultat TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface

$configurationService protected_oe property

protected FluxService,FluidTYPO3\Flux\Service $configurationService
Résultat FluidTYPO3\Flux\Service\FluxService

$templates protected_oe property

protected array $templates
Résultat array

$workspacesAwareRecordService protected_oe property

protected WorkspacesAwareRecordService,FluidTYPO3\Flux\Service $workspacesAwareRecordService
Résultat FluidTYPO3\Flux\Service\WorkspacesAwareRecordService