trait InteractsWithInfolists (View source)

Properties

protected bool $hasInfolistsModalRendered
protected Infolist> $cachedInfolists
string[] $mountedInfolistActions
array<string,array<string,mixed>> $mountedInfolistActionsData
string|null $mountedInfolistActionsComponent
string|null $mountedInfolistActionsInfolist

Methods

Infolist|null
getInfolist(string $name)

No description

cacheInfolist(string $name, Infolist $infolist)

No description

array
getCachedInfolists()

No description

bool
hasCachedInfolist(string $name)

No description

mixed
callMountedInfolistAction(array $arguments = [])

No description

mixed
mountInfolistAction(string $name, string|null $component = null, string|null $infolist = null)

No description

void
openInfolistActionModal()

No description

bool
mountedInfolistActionShouldOpenModal(Action|null $mountedAction = null)

No description

bool
mountedInfolistActionHasForm(Action|null $mountedAction = null)

No description

Action|null
getMountedInfolistAction()

No description

Component|null
Form|null
getMountedInfolistActionForm(Action|null $mountedAction = null)

No description

void
unmountInfolistAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

makeInfolist()

No description

array

Details

Infolist|null getInfolist(string $name)

No description

Parameters

string $name

Return Value

Infolist|null

Infolist cacheInfolist(string $name, Infolist $infolist)

No description

Parameters

string $name
Infolist $infolist

Return Value

Infolist

array getCachedInfolists()

No description

Return Value

array

protected bool hasCachedInfolist(string $name)

No description

Parameters

string $name

Return Value

bool

mixed callMountedInfolistAction(array $arguments = [])

No description

Parameters

array $arguments

Return Value

mixed

mixed mountInfolistAction(string $name, string|null $component = null, string|null $infolist = null)

No description

Parameters

string $name
string|null $component
string|null $infolist

Return Value

mixed

protected void openInfolistActionModal()

No description

Return Value

void

bool mountedInfolistActionShouldOpenModal(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

bool mountedInfolistActionHasForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

Action|null getMountedInfolistAction()

No description

Return Value

Action|null

Component|null getMountedInfolistActionComponent()

No description

Return Value

Component|null

Form|null getMountedInfolistActionForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

Form|null

void unmountInfolistAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

Parameters

bool $shouldCancelParentActions
bool $shouldCloseModal

Return Value

void

protected Infolist makeInfolist()

No description

Return Value

Infolist

protected array getInteractsWithInfolistsForms()

No description

Return Value

array