InfoBoxRepositoryInterface

Extends

Interface InfoBoxRepositoryInterface

category

System

package

InfoBox

subpackage

Interfaces

Methods

Adds a new info box message.

addMessage(\InfoBoxMessageInterface $message) 

Arguments

$message

\InfoBoxMessageInterface

Message to save.

Deletes a message by its ID.

deleteMessageById(\IdType $id) 

Arguments

$id

\IdType

Message ID.

Deletes a message based on its identifier.

deleteMessageByIdentifier(\StringType $identifier) 

Arguments

$identifier

\StringType

Message identifier.

Deletes a message based on the source.

deleteMessageBySource(\StringType $source) 

Arguments

$source

\StringType

Message source.

Returns all info box messages.

getAllMessages() : \InfoBoxMessageCollection

Reactivates the messages.

reactivateMessages() 

Updates a message status.

setMessageStatus(\IdType $id, \StringType $status) 

Arguments

$id

\IdType

Message ID.

$status

\StringType

Message status.