CoolCMS API

UserPaymentListTrait uses trait:short

Table of Contents

Properties

$currency  : Currency|null
$loggedUser  : User|null
$paymentGateId  : int|null
$paymentGateList  : array<int, PaymentGate>
$paymentRegion  : PaymentRegion|null

Methods

actionList()  : void
actionPaymentRegionList()  : void
renderList()  : void
renderPaymentRegionList()  : void
checkAndSetSelectedPaymentRegionFromUrl()  : void
getSelectedPaymentGateId()  : int|null
prepareCurrency()  : void
preparePaymentGates()  : void
prepareTariffs()  : void
Loads the active tariffs of the module into `$this->tariffList` (declared by the presenter with the tariff type of its module).

Properties

Methods

actionList()

public actionList(mixed $slug[, int|null $id = null ]) : void
Parameters
$slug : mixed
$id : int|null = null

actionPaymentRegionList()

public actionPaymentRegionList(mixed $slug, int|null $id) : void
Parameters
$slug : mixed
$id : int|null

renderList()

public renderList(mixed $slug[, int|null $id = null ]) : void
Parameters
$slug : mixed
$id : int|null = null

renderPaymentRegionList()

public renderPaymentRegionList(mixed $slug[, int|null $id = null ]) : void
Parameters
$slug : mixed
$id : int|null = null

checkAndSetSelectedPaymentRegionFromUrl()

private checkAndSetSelectedPaymentRegionFromUrl(int $userId) : void
Parameters
$userId : int

getSelectedPaymentGateId()

private getSelectedPaymentGateId() : int|null
Return values
int|null

prepareTariffs()

Loads the active tariffs of the module into `$this->tariffList` (declared by the presenter with the tariff type of its module).

private prepareTariffs() : void
On this page

Search results