\phpDocumentor\Guides\NodeRenderers\HtmlTocNodeRenderer

Summary

Methods
Properties
Constants
__construct()
render()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
buildLevel()
generateTargetId()
generateTarget()
generateAnchorFromTitle()
$environment
N/A

Properties

$environment

$environment : \phpDocumentor\Guides\Environment

Type

Environment

Methods

__construct()

__construct(\phpDocumentor\Guides\Environment  $environment) : mixed

Parameters

\phpDocumentor\Guides\Environment $environment

Returns

mixed —

render()

render(\phpDocumentor\Guides\Nodes\Node  $node) : string

Parameters

\phpDocumentor\Guides\Nodes\Node $node

Returns

string —

buildLevel()

buildLevel(\phpDocumentor\Guides\Nodes\TocNode  $node, ?string  $url, array[]  $titles, int  $level, array[]  $tocItems) : void

Parameters

\phpDocumentor\Guides\Nodes\TocNode $node
?string $url
array[] $titles
int $level
array[] $tocItems

generateTargetId()

generateTargetId(string  $target) : string

Parameters

string $target

Returns

string —

generateTarget()

generateTarget(?string  $url, string[]|string  $title) : array

Parameters

?string $url
string[]|string $title

Returns

array —

generateAnchorFromTitle()

generateAnchorFromTitle(string[]|string  $title) : string

Parameters

string[]|string $title

Returns

string —