class IconColumn extends Column (View source)

Traits

Properties

protected string $evaluationIdentifier from  EvaluatesClosures
static protected Closure>> $macros from  Macroable
protected string $view
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
protected string|Closure|null $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 $wrap from  CanWrap
protected string $color from  HasColor
protected string|bool|Closure|null $icon from  HasIcon
protected IconPosition|string|Closure|null $iconPosition from  HasIcon
protected bool|Closure|null $isBoolean
protected string $falseColor
protected string|Closure|null $falseIcon
protected string $trueColor
protected string|Closure|null $trueIcon
protected bool|Closure $isListWithLineBreaks
protected IconColumnSize|string|Closure|null $size

Methods

static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

configure()

No description

void
setUp()

No description

mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

string|null
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 callable|null
getMacro(string $method)

No description

view(string|null $view, array $viewData = [])

No description

defaultView(string|Closure|null $view)

No description

array
extractPublicMethods()

No description

viewData(array $data)

No description

string
getView()

No description

string|null
getDefaultView()

No description

string
toHtml()

No description

View
render()

No description

avg(string|array|Closure|null $relationship, string|Closure|null $column)

No description

counts(string|array|Closure|null $relationships)

No description

exists(string|array|Closure|null $relationships)

No description

max(string|array|Closure|null $relationship, string|Closure|null $column)

No description

min(string|array|Closure|null $relationship, string|Closure|null $column)

No description

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
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

grow(bool|Closure|null $condition = true)

No description

from  CanGrow
bool
canGrow(bool $default = true)

No description

from  CanGrow
group(ColumnGroup|null $group)

No description

ColumnGroup|null
getGroup()

No description

layout(Component|null $layout)

No description

Component|null
getLayout()

No description

table(Table|null $table)

No description

getTable()

No description

getLivewire()

No description

disabled(bool|Closure $condition = true)

No description

disabledClick(bool|Closure $condition = true)

No description

disableClick(bool|Closure $condition = true) deprecated

No description

bool
isDisabled()

No description

bool
isEnabled()

No description

bool
isClickDisabled()

No description

hiddenFrom(string|Closure|null $breakpoint)

No description

visibleFrom(string|Closure|null $breakpoint)

No description

string|null
getHiddenFrom()

No description

string|null
getVisibleFrom()

No description

hidden(bool|Closure $condition = true)

No description

hiddenOn(string|array $livewireComponents)

No description

visible(bool|Closure $condition = true)

No description

visibleOn(string|array $livewireComponents)

No description

bool
isHidden()

No description

bool
isVisible()

No description

inline(bool|Closure $condition = true)

No description

bool
isInline()

No description

searchable(bool|array|string $condition = true, Closure|null $query = null, bool $isIndividual = false, bool $isGlobal = true)

No description

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
array
getDefaultSearchColumns()

No description

sortable(bool|array|Closure $condition = true, Closure|null $query = null)

No description

array
getSortColumns()

No description

bool
isSortable()

No description

array
getDefaultSortColumns()

No description

summarize(Summarizer $summarizers)

No description

Summarizer|null
getSummarizer(string $id)

No description

array
getSummarizers()

No description

bool
hasSummary()

No description

toggleable(bool|Closure $condition = true, bool|Closure $isToggledHiddenByDefault = false)

No description

toggledHiddenByDefault(bool|Closure $condition = true)

No description

bool
isToggledHiddenByDefault()

No description

bool
isToggleable()

No description

bool
isToggledHidden()

No description

action(Action|string|null $action)

No description

Action|null
getAction()

No description

openUrlInNewTab(bool|Closure $condition = true)

No description

url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

string|null
getUrl()

No description

bool
shouldOpenUrlInNewTab()

No description

columnSpan(array|int|string|Closure|null $span)

No description

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

wrapHeader(bool|Closure $condition = true)

No description

bool
isHeaderWrapped()

No description

extraCellAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraCellAttributes()

No description

ComponentAttributeBag
getExtraCellAttributeBag()

No description

extraHeaderAttributes(array|Closure $attributes, bool $merge = false)

No description

ComponentAttributeBag
getExtraHeaderAttributeBag()

No description

label(Htmlable|Closure|null $label)

No description

from  HasLabel
translateLabel(bool $shouldTranslateLabel = true)

No description

