SilverStripe\Headless\Model\OutgoingWebhook
Synopsis
class OutgoingWebhook
extends DataObject
{
- // constants
- const EVENT_PREVIEW = 'PREVIEW';
- const EVENT_PUBLISH = 'PUBLISH';
- const PUBLISH_OPTIMISTIC = 'OPTIMISTIC';
- const PUBLISH_DEFER = 'DEFER';
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- private static string $table_name = 'OutgoingWebhook';
- private static string $singular_name = 'Outgoing Webhook';
- private static string $plural_name = 'Outgoing Webhooks';
- private static string $default_sort = 'ID ASC';
- private static array $indexes = ;
- // methods
- public FieldList getCMSFields()
- public ValidationResult validate()
- public ResponseInterface invoke()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canView()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Constants
Name | Value |
---|---|
EVENT_PREVIEW | 'PREVIEW' |
EVENT_PUBLISH | 'PUBLISH' |
PUBLISH_OPTIMISTIC | 'OPTIMISTIC' |
PUBLISH_DEFER | 'DEFER' |
Members
private
- $db — array
- $default_sort — string
- $indexes — array
- $plural_name — string
- $singular_name — string
- $summary_fields — array
- $table_name — string