AppendLinkHandlerElementsEvent

FinalYes

Event fired so listeners can intercept add elements when checking links within the SoftRef parser

Table of Contents

Methods

__construct()  : mixed
addElements()  : mixed
getContent()  : string
getElements()  : array<string|int, mixed>
getIdx()  : int
getLinkParts()  : array<string|int, mixed>
getTokenId()  : string
isResolved()  : bool
setContent()  : void
setElements()  : void
setLinkParts()  : void

Methods

__construct()

public __construct(array<string|int, mixed> $linkParts, string $content, array<string|int, mixed> $elements, int $idx, string $tokenID) : mixed
Parameters
$linkParts : array<string|int, mixed>
$content : string
$elements : array<string|int, mixed>
$idx : int
$tokenID : string

addElements()

public addElements(array<string|int, mixed> $elements) : mixed
Parameters
$elements : array<string|int, mixed>

getContent()

public getContent() : string
Return values
string

getElements()

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

getIdx()

public getIdx() : int
Return values
int

getLinkParts()

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

getTokenId()

public getTokenId() : string
Return values
string

isResolved()

public isResolved() : bool
Return values
bool

setContent()

public setContent(string $content) : void
Parameters
$content : string

setElements()

public setElements(array<string|int, mixed> $elements) : void
Parameters
$elements : array<string|int, mixed>

setLinkParts()

public setLinkParts(array<string|int, mixed> $linkParts) : void
Parameters
$linkParts : array<string|int, mixed>

        
On this page

Search results