Procedural File: edit_document.php
Source Location: /main/document/edit_document.php
Page Details:
This file allows editing documents.
Based on create_document, this file allows - edit name
- edit comments
- edit metadata (requires a document table entry)
- edit html content (only for htm/html files)
For all files - show editable name field
- show editable comments field
Additionally, for html and text files Remember, all files and folders must always have an entry in the database, regardless of wether they are visible/invisible, have comments or not.
Tags:
Includes:
change_name [line 207]
void change_name(
$baseWorkDir, $sourceFile, $renameTo, $dir, $doc)
|
|
Parameters
| |
$baseWorkDir |
|
| |
$sourceFile |
|
| |
$renameTo |
|
| |
$dir |
|
| |
$doc |
|
|