Comment
Table of Contents
Methods
-
__construct()
: mixed
-
getFilesContentResponse()
: Component|null
-
getFileUserFields()
: array<string|int, mixed>
-
getUserGenderSuffix()
: string
-
getVisualEditorResponse()
: Component
-
saveFiles()
: bool
-
sendMentions()
: array<string|int, mixed>
__construct()
public
__construct(string $filesUserFieldEntityId, string $filesUserFieldName) : mixed
Parameters
-
$filesUserFieldEntityId
: string
-
-
$filesUserFieldName
: string
-
getFilesContentResponse()
public
getFilesContentResponse(int $id) : Component|null
Parameters
-
$id
: int
-
getFileUserFields()
public
getFileUserFields([int $id = 0 ]) : array<string|int, mixed>
Parameters
-
$id
: int
= 0
-
Return values
array<string|int, mixed>
getUserGenderSuffix()
public
getUserGenderSuffix(int $userId) : string
Parameters
-
$userId
: int
-
getVisualEditorResponse()
public
getVisualEditorResponse(string $name[, int $id = 0 ][, string $text = '' ]) : Component
Parameters
-
$name
: string
-
-
$id
: int
= 0
-
-
$text
: string
= ''
-
saveFiles()
public
saveFiles(int $id, array<string|int, mixed> $files) : bool
Parameters
-
$id
: int
-
-
$files
: array<string|int, mixed>
-
sendMentions()
public
sendMentions(int $id, int $fromUserId, string $text, string $message[, array<string|int, mixed> $previouslyMentionedUserIds = [] ]) : array<string|int, mixed>
Parameters
-
$id
: int
-
-
$fromUserId
: int
-
-
$text
: string
-
-
$message
: string
-
-
$previouslyMentionedUserIds
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>