claroline/claroline/inc/lib/fileDisplay.lib.php File Reference
Go to the source code of this file.
Function Documentation
| choose_image |
( |
$ |
fileName |
) |
|
Define the image to display for each file extension This needs an existing image repository to works
- Author:
- - Hugues Peeters <peeters@ipm.ucl.ac.be>
- Parameters:
-
| - | fileName (string) - name of a file - the gif image to chose |
Definition at line 30 of file fileDisplay.lib.php.
| claro_disp_document_breadcrumb |
( |
$ |
curDirPath |
) |
|
| claro_html_document_breadcrumb |
( |
$ |
curDirPath |
) |
|
| format_date |
( |
$ |
fileDate |
) |
|
| format_file_size |
( |
$ |
fileSize |
) |
|
Transform the file size in a human readable format
- Author:
- - ???
- Parameters:
-
| - | fileSize (int) - size of the file in bytes |
Definition at line 136 of file fileDisplay.lib.php.
| format_url_path |
( |
$ |
path |
) |
|
| format_url_query |
( |
$ |
query |
) |
|
| query_make_part |
( |
$ |
matches |
) |
|
| url_already_encoded |
( |
$ |
url |
) |
|
Transform the file path in a url
- Parameters:
-
| - | url (string) - relative local path of the file on the Hard disk |
- Returns:
- - relative url
Definition at line 187 of file fileDisplay.lib.php.