phpDocumentor

InfoBoxRepositoryReader
in package
implements InfoBoxRepositoryReaderInterface

Class InfoBoxReader

Tags
category

System

Interfaces, Classes and Traits

InfoBoxRepositoryReaderInterface
Interface InfoBoxReaderInterface

Table of Contents

$db  : CI_DB_query_builder
Database connection.
$infoBoxTable  : string
Name of the table for the info box messages entries.
$infoBoxTableDescription  : string
Name of the table for the info box description entries.
$languageProvider  : LanguageProvider
Language provider.
__construct()  : mixed
InfoBoxReader constructor.
getAll()  : InfoBoxMessageCollection
Returns all messages.
_createCollection()  : mixed
_createObject()  : mixed

Properties

$infoBoxTable

Name of the table for the info box messages entries.

protected string $infoBoxTable = 'infobox_messages'

$infoBoxTableDescription

Name of the table for the info box description entries.

protected string $infoBoxTableDescription = 'infobox_messages_description'

Methods

__construct()

InfoBoxReader constructor.

public __construct(CI_DB_query_builder $db) : mixed
Parameters
$db : CI_DB_query_builder

Database connection.

Return values
mixed

_createCollection()

private _createCollection(array<string|int, mixed> $rows) : mixed
Parameters
$rows : array<string|int, mixed>
Return values
mixed

_createObject()

private _createObject(array<string|int, mixed> $message) : mixed
Parameters
$message : array<string|int, mixed>
Return values
mixed

Search results