Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
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 | |
Результат | array |
protected storeTranslatableBasicData ( string $locale = null ) : void | ||
$locale | string | |
Результат | void |
protected storeTranslatableData ( string $locale = null ) : void | ||
$locale | string | |
Результат | void |
protected storeTranslatableIndexData ( string $locale = null ) : void | ||
$locale | string | |
Результат | void |