Bitrix API

Application extends Application

Class Application

Table of Contents

Methods

__construct()  : mixed
Application constructor.
checkDavHeaders()  : bool
checkScope()  : bool
Checks the valid scope for the applicaton.
generateAppPassword()  : bool|string
Generates AP for REST access.
onApplicationsBuildList()  : array<string|int, mixed>
Application passwords event handler.

Methods

__construct()

Application constructor.

public __construct() : mixed

checkDavHeaders()

public static checkDavHeaders() : bool
Return values
bool

checkScope()

Checks the valid scope for the applicaton.

public checkScope() : bool
Return values
bool

generateAppPassword()

Generates AP for REST access.

public static generateAppPassword(int $userId, string $appId) : bool|string
Parameters
$userId : int

Id of password owner user.

$appId : string

Type of application(caldav, carddav, webdav).

Tags
throws
Exception
Return values
bool|string

password or false

onApplicationsBuildList()

Application passwords event handler.

public static onApplicationsBuildList() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results