trait HandleTranslations (View source)

Properties

protected $nullableFields

Methods

array
prepareFieldsBeforeCreateHandleTranslations(array $fields)

No description

array
prepareFieldsBeforeSaveHandleTranslations(Model|null $object, array $fields)

No description

array
getFormFieldsHandleTranslations(Model $object, array $fields)

No description

filterHandleTranslations($query, $scopes)

No description

void
orderHandleTranslations(Builder $query, array $orders)

No description

array

Details

array prepareFieldsBeforeCreateHandleTranslations(array $fields)

No description

Parameters

array $fields

Return Value

array

array prepareFieldsBeforeSaveHandleTranslations(Model|null $object, array $fields)

No description

Parameters

Model|null $object
array $fields

Return Value

array

array getFormFieldsHandleTranslations(Model $object, array $fields)

No description

Parameters

Model $object
array $fields

Return Value

array

protected filterHandleTranslations($query, $scopes)

No description

Parameters

$query
$scopes

void orderHandleTranslations(Builder $query, array $orders)

No description

Parameters

Builder $query
array $orders

Return Value

void

array getPublishedScopesHandleTranslations()

No description

Return Value

array