mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
user getClassname() for SeedDMS_Core_DocumentFile
This commit is contained in:
parent
dbe7f36eb0
commit
2cbe041b60
|
@ -31,7 +31,8 @@ class SeedDMS_Preview_PdfPreviewer extends SeedDMS_Preview_Base {
|
|||
} /* }}} */
|
||||
|
||||
/**
|
||||
* Return the physical filename of the preview image on disk
|
||||
* Return the physical filename of the preview image on disc
|
||||
* including the path
|
||||
*
|
||||
* @param object $object document content or document file
|
||||
* @return string file name of preview image
|
||||
|
@ -47,7 +48,7 @@ class SeedDMS_Preview_PdfPreviewer extends SeedDMS_Preview_Base {
|
|||
case $dms->getClassname('documentcontent'):
|
||||
$target = $dir.'p'.$object->getVersion();
|
||||
break;
|
||||
case "SeedDMS_Core_DocumentFile":
|
||||
case $dms->getClassname('documentfile'):
|
||||
$target = $dir.'f'.$object->getID();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user