InfoBoxRepositoryWriter

Implements \InfoBoxRepositoryWriterInterface

Class InfoBoxWriter

category

System

package

InfoBox

subpackage

Interfaces

Methods

Constructor of the class InfoBoxWriter.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Reactivates all messages.

reactivate() 

Updates a message status.

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

Arguments

$id

\IdType

Message ID.

$status

\StringType

Message status to set.

Adds a new message.

write(\InfoBoxMessage $message) 

Arguments

$message

\InfoBoxMessage

Info box message to save.

Properties