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


Includes:

include('downloadfolder.inc.php') [line 252]
include("document_slideshow.inc.php") [line 504]
include_once(groupmanager.lib.php) [line 127]
include_once(fileDisplay.lib.php) [line 184]
include_once(document.lib.php) [line 186]
include_once(events.lib.inc.php) [line 185]
include_once(tablesort.lib.php) [line 187]
include_once(fileManage.lib.php) [line 321]
include_once(fileManage.lib.php) [line 355]
include_once(fileUpload.lib.php) [line 388]
include_once(fileUpload.lib.php) [line 188]
require("../inc/global.inc.php") [line 69]
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
require('document.inc.php') [line 72]






Documentation generated on Wed, 05 Sep 2007 06:14:36 +0200 by phpDocumentor 1.4.0