class ModelCriteriaTools

Class ModelCriteriaTools

Methods

static 
getFrontEndI18n( ModelCriteria $search, $requestedLocale, $columns, $foreignTable, $foreignKey, $forceReturn = false, $localeAlias = null)

No description

static 
getBackEndI18n( ModelCriteria $search, $requestedLocale, $columns = array('TITLE', 'CHAPO', 'DESCRIPTION', 'POSTSCRIPTUM'), $foreignTable = null, $foreignKey = 'ID', $localeAlias = null)

No description

static  string
getI18n( bool $backendContext, int $requestedLangId, ModelCriteria $search, string $currentLocale, array $columns, string $foreignTable, string $foreignKey, bool $forceReturn = false, string|null $localeAlias = null)

Bild query to retrieve I18n

Details

at line 38
static getFrontEndI18n( ModelCriteria $search, $requestedLocale, $columns, $foreignTable, $foreignKey, $forceReturn = false, $localeAlias = null)

Parameters

ModelCriteria $search
$requestedLocale
$columns
$foreignTable
$foreignKey
$forceReturn
$localeAlias

at line 184
static getBackEndI18n( ModelCriteria $search, $requestedLocale, $columns = array('TITLE', 'CHAPO', 'DESCRIPTION', 'POSTSCRIPTUM'), $foreignTable = null, $foreignKey = 'ID', $localeAlias = null)

Parameters

ModelCriteria $search
$requestedLocale
$columns
$foreignTable
$foreignKey
$localeAlias

at line 254
static string getI18n( bool $backendContext, int $requestedLangId, ModelCriteria $search, string $currentLocale, array $columns, string $foreignTable, string $foreignKey, bool $forceReturn = false, string|null $localeAlias = null)

Bild query to retrieve I18n

Parameters

bool $backendContext
int $requestedLangId
ModelCriteria $search
string $currentLocale
array $columns
string $foreignTable
string $foreignKey
bool $forceReturn
string|null $localeAlias le local table if different of the main query table

Return Value

string