SilverStripe\AssetAdmin\GraphQL\Notice
Represents a notice related to a graphql Action. This could be a failure, warning, or recoverable query (e.g. "are you sure you want to publish this item?")
Synopsis
class Notice
{
- // members
- protected $noticeType;
- protected array $ids = ;
- protected $message;
- // methods
- public void __construct()
- public string getNoticeType()
- public $this setNoticeType()
- public array getIDs()
- public $this setIDs()
- public string getMessage()
- public $this setMessage()
Members
protected
- $ids
—
array
IDs of records this notice relateds to - $message — string
- $noticeType — string
Methods
public
- __construct() — Notice constructor.
- getIDs()
- getMessage()
- getNoticeType()
- setIDs()
- setMessage()
- setNoticeType()