Bitrix API

UserToGroup extends SocialNetwork

Table of Contents

Constants

MODULE_NAME  = 'socialnetwork'

Methods

disable()  : mixed
enable()  : mixed
formatDateTimeToGMT()  : mixed
getDepartmentEntityPrefix()  : mixed
getFilterByGroup()  : array<string|int, mixed>
Returns a new runtime field that represents filter by group(s).
getGroupEntityPrefix()  : mixed
getLogDestination()  : array<string|int, mixed>
Get data for user selector dialog
getMemberList()  : mixed
getParser()  : mixed
getUserEntityPrefix()  : mixed
isEnabled()  : mixed
setLogDestinationLast()  : mixed
Save last selected items in user selector dialog

Constants

Methods

formatDateTimeToGMT()

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

getDepartmentEntityPrefix()

public static getDepartmentEntityPrefix() : mixed

getFilterByGroup()

Returns a new runtime field that represents filter by group(s).

public static getFilterByGroup(array<string|int, mixed> $groups) : array<string|int, mixed>

It can be attached to a user-related entity or a dynamically-created query.

Example:

$query = new \Bitrix\Main\Entity\Query(...); $result = UserToGroup::getFilterByGroup(); $query->registerRuntimeField('', $result); $query->setFilter(array('!SN_UTG' => false));

Parameters
$groups : 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

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'

        
On this page

Search results