Skip to content

Class ProductEventType

Extends EventType

Properties

productType

public ProductType $productType

Methods

discoverTypes

Returns instances of this type.

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

displayName

public displayName(): string
return string

find

Returns a query for elements of this type.

public find(): ProductQuery
return ProductQuery

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