Resource
class Resource (View source)
Traits
Properties
static protected string|null | $breadcrumb | ||
static protected bool | $isGloballySearchable | ||
static protected string|null deprecated | $label | ||
static protected string|null | $modelLabel | ||
static protected string|null | $model | ||
static protected string|null | $navigationGroup | ||
static protected string|null | $navigationIcon | ||
static protected string|null | $activeNavigationIcon | ||
static protected string|null | $navigationLabel | ||
static protected int|null | $navigationSort | ||
static protected string|null | $recordRouteKeyName | ||
static protected bool | $shouldRegisterNavigation | ||
static protected string|null deprecated | $pluralLabel | ||
static protected string|null | $pluralModelLabel | ||
static protected string|null | $recordTitleAttribute | ||
static protected string|null | $slug | ||
static protected string|array | $middlewares | ||
static protected string|array | $withoutRouteMiddleware | ||
static protected int | $globalSearchResultsLimit | ||
static protected bool | $shouldAuthorizeWithGate | ||
static protected bool | $shouldIgnorePolicies |
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
Details
static void
registerNavigationItems()
No description
static array
getNavigationItems()
No description
static Model|null
resolveRecordRouteBinding($key)
No description
static bool
can(string $action, Model|null $record = null)
No description
static void
authorizeWithGate(bool $condition = true)
No description
static void
ignorePolicies(bool $condition = true)
No description
static bool
shouldAuthorizeWithGate()
No description
static bool
shouldIgnorePolicies()
No description
static bool
canViewAny()
No description
static bool
canCreate()
No description
static bool
canEdit(Model $record)
No description
static bool
canDelete(Model $record)
No description
static bool
canDeleteAny()
No description
static bool
canForceDelete(Model $record)
No description
static bool
canForceDeleteAny()
No description
static bool
canReorder()
No description
static bool
canReplicate(Model $record)
No description
static bool
canRestore(Model $record)
No description
static bool
canRestoreAny()
No description
static bool
canGloballySearch()
No description
static bool
canView(Model $record)
No description
static string
getBreadcrumb()
No description
static Builder
getEloquentQuery()
No description
static array
getGloballySearchableAttributes()
No description
static array
getGlobalSearchResultActions(Model $record)
No description
static array
getGlobalSearchResultDetails(Model $record)
No description
static string
getGlobalSearchResultTitle(Model $record)
No description
static string|null
getGlobalSearchResultUrl(Model $record)
No description
static int
getGlobalSearchResultsLimit()
No description
static Collection
getGlobalSearchResults(string $searchQuery)
No description
static string|null
getLabel()
deprecated
deprecated
No description
static string
getModelLabel()
No description
static string
getModel()
No description
static array
getPages()
No description
static string|null
getPluralLabel()
deprecated
deprecated
No description
static string
getPluralModelLabel()
No description
static string|null
getRecordTitleAttribute()
No description
static Htmlable|null
getRecordTitle(Model|null $record)
No description
static array
getRelations()
No description
static array
getWidgets()
No description
static string
getRouteBaseName()
No description
static string|null
getRecordRouteKeyName()
No description
static Closure
getRoutes()
No description
static string|array
getMiddlewares()
No description
static string|array
getWithoutRouteMiddleware()
No description
static string
getSlug()
No description
static string
getUrl($name = 'index', $params = [], $isAbsolute = true)
No description
static bool
hasPage($page)
No description
static bool
hasRecordTitle()
No description
static protected Builder
applyGlobalSearchAttributeConstraint(Builder $query, array $searchAttributes, string $searchQuery, bool $isFirst)
No description
static protected Builder
getGlobalSearchEloquentQuery()
No description
static protected string|null
getNavigationGroup()
No description
static void
navigationGroup(string|null $group)
No description
static protected string
getNavigationIcon()
No description
static void
navigationIcon(string|null $icon)
No description
static protected string
getActiveNavigationIcon()
No description
static protected string
getNavigationLabel()
No description
static protected string|null
getNavigationBadge()
No description
static protected string|null
getNavigationBadgeColor()
No description
static protected int|null
getNavigationSort()
No description
static void
navigationSort(int|null $sort)
No description
static protected string
getNavigationUrl()
No description
static protected bool
shouldRegisterNavigation()
No description