Bitrix API

Lock

Table of Contents

Methods

get()  : bool
Gets named lock. Returns true if lock was successful and false otherwise.
release()  : mixed

Methods

get()

Gets named lock. Returns true if lock was successful and false otherwise.

public static get(string $lockName) : bool
Parameters
$lockName : string

Name of the lock.

Return values
bool

release()

public static release(mixed $lockName) : mixed
Parameters
$lockName : mixed

        
On this page

Search results