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
Return values
stringcreate()
public
static create() : ChatIndex
Return values
ChatIndexgetChatId()
public
getChatId() : int
Return values
intgetClearedTitle()
public
getClearedTitle() : string
Return values
stringgetClearedUserList()
public
getClearedUserList() : array<string|int, mixed>
Return values
array<string|int, mixed>getRowTitle()
public
getRowTitle() : string
Return values
stringgetRowUserNameList()
public
getRowUserNameList() : array<string|int, mixed>
Return values
array<string|int, mixed>isEmptyUsers()
public
isEmptyUsers() : bool
Return values
boolmatchAgainstWildcard()
public
static matchAgainstWildcard(mixed $phrase[, mixed $leftWildcard = '+' ][, mixed $rightWildcard = '*' ][, mixed $minTokenSize = null ]) : mixed
Parameters
- $phrase : mixed
- $leftWildcard : mixed = '+'
- $rightWildcard : mixed = '*'
- $minTokenSize : mixed = null
setChatId()
public
setChatId(int $chatId) : ChatIndex
Parameters
- $chatId : int
Return values
ChatIndexsetTitle()
public
setTitle(string $title) : ChatIndex
Parameters
- $title : string
Return values
ChatIndexsetUserList()
public
setUserList(array<string|int, mixed> $users) : ChatIndex
Parameters
- $users : array<string|int, mixed>