MetaFox

PendingDetail extends PendingItem
in package

Class PendingDetail.

Table of Contents

Properties

$resource  : Comment
$resource  : Comment

Methods

getTransformContent()  : string|null
toArray()  : array<string, mixed>
Transform the resource collection into an array.
formatTextWithImage()  : string
getImageLink()  : string
handleText()  : string

Properties

Methods

getTransformContent()

public getTransformContent([bool $parseUserFullLink = false ]) : string|null
Parameters
$parseUserFullLink : bool = false
Return values
string|null

toArray()

Transform the resource collection into an array.

public toArray(Request $request) : array<string, mixed>
Parameters
$request : Request
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
array<string, mixed>

formatTextWithImage()

protected formatTextWithImage(string $text, string $imageLink) : string
Parameters
$text : string
$imageLink : string
Return values
string

handleText()

protected handleText() : string
Return values
string

        
On this page

Search results