Bitrix API

Template

Class Template

Tags
see
Template

Table of Contents

Methods

__construct()  : mixed
Template constructor.
getAvailableRobots()  : mixed
getRobotAjaxResponse()  : mixed
getRobots()  : null|array<string|int, Robot>
getRobotSettingsDialog()  : mixed
isExternalModified()  : bool
Checks is template was modified by external editor.
save()  : mixed
saveRobotSettings()  : mixed
setRobots()  : mixed
toArray()  : array<string|int, mixed>
Convert instance data to array.

Methods

__construct()

Template constructor.

public __construct([array<string|int, mixed>|null $template = null ]) : mixed
Parameters
$template : array<string|int, mixed>|null = null

Template fields.

getAvailableRobots()

public static getAvailableRobots(mixed $entityTypeId) : mixed
Parameters
$entityTypeId : mixed

getRobotAjaxResponse()

public getRobotAjaxResponse(array<string|int, mixed> $robot, array<string|int, mixed> $request) : mixed
Parameters
$robot : array<string|int, mixed>
$request : array<string|int, mixed>

getRobots()

public getRobots() : null|array<string|int, Robot>
Return values
null|array<string|int, Robot>

Robot activities.

getRobotSettingsDialog()

public getRobotSettingsDialog(array<string|int, mixed> $robot[, mixed $request = null ]) : mixed
Parameters
$robot : array<string|int, mixed>
$request : mixed = null

isExternalModified()

Checks is template was modified by external editor.

public isExternalModified() : bool
Return values
bool

save()

public save(array<string|int, mixed> $robots, mixed $userId) : mixed
Parameters
$robots : array<string|int, mixed>
$userId : mixed

saveRobotSettings()

public saveRobotSettings(array<string|int, mixed> $robot, array<string|int, mixed> $request) : mixed
Parameters
$robot : array<string|int, mixed>
$request : array<string|int, mixed>

setRobots()

public setRobots(array<string|int, mixed> $robots) : mixed
Parameters
$robots : array<string|int, mixed>

toArray()

Convert instance data to array.

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

        
On this page

Search results