from  HasLabel
Htmlable
getLabel()

No description

from  HasLabel
name(string $name)

No description

from  HasName
string
getName()

No description

from  HasName
record(Model $record)

No description

Model|null
getRecord()

No description

rowLoop(stdClass|null $loop)

No description

stdClass|null
getRowLoop()

No description

tooltip(string|Closure|null $tooltip)

No description

string|null
getTooltip()

No description

width(int|string|Closure|null $width)

No description

from  HasWidth
string|null
getWidth()

No description

from  HasWidth
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

Builder
getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null)

No description

alignment(Alignment|string|Closure|null $alignment)

No description

alignStart(bool|Closure $condition = true)

No description

alignCenter(bool|Closure $condition = true)

No description

alignEnd(bool|Closure $condition = true)

No description

alignJustify(bool|Closure $condition = true)

No description

alignBetween(bool|Closure $condition = true)

No description

alignLeft(bool|Closure $condition = true)

No description

alignRight(bool|Closure $condition = true)

No description

Alignment|string|null
getAlignment()

No description

inverseRelationship(string|null $name)

No description

distinctList(bool|Closure $condition = true)

No description

getStateUsing(mixed $callback)

No description

state(mixed $state)

No description

default(mixed $state)

No description

bool
isDistinctList()

No description

mixed
getDefaultState()

No description

mixed
getState()

No description

mixed
getStateFromRecord()

No description

separator(string|Closure|null $separator = ',')

No description

string|null
getSeparator()

No description

bool
hasRelationship(Model $record)

No description

bool
queriesRelationships(Model $record) 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

extraAttributes(array|Closure $attributes, bool $merge = false)

No description

array
getExtraAttributes()

No description

ComponentAttributeBag
getExtraAttributeBag()

No description

placeholder(Htmlable|Closure|null $placeholder)

No description

Htmlable|null
getPlaceholder()

No description

verticalAlignment(VerticalAlignment|string|Closure|null $alignment)

No description

verticallyAlignStart(bool|Closure $condition = true)

No description

verticallyAlignCenter(bool|Closure $condition = true)

No description

verticallyAlignEnd(bool|Closure $condition = true)

No description

VerticalAlignment|string|null
getVerticalAlignment()

No description

__construct(string $name)

No description

from  Column
static Column
make(string $name)

No description

from  Column
wrap(bool|Closure $condition = true)

No description

from  CanWrap
bool|null
canWrap()

No description

from  CanWrap
color(string|array|bool|Closure|null $color)

No description

from  HasColor
colors(array|Closure $colors)

No description

from  HasColor
string|array|null
getColor(mixed $state)

No description

icon(string|bool|Closure|null $icon)

No description

from  HasIcon
icons(array|Closure $icons)

No description

from  HasIcon
iconPosition(IconPosition|string|Closure|null $iconPosition)

No description

from  HasIcon
string|null
getIcon(mixed $state)

No description

IconPosition|string
getIconPosition()

No description

from  HasIcon
boolean(bool|Closure $condition = true)

No description

listWithLineBreaks(bool|Closure $condition = true)

No description

false(string|Closure|null $icon = null, string|array|Closure|null $color = null)

No description

falseColor(string|array|Closure|null $color)

No description

falseIcon(string|Closure|null $icon)

No description

true(string|Closure|null $icon = null, string|array|Closure|null $color = null)

No description

trueColor(string|array|Closure|null $color)

No description

trueIcon(string|Closure|null $icon)

No description

options(Arrayable|Closure $options) deprecated

No description

size(IconColumnSize|string|Closure|null $size)

No description

IconColumnSize|string|null
getSize(mixed $state)

No description

string|array
getFalseColor()

No description

string
getFalseIcon()

No description

string|array
getTrueColor()

No description

string
getTrueIcon()

No description

bool
isBoolean()

No description

bool
isListWithLineBreaks()

No description

Details

static mixed configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)

No description

Parameters

Closure $modifyUsing
Closure|null $during
bool $isImportant

Return Value

mixed

Configurable configure()

No description

Return Value

Configurable

protected void setUp()

No description

Return Value

void

mixed evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])

No description

Parameters

mixed $value
array $namedInjections
array $typedInjections

Return Value

mixed

protected mixed resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)

No description

Parameters

