CoolCMS API

AdvertToppingConfig
in package

FinalYes

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

A paid item of this tariff fills toped_until of the advert or message, which sorts topped entries first (see PaymentItemRepository::updateTopedUntilForAdverts() / updateTopedUntilForMessages() and the recalc… counterparts). Defaults to 1; override in config/Shared/bazaar.neon or local.neon only when an environment uses a different tariff id.

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 = 1 ][, int $comcatTariffId = 1 ][, int $discussionTariffId = 1 ]) : mixed
Parameters
$bazaarTariffId : int = 1
$comcatTariffId : int = 1
$discussionTariffId : int = 1
On this page

Search results