mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 22:21:27 +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
|
* @param object $object document content or document file
|
||||||
* @return string file name of preview image
|
* @return string file name of preview image
|
||||||
|
@ -47,7 +48,7 @@ class SeedDMS_Preview_PdfPreviewer extends SeedDMS_Preview_Base {
|
||||||
case $dms->getClassname('documentcontent'):
|
case $dms->getClassname('documentcontent'):
|
||||||
$target = $dir.'p'.$object->getVersion();
|
$target = $dir.'p'.$object->getVersion();
|
||||||
break;
|
break;
|
||||||
case "SeedDMS_Core_DocumentFile":
|
case $dms->getClassname('documentfile'):
|
||||||
$target = $dir.'f'.$object->getID();
|
$target = $dir.'f'.$object->getID();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user