CoolCMS API

AdvertHighlightConfig
in package

FinalYes

Holds the ids of the highlighting tariff per module (Bazaar, Comcat, Discussion).

An advert (or message) with an active, valid item of this tariff gets the highlighted class in lists (card background, token --list-item-highlighted-bg). Defaults to 2 in all three modules; override in config/Shared/bazaar.neon or local.neon.

Tags
see
AdvertToppingConfig

Table of Contents

Properties

$bazaarTariffId  : int
$comcatTariffId  : int
$discussionTariffId  : int

Methods

__construct()  : mixed
getBazaarTariffId()  : int
getComcatTariffId()  : int
getDiscussionTariffId()  : int

Properties

Methods

__construct()

public __construct([int $bazaarTariffId = 2 ][, int $comcatTariffId = 2 ][, int $discussionTariffId = 2 ]) : mixed
Parameters
$bazaarTariffId : int = 2
$comcatTariffId : int = 2
$discussionTariffId : int = 2
On this page

Search results