MentionService
FinalYes
Table of Contents
Methods
- getAIMention() : string
- getAIUserName() : string
- getBbMention() : string
- getInstance() : self
- getPageMention() : string
- getUserName() : string
- loadMentionsForCall() : void
- removeBBMentions() : string|null
- replaceAiMentions() : string|null
- replaceBBMentions() : string|null
Methods
getAIMention()
public
getAIMention(int $userId, int $callId) : string
Parameters
- $userId : int
- $callId : int
Return values
stringgetAIUserName()
public
getAIUserName(int $userId) : string
Parameters
- $userId : int
Return values
stringgetBbMention()
public
getBbMention(int $userId) : string
Parameters
- $userId : int
Return values
stringgetInstance()
public
static getInstance() : self
Return values
selfgetPageMention()
public
getPageMention(int $userId[, string $tag = '' ]) : string
Parameters
- $userId : int
- $tag : string = ''
Return values
stringgetUserName()
public
getUserName(int $userId) : string
Parameters
- $userId : int
Return values
stringloadMentionsForCall()
public
loadMentionsForCall(int $callId) : void
Parameters
- $callId : int
removeBBMentions()
public
removeBBMentions(string|null $text) : string|null
Parameters
- $text : string|null
Return values
string|nullreplaceAiMentions()
public
replaceAiMentions(string|null $text) : string|null
Parameters
- $text : string|null
Return values
string|nullreplaceBBMentions()
public
replaceBBMentions(string|null $text) : string|null
Parameters
- $text : string|null