Manuals

 

SetaPDF_MetaManager::getDocumentIds()

Description

class SetaPDF_MetaManager extends SetaPDF {
mixed getDocumentIds ( [boolean $plain=false] ) }

Gets the documents File Identifiers (see PDF Reference 10.3).

Parameters

$plain

Defines that the file identifier should be returned as a plain string or hex encoded string (default).

Return Value

If the document includes a file identifier, the method will return an array of 2 strings.

The first string is the permanent identifier based on the content of the document at the time it was originally created.

The second string is a changing identifier based on the document's contents at the time it was last updated.

If both strings are set to the same value, the document was not changed after the initial creation.

If the document doesn't includes file identifiers the method will return false.

In case of an error the method will return a SetaPDF_Error object.