Guides

GenIndexTermData
in package

FinalYes

All rows collected for a single genindex term or subterm, before it's turned into a rendered {@see \phpDocumentor\Guides\Nodes\Index\GenIndexTerm} node. Only ever nested one level deep in practice (a subterm's own `subterms` stays empty), the same convention `GenIndexTerm` itself follows.

Table of Contents

Properties

$rows  : array
$subterms  : array
$term  : string

Methods

__construct()  : mixed
addRow()  : void
getOrCreateSubterm()  : self
getRows()  : GenIndexRowData[]
getSubterms()  : array<string, GenIndexTermData>
getTerm()  : string

Properties

Methods

getOrCreateSubterm()

public getOrCreateSubterm(string $key, string $term) : self
Parameters
$key : string
$term : string
Return values
self
On this page

Search results