Browse Source

Minor: Added docblock

Yannick Warnier 12 years ago
parent
commit
0bc5240cc2
1 changed files with 9 additions and 2 deletions
  1. 9 2
      main/document/file.php

+ 9 - 2
main/document/file.php

@@ -1,5 +1,12 @@
 <?php
-
+/* For licensing terms, see /license.txt */
+/**
+ * Document download/view script
+ * @package chamilo.document
+ */
+/**
+ * Init
+ */
 Use Model\Document;
 Use Model\Course;
 
@@ -151,4 +158,4 @@ foreach ($files as $file) {
  * Send file for download 
  */
 event_download(Uri::here());
-DocumentManager::file_send_for_download($temp_zip_path, false, get_lang('Documents') . '.zip');
+DocumentManager::file_send_for_download($temp_zip_path, false, get_lang('Documents') . '.zip');