dokeos-document
[ class tree: dokeos-document ] [ index: dokeos-document ] [ all elements ]

Procedural File: document.php

Source Location: /main/document/document.php



Page Details:

Main script for the documents tool

This script allows the user to manage files and directories on a remote http server.

The user can : - navigate through files and directories.

  • upload a file
  • delete, copy a file or a directory
  • edit properties & content (name, comments, html content)
The script is organised in four sections.

1) Execute the command called by the user Note: somme commands of this section are organised in two steps. The script always begins with the second step, so it allows to return more easily to the first step.

Note (March 2004) some editing functions (renaming, commenting) are moved to a separate page, edit_document.php. This is also where xml and other stuff should be added.

2) Define the directory to display

3) Read files and directories from the directory defined in part 2 4) Display all of that on an HTML page




Tags:

todo:  eliminate code duplication between document/document.php, scormdocument.php
filesource:  Source Code for this file


Includes:

include('downloadfolder.inc.php') [line 251]
include("document_slideshow.inc.php") [line 605]
include_once(groupmanager.lib.php) [line 126]
include_once(fileDisplay.lib.php) [line 182]
include_once(document.lib.php) [line 184]
include_once(events.lib.inc.php) [line 183]
include_once(tablesort.lib.php) [line 185]
include_once(fileManage.lib.php) [line 344]
include_once(fileManage.lib.php) [line 377]
include_once(fileUpload.lib.php) [line 410]
include_once(fileUpload.lib.php) [line 186]
require("../inc/global.inc.php") [line 70]
Main script for the documents tool

This script allows the user to manage files and directories on a remote http server.

The user can : - navigate through files and directories.

  • upload a file
  • delete, copy a file or a directory
  • edit properties & content (name, comments, html content)
The script is organised in four sections.

1) Execute the command called by the user Note: somme commands of this section are organised in two steps. The script always begins with the second step, so it allows to return more easily to the first step.

Note (March 2004) some editing functions (renaming, commenting) are moved to a separate page, edit_document.php. This is also where xml and other stuff should be added.

2) Define the directory to display

3) Read files and directories from the directory defined in part 2 4) Display all of that on an HTML page




Tags:

todo:  eliminate code duplication between document/document.php, scormdocument.php
filesource:  Source Code for this file
require('document.inc.php') [line 72]






Documentation generated on Thu, 12 Jun 2008 13:19:44 -0500 by phpDocumentor 1.4.1