trait FluentObjectTrait (View source)

Shared functionality between both FluentExtension and FluentFilteredExtension

Properties

DataObject $owner

Methods

updateLocalisationTabColumns($summaryColumns)

Add additional columns to localisation table

updateLocalisationTabConfig(GridFieldConfig $config)

Add additional configs to localisation table

LinkedLocales()

Gets list of all Locale dataobjects, linked to this record

augmentDataQueryCreation(SQLSelect $query, DataQuery $dataQuery)

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

Details

abstract updateLocalisationTabColumns($summaryColumns)

Add additional columns to localisation table

Parameters

$summaryColumns

See also

\TractorCow\Fluent\Extension\Traits\FluentObjectTrait::updateFluentCMSFields()

abstract updateLocalisationTabConfig(GridFieldConfig $config)

Add additional configs to localisation table

Parameters

GridFieldConfig $config

ArrayList|Locale[] LinkedLocales()

Gets list of all Locale dataobjects, linked to this record

Return Value

ArrayList|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