Bitrix API

Details

Controller class for the component crm.ml.entity.detail

Table of Contents

Methods

getPushTag()  : string
Returns push tag to receive model and training update events.
onModelUpdate()  : mixed
Sends pull event to the view, if model was changed.
onTrainingProgress()  : mixed
Sends pull event to the view, to update on training progress.

Methods

getPushTag()

Returns push tag to receive model and training update events.

public static getPushTag(Base $model) : string
Parameters
$model : Base

Associated scoring model.

Return values
string

onModelUpdate()

Sends pull event to the view, if model was changed.

public static onModelUpdate(Base $model) : mixed
Parameters
$model : Base

Model.

Tags
throws
LoaderException

onTrainingProgress()

Sends pull event to the view, to update on training progress.

public static onTrainingProgress(Base $model, array<string|int, mixed> $currentTraining) : mixed
Parameters
$model : Base

Model.

$currentTraining : array<string|int, mixed>

Current training fields.


        
On this page

Search results