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.
A path for temporary files. If not or null is passed the default fallback directory SetaPDF/Encryptor/_tmp/ is used.
True is everything works as expected or an SetaPDF_Error object if an error occurs.
Available as of version 1.6