mPDF Manual – mPDF functions

IndexEntrySee()

(mPDF ≥ 2.2)

IndexEntrySee – Insert a cross-reference entry for the document Index

Description

void IndexEntrySee ( string $content , string $see_content )

Insert a cross-reference entry for the document Index i.e. “Dromedary - see Camel”.

Parameters

$content

This parameter sets the text as it will appear in the Index entry. Text should be UTF-8 encoded. Text entries passed in the form Subject:Subcategory will appear in the Index as “Subject, Subcategory”.

REQUIRED

$see_content

This parameter sets the text used as the cross-reference. Text should be UTF-8 encoded. Text entries passed in the form Subject:Subcategory will appear in the Index as “Subject, Subcategory”

REQUIRED

Examples

<?php
$mpdf->IndexEntry("Dromedary", "Camel:types");

This will produce an entry in the Index under ‘Dromedary’ appearing as:

Dromedary - see Camel, types

See Also

Fork me on GitHub