CMS  Version 3.9
document_details_dialog.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()) $document filter = new InclusionFilter("document_id", "title", "notes", "keywords", "author", "file", "publication_date", "publication")
 
 $form = new AutoForm($document, "POST", "/action/document/edit?document_id=$document_id")
 
$form readOnlyForm = true
 

Variable Documentation

◆ $document

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

Definition at line 47 of file document_details_dialog.inc.

◆ $document_id

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

Definition at line 41 of file document_details_dialog.inc.

◆ $form

$form = new AutoForm($document, "POST", "/action/document/edit?document_id=$document_id")

Definition at line 57 of file document_details_dialog.inc.

◆ $library

$library = $document->DocumentLibrary()

Definition at line 48 of file document_details_dialog.inc.

◆ filter

if (!checkRole( $library->allow_access) &&! $library->allowAccess()) $document filter = new InclusionFilter("document_id", "title", "notes", "keywords", "author", "file", "publication_date", "publication")

Definition at line 55 of file document_details_dialog.inc.

◆ readOnlyForm

$form readOnlyForm = true

Definition at line 61 of file document_details_dialog.inc.