addPermProtection

addPermProtection

PREMIUM TRIAL / ADVANCED

Adds editable regions of contents into the Word document.

Description
public addPermProtection ($type)

This method allows you to add editable regions of contents in the document.

Parameters

type

The possible values are: 'start', 'end'. Each editable region must have start and end tags.

Exceptions

Method not available.

Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 7.5:
    • new method.