CMS  Version 3.9
document_details.inc File Reference

Go to the source code of this file.

Variables

 $document_id = checkNumeric($_GET["document_id"])
 
if(! $document_id$document = new Document($document_id)
 
 $library = $document->DocumentLibrary()
 
if(!checkRole($library->allow_access) &&! $library->allowAccess()) $page page_title = $document->title
 
$document filter = new InclusionFilter("document_id", "notes", "keywords", "author", "file", "publication_date", "publication", "document_library_id")
 
 $form = new AutoForm($document)
 
$form readOnlyForm = true
 
$form hideEmptyFields = true
 
 $script = $form->writeScript()
 

Variable Documentation

◆ $document

if (! $document_id) $document = new Document($document_id)

Definition at line 43 of file document_details.inc.

◆ $document_id

$document_id = checkNumeric($_GET["document_id"])

Definition at line 37 of file document_details.inc.

◆ $form

$form = new AutoForm($document)

Definition at line 54 of file document_details.inc.

◆ $library

$library = $document->DocumentLibrary()

Definition at line 44 of file document_details.inc.

◆ $script

$script = $form->writeScript()

Definition at line 70 of file document_details.inc.

◆ filter

$document filter = new InclusionFilter("document_id", "notes", "keywords", "author", "file", "publication_date", "publication", "document_library_id")

Definition at line 52 of file document_details.inc.

◆ hideEmptyFields

$form hideEmptyFields = true

Definition at line 61 of file document_details.inc.

◆ page_title

if (!checkRole( $library->allow_access) &&! $library->allowAccess()) $page page_title = $document->title

Definition at line 51 of file document_details.inc.

◆ readOnlyForm

$form readOnlyForm = true

Definition at line 60 of file document_details.inc.