Bitrix API

Log extends SocialNetwork

Table of Contents

Constants

EVENT_ID_TASK  = 'tasks'
MODULE_NAME  = 'socialnetwork'

Methods

deleteLogByTaskId()  : mixed
disable()  : mixed
enable()  : mixed
formatDateTimeToGMT()  : mixed
getDepartmentEntityPrefix()  : mixed
getEventIdList()  : array<string|int, mixed>
Returns set EVENT_ID processed by handler to generate content for full index.
getGroupEntityPrefix()  : mixed
getLogDestination()  : array<string|int, mixed>
Get data for user selector dialog
getMemberList()  : mixed
getParser()  : mixed
getUserEntityPrefix()  : mixed
hideLogByTaskId()  : mixed
isEnabled()  : mixed
onAfterLogFollowSet()  : mixed
onAfterSocNetLogCommentAdd()  : mixed
onIndexGetContent()  : EventResult
Returns content for LogIndex.
setLogDestinationLast()  : mixed
Save last selected items in user selector dialog
showLogByTaskId()  : mixed
updateLogRights()  : mixed

Constants

EVENT_ID_TASK

public mixed EVENT_ID_TASK = 'tasks'

Methods

deleteLogByTaskId()

public static deleteLogByTaskId(mixed $taskId) : mixed
Parameters
$taskId : mixed

formatDateTimeToGMT()

public static formatDateTimeToGMT(mixed $time, mixed $userId) : mixed
Parameters
$time : mixed
$userId : mixed

getDepartmentEntityPrefix()

public static getDepartmentEntityPrefix() : mixed

getEventIdList()

Returns set EVENT_ID processed by handler to generate content for full index.

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

getGroupEntityPrefix()

public static getGroupEntityPrefix() : mixed

getLogDestination()

Get data for user selector dialog

public static getLogDestination([string $context = 'TASKS' ][, array<string|int, mixed> $parameters = array() ]) : array<string|int, mixed>
Parameters
$context : string = 'TASKS'
$parameters : array<string|int, mixed> = array()
Tags
throws
LoaderException
throws
SystemException
Return values
array<string|int, mixed>

getMemberList()

public static getMemberList(mixed $groupId) : mixed
Parameters
$groupId : mixed

getParser()

public static getParser([array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
$parameters : array<string|int, mixed> = array()

getUserEntityPrefix()

public static getUserEntityPrefix() : mixed

hideLogByTaskId()

public static hideLogByTaskId(mixed $taskId) : mixed
Parameters
$taskId : mixed

onAfterLogFollowSet()

public static onAfterLogFollowSet(mixed $logId, mixed $type, mixed $userId) : mixed
Parameters
$logId : mixed
$type : mixed
$userId : mixed
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

onAfterSocNetLogCommentAdd()

public static onAfterSocNetLogCommentAdd(mixed $id, mixed $arFields) : mixed
Parameters
$id : mixed
$arFields : mixed

onIndexGetContent()

Returns content for LogIndex.

public static onIndexGetContent(Event $event) : EventResult
Parameters
$event : Event

Event from LogIndex::setIndex().

Return values
EventResult

setLogDestinationLast()

Save last selected items in user selector dialog

public static setLogDestinationLast([array<string|int, mixed> $items = array() ][, string $context = 'TASKS' ]) : mixed
Parameters
$items : array<string|int, mixed> = array()
$context : string = 'TASKS'

showLogByTaskId()

public static showLogByTaskId(mixed $taskId) : mixed
Parameters
$taskId : mixed

updateLogRights()

public static updateLogRights(int $logId, int $userId[, bool $isNew = false ]) : mixed
Parameters
$logId : int
$userId : int
$isNew : bool = false

        
On this page

Search results