addTableAuthorities

addTableAuthorities

ADVANCED / PREMIUM TRIAL

Inserts a Table of Authorities into the Word document.

Description
public addTableAuthorities ( [array $options [, array $legend]] )

This method allows you to include a Table of Authorities in the Word document.

Parameters

options

The possible keys and values are:

Key Type Description
autoUpdate boolean If true it will try to update the content when first opened.
style string Custom paragraph style to be applied.

legend

The possible keys and values are:

Key Type Description
text array The placeholder text that will be shown if the autoupdate option is not activated.
Exceptions

Method not available.

Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 16.0:
    • new method.