BeforePageLanguageOverlayEvent
FinalYes
Event which is fired before a single page or a list of pages are about to be translated (or tried to be localized).
Table of Contents
Methods
- __construct() : mixed
- getLanguageAspect() : LanguageAspect
- getPageIds() : array<string|int, mixed>
- getPageInput() : array<string|int, mixed>
- setLanguageAspect() : void
- setPageIds() : void
- setPageInput() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $pageInput, array<string|int, mixed> $pageIds, LanguageAspect $languageAspect) : mixed
Parameters
- $pageInput : array<string|int, mixed>
- $pageIds : array<string|int, mixed>
- $languageAspect : LanguageAspect
getLanguageAspect()
public
getLanguageAspect() : LanguageAspect
Return values
LanguageAspectgetPageIds()
public
getPageIds() : array<string|int, mixed>
Return values
array<string|int, mixed>getPageInput()
public
getPageInput() : array<string|int, mixed>
Return values
array<string|int, mixed>setLanguageAspect()
public
setLanguageAspect(LanguageAspect $languageAspect) : void
Parameters
- $languageAspect : LanguageAspect
setPageIds()
public
setPageIds(array<string|int, mixed> $pageIds) : void
Parameters
- $pageIds : array<string|int, mixed>
setPageInput()
public
setPageInput(array<string|int, mixed> $pageInput) : void
Parameters
- $pageInput : array<string|int, mixed>