Méthode | Description | |
---|---|---|
scopeTransWhere ( Builder $query, string $index, string $value, string $locale = null ) : Builder | Applies a translatable index to a basic query. This scope will join the index table and cannot be executed more than once. |
Méthode | Description | |
---|---|---|
loadTranslatableData ( string $locale = null ) : array | Loads the translation data from the join table. | |
storeTranslatableBasicData ( string $locale = null ) : void | Saves the basic translation data in the join table. | |
storeTranslatableData ( string $locale = null ) : void | Saves the translation data in the join table. | |
storeTranslatableIndexData ( string $locale = null ) : void | Saves the indexed translation data in the join table. |
protected loadTranslatableData ( string $locale = null ) : array | ||
$locale | string | |
Résultat | array |
protected storeTranslatableBasicData ( string $locale = null ) : void | ||
$locale | string | |
Résultat | void |
protected storeTranslatableData ( string $locale = null ) : void | ||
$locale | string | |
Résultat | void |
protected storeTranslatableIndexData ( string $locale = null ) : void | ||
$locale | string | |
Résultat | void |