class Notice (View source)

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?")

Properties

protected string $noticeType
protected array $ids

IDs of records this notice relateds to

protected string $message

Methods

public
__construct(string $message, int $noticeType, array $ids = [])

Notice constructor.

public
string
getNoticeType()

No description

public
$this
setNoticeType(string $noticeType)

No description

public
array
getIDs()

No description

public
$this
setIDs(array $ids)

No description

public
string
getMessage()

No description

public
$this
setMessage(string $message)

No description

Details

__construct(string $message, int $noticeType, array $ids = [])

Notice constructor.

Parameters

string $message
int $noticeType
array $ids

string getNoticeType()

No description

Return Value

string

$this setNoticeType(string $noticeType)

No description

Parameters

string $noticeType

Return Value

$this

array getIDs()

No description

Return Value

array

$this setIDs(array $ids)

No description

Parameters

array $ids

Return Value

$this

string getMessage()

No description

Return Value

string

$this setMessage(string $message)

No description

Parameters

string $message

Return Value

$this