InfoBoxRepositoryDeleter

Implements \InfoBoxRepositoryDeleterInterface

Class InfoBoxRepositoryDeleter

category

System

package

InfoBox

subpackage

Repositories

Methods

InfoBoxDeleter constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Database connection.

Deletes a message by ID.

deleteById(\IdType $id) 

Arguments

$id

\IdType

Message ID.

Deletes a message based on its identifier

deleteByIdentifier(\StringType $identifier) 
todo

Find a better solution to delete the rows.

Arguments

$identifier

\StringType

Message identifier

Deletes messages by source.

deleteBySource(\StringType $source) 
NOTE

Find a better solution to delete the rows.

Arguments

$source

\StringType

Source.

Properties

Database connection

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

Name of the table for the info box messages entries.

infoBoxTable : string
var

Type(s)

string

Name of the table for the info box description entries.

infoBoxTableDescription : string
var

Type(s)

string

Name of the ID column.

id_column : string
var

Type(s)

string

Portal notifications source-type.

portalSourceType : string
var

Type(s)

string