Bitrix Site Manager

CPosting::Lock

CPosting::Lock(
    int ID
);

The method Lock attempts to lock an issue. Used with automatic dispatch of the issue messages.

Parameters

ParameterDescription
ID The issue ID.

Return Values

Returns true on success, or false otherwise.

Example



if (CPosting::Lock($ID)===false)
    return "CONTINUE";