Bitrix API

Registration

FinalYes

Class Registration Manages registration of the portal in cloud aiproxy service.

Table of Contents

Constants

NOTIFICATION_TAG  = 'ai_cloud_failed_registration'

Methods

__construct()  : mixed
register()  : Result
Register portal in cloud aiproxy service.
tryAutoRegister()  : Result
Tries to register portal in cloud aiproxy service. Uses most suitable server.
unregister()  : Result
Unregister portal in cloud aiproxy service.

Constants

NOTIFICATION_TAG

public mixed NOTIFICATION_TAG = 'ai_cloud_failed_registration'

Methods

__construct()

public __construct(string $languageId) : mixed
Parameters
$languageId : string

register()

Register portal in cloud aiproxy service.

public register(string $serviceUrl) : Result
Parameters
$serviceUrl : string

Service URL.

Return values
Result

tryAutoRegister()

Tries to register portal in cloud aiproxy service. Uses most suitable server.

public tryAutoRegister() : Result

If registration fails, adds a notification to admin panel.

Tags
throws
ArgumentException
Return values
Result

unregister()

Unregister portal in cloud aiproxy service.

public unregister() : Result
Return values
Result

        
On this page

Search results