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:
Parameters
| array |
$folders |
|
| string |
$curdirpath |
|
| string |
$group_dir |
|
| |
$changeRenderer |
|
build_document_icon_tag [line 176]
string build_document_icon_tag(
string $type, string $path)
|
|
Builds an img html tag for the filetype
Tags:
Parameters
| string |
$type |
(file/folder) |
| string |
$path |
|
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:
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 |
build_move_to_selector [line 237]
void build_move_to_selector(
$folders, $curdirpath, $move_file, [ $group_dir = ''])
|
|
Parameters
| |
$folders |
|
| |
$curdirpath |
|
| |
$move_file |
|
| |
$group_dir |
|
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:
Parameters
| string |
$www |
|
| string |
$title |
|
| string |
$path |
|
| string |
$filetype |
(file/folder) |
| int |
$visibility |
(1/0) |
| |
$size |
|
display_document_options [line 99]
void display_document_options(
)
|
|
|
|