trait FluentObjectTrait (View source)

Shared functionality between both FluentExtension and FluentFilteredExtension

Methods

public
updateLocalisationTabColumns($summaryColumns)

Add additional columns to localisation table

public
updateLocalisationTabConfig(GridFieldConfig $config)

Add additional configs to localisation table

public
Locale>
LinkedLocales()

Gets list of all Locale dataobjects, linked to this record

public
augmentDataQueryCreation(SQLSelect $query, DataQuery $dataQuery)

Amend freshly created DataQuery objects with the current locale and frontend status

protected
updateFluentCMSFields(FieldList $fields)

Update CMS fields for fluent objects.

Details

abstract updateLocalisationTabColumns($summaryColumns)

Add additional columns to localisation table

Parameters

$summaryColumns

See also

FluentObjectTrait::updateFluentCMSFields

abstract updateLocalisationTabConfig(GridFieldConfig $config)

Add additional configs to localisation table

Parameters

GridFieldConfig $config

Locale> LinkedLocales()

Gets list of all Locale dataobjects, linked to this record

Return Value

Locale>

See also

Locale::RecordLocale

augmentDataQueryCreation(SQLSelect $query, DataQuery $dataQuery)

Amend freshly created DataQuery objects with the current locale and frontend status

Parameters

SQLSelect $query
DataQuery $dataQuery

protected updateFluentCMSFields(FieldList $fields)

Update CMS fields for fluent objects.

These fields are added in addition to those added by specific extensions

Parameters

FieldList $fields