Bitrix API

LinkCodeGenerator

Table of Contents

Constants

LENGTH_СODE  = 15

Methods

__construct()  : mixed
check()  : bool
createByCollabId()  : self
generate()  : InvitationLink
This method deletes the old record and inserts a new one
getOrGenerate()  : InvitationLink
This method returns the actual record or generates a new record

Constants

Methods

check()

public check(string $code) : bool
Parameters
$code : string
Return values
bool

createByCollabId()

public static createByCollabId(int $collabId) : self
Parameters
$collabId : int
Return values
self

        
On this page

Search results