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
stringgetElements()
public
getElements() : array<string|int, mixed>
Return values
array<string|int, mixed>getIdx()
public
getIdx() : int
Return values
intgetLinkParts()
public
getLinkParts() : array<string|int, mixed>
Return values
array<string|int, mixed>getTokenId()
public
getTokenId() : string
Return values
stringisResolved()
public
isResolved() : bool
Return values
boolsetContent()
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>