Bitrix API

IVolumeTimeLimit

Table of Contents

Methods

checkTimeEnd()  : bool
Checks timer for time limitation.
getTimeLimit()  : int
Gets limitation time in seconds.
hasTimeLimitReached()  : bool
Tells true if time limit reached.
setTimeLimit()  : static
Sets limitation time in seconds.
startTimer()  : void
Sets start up time.

Methods

checkTimeEnd()

Checks timer for time limitation.

public checkTimeEnd() : bool
Return values
bool

getTimeLimit()

Gets limitation time in seconds.

public getTimeLimit() : int
Return values
int

hasTimeLimitReached()

Tells true if time limit reached.

public hasTimeLimitReached() : bool
Return values
bool

setTimeLimit()

Sets limitation time in seconds.

public setTimeLimit(int $timeLimit) : static
Parameters
$timeLimit : int

Timeout in seconds.

Return values
static

        
On this page

Search results