SilverStripe\Headless\Model\IncomingWebhook
Synopsis
class IncomingWebhook
extends DataObject
{
- // constants
- const EVENT_DEPLOY_START = 'DEPLOY_START';
- const EVENT_DEPLOY_SUCCESS = 'DEPLOY_SUCCESS';
- const EVENT_DEPLOY_FAILURE = 'DEPLOY_FAILURE';
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- private static string $table_name = 'IncomingWebhook';
- private static string $singular_name = 'Incoming Webhook';
- private static string $plural_name = 'Incoming Webhooks';
- private static string $default_sort = 'ID ASC';
- private static array $indexes = ;
- // methods
- public static IncomingWebhook|null getByKey()
- public FieldList getCMSFields()
- public void requireDefaultRecords()
- public string getURL()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canView()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Constants
Name | Value |
---|---|
EVENT_DEPLOY_START | 'DEPLOY_START' |
EVENT_DEPLOY_SUCCESS | 'DEPLOY_SUCCESS' |
EVENT_DEPLOY_FAILURE | 'DEPLOY_FAILURE' |
Members
private
- $db — array
- $default_sort — string
- $indexes — array
- $plural_name — string
- $singular_name — string
- $summary_fields — array
- $table_name — string