Go to the source code of this file.
◆ $d
if (!checkRole( $library->allow_access) &&! $library->allowAccess()) if (!checkRole( $document->allow_access)) $d = new DocumentDownload() |
◆ $document
◆ $document_id
◆ $filepath
$filepath = sanitizePath($library->getLibraryDirectory() . DIRECTORY_SEPARATOR . $document->file) |
◆ $library
◆ $mimeType
$mimeType = DocumentHandler::getDocMimeType($document->file) |
◆ $size
$size = filesize($filepath) |
◆ document_id
$d document_id = $document_id |
◆ else
Initial value:
Definition at line 93 of file show.inc.
◆ user_id
$d user_id = ($user) ? $user->user_id : 0 |