FederatedSearchModel
class FederatedSearchModel extends Model
Traits
Methods
Set a dynamic JSON attribute.
Get a dynamic JSON attribute.
Get the attributes that should be cast.
Scope a query to all models that represent label trees.
Scope a query to all models that represent projects.
Scope a query to all models that represent volumes.
The instance, this model belongs to.
The users who can access this model.
Set the model thumbnail url attribute.
Get the model thumbnail url attribute.
Set the model thumbnail urls attribute.
Get the model thumbnail url attribute.
Details
in
HasJsonAttributes at line 16
protected
setJsonAttr(string $key, mixed $value, string $attrs = 'attrs')
Set a dynamic JSON attribute.
in
HasJsonAttributes at line 38
protected mixed
getJsonAttr(string $key, mixed $default = null, string $attrs = 'attrs')
Get a dynamic JSON attribute.
at line 18
protected array
casts()
Get the attributes that should be cast.
at line 32
Builder
scopeLabelTrees(Builder $query)
Scope a query to all models that represent label trees.
at line 44
Builder
scopeProjects(Builder $query)
Scope a query to all models that represent projects.
at line 56
Builder
scopeVolumes(Builder $query)
Scope a query to all models that represent volumes.
at line 66
FederatedSearchInstance, $this>
instance()
The instance, this model belongs to.
at line 76
User, $this>
users()
The users who can access this model.
at line 86
setThumbnailUrlAttribute(string $value)
Set the model thumbnail url attribute.
at line 96
array
getThumbnailUrlAttribute()
Get the model thumbnail url attribute.
at line 106
setThumbnailUrlsAttribute(array $value)
Set the model thumbnail urls attribute.
at line 116
Collection
getThumbnailUrlsAttribute()
Get the model thumbnail url attribute.