SimplePage
abstract class SimplePage extends BasePage (View source)
Traits
Properties
string[] | $mountedActions | from InteractsWithActions | |
array<string,array<string,mixed>> | $mountedActionsArguments | from InteractsWithActions | |
array<string,array<string,mixed>> | $mountedActionsData | from InteractsWithActions | |
mixed | $defaultAction | from InteractsWithActions | |
mixed | $defaultActionArguments | from InteractsWithActions | |
protected Action> | $cachedActions | from InteractsWithActions | |
protected bool | $hasActionsModalRendered | from InteractsWithActions | |
Form | $mountedActionForm | from InteractsWithActions | |
string[] | $mountedFormComponentActions | from HasFormComponentActions | |
array<string,array<string,mixed>> | $mountedFormComponentActionsArguments | from HasFormComponentActions | |
array<string,array<string,mixed>> | $mountedFormComponentActionsData | from HasFormComponentActions | |
string[] | $mountedFormComponentActionsComponents | from HasFormComponentActions | |
ComponentContainer | $mountedFormComponentActionForm | from HasFormComponentActions | |
array | $componentFileAttachments | from InteractsWithForms | |
protected Form> | $cachedForms | from InteractsWithForms | |
protected bool | $hasCachedForms | from InteractsWithForms | |
protected bool | $isCachingForms | from InteractsWithForms | |
protected bool | $hasFormsModalRendered | from InteractsWithForms | |
protected array<string,mixed> | $oldFormState | from InteractsWithForms | |
protected bool | $hasInfolistsModalRendered | from InteractsWithInfolists | |
protected Infolist> | $cachedInfolists | from InteractsWithInfolists | |
string[] | $mountedInfolistActions | from InteractsWithInfolists | |
array<string,array<string,mixed>> | $mountedInfolistActionsData | from InteractsWithInfolists | |
string|null | $mountedInfolistActionsComponent | from InteractsWithInfolists | |
string|null | $mountedInfolistActionsInfolist | from InteractsWithInfolists | |
static protected string | $layout | ||
static protected string|null | $title | from BasePage | |
protected string|null | $heading | from BasePage | |
protected string|null | $subheading | from BasePage | |
static protected string | $view | from BasePage | |
static Closure|null | $reportValidationErrorUsing | from BasePage | |
protected string|null | $maxContentWidth | from BasePage | |
protected array | $extraBodyAttributes | from BasePage | |
static Alignment | $formActionsAlignment | from BasePage | |
static bool | $formActionsAreSticky | from BasePage | |
static bool | $hasInlineLabels | from BasePage | |
protected string|null | $maxWidth | from HasMaxWidth | |
protected bool | $hasTopbar | from HasTopbar |
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
Details
mixed
callMountedAction(array $arguments = [])
No description
protected void
afterActionCalled()
No description
mixed
mountAction(string $name, array $arguments = [])
No description
void
replaceMountedAction(string $name, array $arguments = [])
No description
bool
mountedActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedActionHasForm(Action|null $mountedAction = null)
No description
protected void
mergeCachedActions(array $actions)
No description
protected void
configureAction(Action $action)
No description
Action|null
getMountedAction()
No description
protected array
getInteractsWithActionsForms()
No description
Form|null
getMountedActionForm(Action|null $mountedAction = null)
No description
protected Model|string|null
getMountedActionFormModel()
No description
Action|null
getAction(string|array $name)
No description
protected Action|null
getMountableModalActionFromAction(Action $action, array $modalActionNames)
No description
protected string|null
popMountedAction()
No description
protected void
resetMountedActionProperties()
No description
void
unmountAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
protected void
cacheMountedActionForm(Action|null $mountedAction = null)
No description
protected void
closeActionModal()
No description
protected void
openActionModal()
No description
string|null
getActiveActionsLocale()
No description
Infolist
mountedActionInfolist()
No description
mixed
callMountedFormComponentAction(array $arguments = [])
No description
mixed
mountFormComponentAction(string $component, string $name, array $arguments = [])
No description
protected void
cacheMountedFormComponentActionForm(Action|null $mountedAction = null)
No description
bool
mountedFormComponentActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedFormComponentActionHasForm(Action|null $mountedAction = null)
No description
Action|null
getMountedFormComponentAction(int|null $actionNestingIndex = null)
No description
protected Form|null
getMountedFormComponentActionForm(int|null $actionNestingIndex = null, Action|null $mountedAction = null)
No description
Component|null
getMountedFormComponentActionComponent(int|null $actionNestingIndex = null)
No description
protected void
resetMountedFormComponentActionProperties()
No description
protected string|null
popMountedFormComponentAction()
No description
void
unmountFormComponentAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
protected void
closeFormComponentActionModal(bool $shouldCloseModal = true)
No description
protected void
openFormComponentActionModal()
No description
mixed
__get(string $property)
No description
void
dispatchFormEvent(mixed ...$args)
No description
void
fillFormDataForTesting(array $state = [])
No description
protected void
unsetMissingNumericArrayKeys(array $target, array $state)
No description
TemporaryUploadedFile|null
getFormComponentFileAttachment(string $statePath)
No description
string|null
getFormComponentFileAttachmentUrl(string $statePath)
No description
array
getFormSelectOptionLabels(string $statePath)
No description
string|null
getFormSelectOptionLabel(string $statePath)
No description
array
getFormSelectOptions(string $statePath)
No description
array
getFormSelectSearchResults(string $statePath, string $search)
No description
void
deleteUploadedFile(string $statePath, string $fileKey)
No description
array|null
getFormUploadedFiles(string $statePath)
No description
void
removeFormUploadedFile(string $statePath, string $fileKey)
No description
void
reorderFormUploadedFiles(string $statePath, array $fileKeys)
No description
array
validate($rules = null, array<string,string> $messages = [], array<string,string> $attributes = [])
No description
array<string,mixed>
validateOnly(string $field, array<string,array> $rules = null, array<string,string> $messages = [], array<string,string> $attributes = [], array<string,string> $dataOverrides = [])
No description
protected void
onValidationError(ValidationException $exception)
No description
protected array
prepareForValidation(array<string,mixed> $attributes)
No description
string|null
getFilamentTranslatableContentDriver()
No description
TranslatableContentDriver|null
makeFilamentTranslatableContentDriver()
No description
string|null
getActiveFormsLocale()
No description
void
updatingInteractsWithForms(string $statePath)
No description
mixed
getOldFormState(string $statePath)
No description
void
updatedInteractsWithForms(string $statePath)
No description
protected Form|null
cacheForm(string $name, Form|Closure|null $form)
No description
protected array
cacheForms()
No description
array
getTraitForms()
No description
protected bool
hasCachedForm(string $name)
No description
Form|null
getForm(string $name)
No description
array
getCachedForms()
No description
protected array
getForms()
No description
protected Model|string|null
getFormModel()
deprecated
deprecated
No description
protected array
getFormSchema()
deprecated
deprecated
No description
protected string|null
getFormContext()
deprecated
deprecated
No description
protected string|null
getFormStatePath()
deprecated
deprecated
No description
array
getRules()
No description
protected array
getValidationAttributes()
No description
protected Form
makeForm()
No description
bool
isCachingForms()
No description
Infolist
mountedFormComponentActionInfolist()
No description
Infolist|null
getInfolist(string $name)
No description
array
getCachedInfolists()
No description
protected 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
protected 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
getMountedInfolistActionComponent()
No description
Form|null
getMountedInfolistActionForm(Action|null $mountedAction = null)
No description
void
unmountInfolistAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
protected Infolist
makeInfolist()
No description
protected array
getInteractsWithInfolistsForms()
No description
View
render()
No description
string
getView()
No description
string
getLayout()
No description
Htmlable
getHeading()
No description
Htmlable|null
getSubheading()
No description
Htmlable
getTitle()
No description
MaxWidth|string|null
getMaxContentWidth()
No description
array
getExtraBodyAttributes()
No description
protected array
getLayoutData()
No description
protected array
getViewData()
No description
protected void
halt()
No description
protected void
callHook(string $hook)
No description
static void
stickyFormActions(bool $condition = true)
No description
static void
alignFormActionsStart()
No description
static void
alignFormActionsCenter()
No description
static void
alignFormActionsEnd()
No description
static void
alignFormActionsLeft()
deprecated
deprecated
No description
static void
alignFormActionsRight()
deprecated
deprecated
No description
Alignment
getFormActionsAlignment()
No description
bool
areFormActionsSticky()
No description
bool
hasInlineLabels()
No description
static void
formActionsAlignment(Alignment $alignment)
No description
static void
inlineLabels(bool $condition = true)
No description
array
getRenderHookScopes()
No description
MaxWidth|string|null
getMaxWidth()
No description
bool
hasLogo()
No description