Bitrix API

Mention

Table of Contents

Methods

clear()  : string
Clears all the [user=N][/user] BB codes but preserves user names
getDepartmentIds()  : array<string|int, mixed>
getDepartments()  : array<string|int, mixed>
getProjectIds()  : array<string|int, mixed>
getProjects()  : array<string|int, mixed>
getUserIds()  : array<string|int, mixed>
Processes text, parses all [user=N][/user] BB codes and returns user IDs
getUsers()  : array<string|int, mixed>
Processes text and parses all [user=N][/user] BB codes

Methods

clear()

Clears all the [user=N][/user] BB codes but preserves user names

public static clear([string $text = '' ]) : string
Parameters
$text : string = ''

text to clear

Return values
string

processed text

getDepartmentIds()

public static getDepartmentIds([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''
Return values
array<string|int, mixed>

getDepartments()

public static getDepartments([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''
Return values
array<string|int, mixed>

getProjectIds()

public static getProjectIds([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''
Return values
array<string|int, mixed>

getProjects()

public static getProjects([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''
Return values
array<string|int, mixed>

getUserIds()

Processes text, parses all [user=N][/user] BB codes and returns user IDs

public static getUserIds([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''

text to parse

Return values
array<string|int, mixed>

of user IDs

getUsers()

Processes text and parses all [user=N][/user] BB codes

public static getUsers([string $text = '' ]) : array<string|int, mixed>
Parameters
$text : string = ''

text to parse

Return values
array<string|int, mixed>

of parsed used data (ID and NAME fields)


        
On this page

Search results