Bitrix API

TaskLogHandler extends BaseHandler

Table of Contents

Methods

__construct()  : mixed
beforeInsertTrigger()  : void
Method will be invoked before new database record inserted.
beforeLogFormat()  : void
Called before record transformed for log writing.
beforeLogInsert()  : bool
Called before log write. You may return false and not log write will take place.
fromValueTranslation()  : string|false
Returns relation depending on record values.
toValueTranslation()  : string|false
Returns relation depending on record values.
usersFromLocalToRemote()  : string
Converts list of user identifiers to the string of guids separated with commas.
usersFromRemoteToLocal()  : string
Converts list of GUIDs to the string of user identifiers separated with comma.

Methods

beforeInsertTrigger()

Method will be invoked before new database record inserted.

public beforeInsertTrigger(array<string|int, mixed> &$newRecord) : void
Parameters
$newRecord : array<string|int, mixed>

All fields of inserted record.

beforeLogFormat()

Called before record transformed for log writing.

public beforeLogFormat(array<string|int, mixed> &$record) : void
Parameters
$record : array<string|int, mixed>

Database record.

beforeLogInsert()

Called before log write. You may return false and not log write will take place.

public beforeLogInsert(array<string|int, mixed> $record) : bool
Parameters
$record : array<string|int, mixed>

Database record.

Return values
bool

fromValueTranslation()

Returns relation depending on record values.

public static fromValueTranslation(array<string|int, mixed> $record) : string|false
Parameters
$record : array<string|int, mixed>

Database record.

Return values
string|false

toValueTranslation()

Returns relation depending on record values.

public static toValueTranslation(array<string|int, mixed> $record) : string|false
Parameters
$record : array<string|int, mixed>

Database record.

Return values
string|false

usersFromLocalToRemote()

Converts list of user identifiers to the string of guids separated with commas.

public usersFromLocalToRemote(string $userList) : string
Parameters
$userList : string

Comma separated list of user identifiers.

Return values
string

usersFromRemoteToLocal()

Converts list of GUIDs to the string of user identifiers separated with comma.

public usersFromRemoteToLocal(string $userList) : string
Parameters
$userList : string

Comma separated list of users GUIDs.

Return values
string

        
On this page

Search results