BadgeColumn deprecated
class BadgeColumn extends TextColumn (View source)
deprecated
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | from TextColumn | |
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from Column | |
protected string|Closure|null | $columnToAvg | from CanAggregateRelatedModels | |
protected string | $relationshipToAvg | from CanAggregateRelatedModels | |
protected string | $relationshipsToCount | from CanAggregateRelatedModels | |
protected string | $relationshipsToExistenceCheck | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToMax | from CanAggregateRelatedModels | |
protected string | $relationshipToMax | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToMin | from CanAggregateRelatedModels | |
protected string | $relationshipToMin | from CanAggregateRelatedModels | |
protected string|Closure|null | $columnToSum | from CanAggregateRelatedModels | |
protected string | $relationshipToSum | from CanAggregateRelatedModels | |
protected bool|Closure|null | $canGrow | from CanGrow | |
protected ColumnGroup|null | $group | from BelongsToGroup | |
protected Component|null | $layout | from BelongsToLayout | |
protected Table|null | $table | from BelongsToTable | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected bool|Closure | $isClickDisabled | from CanBeDisabled | |
$hiddenFrom | from CanBeHiddenResponsively | ||
protected string|Closure|null | $visibleFrom | from CanBeHiddenResponsively | |
protected bool|Closure | $isHidden | 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 string[] | $searchColumns | from CanBeSearchable | |
protected Closure|null | $searchQuery | from CanBeSearchable | |
protected bool|Closure|null | $isSearchForcedCaseInsensitive | from CanBeSearchable | |
protected bool|Closure | $isSortable | from CanBeSortable | |
protected string[] | $sortColumns | from CanBeSortable | |
protected Closure|null | $sortQuery | from CanBeSortable | |
protected array | $summarizers | from CanBeSummarized | |
protected bool|Closure | $isToggleable | from CanBeToggled | |
protected bool|Closure | $isToggledHiddenByDefault | from CanBeToggled | |
protected Action|string|null | $action | from CanCallAction | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected array | $columnSpan | from CanSpanColumns | |
protected array | $columnStart | from CanSpanColumns | |
protected bool|Closure | $isHeaderWrapped | from CanWrapHeader | |
protected array | $extraCellAttributes | from HasExtraCellAttributes | |
protected array | $extraHeaderAttributes | from HasExtraHeaderAttributes | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string | $name | from HasName | |
protected Model|null | $record | from HasRecord | |
protected stdClass|null | $loop | from HasRowLoopObject | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected int|string|Closure|null | $width | from HasWidth | |
protected Alignment|string|Closure|null | $alignment | from HasAlignment | |
protected mixed | $defaultState | from HasCellState | |
protected mixed | $getStateUsing | from HasCellState | |
protected string|Closure|null | $separator | from HasCellState | |
protected bool|Closure | $isDistinctList | from HasCellState | |
protected string|null | $inverseRelationshipName | from HasCellState | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected Htmlable|Closure|null | $placeholder | from HasPlaceholder | |
protected VerticalAlignment|string|Closure|null | $verticalAlignment | from HasVerticalAlignment | |
protected bool|Closure | $isCopyable | from CanBeCopied | |
protected string|Closure|null | $copyableState | from CanBeCopied | |
protected string|Closure|null | $copyMessage | from CanBeCopied | |
protected int|Closure|null | $copyMessageDuration | from CanBeCopied | |
protected Closure|null | $formatStateUsing | from CanFormatState | |
protected int|Closure|null | $characterLimit | from CanFormatState | |
protected string|Closure|null | $characterLimitEnd | from CanFormatState | |
protected int|Closure|null | $wordLimit | from CanFormatState | |
protected string|Closure|null | $wordLimitEnd | from CanFormatState | |
protected Htmlable|Closure|null | $prefix | from CanFormatState | |
protected Htmlable|Closure|null | $suffix | from CanFormatState | |
protected string|Closure|null | $timezone | from CanFormatState | |
protected bool|Closure | $isHtml | from CanFormatState | |
protected bool|Closure | $isMarkdown | from CanFormatState | |
protected bool | $isDate | from CanFormatState | |
protected bool | $isDateTime | from CanFormatState | |
protected bool | $isMoney | from CanFormatState | |
protected bool | $isNumeric | from CanFormatState | |
protected bool | $isTime | from CanFormatState | |
protected string | $color | from HasColor | |
protected Htmlable|Closure|null | $descriptionAbove | from HasDescription | |
protected Htmlable|Closure|null | $descriptionBelow | from HasDescription | |
protected FontFamily|string|Closure|null | $fontFamily | from HasFontFamily | |
protected string|bool|Closure|null | $icon | from HasIcon | |
protected IconPosition|string|Closure|null | $iconPosition | from HasIcon | |
protected string | $iconColor | from HasIconColor | |
protected FontWeight|string|Closure|null | $weight | from HasWeight | |
protected int|Closure|null | $lineClamp | from HasLineClamp | |
protected bool|Closure | $canWrap | from TextColumn | |
protected bool|Closure | $isBadge | from TextColumn | |
protected bool|Closure | $isBulleted | from TextColumn | |
protected bool|Closure | $isListWithLineBreaks | from TextColumn | |
protected int|Closure|null | $listLimit | from TextColumn | |
protected TextColumnSize|string|Closure|null | $size | from TextColumn | |
protected bool|Closure | $isLimitedListExpandable | from TextColumn |
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
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 mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
CanAggregateRelatedModels
avg(string|array|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|array|Closure|null $relationship, string|Closure|null $column)
No description
CanAggregateRelatedModels
min(string|array|Closure|null $relationship, string|Closure|null $column)
No description
CanAggregateRelatedModels
sum(string|array|Closure|null $relationship, string|Closure|null $column)
No description
string|null
getColumnToAvg()
No description
string|array|null
getRelationshipToAvg()
No description
string|array|null
getRelationshipsToCount()
No description
string|array|null
getRelationshipsToExistenceCheck()
No description
string|null
getColumnToMax()
No description
string|array|null
getRelationshipToMax()
No description
string|null
getColumnToMin()
No description
string|array|null
getRelationshipToMin()
No description
string|null
getColumnToSum()
No description
string|array|null
getRelationshipToSum()
No description
CanGrow
grow(bool|Closure|null $condition = true)
No description
bool
canGrow(bool $default = true)
No description
BelongsToGroup
group(ColumnGroup|null $group)
No description
ColumnGroup|null
getGroup()
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
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
CanBeDisabled
disabledClick(bool|Closure $condition = true)
No description
CanBeDisabled
disableClick(bool|Closure $condition = true)
deprecated
deprecated
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
bool
isClickDisabled()
No description
CanBeHiddenResponsively
hiddenFrom(string|Closure|null $breakpoint)
No description
CanBeHiddenResponsively
visibleFrom(string|Closure|null $breakpoint)
No description
string|null
getHiddenFrom()
No description
string|null
getVisibleFrom()
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
hiddenOn(string|array $livewireComponents)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
CanBeHidden
visibleOn(string|array $livewireComponents)
No description
bool
isHidden()
No description
bool
isVisible()
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
CanBeSearchable
forceSearchCaseInsensitive(bool|Closure|null $condition = true)
No description
array
getSearchColumns()
No description
bool
isSearchable()
No description
bool
isGloballySearchable()
No description
bool
isIndividuallySearchable()
No description
bool|null
isSearchForcedCaseInsensitive()
No description
array
getDefaultSearchColumns()
No description
CanBeSortable
sortable(bool|array|Closure $condition = true, Closure|null $query = null)
No description
array
getSortColumns()
No description
bool
isSortable()
No description
array
getDefaultSortColumns()
No description
CanBeSummarized
summarize(Summarizer $summarizers)
No description
Summarizer|null
getSummarizer(string $id)
No description
array
getSummarizers()
No description
bool
hasSummary()
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
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
CanSpanColumns
columnSpanFull()
No description
CanSpanColumns
columnStart(array|int|string|Closure|null $start)
No description
array|int|string|null
getColumnSpan(int|string|null $breakpoint = null)
No description
array|int|string|null
getColumnStart(int|string|null $breakpoint = null)
No description
CanWrapHeader
wrapHeader(bool|Closure $condition = true)
No description
bool
isHeaderWrapped()
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
string
getName()
No description
HasRecord
record(Model $record)
No description
Model|null
getRecord()
No description
HasRowLoopObject
rowLoop(stdClass|null $loop)
No description
stdClass|null
getRowLoop()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
HasWidth
width(int|string|Closure|null $width)
No description
string|null
getWidth()
No description
Relation
applyRelationshipAggregates(Relation $query)
No description
Relation
applyEagerLoading(Relation $query)
No description
Builder
applySearchConstraint(Builder $query, string $search, bool $isFirst)
No description
Builder
applySort(Builder $query, string $direction = 'asc')
No description
protected Builder
getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null)
No description
HasAlignment
alignment(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
alignBetween(bool|Closure $condition = true)
No description
HasAlignment
alignLeft(bool|Closure $condition = true)
No description
HasAlignment
alignRight(bool|Closure $condition = true)
No description
Alignment|string|null
getAlignment()
No description
HasCellState
inverseRelationship(string|null $name)
No description
HasCellState
distinctList(bool|Closure $condition = true)
No description
HasCellState
getStateUsing(mixed $callback)
No description
HasCellState
state(mixed $state)
No description
HasCellState
default(mixed $state)
No description
bool
isDistinctList()
No description
mixed
getDefaultState()
No description
mixed
getState()
No description
mixed
getStateFromRecord()
No description
HasCellState
separator(string|Closure|null $separator = ',')
No description
string|null
getSeparator()
No description
bool
hasRelationship(Model $record)
No description
bool
queriesRelationships(Model $record)
deprecated
deprecated
No description
Relation|null
getRelationship(Model $record, string|null $name = null)
No description
array
getRelationshipResults(Model $record, array|null $relationships = null)
No description
string
getRelationshipAttribute(string|null $name = null)
No description
string
getInverseRelationshipName(Model $record)
No description
string|null
getRelationshipName(string|null $name = null)
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
HasPlaceholder
placeholder(Htmlable|Closure|null $placeholder)
No description
Htmlable|null
getPlaceholder()
No description
HasVerticalAlignment
verticalAlignment(VerticalAlignment|string|Closure|null $alignment)
No description
HasVerticalAlignment
verticallyAlignStart(bool|Closure $condition = true)
No description
HasVerticalAlignment
verticallyAlignCenter(bool|Closure $condition = true)
No description
HasVerticalAlignment
verticallyAlignEnd(bool|Closure $condition = true)
No description
VerticalAlignment|string|null
getVerticalAlignment()
No description
in
Column at line 56
final
__construct(string $name)
No description
in
Column at line 61
static Column
make(string $name)
No description
CanBeCopied
copyable(bool|Closure $condition = true)
No description
CanBeCopied
copyableState(string|Closure|null $state)
No description
CanBeCopied
copyMessage(string|Closure|null $message)
No description
CanBeCopied
copyMessageDuration(int|Closure|null $duration)
No description
bool
isCopyable(mixed $state)
No description
string|null
getCopyableState(mixed $state)
No description
string
getCopyMessage(mixed $state)
No description
int
getCopyMessageDuration(mixed $state)
No description
CanFormatState
markdown(bool|Closure $condition = true)
No description
CanFormatState
date(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
dateTime(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
since(string|null $timezone = null)
No description
CanFormatState
dateTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
dateTimeTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
timeTooltip(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
sinceTooltip(string|null $timezone = null)
No description
CanFormatState
money(string|Closure|null $currency = null, int $divideBy = 0, string|Closure|null $locale = null)
No description
CanFormatState
numeric(int|Closure|null $decimalPlaces = null, ArgumentValue $decimalSeparator = ArgumentValue::Default, ArgumentValue $thousandsSeparator = ArgumentValue::Default, int|Closure|null $maxDecimalPlaces = null, string|Closure|null $locale = null)
No description
CanFormatState
time(string|Closure|null $format = null, string|null $timezone = null)
No description
CanFormatState
timezone(string|Closure|null $timezone)
No description
CanFormatState
limit(int|Closure|null $length = 100, string|Closure|null $end = '...')
No description
CanFormatState
words(int|Closure|null $words = 100, string|Closure|null $end = '...')
No description
CanFormatState
prefix(Htmlable|Closure|null $prefix)
No description
CanFormatState
suffix(Htmlable|Closure|null $suffix)
No description
CanFormatState
html(bool|Closure $condition = true)
No description
CanFormatState
formatStateUsing(Closure|null $callback)
No description
mixed
formatState(mixed $state)
No description
int|null
getCharacterLimit()
No description
string|null
getCharacterLimitEnd()
No description
int|null
getWordLimit()
No description
string|null
getWordLimitEnd()
No description
string
getTimezone()
No description
bool
isHtml()
No description
Htmlable|null
getPrefix()
No description
Htmlable|null
getSuffix()
No description
bool
isMarkdown()
No description
bool
isDate()
No description
bool
isDateTime()
No description
bool
isMoney()
No description
bool
isNumeric()
No description
bool
isTime()
No description
HasColor
color(string|array|bool|Closure|null $color)
No description
HasColor
colors(array|Closure $colors)
No description
string|array|null
getColor(mixed $state)
No description
HasDescription
description(Htmlable|Closure|null $description, string|Closure|null $position = 'below')
No description
Htmlable|null
getDescriptionAbove()
No description
Htmlable|null
getDescriptionBelow()
No description
HasFontFamily
fontFamily(FontFamily|string|Closure|null $family)
No description
FontFamily|string|null
getFontFamily(mixed $state)
No description
HasIcon
icon(string|bool|Closure|null $icon)
No description
HasIcon
icons(array|Closure $icons)
No description
HasIcon
iconPosition(IconPosition|string|Closure|null $iconPosition)
No description
string|null
getIcon(mixed $state)
No description
IconPosition|string
getIconPosition()
No description
HasIconColor
iconColor(string|array|Closure|null $color)
No description
string|array|null
getIconColor(mixed $state)
No description
HasWeight
weight(FontWeight|string|Closure|null $weight)
No description
FontWeight|string|null
getWeight(mixed $state)
No description
HasLineClamp
lineClamp(int|Closure|null $lineClamp)
No description
int|null
getLineClamp()
No description
TextColumn
badge(bool|Closure $condition = true)
No description
TextColumn
bulleted(bool|Closure $condition = true)
No description
TextColumn
listWithLineBreaks(bool|Closure $condition = true)
No description
TextColumn
limitList(int|Closure|null $limit = 3)
No description
TextColumn
rowIndex(bool $isFromZero = false)
No description
TextColumn
wrap(bool|Closure $condition = true)
No description
TextColumn
size(TextColumnSize|string|Closure|null $size)
No description
TextColumnSize|string|null
getSize(mixed $state)
No description
bool
canWrap()
No description
bool
isBadge()
No description
bool
isBulleted()
No description
bool
isListWithLineBreaks()
No description
int|null
getListLimit()
No description
TextColumn
expandableLimitedList(bool|Closure $condition = true)
No description
bool
isLimitedListExpandable()
No description