SettingTranslation
class SettingTranslation extends Model (View source)
Traits
Properties
protected | $presenterInstance | from HasPresenter | |
$translatedAttributes | from IsTranslatable | ||
$timestamps | from Model | ||
protected | $fillable |
Methods
No description
Checks if this model is translatable.
This method should return the full url. By default this will be based on the controller slug or urlWithoutSlug. But it can be overwritten in order to fully customize the link.
No description
Details
object
present(string $presenter = 'presenter')
No description
object
presentAdmin()
No description
$this
setPresenter(string $presenter, string $presenterProperty = 'presenter')
No description
$this
setPresenterAdmin(string $presenter)
No description
bool
isTranslatable(null|array|string $columns = null)
Checks if this model is translatable.
If no columns/column is provided it will return true if the model itself is translatable.
in
Model at line 31
protected bool
isTranslationModel()
No description
in
Model at line 36
Builder
scopePublished(Builder $query)
No description
in
Model at line 41
Builder
scopeAccessible(Builder $query)
No description
in
Model at line 78
Builder
scopePublishedInListings(Builder $query)
No description
in
Model at line 91
Builder
scopeVisible(Builder $query)
No description
in
Model at line 116
void
setPublishStartDateAttribute($value)
No description
in
Model at line 121
Builder
scopeDraft(Builder $query)
No description
in
Model at line 126
Builder
scopeOnlyTrashed(Builder $query)
No description
in
Model at line 131
array
getFillable()
No description
in
Model at line 159
array
getTranslatedAttributes()
No description
in
Model at line 166
static protected void
bootTaggableTrait()
No description
in
Model at line 174
MorphToMany
tags()
No description
in
Model at line 185
string
getFullUrl()
This method should return the full url. By default this will be based on the controller slug or urlWithoutSlug. But it can be overwritten in order to fully customize the link.
This link is used by for example TwillUtil::parseInternalLinks
getTable()
No description