Manuals

 

SetaPDF_Signer::setTmpDirectory()

Description

class SetaPDF_Signer extends SetaPDF {
mixed setTmpDirectory ( [string $tmpDirectory=null] ) }

If you want to change the path for temporary files at runtime, you can use this method.

Parameters

$tmpDirectory

A path for temporary files. If not or null is passed the default fallback directory SetaPDF/Signer/_tmp/ is used.

Return Values

True is everything works as expected or an SetaPDF_Error object if an error occurs.