Skip to content

Abstract Class EventType

Extends Model

Properties

dateFieldHandle

public string $dateFieldHandle

Methods

discoverTypes

Returns instances of this type.

public static discoverTypes(): array<string,EventType>
return array<string,EventType>

find

Returns a query for elements of this type.

public find(): ElementQuery
return ElementQuery

displayName

public displayName(): string
return string

pluralDisplayName

public pluralDisplayName(): string
return string

getCpUrl

public getCpUrl(): ?string
return ?string

getActionUrl

public getActionUrl(): ?string
return ?string

canView

public canView(User $user): bool
$user User
return bool

canViewPeers

public canViewPeers(User $user): bool
$user User
return bool

canCreate

public canCreate(User $user): bool
$user User
return bool

canDelete

public canDelete(User $user): bool
$user User
return bool