SpatieTagsColumn
class SpatieTagsColumn extends TagsColumn (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | from TagsColumn | |
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Column | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected Component|null | $layout | from BelongsToLayout | |
protected Table|null | $table | from BelongsToTable | |
protected string|Closure|null | $columnToAvg | from CanAggregateRelatedModels | |
protected string|Closure|null | $relationshipToAvg | from CanAggregateRelatedModels | |
protected string|array|Closure|null | $relationshipsToCount | from CanAggregateRelatedModels | |
protected string|array|Closure|null | $relationshipsToExistenceCheck | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToMax | from CanAggregateRelatedModels | |
protected string|Closure|null | $relationshipToMax | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToMin | from CanAggregateRelatedModels | |
protected string|Closure|null | $relationshipToMin | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToSum | from CanAggregateRelatedModels | |
protected string|Closure|null | $relationshipToSum | from CanAggregateRelatedModels | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected bool|Closure | $isClickDisabled | from CanBeDisabled | |
$hiddenFrom | from CanBeHidden | ||
protected bool|Closure | $isHidden | from CanBeHidden | |
protected string|Closure|null | $visibleFrom | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected bool|Closure | $isInline | from CanBeInline | |
protected bool | $isGloballySearchable | from CanBeSearchable | |
protected bool | $isIndividuallySearchable | from CanBeSearchable | |
protected bool | $isSearchable | from CanBeSearchable | |
protected array|null | $searchColumns | from CanBeSearchable | |
protected Closure|null | $searchQuery | from CanBeSearchable | |
protected bool | $isSortable | from CanBeSortable | |
protected array|null | $sortColumns | from CanBeSortable | |
protected Closure|null | $sortQuery | from CanBeSortable | |
protected bool|Closure | $isToggleable | from CanBeToggled | |
protected bool|Closure | $isToggledHiddenByDefault | from CanBeToggled | |
protected Action|string|null | $action | from CanCallAction | |
protected bool|Closure | $canGrow | from CanGrow | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected array | $columnSpan | from CanSpanColumns | |
protected string|Closure|null | $alignment | from HasAlignment | |
protected array | $extraCellAttributes | from HasExtraCellAttributes | |
protected array | $extraHeaderAttributes | from HasExtraHeaderAttributes | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected stdClass|null | $loop | from HasRowLoopObject | |
protected string | $name | from HasName | |
protected Model|null | $record | from HasRecord | |
protected | $defaultState | from HasState | |
protected Closure|null | $getStateUsing | from HasState | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected string|Closure|null | $separator | from TagsColumn | |
protected int|Closure|null | $limit | from TagsColumn | |
protected string|null | $type |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
ViewComponent
view(string $view, array $viewData = [])
No description
protected array
extractPublicProperties()
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
No description
BelongsToLayout
layout(Component|null $layout)
No description
Component|null
getLayout()
No description
BelongsToTable
table(Table|null $table)
No description
Table
getTable()
No description
HasTable
getLivewire()
No description
CanAggregateRelatedModels
avg(string|Closure|null $relationship, string|Closure|null $column)
No description
CanAggregateRelatedModels
counts(string|array|Closure|null $relationships)
No description
CanAggregateRelatedModels
exists(string|array|Closure|null $relationships)
No description
CanAggregateRelatedModels
max(string|Closure|null $relationship, string|Closure|null $column)
No description
CanAggregateRelatedModels
min(string|Closure|null $relationship, string|Closure|null $column)
No description
CanAggregateRelatedModels
sum(string|Closure|null $relationship, string|Closure|null $column)
No description
string|null
getColumnToAvg()
No description
string|null
getRelationshipToAvg()
No description
string|array|null
getRelationshipsToCount()
No description
string|array|null
getRelationshipsToExistenceCheck()
No description
string|null
getColumnToMax()
No description
string|null
getRelationshipToMax()
No description
string|null
getColumnToMin()
No description
string|null
getRelationshipToMin()
No description
string|null
getColumnToSum()
No description
string|null
getRelationshipToSum()
No description
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
CanBeDisabled
disableClick(bool|Closure $condition = true)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
bool
isClickDisabled()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
hiddenFrom(string|Closure|null $breakpoint)
No description
CanBeHidden
visibleFrom(string|Closure|null $breakpoint)
No description
string|null
getHiddenFrom()
No description
string|null
getVisibleFrom()
No description
bool
isHidden()
No description
CanBeInline
inline(bool|Closure $condition = true)
No description
bool
isInline()
No description
CanBeSearchable
searchable(bool|array|string $condition = true, Closure|null $query = null, bool $isIndividual = false, bool $isGlobal = true)
No description
array
getSearchColumns()
No description
bool
isSearchable()
No description
bool
isGloballySearchable()
No description
bool
isIndividuallySearchable()
No description
protected array
getDefaultSearchColumns()
No description
CanBeSortable
sortable(bool|array $condition = true, Closure|null $query = null)
No description
array
getSortColumns()
No description
bool
isSortable()
No description
protected array
getDefaultSortColumns()
No description
CanBeToggled
toggleable(bool|Closure $condition = true, bool|Closure $isToggledHiddenByDefault = false)
No description
CanBeToggled
toggledHiddenByDefault(bool|Closure $condition = true)
No description
bool
isToggledHiddenByDefault()
No description
bool
isToggleable()
No description
bool
isToggledHidden()
No description
CanCallAction
action(Action|string|null $action)
No description
Action|null
getAction()
No description
CanGrow
grow(bool|Closure $condition = true)
No description
bool
canGrow()
No description
CanOpenUrl
openUrlInNewTab(bool|Closure $condition = true)
No description
CanOpenUrl
url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)
No description
string|null
getUrl()
No description
bool
shouldOpenUrlInNewTab()
No description
CanSpanColumns
columnSpan(array|int|string|Closure|null $span)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
HasAlignment
alignment(string|Closure|null $alignment)
No description
HasAlignment
alignStart(bool|Closure $condition = true)
No description
HasAlignment
alignCenter(bool|Closure $condition = true)
No description
HasAlignment
alignEnd(bool|Closure $condition = true)
No description
HasAlignment
alignJustify(bool|Closure $condition = true)
No description
HasAlignment
alignLeft(bool|Closure $condition = true)
No description
HasAlignment
alignRight(bool|Closure $condition = true)
No description
string|null
getAlignment()
No description
HasExtraCellAttributes
extraCellAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraCellAttributes()
No description
ComponentAttributeBag
getExtraCellAttributeBag()
No description
HasExtraHeaderAttributes
extraHeaderAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraHeaderAttributes()
No description
ComponentAttributeBag
getExtraHeaderAttributeBag()
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable
getLabel()
No description
HasRowLoopObject
rowLoop(stdClass|null $loop)
No description
stdClass|null
getRowLoop()
No description
string
getName()
No description
HasRecord
record(Model $record)
No description
Model|null
getRecord()
No description
HasState
default($state)
No description
getDefaultState()
No description
getState()
No description
protected
getStateFromRecord()
No description
protected
mutateArrayState(array $state)
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
Relation
applyRelationshipAggregates(Relation $query)
No description
Relation
applyEagerLoading(Relation $query)
No description
Builder
applySearchConstraint(Builder $query, string $search, bool $isFirst, bool $isIndividual = false)
No description
Builder
applySort(Builder $query, string $direction = 'asc')
No description
bool
queriesRelationships(Model $record)
No description
Relation|null
getRelationship(Model $record)
No description
string
getRelationshipTitleColumnName()
No description
string
getRelationshipName()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
in
Column at line 42
final
__construct(string $name)
No description
in
Column at line 47
static Column
make(string $name)
No description
array
getTags()
No description
TagsColumn
separator(string|Closure|null $separator = ',')
No description
TagsColumn
limit(int|Closure|null $limit = 3)
No description
string|null
getSeparator()
No description
int|null
getLimit()
No description
bool
hasActiveLimit()
No description
array
getMoreTags()
No description
SpatieTagsColumn
type(string|null $type)
No description
string|null
getType()
No description