Manuals

 

SetaPDF_Signer::unsetParser()

Description

class SetaPDF_Signer extends SetaPDF {
boolean unsetParser ( string $fileName ) }

The SetaPDF-Signer API caches parser objects, so if you want to sign one document multiple times the source document is parsed only once. If you want to sign multiple documents in one instance it's good to close the unneeded parser objects.

Parameters

$fileName

The filename of the sourcefile.

Return Values

True if a parser object existed and could be deleted for this filename. False if no parser object exists for this filename.