class SetaPDF_Parser {
mixed cacheHashFunction ( [callback $hashFunction=null] )
}
To identify a pdf document the API uses the md5_file()-function by default.
If you want to create your own identification process or if you already know a hash or unique property of the document you can use this method to define an own function/method which will be called when the parser needs the hash.
This hash/value will be used as the directory name in the cache directory (see SetaPDF_Parser::cacheDir()).
The given value will be used as the function parameter of a call_user_func()-call.
This method should be called static.
The function to be called.
(See also informations about the callback type.)
The actual value.