AssociateAction
class AssociateAction extends Action (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 Action | |
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from BaseAction | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected bool|Closure | $isDisabled | from CanBeDisabled | |
protected | $authorization | from CanBeHidden | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected string|Closure|null | $color | from HasColor | |
protected string|Closure|null | $icon | from HasIcon | |
protected string|Closure|null | $iconPosition | from HasIcon | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string | $name | from HasName | |
protected string|Closure|null | $size | from HasSize | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected Closure|null | $mountUsing | from CanBeMounted | |
protected Notification|Closure|null | $failureNotification | from CanNotify | |
protected Notification|Closure|null | $successNotification | from CanNotify | |
protected string|Closure|null | $failureNotificationTitle | from CanNotify | |
protected string|Closure|null | $successNotificationTitle | from CanNotify | |
protected array|Closure | $extraModalActions | from CanOpenModal | |
protected bool|Closure|null | $isModalCentered | from CanOpenModal | |
protected bool|Closure | $isModalSlideOver | from CanOpenModal | |
protected array|Closure|null | $modalActions | from CanOpenModal | |
protected Action|Closure|null | $modalCancelAction | from CanOpenModal | |
protected Action|Closure|null | $modalSubmitAction | from CanOpenModal | |
protected string|Closure|null | $modalButtonLabel | from CanOpenModal | |
protected Htmlable|Closure|null | $modalContent | from CanOpenModal | |
protected Htmlable|Closure|null | $modalFooter | from CanOpenModal | |
protected Htmlable|Closure|null | $modalHeading | from CanOpenModal | |
protected Htmlable|Closure|null | $modalSubheading | from CanOpenModal | |
protected string|Closure|null | $modalWidth | from CanOpenModal | |
protected bool|Closure|null | $isModalHidden | from CanOpenModal | |
protected bool|Closure|null | $isModalClosedByClickingAway | from CanOpenModal | |
protected string|Closure|null | $failureRedirectUrl | from CanRedirect | |
protected string|Closure|null | $successRedirectUrl | from CanRedirect | |
protected Closure|string|null | $action | from HasAction | |
protected array | $arguments | from HasArguments | |
protected array | $formData | from HasForm | |
protected array|Closure | $formSchema | from HasForm | |
protected bool|Closure | $isFormDisabled | from HasForm | |
protected Closure|null | $mutateFormDataUsing | from HasForm | |
protected Closure|null | $before | from HasLifecycleHooks | |
protected Closure|null | $after | from HasLifecycleHooks | |
protected Closure|null | $beforeFormFilled | from HasLifecycleHooks | |
protected Closure|null | $afterFormFilled | from HasLifecycleHooks | |
protected Closure|null | $beforeFormValidated | from HasLifecycleHooks | |
protected Closure|null | $afterFormValidated | from HasLifecycleHooks | |
protected bool | $isWizard | from HasWizard | |
protected bool|Closure | $isWizardSkippable | from HasWizard | |
int|Closure | $wizardStartStep | from HasWizard | |
protected bool|Closure | $isOutlined | from CanBeOutlined | |
protected bool|Closure | $shouldOpenUrlInNewTab | from CanOpenUrl | |
protected string|Closure|null | $url | from CanOpenUrl | |
protected Table | $table | from BelongsToTable | |
protected string|Closure|null | $groupedIcon | from HasGroupedIcon | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected Model|Closure|null | $record | from InteractsWithRecord | |
protected string|Closure|null | $model | from InteractsWithRecord | |
protected string|Closure|null | $modelLabel | from InteractsWithRecord | |
protected string|Closure|null | $pluralModelLabel | from InteractsWithRecord | |
protected string|Closure|null | $recordTitle | from InteractsWithRecord | |
protected Closure|null | $using | from CanCustomizeProcess | |
protected Relation|Closure|null | $relationship | from InteractsWithRelationship | |
protected string|Closure|null | $inverseRelationshipName | from InteractsWithRelationship | |
protected Closure|null | $modifyRecordSelectUsing | ||
protected Closure|null | $modifyRecordSelectOptionsQueryUsing | ||
protected bool|Closure | $isAssociateAnotherDisabled | ||
protected bool|Closure | $isRecordSelectPreloaded | ||
protected string|Closure|null | $recordTitleAttribute | ||
protected array|Closure|null | $recordSelectSearchColumns |
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
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
CanBeDisabled
disabled(bool|Closure $condition = true)
No description
bool
isDisabled()
No description
bool
isEnabled()
No description
CanBeHidden
authorize($abilities, Model|array|null $arguments = null)
No description
CanBeHidden
authorizeAny(string|array $abilities, Model|array|null $arguments = null)
No description
protected array
parseAuthorizationArguments(array $arguments)
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isAuthorized()
No description
HasColor
color(string|Closure|null $color)
No description
string|null
getColor()
No description
HasIcon
icon(string|Closure|null $icon)
No description
HasIcon
iconPosition(string|Closure|null $position)
No description
string|null
getIcon()
No description
string|null
getIconPosition()
No description
HasLabel
disableLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
string
getName()
No description
HasSize
size(string|Closure|null $size)
No description
string|null
getSize()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
final
__construct(string $name)
No description
static BaseAction
make(string|null $name = null)
No description
static string|null
getDefaultName()
No description
BaseAction
withAttributes(array $attributes)
deprecated
deprecated
No description
mount(array $parameters)
No description
CanBeMounted
mountUsing(Closure|null $callback)
No description
Closure
getMountUsing()
No description
CanNotify
sendFailureNotification()
No description
CanNotify
failureNotification(Notification|Closure|null $notification)
No description
CanNotify
failureNotificationMessage(string|Closure|null $message)
deprecated
deprecated
No description
CanNotify
failureNotificationTitle(string|Closure|null $title)
No description
CanNotify
sendSuccessNotification()
No description
CanNotify
successNotification(Notification|Closure|null $notification)
No description
CanNotify
successNotificationMessage(string|Closure|null $message)
deprecated
deprecated
No description
CanNotify
successNotificationTitle(string|Closure|null $title)
No description
string|null
getSuccessNotificationTitle()
No description
string|null
getFailureNotificationTitle()
No description
CanOpenModal
closeModalByClickingAway(bool|Closure|null $condition = true)
No description
CanOpenModal
centerModal(bool|Closure|null $condition = true)
No description
CanOpenModal
slideOver(bool|Closure $condition = true)
No description
CanOpenModal
modalActions(array|Closure|null $actions = null)
No description
CanOpenModal
extraModalActions(array|Closure $actions)
No description
CanOpenModal
modalSubmitAction(Action|Closure|null $action = null)
No description
CanOpenModal
modalCancelAction(Action|Closure|null $action = null)
No description
CanOpenModal
modalButton(string|Closure|null $label = null)
No description
CanOpenModal
modalContent(Htmlable|Closure|null $content = null)
No description
CanOpenModal
modalFooter(Htmlable|Closure|null $content = null)
No description
CanOpenModal
modalHeading(Htmlable|Closure|null $heading = null)
No description
CanOpenModal
modalSubheading(Htmlable|Closure|null $subheading = null)
No description
CanOpenModal
modalWidth(string|Closure|null $width = null)
No description
CanOpenModal
modalHidden(bool|Closure|null $condition = false)
No description
abstract protected string
getLivewireCallActionName()
No description
array
getModalActions()
No description
protected array
filterHiddenModalActions(array $actions)
No description
Action
getModalSubmitAction()
No description
Action
getModalCancelAction()
No description
array
getExtraModalActions()
No description
string
getModalButtonLabel()
No description
Htmlable|null
getModalContent()
No description
Htmlable|null
getModalFooter()
No description
Htmlable
getModalHeading()
No description
Htmlable|null
getModalSubheading()
No description
string
getModalWidth()
No description
bool
isModalCentered()
No description
bool
isModalSlideOver()
No description
bool
isModalHidden()
No description
bool
isModalClosedByClickingAway()
No description
bool
shouldOpenModal()
No description
Action
makeExtraModalAction(string $name, array|null $arguments = null)
No description
static protected string
getModalActionClass()
No description
static Action
makeModalAction(string $name)
No description
CanRedirect
dispatchFailureRedirect()
No description
CanRedirect
dispatchSuccessRedirect()
No description
void
redirect(string|Closure $url)
No description
CanRedirect
failureRedirectUrl(string|Closure|null $url)
No description
CanRedirect
successRedirectUrl(string|Closure|null $url)
No description
CanRequireConfirmation
requiresConfirmation(bool|Closure $condition = true)
No description
HasAction
action(Closure|string|null $action)
No description
Closure|null
getAction()
No description
HasArguments
arguments(array $arguments)
No description
array
getArguments()
No description
HasArguments
resetArguments()
No description
HasForm
disableForm(bool|Closure $condition = true)
No description
HasForm
form(array|Closure $schema)
No description
array
getFormSchema()
No description
bool
hasForm()
No description
bool
hasFormSchema()
No description
HasForm
formData(array $data, bool $shouldMutate = true)
No description
HasForm
resetFormData()
No description
array
getFormData()
No description
bool
isFormDisabled()
No description
HasLifecycleHooks
before(Closure $callback)
No description
HasLifecycleHooks
after(Closure $callback)
No description
HasLifecycleHooks
beforeFormFilled(Closure $callback)
No description
HasLifecycleHooks
afterFormFilled(Closure $callback)
No description
HasLifecycleHooks
beforeFormValidated(Closure $callback)
No description
HasLifecycleHooks
afterFormValidated(Closure $callback)
No description
callBefore()
No description
callAfter()
No description
callBeforeFormFilled()
No description
callAfterFormFilled()
No description
callBeforeFormValidated()
No description
callAfterFormValidated()
No description
HasWizard
steps(array|Closure $steps)
No description
HasWizard
startOnStep(int|Closure $startStep)
No description
HasWizard
skippableSteps(bool|Closure $condition = true)
No description
bool
isWizard()
No description
bool
isWizardSkippable()
No description
int
getWizardStartStep()
No description
in
Action at line 30
call(array $parameters = [])
No description
in
Action at line 35
void
cancel()
No description
in
Action at line 40
void
halt()
No description
in
Action at line 48
void
hold()
deprecated
deprecated
No description
in
Action at line 53
void
success()
No description
in
Action at line 59
void
failure()
No description
HasTable
getLivewire()
No description
CanBeOutlined
outlined(bool|Closure $condition = true)
No description
bool
isOutlined()
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
BelongsToTable
table(Table $table)
No description
Table
getTable()
No description
HasGroupedIcon
groupedIcon(string|Closure|null $icon)
No description
string|null
getGroupedIcon()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
InteractsWithRecord
record(Model|Closure|null $record)
No description
InteractsWithRecord
model(string|Closure|null $model)
No description
InteractsWithRecord
modelLabel(string|Closure|null $label)
No description
InteractsWithRecord
pluralModelLabel(string|Closure|null $label)
No description
InteractsWithRecord
recordTitle(string|Closure|null $title)
No description
Model|null
getRecord()
No description
string|null
getRecordTitle(Model|null $record = null)
No description
string|null
getCustomRecordTitle(Model|null $record = null)
No description
string|null
getModel()
No description
string|null
getCustomModel()
No description
string|null
getModelLabel()
No description
string|null
getCustomModelLabel()
No description
string|null
getPluralModelLabel()
No description
string|null
getCustomPluralModelLabel()
No description
in
Action at line 29
Action
button()
No description
in
Action at line 36
Groupable
grouped()
No description
in
Action at line 43
Action
link()
No description
in
Action at line 50
Action
iconButton()
No description
CanCustomizeProcess
using(Closure|null $using)
No description
process(Closure|null $default, array $parameters = [])
No description
InteractsWithRelationship
relationship(Relation|Closure|null $relationship = null)
No description
InteractsWithRelationship
inverseRelationshipName(string|Closure|null $relationship = null)
No description
Builder|null
getRelationship()
No description
string|null
getInverseRelationshipName()
No description
Builder
getInverseRelationshipFor(Model $record)
No description
bool
hasRelationship()
No description
AssociateAction
recordSelect(Closure|null $callback)
No description
AssociateAction
recordSelectOptionsQuery(Closure|null $callback)
No description
AssociateAction
recordTitleAttribute(string|Closure|null $attribute)
No description
AssociateAction
disableAssociateAnother(bool|Closure $condition = true)
No description
AssociateAction
preloadRecordSelect(bool|Closure $condition = true)
No description
bool
isAssociateAnotherDisabled()
No description
bool
isRecordSelectPreloaded()
No description
string
getRecordTitleAttribute()
No description
AssociateAction
recordSelectSearchColumns(array|Closure|null $columns)
No description
array|null
getRecordSelectSearchColumns()
No description
Select
getRecordSelect()
No description