Bitrix API

ChatIndex

Table of Contents

Methods

clearText()  : string
removes all special characters found in the text
create()  : ChatIndex
getChatId()  : int
getClearedTitle()  : string
getClearedUserList()  : array<string|int, mixed>
getRowTitle()  : string
getRowUserNameList()  : array<string|int, mixed>
isEmptyUsers()  : bool
matchAgainstWildcard()  : mixed
setChatId()  : ChatIndex
setTitle()  : ChatIndex
setUserList()  : ChatIndex

Methods

clearText()

removes all special characters found in the text

public static clearText(string $text) : string
Parameters
$text : string
Tags
see
ChatIndex::CHARS_TO_REPLACE
Return values
string

getChatId()

public getChatId() : int
Return values
int

getClearedTitle()

public getClearedTitle() : string
Return values
string

getClearedUserList()

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

getRowTitle()

public getRowTitle() : string
Return values
string

getRowUserNameList()

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

isEmptyUsers()

public isEmptyUsers() : bool
Return values
bool

matchAgainstWildcard()

public static matchAgainstWildcard(mixed $phrase[, mixed $leftWildcard = '+' ][, mixed $rightWildcard = '*' ][, mixed $minTokenSize = null ]) : mixed
Parameters
$phrase : mixed
$leftWildcard : mixed = '+'
$rightWildcard : mixed = '*'
$minTokenSize : mixed = null

setUserList()

public setUserList(array<string|int, mixed> $users) : ChatIndex
Parameters
$users : array<string|int, mixed>
Return values
ChatIndex

        
On this page

Search results