Dokeos
[ class tree: Dokeos ] [ index: Dokeos ] [ all elements ]

Procedural File: document.inc.php

Source Location: /main/document/document.inc.php



Page Details:









build_directory_selector [line 22]

string build_directory_selector( array $folders, string $curdirpath, [string $group_dir = ''], $changeRenderer)

Builds the form thats enables the user to select a directory to browse/upload in



Tags:

return:  html form


Parameters

array   $folders  
string   $curdirpath  
string   $group_dir  
   $changeRenderer  
[ Top ]



build_document_icon_tag [line 176]

string build_document_icon_tag( string $type, string $path)

Builds an img html tag for the filetype



Tags:

return:  img html tag


Parameters

string   $type   (file/folder)
string   $path  
[ Top ]



build_edit_icons [line 196]

string build_edit_icons( string $curdirpath, string $type, string $path, int $visibility, int $id)

Creates the row of edit icons for a file/folder



Tags:

return:  html img tags with hyperlinks


Parameters

string   $curdirpath   current path (cfr open folder)
string   $type   (file/folder)
string   $path   dbase path of file/folder
int   $visibility   (1/0)
int   $id   dbase id of the document
[ Top ]



build_move_to_selector [line 237]

void build_move_to_selector( $folders, $curdirpath, $move_file, [ $group_dir = ''])



Parameters

   $folders  
   $curdirpath  
   $move_file  
   $group_dir  
[ Top ]



create_document_link [line 117]

string create_document_link( string $www, string $title, string $path, string $filetype, $size, int $visibility)

Create a html hyperlink depending on if it's a folder or a file



Tags:

return:  url


Parameters

string   $www  
string   $title  
string   $path  
string   $filetype   (file/folder)
int   $visibility   (1/0)
   $size  
[ Top ]



display_document_options [line 99]

void display_document_options( )



[ Top ]



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