phpDocumentor

TocExtension extends AbstractExtension
in package

Table of Contents

$metas  : Metas
__construct()  : mixed
getFunctions()  : array<string|int, mixed>
menu()  : array<string, array>|string>
createMenuItem()  : array<string|int, mixed>

Properties

Methods

getFunctions()

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

menu()

public menu([int $maxLevel = 2 ]) : array<string, array>|string>
Parameters
$maxLevel : int = 2
Return values
array<string, array>|string>

createMenuItem()

private createMenuItem(Entry $index, int $levelsRemaining) : array<string|int, mixed>
Parameters
$index : Entry
$levelsRemaining : int
Return values
array<string|int, mixed>

Search results