addLanguageClauseToTranslationJoins()
Overview
public void function addLanguageClauseToTranslationJoins(
required array tableJoins
, required string language
, required struct preparedFilter
, boolean fromVersionTable = false
)
Works on intercepted select queries to discover and decorate joins on translation objects with an additional clause for the passed in language
Arguments
Name | Type | Required | Description |
---|---|---|---|
tableJoins | array | Yes | Array of table joins as calculated by the SelectData() logic |
language | string | Yes | The language to filter on |
preparedFilter | struct | Yes | The fully prepared and resolved filter that will be used in the select query |
fromVersionTable | boolean | No (default=false) |