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'
MODULE_NAME
public
mixed
MODULE_NAME
= 'socialnetwork'
Methods
deleteLogByTaskId()
public
static deleteLogByTaskId(mixed $taskId) : mixed
Parameters
- $taskId : mixed
disable()
public
static disable() : mixed
enable()
public
static enable() : 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
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
isEnabled()
public
static isEnabled() : mixed
onAfterLogFollowSet()
public
static onAfterLogFollowSet(mixed $logId, mixed $type, mixed $userId) : mixed
Parameters
- $logId : mixed
- $type : mixed
- $userId : mixed
Tags
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
EventResultsetLogDestinationLast()
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