Page
abstract class Page 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 | |
static protected string|null | $slug | from HasRoutes | |
static protected string | $routeMiddleware | from HasRoutes | |
static protected string | $withoutRouteMiddleware | from HasRoutes | |
protected NavigationGroup[] | $cachedSubNavigation | from HasSubNavigation | |
static protected SubNavigationPosition | $subNavigationPosition | from HasSubNavigation | |
protected array | $cachedHeaderActions | from InteractsWithHeaderActions | |
static protected Cluster> | $cluster | ||
static protected bool | $isDiscovered | ||
static protected string|null | $navigationGroup | ||
static protected string|null | $navigationBadgeTooltip | ||
static protected string|null | $navigationParentItem | ||
static protected string|null | $navigationIcon | ||
static protected string|null | $activeNavigationIcon | ||
static protected string|null | $navigationLabel | ||
static protected int|null | $navigationSort | ||
static protected bool | $shouldRegisterNavigation |
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
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
void
mountCanAuthorizeAccess()
No description
static bool
canAccess()
No description
static void
registerRoutes(Panel $panel)
No description
static void
routes(Panel $panel)
No description
static string
getRoutePath()
No description
static string
getRelativeRouteName()
No description
static string
getSlug()
No description
static string|array
getRouteMiddleware(Panel $panel)
No description
static string|array
getWithoutRouteMiddleware(Panel $panel)
No description
static string
getEmailVerifiedMiddleware(Panel $panel)
No description
static bool
isEmailVerificationRequired(Panel $panel)
No description
static string
getTenantSubscribedMiddleware(Panel $panel)
No description
static bool
isTenantSubscriptionRequired(Panel $panel)
No description
array
getSubNavigation()
No description
SubNavigationPosition
getSubNavigationPosition()
No description
array
getCachedSubNavigation()
No description
array
generateNavigationItems(array $components)
No description
array
getSubNavigationParameters()
No description
void
bootedInteractsWithHeaderActions()
No description
protected void
cacheHeaderActions()
No description
array
getCachedHeaderActions()
No description
protected array
getHeaderActions()
No description
protected array
getActions()
deprecated
deprecated
No description
static string
getUrl(array $parameters = [], bool $isAbsolute = true, string|null $panel = null, Model|null $tenant = null)
No description
static void
registerNavigationItems()
No description
static array
getNavigationItems()
No description
static string
getNavigationItemActiveRoutePattern()
No description
static string
getRouteName(string|null $panel = null)
No description
array
getBreadcrumbs()
No description
static string|null
getNavigationGroup()
No description
static string|null
getNavigationParentItem()
No description
static Htmlable|null
getActiveNavigationIcon()
No description
static Htmlable|null
getNavigationIcon()
No description
static string
getNavigationLabel()
No description
static string|null
getNavigationBadge()
No description
static string|array|null
getNavigationBadgeColor()
No description
static string|null
getNavigationBadgeTooltip()
No description
static int|null
getNavigationSort()
No description
static string
getNavigationUrl()
No description
View|null
getFooter()
No description
View|null
getHeader()
No description
protected array
getHeaderWidgets()
No description
array
getVisibleHeaderWidgets()
No description
int|string|array
getHeaderWidgetsColumns()
No description
protected array
getFooterWidgets()
No description
array
getVisibleFooterWidgets()
No description
protected array
filterVisibleWidgets(array $widgets)
No description
protected string
normalizeWidgetClass(WidgetConfiguration $widget)
No description
int|string|array
getFooterWidgetsColumns()
No description
array
getWidgetData()
No description
static bool
shouldRegisterNavigation()
No description
static bool
isDiscovered()
No description
static string|null
getCluster()
No description
static string
prependClusterSlug(string $slug)
No description
static string
prependClusterRouteBaseName(string $name)
No description