generateDigestDOCX

generateDigestDOCX

PREMIUM TRIAL / ADVANCED

Generates SHA256 digest values from a DOCX.

Description
public generateDigestDOCX ( string $source [, array $scope = array()] )
Parameters

source

DOCX path or DOCXStructure object.

scope

An array with the contents to be included in the digest: document, headers, footers, footnotes, endnotes, comments, styles, properties. All by default.

Return values

string

Exceptions

Error while trying to open the (base) template as a zip file.

Code samples

Example #1

Release notes
  • phpdocx 8.0:
    • new method.