Bitrix API

CouponLocker

FinalYes

Table of Contents

Methods

__construct()  : mixed
__destruct()  : mixed
getInstance()  : self
isLocked()  : bool
isNotLocked()  : bool
lock()  : void
unlock()  : void
unlockAll()  : void

Methods

getInstance()

public static getInstance() : self
Return values
self

isLocked()

public isLocked(string $coupon) : bool
Parameters
$coupon : string
Return values
bool

isNotLocked()

public isNotLocked(string $coupon) : bool
Parameters
$coupon : string
Return values
bool

lock()

public lock(string $coupon) : void
Parameters
$coupon : string

unlock()

public unlock(string $coupon) : void
Parameters
$coupon : string

        
On this page

Search results