• Bookmark at: Del.icio.us
  • Bookmark at: Mister Wong
  • Bookmark at: Linkarena
  • Bookmark at: Digg
  • Bookmark at: Yahoo
  • Bookmark at: Google
  • Bookmark at: Icio

Manuals

 

SetaPDF_MetaManager::getEncryption()

Description

class SetaPDF_MetaManager extends SetaPDF {
mixed getEncryption ( [boolean $details=false] ) }

With this method you can query if a document is encrypted.

Parameters

$details

If set to true the API will return the raw structure of the encryption dictionary. If set to false the return value is a boolean value.

Return Value

A boolean value if $details is set to false saying if the document is encrypted or not.

An array of the raw encryption dictionary if $details is set to true.

Version

Available since version 1.1.