ReflectionParameter $parameter
array $namedInjections
array $typedInjections

Return Value

mixed

protected array resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)

No description

Parameters

string $parameterName

Return Value

array

protected array resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)

No description

Parameters

string $parameterType

Return Value

array

protected string|null getTypedReflectionParameterClassName(ReflectionParameter $parameter)

No description

Parameters

ReflectionParameter $parameter

Return Value

string|null

static void macro(string $name, callable $macro)

No description

Parameters

string $name
callable $macro

Return Value

void

static void mixin(object $mixin, bool $replace = true)

No description

Parameters

object $mixin
bool $replace

Return Value

void

static void flushMacros()

No description

Return Value

void

static mixed __callStatic(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

mixed __call(string $method, array $parameters)

No description

Parameters

string $method
array $parameters

Return Value

mixed

static protected callable|null getMacro(string $method)

No description

Parameters

string $method

Return Value

callable|null

ViewComponent view(string|null $view, array $viewData = [])

No description

Parameters

string|null $view
array $viewData

Return Value

ViewComponent

ViewComponent defaultView(string|Closure|null $view)

No description

Parameters

string|Closure|null $view

Return Value

ViewComponent

protected array extractPublicMethods()

No description

Return Value

array

ViewComponent viewData(array $data)

No description

Parameters

array $data

Return Value

ViewComponent

string getView()

No description

Return Value

string

string|null getDefaultView()

No description

Return Value

string|null

string toHtml()

No description

Return Value

string

View render()

No description

Return Value

View

CanAggregateRelatedModels avg(string|array|Closure|null $relationship, string|Closure|null $column)

No description

Parameters

string|array|Closure|null $relationship
string|Closure|null $column

Return Value

CanAggregateRelatedModels

CanAggregateRelatedModels counts(string|array|Closure|null $relationships)

No description

Parameters

string|array|Closure|null $relationships

Return Value

CanAggregateRelatedModels

CanAggregateRelatedModels exists(string|array|Closure|null $relationships)

No description

Parameters

string|array|Closure|null $relationships

Return Value

CanAggregateRelatedModels

CanAggregateRelatedModels max(string|array|Closure|null $relationship, string|Closure|null $column)

No description

Parameters

string|array|Closure|null $relationship
string|Closure|null $column

Return Value

CanAggregateRelatedModels

CanAggregateRelatedModels min(string|array|Closure|null $relationship, string|Closure|null $column)

No description

Parameters

string|array|Closure|null $relationship
string|Closure|null $column

Return Value

CanAggregateRelatedModels

CanAggregateRelatedModels sum(string|array|Closure|null $relationship, string|Closure|null $column)

No description

Parameters

string|array|Closure|null $relationship
string|Closure|null $column

Return Value

CanAggregateRelatedModels

string|null getColumnToAvg()

No description

Return Value

string|null

string|array|null getRelationshipToAvg()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

string|array|null getRelationshipsToCount()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

string|array|null getRelationshipsToExistenceCheck()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

string|null getColumnToMax()

No description

Return Value

string|null

string|array|null getRelationshipToMax()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

string|null getColumnToMin()

No description

Return Value

string|null

string|array|null getRelationshipToMin()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

string|null getColumnToSum()

No description

Return Value

string|null

string|array|null getRelationshipToSum()

No description

Return Value

string|array|null

| array<int | string, string | Closure> | null

CanGrow grow(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanGrow

bool canGrow(bool $default = true)

No description

Parameters

bool $default

Return Value

bool

BelongsToGroup group(ColumnGroup|null $group)

No description

Parameters

ColumnGroup|null $group

Return Value

BelongsToGroup

ColumnGroup|null getGroup()

No description

Return Value

ColumnGroup|null

BelongsToLayout layout(Component|null $layout)

No description

Parameters

Component|null $layout

Return Value

BelongsToLayout

Component|null getLayout()

No description

Return Value

Component|null

BelongsToTable table(Table|null $table)

No description

Parameters

Table|null $table

Return Value

BelongsToTable

Table getTable()

No description

Return Value

Table

HasTable getLivewire()

No description

Return Value

HasTable

CanBeDisabled disabled(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

CanBeDisabled disabledClick(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

CanBeDisabled disableClick(bool|Closure $condition = true) deprecated

deprecated Use `disabledClick()` instead.

No description

Parameters

bool|Closure $condition

Return Value

CanBeDisabled

bool isDisabled()

No description

Return Value

bool

bool isEnabled()

No description

Return Value

bool

bool isClickDisabled()

No description

Return Value

bool

CanBeHiddenResponsively hiddenFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHiddenResponsively

CanBeHiddenResponsively visibleFrom(string|Closure|null $breakpoint)

No description

Parameters

string|Closure|null $breakpoint

Return Value

CanBeHiddenResponsively

string|null getHiddenFrom()

No description

Return Value

string|null

string|null getVisibleFrom()

No description

Return Value

string|null

CanBeHidden hidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden hiddenOn(string|array $livewireComponents)

No description

Parameters

string|array $livewireComponents

Return Value

CanBeHidden

CanBeHidden visible(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeHidden

CanBeHidden visibleOn(string|array $livewireComponents)

No description

Parameters

string|array $livewireComponents

Return Value

CanBeHidden

bool isHidden()

No description

Return Value

bool

bool isVisible()

No description

Return Value

bool

CanBeInline inline(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeInline

bool isInline()

No description

Return Value

bool

CanBeSearchable searchable(bool|array|string $condition = true, Closure|null $query = null, bool $isIndividual = false, bool $isGlobal = true)

No description

Parameters

bool|array|string $condition
Closure|null $query
bool $isIndividual
bool $isGlobal

Return Value

CanBeSearchable

CanBeSearchable forceSearchCaseInsensitive(bool|Closure|null $condition = true)

No description

Parameters

bool|Closure|null $condition

Return Value

CanBeSearchable

array getSearchColumns()

No description

Return Value

array

bool isSearchable()

No description

Return Value

bool

bool isGloballySearchable()

No description

Return Value

bool

bool isIndividuallySearchable()

No description

Return Value

bool

bool|null isSearchForcedCaseInsensitive()

No description

Return Value

bool|null

array getDefaultSearchColumns()

No description

Return Value

array

CanBeSortable sortable(bool|array|Closure $condition = true, Closure|null $query = null)

No description

Parameters

bool|array|Closure $condition
Closure|null $query

Return Value

CanBeSortable

array getSortColumns()

No description

Return Value

array

bool isSortable()

No description

Return Value

bool

array getDefaultSortColumns()

No description

Return Value

array

CanBeSummarized summarize(Summarizer $summarizers)

No description

Parameters

Summarizer $summarizers

Return Value

CanBeSummarized

Summarizer|null getSummarizer(string $id)

No description

Parameters

string $id

Return Value

Summarizer|null

array getSummarizers()

No description

Return Value

array

bool hasSummary()

No description

Return Value

bool

CanBeToggled toggleable(bool|Closure $condition = true, bool|Closure $isToggledHiddenByDefault = false)

No description

Parameters

bool|Closure $condition
bool|Closure $isToggledHiddenByDefault

Return Value

CanBeToggled

CanBeToggled toggledHiddenByDefault(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanBeToggled

bool isToggledHiddenByDefault()

No description

Return Value

bool

bool isToggleable()

No description

Return Value

bool

bool isToggledHidden()

No description

Return Value

bool

CanCallAction action(Action|string|null $action)

No description

Parameters

Action|string|null $action

Return Value

CanCallAction

Action|null getAction()

No description

Return Value

Action|null

CanOpenUrl openUrlInNewTab(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanOpenUrl

CanOpenUrl url(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

Parameters

string|Closure|null $url
bool|Closure $shouldOpenInNewTab

Return Value

CanOpenUrl

string|null getUrl()

No description

Return Value

string|null

bool shouldOpenUrlInNewTab()

No description

Return Value

bool

CanSpanColumns columnSpan(array|int|string|Closure|null $span)

No description

Parameters

array|int|string|Closure|null $span

Return Value

CanSpanColumns

CanSpanColumns columnSpanFull()

No description

Return Value

CanSpanColumns

CanSpanColumns columnStart(array|int|string|Closure|null $start)

No description

Parameters

array|int|string|Closure|null $start

Return Value

CanSpanColumns

array|int|string|null getColumnSpan(int|string|null $breakpoint = null)

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

array|int|string|null getColumnStart(int|string|null $breakpoint = null)

No description

Parameters

int|string|null $breakpoint

Return Value

array|int|string|null

CanWrapHeader wrapHeader(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanWrapHeader

bool isHeaderWrapped()

No description

Return Value

bool

HasExtraCellAttributes extraCellAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraCellAttributes

array getExtraCellAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraCellAttributeBag()

No description

Return Value

ComponentAttributeBag

HasExtraHeaderAttributes extraHeaderAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraHeaderAttributes

array getExtraHeaderAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraHeaderAttributeBag()

No description

Return Value

ComponentAttributeBag

HasLabel label(Htmlable|Closure|null $label)

No description

Parameters

Htmlable|Closure|null $label

Return Value

HasLabel

HasLabel translateLabel(bool $shouldTranslateLabel = true)

No description

Parameters

bool $shouldTranslateLabel

Return Value

HasLabel

Htmlable getLabel()

No description

Return Value

Htmlable

HasName name(string $name)

No description

Parameters

string $name

Return Value

HasName

string getName()

No description

Return Value

string

HasRecord record(Model $record)

No description

Parameters

Model $record

Return Value

HasRecord

Model|null getRecord()

No description

Return Value

Model|null

HasRowLoopObject rowLoop(stdClass|null $loop)

No description

Parameters

stdClass|null $loop

Return Value

HasRowLoopObject

stdClass|null getRowLoop()

No description

Return Value

stdClass|null

HasTooltip tooltip(string|Closure|null $tooltip)

No description

Parameters

string|Closure|null $tooltip

Return Value

HasTooltip

string|null getTooltip()

No description

Return Value

string|null

HasWidth width(int|string|Closure|null $width)

No description

Parameters

int|string|Closure|null $width

Return Value

HasWidth

string|null getWidth()

No description

Return Value

string|null

Relation applyRelationshipAggregates(Relation $query)

No description

Parameters

Relation $query

Return Value

Relation

Relation applyEagerLoading(Relation $query)

No description

Parameters

Relation $query

Return Value

Relation

Builder applySearchConstraint(Builder $query, string $search, bool $isFirst)

No description

Parameters

Builder $query
string $search
bool $isFirst

Return Value

Builder

Builder applySort(Builder $query, string $direction = 'asc')

No description

Parameters

Builder $query
string $direction

Return Value

Builder

protected Builder getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null)

No description

Parameters

Builder $query
string $sortColumn
array|null $relationships

Return Value

Builder

HasAlignment alignment(Alignment|string|Closure|null $alignment)

No description

Parameters

Alignment|string|Closure|null $alignment

Return Value

HasAlignment

HasAlignment alignStart(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignCenter(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignEnd(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignJustify(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignBetween(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignLeft(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

HasAlignment alignRight(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasAlignment

Alignment|string|null getAlignment()

No description

Return Value

Alignment|string|null

HasCellState inverseRelationship(string|null $name)

No description

Parameters

string|null $name

Return Value

HasCellState

HasCellState distinctList(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasCellState

HasCellState getStateUsing(mixed $callback)

No description

Parameters

mixed $callback

Return Value

HasCellState

HasCellState state(mixed $state)

No description

Parameters

mixed $state

Return Value

HasCellState

HasCellState default(mixed $state)

No description

Parameters

mixed $state

Return Value

HasCellState

bool isDistinctList()

No description

Return Value

bool

mixed getDefaultState()

No description

Return Value

mixed

mixed getState()

No description

Return Value

mixed

mixed getStateFromRecord()

No description

Return Value

mixed

HasCellState separator(string|Closure|null $separator = ',')

No description

Parameters

string|Closure|null $separator

Return Value

HasCellState

string|null getSeparator()

No description

Return Value

string|null

bool hasRelationship(Model $record)

No description

Parameters

Model $record

Return Value

bool

bool queriesRelationships(Model $record) deprecated

deprecated Use `hasRelationship()` instead.

No description

Parameters

Model $record

Return Value

bool

Relation|null getRelationship(Model $record, string|null $name = null)

No description

Parameters

Model $record
string|null $name

Return Value

Relation|null

array getRelationshipResults(Model $record, array|null $relationships = null)

No description

Parameters

Model $record
array|null $relationships

Return Value

array

string getRelationshipAttribute(string|null $name = null)

No description

Parameters

string|null $name

Return Value

string

string getInverseRelationshipName(Model $record)

No description

Parameters

Model $record

Return Value

string

string|null getRelationshipName(string|null $name = null)

No description

Parameters

string|null $name

Return Value

string|null

HasExtraAttributes extraAttributes(array|Closure $attributes, bool $merge = false)

No description

Parameters

array|Closure $attributes
bool $merge

Return Value

HasExtraAttributes

array getExtraAttributes()

No description

Return Value

array

ComponentAttributeBag getExtraAttributeBag()

No description

Return Value

ComponentAttributeBag

HasPlaceholder placeholder(Htmlable|Closure|null $placeholder)

No description

Parameters

Htmlable|Closure|null $placeholder

Return Value

HasPlaceholder

Htmlable|null getPlaceholder()

No description

Return Value

Htmlable|null

HasVerticalAlignment verticalAlignment(VerticalAlignment|string|Closure|null $alignment)

No description

Parameters

VerticalAlignment|string|Closure|null $alignment

Return Value

HasVerticalAlignment

HasVerticalAlignment verticallyAlignStart(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasVerticalAlignment

HasVerticalAlignment verticallyAlignCenter(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasVerticalAlignment

HasVerticalAlignment verticallyAlignEnd(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasVerticalAlignment

VerticalAlignment|string|null getVerticalAlignment()

No description

Return Value

VerticalAlignment|string|null

final __construct(string $name)

No description

Parameters

string $name

static Column make(string $name)

No description

Parameters

string $name

Return Value

Column

CanWrap wrap(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanWrap

bool|null canWrap()

No description

Return Value

bool|null

HasColor color(string|array|bool|Closure|null $color)

No description

Parameters

string|array|bool|Closure|null $color

Return Value

HasColor

HasColor colors(array|Closure $colors)

No description

Parameters

array|Closure $colors

Return Value

HasColor

string|array|null getColor(mixed $state)

No description

Parameters

mixed $state

Return Value

string|array|null

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | null

HasIcon icon(string|bool|Closure|null $icon)

No description

Parameters

string|bool|Closure|null $icon

Return Value

HasIcon

HasIcon icons(array|Closure $icons)

No description

Parameters

array|Closure $icons

Return Value

HasIcon

HasIcon iconPosition(IconPosition|string|Closure|null $iconPosition)

No description

Parameters

IconPosition|string|Closure|null $iconPosition

Return Value

HasIcon

string|null getIcon(mixed $state)

No description

Parameters

mixed $state

Return Value

string|null

IconPosition|string getIconPosition()

No description

Return Value

IconPosition|string

IconColumn boolean(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

IconColumn

IconColumn listWithLineBreaks(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

IconColumn

IconColumn false(string|Closure|null $icon = null, string|array|Closure|null $color = null)

No description

Parameters

string|Closure|null $icon
string|array|Closure|null $color

Return Value

IconColumn

IconColumn falseColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

IconColumn

IconColumn falseIcon(string|Closure|null $icon)

No description

Parameters

string|Closure|null $icon

Return Value

IconColumn

IconColumn true(string|Closure|null $icon = null, string|array|Closure|null $color = null)

No description

Parameters

string|Closure|null $icon
string|array|Closure|null $color

Return Value

IconColumn

IconColumn trueColor(string|array|Closure|null $color)

No description

Parameters

string|array|Closure|null $color

Return Value

IconColumn

IconColumn trueIcon(string|Closure|null $icon)

No description

Parameters

string|Closure|null $icon

Return Value

IconColumn

IconColumn options(Arrayable|Closure $options) deprecated

deprecated Use `icons()` instead.

No description

Parameters

Arrayable|Closure $options

Return Value

IconColumn

IconColumn size(IconColumnSize|string|Closure|null $size)

No description

Parameters

IconColumnSize|string|Closure|null $size

Return Value

IconColumn

IconColumnSize|string|null getSize(mixed $state)

No description

Parameters

mixed $state

Return Value

IconColumnSize|string|null

string|array getFalseColor()

No description

Return Value

string|array

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string}

string getFalseIcon()

No description

Return Value

string

string|array getTrueColor()

No description

Return Value

string|array

| array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string}

string getTrueIcon()

No description

Return Value

string

bool isBoolean()

No description

Return Value

bool

bool isListWithLineBreaks()

No description

Return Value

bool