Documentation

AttributesListener
in package

FinalYes

Table of Contents

Constants

DIRECTION_PREFIX  = 'prefix'
DIRECTION_SUFFIX  = 'suffix'

Properties

$allowList  : array<int, string>
$allowUnsafeLinks  : bool

Methods

__construct()  : mixed
processDocument()  : void
findTargetAndDirection()  : array<string|int, Node|string|null>
getNext()  : Node|null
Get any previous block (sibling or parent) this might apply to
getPrevious()  : Node|null
Get any previous block (sibling or parent) this might apply to
isAttributesNode()  : bool

Constants

Properties

Methods

__construct()

public __construct([array<int, string> $allowList = [] ][, bool $allowUnsafeLinks = true ]) : mixed
Parameters
$allowList : array<int, string> = []
$allowUnsafeLinks : bool = true

getNext()

Get any previous block (sibling or parent) this might apply to

private static getNext([Node|null $node = null ]) : Node|null
Parameters
$node : Node|null = null
Return values
Node|null

getPrevious()

Get any previous block (sibling or parent) this might apply to

private static getPrevious([Node|null $node = null ]) : Node|null
Parameters
$node : Node|null = null
Return values
Node|null

        
On this page

Search results