TextColumn
class TextColumn extends Column (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 | ||
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 bool|Closure | $isCopyable | from CanBeCopied | |
protected string|Closure|null | $copyMessage | from CanBeCopied | |
protected int|Closure|null | $copyMessageDuration | from CanBeCopied | |
protected string|Closure|null | $copyableState | from CanBeCopied | |
protected Closure|null | $formatStateUsing | from CanFormatState | |
protected int|null | $limit | from CanFormatState | |
protected string|Closure|null | $prefix | from CanFormatState | |
protected string|Closure|null | $suffix | from CanFormatState | |
protected string|Closure|null | $placeholder | from CanFormatState | |
protected string|Closure|null | $timezone | from CanFormatState | |
protected string|Closure|null | $color | from HasColor | |
protected Htmlable|Closure|null | $descriptionAbove | from HasDescription | |
protected Htmlable|Closure|null | $descriptionBelow | from HasDescription | |
protected string|Closure|null | $fontFamily | from HasFontFamily | |
protected string|Closure|null | $icon | from HasIcon | |
protected string|Closure|null | $iconPosition | from HasIcon | |
protected string|Closure|null | $size | from HasSize | |
protected string|Closure|null | $weight | from HasWeight | |
protected bool|Closure | $canWrap |
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
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
CanBeCopied
copyable(bool|Closure $condition = true)
No description
CanBeCopied
copyMessage(string|Closure|null $message)
No description
CanBeCopied
copyMessageDuration(int|Closure|null $duration)
No description
CanBeCopied
copyableState(string|Closure|null $state)
No description
string
getCopyMessage()
No description
int
getCopyMessageDuration()
No description
string|null
getCopyableState()
No description
bool
isCopyable()
No description
CanFormatState
date(string|null $format = null, string|null $timezone = null)
No description
CanFormatState
dateTime(string|null $format = null, string|null $timezone = null)
No description
CanFormatState
since(string|null $timezone = null)
No description
CanFormatState
enum(Arrayable $options, $default = null)
No description
CanFormatState
limit(int $length = 100, string $end = '...')
No description
CanFormatState
words(int $words = 100, string $end = '...')
No description
CanFormatState
prefix(string|Closure $prefix)
No description
CanFormatState
suffix(string|Closure $suffix)
No description
CanFormatState
placeholder(string|Closure|null $placeholder)
No description
CanFormatState
html()
No description
CanFormatState
formatStateUsing(Closure|null $callback)
No description
CanFormatState
money(string|Closure|null $currency = null, bool $shouldConvert = false)
No description
getFormattedState()
No description
int|null
getLimit()
No description
CanFormatState
time(string|null $format = null, string|null $timezone = null)
No description
CanFormatState
timezone(string|Closure|null $timezone)
No description
string
getTimezone()
No description
HasColor
color(string|Closure|null $color)
No description
string|null
getColor()
No description
HasDescription
description(Htmlable|Closure|null $description, string|Closure|null $position = 'below')
No description
HasDescription
descriptionPosition(string $position = 'below')
deprecated
deprecated
No description
Htmlable|null
getDescriptionAbove()
No description
Htmlable|null
getDescriptionBelow()
No description
HasFontFamily
fontFamily(string|Closure|null $fontFamily)
No description
string|null
getFontFamily()
No description
HasIcon
icon(string|Closure|null $icon)
No description
HasIcon
iconPosition(string|Closure|null $iconPosition)
No description
string|null
getIcon()
No description
string
getIconPosition()
No description
HasSize
size(string|Closure|null $size)
No description
string|null
getSize()
No description
HasWeight
weight(string|Closure|null $weight)
No description
string|null
getWeight()
No description
TextColumn
rowIndex(bool $isFromZero = false)
No description
TextColumn
wrap(bool|Closure $condition = true)
No description
bool
canWrap()
No description