mixinTranslationSpecificSelectLogicToSelectDataCall()
Overview
public void function mixinTranslationSpecificSelectLogicToSelectDataCall(
required string objectName
, required array selectFields
)
Works on intercepted select queries to discover and replace multilingual select fields with special IfNull( translation, original ) syntax to automagically select translations without the developer having to do anything about it
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| objectName | string | Yes | The name of the source object |
| selectFields | array | Yes | Array of select fields as passed into the presideObjectService.selectData() method |