AppendLinkHandlerElementsEvent¶
Event fired so listeners can intercept add elements when checking links within the SoftRef parser.
API¶
- getLinkParts()
| ReturnType: array |
- getContent()
| ReturnType: string |
- getElements()
| ReturnType: array |
- getIdx()
| ReturnType: int |
- getTokenId()
| ReturnType: string |
- setLinkParts(array $linkParts)
| ReturnType: void |
- setContent(string $content)
| ReturnType: void |
- setElements(array $elements)
| ReturnType: void |
- addElements(array $elements)
| ReturnType: void |
Appends elements (with
array_replace_recursive
) - existing elements with the same key will be overwritten. SetsisResolved
to true (see below).- isResolved()
| ReturnType: bool |