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

Methods

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

Notice constructor.

string
getNoticeType()

No description

$this
setNoticeType(string $noticeType)

No description

array
getIDs()

No description

$this
setIDs(array $ids)

No description

string
getMessage()

No description

$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()

Return Value

string

$this setNoticeType(string $noticeType)

Parameters

string $noticeType

Return Value

$this

array getIDs()

Return Value

array

$this setIDs(array $ids)

Parameters

array $ids

Return Value

$this

string getMessage()

Return Value

string

$this setMessage(string $message)

Parameters

string $message

Return Value

$this