‪TYPO3CMS  ‪main
TYPO3\CMS\Webhooks\Repository\WebhookDemand Class Reference

Public Member Functions

 __construct (protected int $page=1, protected string $orderField=self::DEFAULT_ORDER_FIELD, protected string $orderDirection=self::ORDER_ASCENDING, protected string $name='', protected string $webhookType='')
 
 getOrderField ()
 
 getOrderDirection ()
 
 getDefaultOrderDirection ()
 
 getReverseOrderDirection ()
 
 getName ()
 
 hasName ()
 
 getWebhookType ()
 
 hasWebhookType ()
 
 hasConstraints ()
 
 getPage ()
 
 getLimit ()
 
 getOffset ()
 
 getParameters ()
 

Static Public Member Functions

static fromRequest (ServerRequestInterface $request)
 

Protected Attributes

const ORDER_DESCENDING = 'desc'
 
const ORDER_ASCENDING = 'asc'
 
const DEFAULT_ORDER_FIELD = 'name'
 
const ORDER_FIELDS = ['name', 'webhook_type']
 
int $limit = 15
 

Detailed Description

Demand Object for filtering webhooks in the backend module

Definition at line 27 of file WebhookDemand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::__construct ( protected int  $page = 1,
protected string  $orderField = self::DEFAULT_ORDER_FIELD,
protected string  $orderDirection = self::ORDER_ASCENDING,
protected string  $name = '',
protected string  $webhookType = '' 
)

Member Function Documentation

◆ fromRequest()

static TYPO3\CMS\Webhooks\Repository\WebhookDemand::fromRequest ( ServerRequestInterface  $request)
static

◆ getDefaultOrderDirection()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getDefaultOrderDirection ( )

◆ getLimit()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getLimit ( )

◆ getName()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getName ( )

◆ getOffset()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getOffset ( )

◆ getOrderDirection()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getOrderDirection ( )

◆ getOrderField()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getOrderField ( )

◆ getPage()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getPage ( )

Definition at line 112 of file WebhookDemand.php.

◆ getParameters()

◆ getReverseOrderDirection()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getReverseOrderDirection ( )

◆ getWebhookType()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::getWebhookType ( )

◆ hasConstraints()

TYPO3\CMS\Webhooks\Repository\WebhookDemand::hasConstraints ( )

◆ hasName()

◆ hasWebhookType()

Member Data Documentation

◆ $limit

int TYPO3\CMS\Webhooks\Repository\WebhookDemand::$limit = 15
protected

◆ DEFAULT_ORDER_FIELD

const TYPO3\CMS\Webhooks\Repository\WebhookDemand::DEFAULT_ORDER_FIELD = 'name'
protected

◆ ORDER_ASCENDING

◆ ORDER_DESCENDING

const TYPO3\CMS\Webhooks\Repository\WebhookDemand::ORDER_DESCENDING = 'desc'
protected

◆ ORDER_FIELDS

const TYPO3\CMS\Webhooks\Repository\WebhookDemand::ORDER_FIELDS = ['name', 'webhook_type']
protected

Definition at line 32 of file WebhookDemand.php.