Column
class Column extends ViewComponent (View source)
Traits
Properties
protected string | $evaluationIdentifier | ||
static protected Closure>> | $macros | from Macroable | |
protected string | $view | from ViewComponent | |
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | ||
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 |
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
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
final
__construct(string $name)
No description
static Column
make(string $name)
No description