diff --git a/main/exercice/answer.class.php b/main/exercice/answer.class.php index 9cc7494b39..b47b10db47 100755 --- a/main/exercice/answer.class.php +++ b/main/exercice/answer.class.php @@ -1,6 +1,5 @@ send_notification($arrques, $arrans, $origin); -} \ No newline at end of file +} diff --git a/main/exercice/exercise_show.php b/main/exercice/exercise_show.php index 66a03da420..473dbf1dda 100755 --- a/main/exercice/exercise_show.php +++ b/main/exercice/exercise_show.php @@ -3,13 +3,13 @@ /** * Shows the exercise results * - * @package chamilo.exercise - * @author Julio Montoya Armas Added switchable fill in blank option added - * @version $Id: exercise_show.php 22256 2009-07-20 17:40:20Z ivantcholakov $ - * @package chamilo.exercise - * @todo remove the debug code and use the general debug library - * @todo small letters for table variables - * */ + * @author Julio Montoya Armas Added switchable fill in blank option added + * @version $Id: exercise_show.php 22256 2009-07-20 17:40:20Z ivantcholakov $ + * @package chamilo.exercise + * @todo remove the debug code and use the general debug library + * @todo small letters for table variables + * + */ /** * Code */ diff --git a/main/exercice/export/qti/qti_classes.php b/main/exercice/export/qti/qti_classes.php old mode 100644 new mode 100755 index 53d328eb35..3b35ed2518 --- a/main/exercice/export/qti/qti_classes.php +++ b/main/exercice/export/qti/qti_classes.php @@ -1,5 +1,5 @@ - * @author Yannick Warnier - * @package dokeos.exercise + * @author Yannick Warnier + * @package chamilo.exercise + */ +/** + * Code */ +if ( count( get_included_files() ) == 1 ) die( '---' ); require_once('../../exercise.class.php'); require_once('../../question.class.php'); require_once('../../answer.class.php'); @@ -32,7 +36,10 @@ define('FIB', 3); define('MATCHING', 4); define('FREE_ANSWER', 5); define('HOTSPOT', 6); - +/** + * + * @package chamilo.exercise + */ class ImsQuestion extends Question { /** @@ -91,6 +98,10 @@ class ImsQuestion extends Question } } +/** + * + * @package chamilo.exercise + */ class ImsAnswerMultipleChoice extends answerMultipleChoice { /** @@ -231,6 +242,10 @@ class ImsAnswerMultipleChoice extends answerMultipleChoice } } +/** + * + * @package chamilo.exercise + */ class ImsAnswerTrueFalse extends answerTrueFalse { /** @@ -339,6 +354,10 @@ class ImsAnswerTrueFalse extends answerTrueFalse } } +/** + * + * @package chamilo.exercise + */ class ImsAnswerFillInBlanks extends answerFillInBlanks { /** @@ -455,6 +474,10 @@ class ImsAnswerFillInBlanks extends answerFillInBlanks } } +/** + * + * @package chamilo.exercise + */ class ImsAnswerMatching extends answerMatching { /** @@ -562,4 +585,4 @@ class ImsAnswerMatching extends answerMatching } } } -?> \ No newline at end of file +?> diff --git a/main/exercice/export/qti/qti_export.php b/main/exercice/export/qti/qti_export.php index de7a3de584..8a89be0d2b 100755 --- a/main/exercice/export/qti/qti_export.php +++ b/main/exercice/export/qti/qti_export.php @@ -174,7 +174,7 @@ class ImsSection * * Every start_*() and corresponding end_*(), as well as export_*() methods return a string. * - * @warning Attached files are NOT exported. + * Warning: Attached files are NOT exported. * @package chamilo.exercise.qti * @author Amand Tihon */ diff --git a/main/exercice/export/qti2/qti2_export.php b/main/exercice/export/qti2/qti2_export.php index 68d9dc3058..2c3dbfd603 100755 --- a/main/exercice/export/qti2/qti2_export.php +++ b/main/exercice/export/qti2/qti2_export.php @@ -28,7 +28,7 @@ define(HOT_SPOT_ORDER, 7); * * Every start_*() and corresponding end_*(), as well as export_*() methods return a string. * - * @note Attached files are NOT exported. + * note: Attached files are NOT exported. * @package chamilo.exercise */ class ImsAssessmentItem @@ -302,7 +302,7 @@ class ImsSection * * Every start_*() and corresponding end_*(), as well as export_*() methods return a string. * - * @warning Attached files are NOT exported. + * warning: Attached files are NOT exported. * @author Amand Tihon * @package chamilo.exercise */ diff --git a/main/exercice/export/scorm/scorm_export.php b/main/exercice/export/scorm/scorm_export.php index 38da577eca..72a5431b05 100755 --- a/main/exercice/export/scorm/scorm_export.php +++ b/main/exercice/export/scorm/scorm_export.php @@ -28,7 +28,8 @@ define(HOT_SPOT_ORDER, 7); * * Every start_*() and corresponding end_*(), as well as export_*() methods return a string. * - * @warning Attached files are NOT exported. + * Attached files are NOT exported. + * @package chamilo.exercise.scorm */ class ScormAssessmentItem { @@ -258,6 +259,7 @@ class ScormAssessmentItem * - max_attempts * - show_answer * - anonymous_attempts + * @package chamilo.exercise.scorm */ class ScormSection { diff --git a/main/exercice/freeanswer.class.php b/main/exercice/freeanswer.class.php index 33f13abbe8..12173a4d18 100755 --- a/main/exercice/freeanswer.class.php +++ b/main/exercice/freeanswer.class.php @@ -8,10 +8,13 @@ * @author Eric Marguin * @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $ */ - - +/** + * Code + */ if(!class_exists('FreeAnswer')): - +/** + * @package chamilo.exercise + */ class FreeAnswer extends Question { static $typePicture = 'open_answer.gif'; @@ -72,4 +75,4 @@ class FreeAnswer extends Question { } endif; -?> \ No newline at end of file +?> diff --git a/main/exercice/hotspot.class.php b/main/exercice/hotspot.class.php index a0707ee3e2..381d8947f7 100755 --- a/main/exercice/hotspot.class.php +++ b/main/exercice/hotspot.class.php @@ -1,15 +1,14 @@ \ No newline at end of file +?> diff --git a/main/exercice/multiple_answer_combination_true_false.class.php b/main/exercice/multiple_answer_combination_true_false.class.php index 0c7f2815dc..a762661541 100644 --- a/main/exercice/multiple_answer_combination_true_false.class.php +++ b/main/exercice/multiple_answer_combination_true_false.class.php @@ -10,7 +10,7 @@ * Code */ if(!class_exists('MultipleAnswerCombinationTrueFalse')): - +require 'multiple_answer_combination.class.php'; /** CLASS MultipleAnswer * @@ -18,10 +18,8 @@ if(!class_exists('MultipleAnswerCombinationTrueFalse')): * extending the class question * * @author Eric Marguin - * @package dokeos.exercise + * @package chamilo.exercise **/ -require 'multiple_answer_combination.class.php'; - class MultipleAnswerCombinationTrueFalse extends MultipleAnswerCombination { static $typePicture = 'mcmaco.gif'; diff --git a/main/exercice/multiple_answer_true_false.class.php b/main/exercice/multiple_answer_true_false.class.php index 38bf2f4a0b..ee12a07530 100755 --- a/main/exercice/multiple_answer_true_false.class.php +++ b/main/exercice/multiple_answer_true_false.class.php @@ -1,18 +1,21 @@ '.get_lang('Reuse').' '; } -Display::display_footer(); \ No newline at end of file +Display::display_footer(); diff --git a/main/inc/lib/WCAG/WCAG_rendering.php b/main/inc/lib/WCAG/WCAG_rendering.php old mode 100644 new mode 100755 index b07fc626ac..0af450dba7 --- a/main/inc/lib/WCAG/WCAG_rendering.php +++ b/main/inc/lib/WCAG/WCAG_rendering.php @@ -18,16 +18,22 @@ // +----------------------------------------------------------------------+ // // $Id: wai_rendering.php,v 1.0 2006/10/07 20:12:17 avb Exp $ - +/** + * @package chamilo.include + */ +/** + * Code + */ include_once ('../inc/global.inc.php'); include_once (api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'); /** -* helper for WCAG rendering. -* -* @author Patrick Vandermaesen -* @version 1.0 -*/ + * helper for WCAG rendering. + * + * @author Patrick Vandermaesen + * @version 1.0 + * @package chamilo.include + */ class WCAG_Rendering { function editor_header() { @@ -188,4 +194,4 @@ function &create_xhtml($xhtml) { } } // end class WAI_Rendering -?> \ No newline at end of file +?> diff --git a/main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php b/main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php index fcc27da129..6873459c8f 100755 --- a/main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php +++ b/main/inc/lib/access_url_edit_sessions_to_url_functions.lib.php @@ -1,5 +1,5 @@ * @author Julio Montoya - Cleaning code * @author Ricardo Rodriguez - Separated the function and code - * + * @package chamilo.include + */ +/** + * Code */ - require_once ('xajax/xajax.inc.php'); - +/** + * Class + * @package chamilo.include + */ class Accessurleditsessionstourl { function search_sessions($needle, $id) diff --git a/main/inc/lib/access_url_edit_users_to_url_functions.lib.php b/main/inc/lib/access_url_edit_users_to_url_functions.lib.php index de80420be6..0d40f18720 100755 --- a/main/inc/lib/access_url_edit_users_to_url_functions.lib.php +++ b/main/inc/lib/access_url_edit_users_to_url_functions.lib.php @@ -9,12 +9,16 @@ * @author Toon Keppens * @author Julio Montoya - Cleaning code * @author Ricardo Rodriguez - Separated the function and code - * + * @package chamilo.library + */ +/** + * Code */ - - require_once ('xajax/xajax.inc.php'); - +/** + * Class + * @package chamilo.library + */ class Accessurledituserstourl{ function search_users($needle, $id) diff --git a/main/inc/lib/add_course.lib.inc.php b/main/inc/lib/add_course.lib.inc.php index 9fa46bb9ff..0e5c34da88 100755 --- a/main/inc/lib/add_course.lib.inc.php +++ b/main/inc/lib/add_course.lib.inc.php @@ -1,6 +1,5 @@ * @author Julio Montoya improvements * @package chamilo.attendance */ - /** * Attendance can be used to instanciate objects or as a library to manage attendances + * @package chamilo.attendance */ - class Attendance { private $session_id; diff --git a/main/inc/lib/banner.lib.php b/main/inc/lib/banner.lib.php index 6edef9ff1d..abd235a92b 100755 --- a/main/inc/lib/banner.lib.php +++ b/main/inc/lib/banner.lib.php @@ -1,19 +1,18 @@ , Ghent University */ - - function get_tabs() { global $_course; diff --git a/main/inc/lib/blog.lib.php b/main/inc/lib/blog.lib.php index 7d12bb4e85..76f190caf9 100755 --- a/main/inc/lib/blog.lib.php +++ b/main/inc/lib/blog.lib.php @@ -1,6 +1,5 @@ * @package chamilo.dashboard */ - +/** + * Code + */ // required files require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php'; - /** * DashboardManager can be used to manage dashboard * @package chamilo.dashboard */ -class DashboardManager -{ +class DashboardManager { /** * contructor */ @@ -533,6 +532,3 @@ class DashboardManager } } - - -?> \ No newline at end of file diff --git a/main/inc/lib/debug.lib.php b/main/inc/lib/debug.lib.php old mode 100755 new mode 100644 index b5b1e462a8..ced3b4d9dd --- a/main/inc/lib/debug.lib.php +++ b/main/inc/lib/debug.lib.php @@ -5,6 +5,11 @@ * Include/require it in your code to use its functionality. * @package chamilo.debug */ +/** +* This is the debug library for Chamilo. +* Include/require it in your code to use its functionality. +* @package chamilo.debug +*/ class Debug { /** * This function displays the contend of a variable, array or object in a nicely formatted way. @@ -161,4 +166,4 @@ class Debug { } return $info; } -} \ No newline at end of file +} diff --git a/main/inc/lib/document.lib.php b/main/inc/lib/document.lib.php index ce5a1b648e..b89f93973a 100755 --- a/main/inc/lib/document.lib.php +++ b/main/inc/lib/document.lib.php @@ -9,7 +9,9 @@ * * @package chamilo.library */ - +/** + * Code + */ require_once api_get_path(LIBRARY_PATH).'course.lib.php'; require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php'; @@ -24,7 +26,9 @@ if (empty($default_quota)) { $default_quota = 100000000; } define('DEFAULT_DOCUMENT_QUOTA', $default_quota); - +/** + * @package chamilo.library + */ class DocumentManager { private function __construct() { @@ -2468,4 +2472,4 @@ return 'application/octet-stream'; } -//end class DocumentManager \ No newline at end of file +//end class DocumentManager diff --git a/main/inc/lib/export.lib.inc.php b/main/inc/lib/export.lib.inc.php index e603cf5a22..0b3bba061f 100755 --- a/main/inc/lib/export.lib.inc.php +++ b/main/inc/lib/export.lib.inc.php @@ -8,9 +8,14 @@ * * @package chamilo.library */ - +/** + * Code + */ require_once 'document.lib.php'; - +/** + * + * @package chamilo.library + */ class Export { private function __construct() { diff --git a/main/inc/lib/fileManage.lib.php b/main/inc/lib/fileManage.lib.php index 2eab5b6e37..0b28031b89 100755 --- a/main/inc/lib/fileManage.lib.php +++ b/main/inc/lib/fileManage.lib.php @@ -1,6 +1,5 @@ * @param - file_size (int) - size of the file in byte * @param - dir (string) - Path of the directory @@ -928,7 +930,7 @@ function get_levels($filename) { * * @author Olivier Cauberghe * @param path,filename - * @action Adds an entry to the document table with the default settings. + * action: Adds an entry to the document table with the default settings. */ function set_default_settings($upload_path, $filename, $filetype = 'file') { global $dbTable,$_configuration; diff --git a/main/inc/lib/geometry.lib.php b/main/inc/lib/geometry.lib.php index 630f2bc044..2ddc012ffd 100755 --- a/main/inc/lib/geometry.lib.php +++ b/main/inc/lib/geometry.lib.php @@ -1,11 +1,14 @@ + * + * @author: Arnaud Ligot (CBlue SPRL) + * @package chamilo.include.geometry + */ +/** + * Code */ - DEFINE('DEBUG', false); - /** * poly_init - build the array which will store the image of the polygone * @@ -13,6 +16,7 @@ DEFINE('DEBUG', false); * @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 */ function poly_init($max) { return array_fill(0, $max["x"]-1, @@ -333,4 +337,4 @@ function poly_get_max(&$coords1, &$coords2) { } } return array('x'=>$mx,'y'=>$my); -} \ No newline at end of file +} diff --git a/main/inc/lib/group_portal_manager.lib.php b/main/inc/lib/group_portal_manager.lib.php index 10c057c419..15692c2ded 100755 --- a/main/inc/lib/group_portal_manager.lib.php +++ b/main/inc/lib/group_portal_manager.lib.php @@ -6,6 +6,9 @@ * @author Julio Montoya * @package chamilo.library */ +/** + * Code + */ // Group permissions define('GROUP_PERMISSION_OPEN' , '1'); define('GROUP_PERMISSION_CLOSED', '2'); @@ -25,9 +28,11 @@ define('GROUP_IMAGE_SIZE_MEDIUM', 3); define('GROUP_IMAGE_SIZE_SMALL', 4); define('GROUP_TITLE_LENGTH', 50); - -class GroupPortalManager -{ +/** + * Class + * @package chamilo.library + */ +class GroupPortalManager { /** * Creates a new group * @@ -183,7 +188,6 @@ class GroupPortalManager } /** Gets the inner join from users and group table - * @return int access url id * @return array Database::store_result of the result * @author Julio Montoya * */ @@ -221,8 +225,8 @@ class GroupPortalManager } /** Gets the inner join of users and group table - * @return int quantity of records - * @return bool show groups with image or not + * @param int quantity of records + * @param bool show groups with image or not * @return array with group content * @author Julio Montoya * */ @@ -259,8 +263,8 @@ class GroupPortalManager } /** Gets the last groups created - * @return int quantity of records - * @return bool show groups with image or not + * @param int quantity of records + * @param bool show groups with image or not * @return array with group content * @author Julio Montoya * */ @@ -989,4 +993,4 @@ class GroupPortalManager */ } } -?> \ No newline at end of file +?> diff --git a/main/inc/lib/groupmanager.lib.php b/main/inc/lib/groupmanager.lib.php index 18de5cf925..41925eff7a 100755 --- a/main/inc/lib/groupmanager.lib.php +++ b/main/inc/lib/groupmanager.lib.php @@ -1,6 +1,12 @@ + * @package chamilo.include.image + * @todo move in a DB configuration setting + */ +/** + * Code */ - -//@todo move in a DB configuration setting - define('IMAGE_PROCESSOR', 'gd'); // imagick or gd strings - +/** + * Image class + * @package chamilo.include.image + */ class Image { var $image_wrapper = null; @@ -40,6 +44,10 @@ class Image { } } +/** + * Image wrapper class + * @package chamilo.include.image + */ abstract class ImageWrapper { var $debug = true; var $path; @@ -75,6 +83,7 @@ abstract class ImageWrapper { * * @author jmontoya * + * @package chamilo.include.image */ class ImagickWrapper extends ImageWrapper { var $image; @@ -178,10 +187,8 @@ class ImagickWrapper extends ImageWrapper { /** * php-gd wrapper - * - * + * @package chamilo.include.image */ - class GDWrapper extends ImageWrapper { var $bg; @@ -364,4 +371,4 @@ class GDWrapper extends ImageWrapper { $this->fontfile = $fontfile; }*/ -} \ No newline at end of file +} diff --git a/main/inc/lib/internationalization_database/conversion/character_map_selector.php b/main/inc/lib/internationalization_database/conversion/character_map_selector.php index 2da664db00..8485a8bef0 100755 --- a/main/inc/lib/internationalization_database/conversion/character_map_selector.php +++ b/main/inc/lib/internationalization_database/conversion/character_map_selector.php @@ -1,6 +1,11 @@ \ No newline at end of file +?> diff --git a/main/inc/lib/nanogong/receiver.php b/main/inc/lib/nanogong/receiver.php index 4f28a701fe..a9ca388555 100644 --- a/main/inc/lib/nanogong/receiver.php +++ b/main/inc/lib/nanogong/receiver.php @@ -9,6 +9,9 @@ * @author Juan Carlos Raņa Trabado * @since 5/mar/2011 */ +/** + * Code + */ require_once '../../../inc/global.inc.php'; require_once api_get_path(LIBRARY_PATH).'fileUpload.lib.php'; @@ -53,4 +56,4 @@ else{ return get_lang('FileExistRename'); } -?> \ No newline at end of file +?> diff --git a/main/inc/lib/notification.lib.php b/main/inc/lib/notification.lib.php index e310195856..1e20d3780a 100644 --- a/main/inc/lib/notification.lib.php +++ b/main/inc/lib/notification.lib.php @@ -1,12 +1,13 @@ '; return $content; } -} \ No newline at end of file +} diff --git a/main/inc/lib/pdf.lib.php b/main/inc/lib/pdf.lib.php index 7a82668d3c..dd0351126e 100644 --- a/main/inc/lib/pdf.lib.php +++ b/main/inc/lib/pdf.lib.php @@ -3,9 +3,14 @@ /** * @package chamilo.library */ +/** + * Code + */ define('_MPDF_PATH', api_get_path(LIBRARY_PATH).'mpdf/'); require_once _MPDF_PATH.'mpdf.php'; - +/** +* @package chamilo.library +*/ class PDF { var $pdf; @@ -497,4 +502,4 @@ class PDF { $this->pdf->SetHTMLFooter($this->custom_footer); } } -} \ No newline at end of file +} diff --git a/main/inc/lib/pear/HTML/QuickForm/Rule/CompareDate.php b/main/inc/lib/pear/HTML/QuickForm/Rule/CompareDate.php old mode 100644 new mode 100755 index 867ffb337e..185ae8049a --- a/main/inc/lib/pear/HTML/QuickForm/Rule/CompareDate.php +++ b/main/inc/lib/pear/HTML/QuickForm/Rule/CompareDate.php @@ -17,9 +17,13 @@ // +----------------------------------------------------------------------+ // // $Id: Compare.php 6184 2005-09-07 10:08:17Z bmol $ - +/** + * @package chamilo.library + */ +/** + * Code + */ require_once 'HTML/QuickForm/Rule.php'; - /** * Rule to compare two form fields * @@ -75,4 +79,4 @@ class HTML_QuickForm_Rule_CompareDate extends HTML_QuickForm_Rule } -?> \ No newline at end of file +?> diff --git a/main/inc/lib/pear/HTML/QuickForm/Rule/Date.php b/main/inc/lib/pear/HTML/QuickForm/Rule/Date.php old mode 100644 new mode 100755 index 9867019298..9899238de3 --- a/main/inc/lib/pear/HTML/QuickForm/Rule/Date.php +++ b/main/inc/lib/pear/HTML/QuickForm/Rule/Date.php @@ -1,29 +1,16 @@ \ No newline at end of file +?> diff --git a/main/inc/lib/pear/HTML/Table.php b/main/inc/lib/pear/HTML/Table.php index c1db94d280..cb4799b471 100755 --- a/main/inc/lib/pear/HTML/Table.php +++ b/main/inc/lib/pear/HTML/Table.php @@ -1,6 +1,5 @@ \ No newline at end of file +?> diff --git a/main/inc/lib/pear/Pager/Pager_savebc.php b/main/inc/lib/pear/Pager/Pager_savebc.php old mode 100644 new mode 100755 index 1cabbe755e..6e7f9e1d5b --- a/main/inc/lib/pear/Pager/Pager_savebc.php +++ b/main/inc/lib/pear/Pager/Pager_savebc.php @@ -14,6 +14,7 @@ * @version CVS: $Id: Pager_savebc.php,v 1.3 2007/10/28 22:37:01 quipo Exp $ * @link http://pear.php.net/package/Pager */ - +/** + * Code + */ require_once 'Pager.php'; -?> \ No newline at end of file diff --git a/main/inc/lib/pear/excelreader/reader.php b/main/inc/lib/pear/excelreader/reader.php index 5203c4da46..5b2cdd4ad0 100755 --- a/main/inc/lib/pear/excelreader/reader.php +++ b/main/inc/lib/pear/excelreader/reader.php @@ -1,6 +1,5 @@ on * TOOL_.class.php * See lp_list_search for an example of calling the process. + * @package chamilo.include.search */ abstract class search_processor { /** diff --git a/main/inc/lib/search/xapian/XapianIndexer.class.php b/main/inc/lib/search/xapian/XapianIndexer.class.php index 7744cec63b..64aa1efd97 100755 --- a/main/inc/lib/search/xapian/XapianIndexer.class.php +++ b/main/inc/lib/search/xapian/XapianIndexer.class.php @@ -1,6 +1,12 @@ db); unset($this->stemmer); } -} \ No newline at end of file +} diff --git a/main/inc/lib/search/xapian/XapianQuery.php b/main/inc/lib/search/xapian/XapianQuery.php index 1419e0eba5..a3567b6c5c 100755 --- a/main/inc/lib/search/xapian/XapianQuery.php +++ b/main/inc/lib/search/xapian/XapianQuery.php @@ -1,5 +1,11 @@ + * $wanted_code = 'curse' if there are in the DB codes like curse1 curse2 the function will return: course3 * if the course code doest not exist in the DB the same course code will be returned + * * @return string wanted unused code */ function generate_nice_next_session_name($session_name) { diff --git a/main/inc/lib/sortabletable.class.php b/main/inc/lib/sortabletable.class.php index b9c9578f8b..a35c9e7c96 100755 --- a/main/inc/lib/sortabletable.class.php +++ b/main/inc/lib/sortabletable.class.php @@ -1,10 +1,14 @@ (Score average fixes) */ - +/** + * Code + */ define('SESSION_LINK_TARGET','_self'); - +/** + * Class + * @package chamilo.library + */ class Tracking { /** @@ -2774,7 +2779,9 @@ class Tracking { return $html; } } - +/** + * @package chamilo.tracking + */ class TrackingCourseLog { function count_item_resources() { @@ -3314,7 +3321,9 @@ class TrackingCourseLog { return $users; } } - +/** + * @package chamilo.tracking + */ class TrackingUserLog { /** @@ -3685,11 +3694,10 @@ class TrackingUserLog { "; } } - - - } - +/** + * @package chamilo.tracking + */ class TrackingUserLogCSV { /** diff --git a/main/inc/lib/upload.xajax.php b/main/inc/lib/upload.xajax.php old mode 100644 new mode 100755 index 9c93b57ada..7b8feaa452 --- a/main/inc/lib/upload.xajax.php +++ b/main/inc/lib/upload.xajax.php @@ -1,5 +1,10 @@ \ No newline at end of file +?> diff --git a/main/inc/lib/usermanager.lib.php b/main/inc/lib/usermanager.lib.php index 8515a26bfb..bd70dbbe80 100755 --- a/main/inc/lib/usermanager.lib.php +++ b/main/inc/lib/usermanager.lib.php @@ -1,13 +1,14 @@ Social network groups added 2009/12 +* This library provides functions for user management. +* Include/require it in your code to use its functionality. +* @package chamilo.library +* @author Julio Montoya Social network groups added 2009/12 */ - +/** + * Code + */ // Constants for user extra field types. define('USER_FIELD_TYPE_TEXT', 1); define('USER_FIELD_TYPE_TEXTAREA', 2); @@ -38,9 +39,11 @@ define('USER_RELATION_TYPE_GOODFRIEND', 4); // should be deprecated is useless define('USER_RELATION_TYPE_ENEMY', 5); // should be deprecated is useless define('USER_RELATION_TYPE_DELETED', 6); define('USER_RELATION_TYPE_RRHH', 7); - -class UserManager -{ +/** + * Class + * @package chamilo.include.user + */ +class UserManager { private function __construct () { } @@ -1341,11 +1344,11 @@ class UserManager * and simply re-add them all then all the user who have already filled this form will loose their selected value. * 3. we add the options that are newly added * - * @example current options are a;b;c and the user changes this to a;b;x (removing c and adding x) + * current options are a;b;c and the user changes this to a;b;x (removing c and adding x) * we first remove c (and also the entry in the option_value table for the users who have chosen this) * we then add x * a and b are neither removed nor added - * + * * @param integer $fieldid the id of the field we are editing * @param string $fieldvarname the internal variable name of the field * @param int $fieldtype the type of the field @@ -2140,7 +2143,7 @@ class UserManager /** * Gets the API key (or keys) and return them into an array * @param int Optional user id (defaults to the result of api_get_user_id()) - * @result array Non-indexed array containing the list of API keys for this user, or FALSE on error + * @return array Non-indexed array containing the list of API keys for this user, or FALSE on error */ public static function get_api_keys($user_id = null, $api_service = 'dokeos') { if ($user_id != strval(intval($user_id))) return false; @@ -3384,4 +3387,4 @@ class UserManager } return false; } -} \ No newline at end of file +} diff --git a/main/inc/lib/xajax/tests/changeLister.php b/main/inc/lib/xajax/tests/changeLister.php index 0519ecba6e..40c93e5394 100755 --- a/main/inc/lib/xajax/tests/changeLister.php +++ b/main/inc/lib/xajax/tests/changeLister.php @@ -1 +1,8 @@ - \ No newline at end of file +