Manuals

 

SetaPDF_Encryptor::setTmpDirectory()

Description

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

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

A writeable temporary path is only needed if you use Public Key Security.

Parameters

$tmpDirectory

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

Return Values

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

Version

Available as of version 1.6