WebhookDemand

class \TYPO3\CMS\Webhooks\Repository\WebhookDemand

Demand Object for filtering webhooks in the backend module

Table of Contents

Constants

DEFAULT_ORDER_FIELD  : mixed = 'name'
ORDER_ASCENDING  : mixed = 'asc'
ORDER_DESCENDING  : mixed = 'desc'
ORDER_FIELDS  : mixed = ['name', 'webhook_type']

Properties

$limit  : int
$name  : string
$orderDirection  : string
$orderField  : string
$page  : int
$webhookType  : string

Methods

__construct()  : mixed
fromRequest()  : self
getDefaultOrderDirection()  : string
getLimit()  : int
getName()  : string
getOffset()  : int
getOrderDirection()  : string
getOrderField()  : string
getPage()  : int
getParameters()  : array
getReverseOrderDirection()  : string
getWebhookType()  : string
hasConstraints()  : bool
hasName()  : bool
hasWebhookType()  : bool

Constants

DEFAULT_ORDER_FIELD

protected mixed DEFAULT_ORDER_FIELD = 'name'

ORDER_ASCENDING

protected mixed ORDER_ASCENDING = 'asc'

ORDER_DESCENDING

protected mixed ORDER_DESCENDING = 'desc'

ORDER_FIELDS

protected mixed ORDER_FIELDS = ['name', 'webhook_type']

Properties

$orderDirection

protected string $orderDirection = self::ORDER_ASCENDING

$orderField

protected string $orderField = self::DEFAULT_ORDER_FIELD

$webhookType

protected string $webhookType = ''

Methods

__construct()

public __construct([int $page = 1 ][, string $orderField = self::DEFAULT_ORDER_FIELD ][, string $orderDirection = self::ORDER_ASCENDING ][, string $name = '' ][, string $webhookType = '' ]) : mixed

Parameters

$page : int = 1
$orderField : string = self::DEFAULT_ORDER_FIELD
$orderDirection : string = self::ORDER_ASCENDING
$name : string = ''
$webhookType : string = ''

fromRequest()

public static fromRequest(ServerRequestInterface $request) : self

Parameters

$request : ServerRequestInterface

Return values

self

getDefaultOrderDirection()

public getDefaultOrderDirection() : string

Return values

string

getLimit()

public getLimit() : int

Return values

int

getName()

public getName() : string

Return values

string

getOffset()

public getOffset() : int

Return values

int

getOrderDirection()

public getOrderDirection() : string

Return values

string

getOrderField()

public getOrderField() : string

Return values

string

getPage()

public getPage() : int

Return values

int

getParameters()

public getParameters() : array

Return values

array

getReverseOrderDirection()

public getReverseOrderDirection() : string

Return values

string

getWebhookType()

public getWebhookType() : string

Return values

string

hasConstraints()

public hasConstraints() : bool

Return values

bool

hasName()

public hasName() : bool

Return values

bool

hasWebhookType()

public hasWebhookType() : bool

Return values

bool
On this page