diff --git a/main/exercice/exercise_result.class.php b/main/exercice/exercise_result.class.php index a6fecaaf3e..43542725c5 100755 --- a/main/exercice/exercise_result.class.php +++ b/main/exercice/exercise_result.class.php @@ -1,12 +1,13 @@ ) with the users' tasks + * @return Returns an unsorted list () with the users' tasks */ public static function get_personal_task_list () { global $_user; diff --git a/main/inc/lib/course_request.lib.php b/main/inc/lib/course_request.lib.php index d135e391c3..d8192714bc 100644 --- a/main/inc/lib/course_request.lib.php +++ b/main/inc/lib/course_request.lib.php @@ -1,6 +1,5 @@ (technical adaptation for Chamilo 1.8.8), 2010 */ - +/** + * Code + */ define(COURSE_REQUEST_PENDING, 0); define(COURSE_REQUEST_ACCEPTED, 1); define(COURSE_REQUEST_REJECTED, 2); diff --git a/main/inc/lib/debug.lib.php b/main/inc/lib/debug.lib.php index ced3b4d9dd..8a40be42da 100644 --- a/main/inc/lib/debug.lib.php +++ b/main/inc/lib/debug.lib.php @@ -14,7 +14,7 @@ class Debug { /** * This function displays the contend of a variable, array or object in a nicely formatted way. * @param Mixed A variable, array or object - * @return void Prints
 HTML block to output
+	 * @return 	void	Prints \ HTML block to output
 	 * @author Patrick Cool , Ghent University
 	 * @version November 2006
 	 */
diff --git a/main/inc/lib/geometry.lib.php b/main/inc/lib/geometry.lib.php
index 2ddc012ffd..e0abb1a141 100755
--- a/main/inc/lib/geometry.lib.php
+++ b/main/inc/lib/geometry.lib.php
@@ -1,8 +1,7 @@
 
+ * @author Arnaud Ligot (CBlue SPRL) 
  * @package chamilo.include.geometry
  */
 /**
@@ -11,10 +10,8 @@
 DEFINE('DEBUG', false);
 /**
  * poly_init -    build the array which will store the image of the polygone
- *
  * @param max[x]    X resolution
  * @param max[y]    Y resolution
- *
  * @returns an array such as: for all i in [0..max[x][ : for all j in [0..max[y][ : array[i][j] = FALSE
  * @package chamilo.include.geometry
  */
diff --git a/main/inc/lib/import.lib.php b/main/inc/lib/import.lib.php
index d33318d7d7..9a634876a9 100755
--- a/main/inc/lib/import.lib.php
+++ b/main/inc/lib/import.lib.php
@@ -1,12 +1,14 @@
 array('title'=>'Hello','path'=>'file.html'),1=>array('title'=>'Bye','path'=>'file2.html'));
      * @param   string  pdf name   
      * @param   string  course code (if you are using html that are located in the document tool you must provide this) 
-     * @return  
+     * @return void
      */    
     public function html_to_pdf($html_file_array, $pdf_name = '', $course_code = null, $print_title = false) {
         
diff --git a/main/inc/lib/search/DokeosIndexer.class.php b/main/inc/lib/search/DokeosIndexer.class.php
index a7046ce315..221430ab04 100755
--- a/main/inc/lib/search/DokeosIndexer.class.php
+++ b/main/inc/lib/search/DokeosIndexer.class.php
@@ -1,11 +1,17 @@
 
diff --git a/main/inc/lib/search/DokeosQuery.php b/main/inc/lib/search/DokeosQuery.php
index e2059de967..7a3e982868 100755
--- a/main/inc/lib/search/DokeosQuery.php
+++ b/main/inc/lib/search/DokeosQuery.php
@@ -2,7 +2,7 @@
 /* For licensing terms, see /dokeos_license.txt */
 /*
  * Script defining generic functions against a search engine api. Just only if one day the search engine changes
- * @package: chamilo.include.search
+ * @package chamilo.include.search
  */
 /**
  * Code
diff --git a/main/inc/lib/search/IndexableChunk.class.php b/main/inc/lib/search/IndexableChunk.class.php
index ac56655e1f..b5b766a404 100755
--- a/main/inc/lib/search/IndexableChunk.class.php
+++ b/main/inc/lib/search/IndexableChunk.class.php
@@ -93,6 +93,7 @@ abstract class _IndexableChunk
 
 /**
  * Extension of the _IndexableChunk class to make IndexableChunk extensible.
+ * @package chamilo.include.search
  */
 class IndexableChunk extends _IndexableChunk
 {
@@ -111,5 +112,3 @@ class IndexableChunk extends _IndexableChunk
   }
 
 }
-
-?>
diff --git a/main/inc/lib/search/xapian/XapianIndexer.class.php b/main/inc/lib/search/xapian/XapianIndexer.class.php
index 64aa1efd97..761cd366b0 100755
--- a/main/inc/lib/search/xapian/XapianIndexer.class.php
+++ b/main/inc/lib/search/xapian/XapianIndexer.class.php
@@ -1,7 +1,6 @@
 
+	 * $parameters['action'] = 'test'; will be convert in 
 	 * @param array $parameters
 	 */
 	public function set_additional_parameters ($parameters) {
diff --git a/main/inc/lib/text.lib.php b/main/inc/lib/text.lib.php
index 62ebd390e9..9e8fe904a7 100755
--- a/main/inc/lib/text.lib.php
+++ b/main/inc/lib/text.lib.php
@@ -420,9 +420,9 @@ function make_clickable($string) {
  * @desc This function does some parsing on the text that gets inputted. This parsing can be of any kind
  *       LaTeX notation, Word Censoring, Glossary Terminology (extension will available soon), Musical Notations, ...
  *       The inspiration for this filter function came from Moodle an phpBB who both use a similar approach.
+ * [tex]\sqrt(2)[/tex]
  * @param $input string. some text
  * @return $output string. some text that contains the parsed elements.
- * @example [tex]\sqrt(2)[/tex]
  * @author Patrick Cool 
  * @version March 2OO6
  */
diff --git a/main/inc/lib/upload.xajax.php b/main/inc/lib/upload.xajax.php
index 7b8feaa452..0b0a61571c 100755
--- a/main/inc/lib/upload.xajax.php
+++ b/main/inc/lib/upload.xajax.php
@@ -1,6 +1,6 @@