addPerson

addPerson

PREMIUM TRIAL / ADVANCED

Adds people to the document.

Description
public addPerson (array $person)
Parameters

person

The possible keys and values of this array are:

Key Type Description
author string Required. Author name.
providerId string Provider identifier. 'None' as default.
userId string User ID. Author value as default.
Exceptions

Method not available.

Missing author name.

Code samples

Example #1

Release notes
  • phpdocx 9.0:
    • new method.