AfterPageColumnsSelectedForLocalizationEvent
FinalYes
This event triggers after the LocalizationController (AJAX) has selected page columns to be translated. Allows third parties to add to or change the columns and content elements withing those columns which will be available for localization through the "translate" modal in the page module.
Table of Contents
Methods
- __construct() : mixed
- getBackendLayout() : BackendLayout
- getColumnList() : array<string|int, mixed>
- Returns a list of integer column position numbers used in the BackendLayout.
- getColumns() : array<string|int, mixed>
- Returns list of columns, indexed by column position number, value is label (either LLL: or hardcoded).
- getParameters() : array<string|int, mixed>
- Returns request parameters passed to LocalizationController.
- getRecords() : array<string|int, mixed>
- Returns an array of records which were used when building the original column manifest and column position numbers list.
- setColumnList() : void
- setColumns() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $columns, array<string|int, mixed> $columnList, BackendLayout $backendLayout, array<string|int, mixed> $records, array<string|int, mixed> $parameters) : mixed
Parameters
- $columns : array<string|int, mixed>
- $columnList : array<string|int, mixed>
- $backendLayout : BackendLayout
- $records : array<string|int, mixed>
- $parameters : array<string|int, mixed>
getBackendLayout()
public
getBackendLayout() : BackendLayout
Return values
BackendLayoutgetColumnList()
Returns a list of integer column position numbers used in the BackendLayout.
public
getColumnList() : array<string|int, mixed>
Return values
array<string|int, mixed>getColumns()
Returns list of columns, indexed by column position number, value is label (either LLL: or hardcoded).
public
getColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>getParameters()
Returns request parameters passed to LocalizationController.
public
getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecords()
Returns an array of records which were used when building the original column manifest and column position numbers list.
public
getRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>setColumnList()
public
setColumnList(array<string|int, mixed> $columnList) : void
Parameters
- $columnList : array<string|int, mixed>
setColumns()
public
setColumns(array<string|int, mixed> $columns) : void
Parameters
- $columns : array<string|int, mixed>