CMS  Version 3.9
edit.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()
 
$document filter = new InclusionFilter("document_id", "title", "notes", "keywords", "file", "author")
 
 $form = new AutoForm($document, "POST", "/action/fileshare/edit?document_id=$document_id", "DocumentDetails_form")
 
 $notes = $form->getRenderer("notes")
 
$notes colspan = 1
 
$notes columns = 38
 
if(! $document->fileshareAllowEdit()) if ( $method=="POST")
 

Variable Documentation

◆ $document

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

Definition at line 43 of file edit.inc.

◆ $document_id

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

Definition at line 37 of file edit.inc.

◆ $form

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

Definition at line 48 of file edit.inc.

◆ $library

$library = $document->DocumentLibrary()

Definition at line 44 of file edit.inc.

◆ $notes

$notes = $form->getRenderer("notes")

Definition at line 56 of file edit.inc.

◆ colspan

$notes colspan = 1

Definition at line 57 of file edit.inc.

◆ columns

$notes columns = 38

Definition at line 58 of file edit.inc.

◆ filter

$document filter = new InclusionFilter("document_id", "title", "notes", "keywords", "file", "author")

Definition at line 46 of file edit.inc.

◆ if

if (! $document->fileshareAllowEdit()) if($method=="POST") (   $method = = "POST")

Definition at line 67 of file edit.inc.