Minor - Adapting code comments to phpdoc

skala
Yannick Warnier 14 years ago
parent 97f9f08977
commit b3f46752ef
  1. 33
      main/admin/class_add.php
  2. 33
      main/admin/class_edit.php
  3. 30
      main/admin/class_import.php
  4. 30
      main/admin/class_information.php
  5. 32
      main/admin/class_list.php
  6. 27
      main/admin/class_user_import.php
  7. 6
      main/exercice/answer_admin.inc.php
  8. 5
      main/exercice/export/index.php
  9. 2
      main/exercice/export/qti2/qti2_classes.php
  10. 8
      main/exercice/fill_blanks.class.php
  11. 2
      main/exercice/hotspot.class.php
  12. 2
      main/exercice/mark_free_answer.php
  13. 2
      main/exercice/multiple_answer.class.php
  14. 9
      main/exercice/multiple_answer_combination.class.php
  15. 6
      main/exercice/unique_answer.class.php
  16. 5
      main/exercice/unique_answer_no_option.class.php

@ -1,34 +1,11 @@
<?php <?php
// $Id: class_add.php 10215 2006-11-27 13:57:17Z pcool $ /* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Olivier Brouckaert
Copyright (c) Bart Mollet, Hogeschool Gent
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
============================================================================== * @package chamilo.admin
* @package dokeos.admin
==============================================================================
*/ */
/**
* Code
*/
// Language files that should be included. // Language files that should be included.
$language_file = 'admin'; $language_file = 'admin';

@ -1,34 +1,11 @@
<?php <?php
// $Id: class_edit.php 10215 2006-11-27 13:57:17Z pcool $ /* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Olivier Brouckaert
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
============================================================================== * @package chamilo.admin
* @package dokeos.admin
==============================================================================
*/ */
/**
* Code
*/
// Language files that should be included. // Language files that should be included.
$language_file = 'admin'; $language_file = 'admin';

@ -1,34 +1,12 @@
<?php <?php
// $Id: class_import.php 10215 2006-11-27 13:57:17Z pcool $ /* For licensing terms, see /license.txt */
/* /**
============================================================================== * @package chamilo.admin
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Olivier Brouckaert
Copyright (c) Bart Mollet, Hogeschool Gent
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/ */
/** /**
============================================================================== * Code
* This tool allows platform admins to add classes by uploading a CSV file * This tool allows platform admins to add classes by uploading a CSV file
* @todo Add some langvars to DLTT * @todo Add some langvars to DLTT
* @package dokeos.admin
==============================================================================
*/ */
/** /**

@ -1,31 +1,11 @@
<?php // $Id: class_information.php 16954 2008-11-26 14:41:35Z pcool $ <?php
/* /* For licensing terms, see /license.txt */
============================================================================== /**
Dokeos - elearning and course management software * @package chamilo.admin
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Olivier Brouckaert
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/ */
/** /**
============================================================================== * Code
* @author Bart Mollet * @author Bart Mollet
* @package dokeos.admin
==============================================================================
*/ */
// Language files that should be included. // Language files that should be included.

@ -1,33 +1,11 @@
<?php <?php
// $Id: class_list.php 20441 2009-05-10 07:39:15Z ivantcholakov $ /* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Olivier Brouckaert
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
============================================================================== * @package chamilo.admin
* @package dokeos.admin
==============================================================================
*/ */
/**
* Code
*/
$language_file = 'admin'; $language_file = 'admin';
$cidReset = true; $cidReset = true;

@ -1,31 +1,12 @@
<?php <?php
/* For licensing terms, see /license.txt */
// $Id: class_user_import.php 9018 2006-06-28 15:11:16Z evie_em $ /**
/* * @package chamilo.admin
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2005 Bart Mollet <bart.mollet@hogent.be>
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/ */
/** /**
============================================================================== * Code
* This tool allows platform admins to update class-user relations by uploading * This tool allows platform admins to update class-user relations by uploading
* a CSVfile * a CSVfile
* @package dokeos.admin
==============================================================================
*/ */
/** /**

@ -3,11 +3,13 @@
// YW: 20110209: Script depredated? // YW: 20110209: Script depredated?
/** /**
* This script allows to manage answers. It is included from the script admin.php * This script allows to manage answers. It is included from the script admin.php
* @package dokeos.exercise * @package chamilo.exercise
* @author Olivier Brouckaert * @author Olivier Brouckaert
* @version $Id: answer_admin.inc.php 21361 2009-06-11 04:08:58Z ivantcholakov $ * @version $Id: answer_admin.inc.php 21361 2009-06-11 04:08:58Z ivantcholakov $
*/ */
/**
* Code
*/
// ALLOWED_TO_INCLUDE is defined in admin.php // ALLOWED_TO_INCLUDE is defined in admin.php
if(!defined('ALLOWED_TO_INCLUDE')) if(!defined('ALLOWED_TO_INCLUDE'))

@ -5,9 +5,12 @@
* @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE * @license http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
* *
* @author Claro Team <cvs@claroline.net> * @author Claro Team <cvs@claroline.net>
* @package dokeos.exercise * @package chamilo.exercise
* *
*/ */
/**
* Redirection
*/
header("Location: ../../../"); header("Location: ../../../");
exit(); exit();
?> ?>

@ -2,7 +2,7 @@
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/** /**
* @author Claro Team <cvs@claroline.net> * @author Claro Team <cvs@claroline.net>
* @author Yannick Warnier <yannick.warnier@dokeos.com> - updated ImsAnswerHotspot to match QTI norms * @author Yannick Warnier <yannick.warnier@beeznest.com> - updated ImsAnswerHotspot to match QTI norms
* @package chamilo.exercise * @package chamilo.exercise
*/ */
/** /**

@ -1,7 +1,5 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/** /**
* File containing the FillBlanks class. * File containing the FillBlanks class.
* @package chamilo.exercise * @package chamilo.exercise
@ -9,7 +7,9 @@
* @author Julio Montoya Armas switchable fill in blank option added * @author Julio Montoya Armas switchable fill in blank option added
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $ * @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
*/ */
/**
* Code
*/
if(!class_exists('FillBlanks')): if(!class_exists('FillBlanks')):
@ -21,7 +21,7 @@ if(!class_exists('FillBlanks')):
* *
* @author Eric Marguin * @author Eric Marguin
* @author Julio Montoya multiple fill in blank option added * @author Julio Montoya multiple fill in blank option added
* @package dokeos.exercise * @package chamilo.exercise
**/ **/
class FillBlanks extends Question class FillBlanks extends Question

@ -1,5 +1,5 @@
<?php //$id:$ <?php //$id:$
/* For licensing terms, see /dokeos_license.txt */ /* For licensing terms, see /license.txt */
/** /**
* File containing the HotSpot class. * File containing the HotSpot class.
* @package chamilo.exercise * @package chamilo.exercise

@ -4,7 +4,7 @@
* Free answer marking script * Free answer marking script
* This script allows a course tutor to mark a student's free answer. * This script allows a course tutor to mark a student's free answer.
* @package chamilo.exercise * @package chamilo.exercise
* @author Yannick Warnier <yannick.warnier@dokeos.com> * @author Yannick Warnier <yannick.warnier@beeznest.com>
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $ * @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
* *
* @todo respect coding guidelines * @todo respect coding guidelines

@ -3,7 +3,7 @@
/** /**
* File containing the MultipleAnswer class. * File containing the MultipleAnswer class.
* @package dokeos.exercise * @package chamilo.exercise
* @author Eric Marguin * @author Eric Marguin
*/ */

@ -1,13 +1,14 @@
<?php // $Id: document.php 16494 2008-10-10 22:07:36Z yannoo $ <?php // $Id: document.php 16494 2008-10-10 22:07:36Z yannoo $
/* For licensing terms, see /chamilo_license.txt */ /* For licensing terms, see /chamilo_license.txt */
/** /**
* File containing the MultipleAnswer class. * File containing the MultipleAnswer class.
* @package dokeos.exercise * @package chamilo.exercise
* @author Eric Marguin * @author Eric Marguin
* @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $ * @version $Id: admin.php 10680 2007-01-11 21:26:23Z pcool $
*/ */
/**
* Code
*/
if(!class_exists('MultipleAnswerCombination')): if(!class_exists('MultipleAnswerCombination')):
/** /**
@ -17,7 +18,7 @@ if(!class_exists('MultipleAnswerCombination')):
* extending the class question * extending the class question
* *
* @author Eric Marguin * @author Eric Marguin
* @package dokeos.exercise * @package chamilo.exercise
**/ **/
class MultipleAnswerCombination extends Question { class MultipleAnswerCombination extends Question {

@ -6,7 +6,9 @@
* @package chamilo.exercise * @package chamilo.exercise
* @author Eric Marguin * @author Eric Marguin
*/ */
/**
* Code
*/
if(!class_exists('UniqueAnswer')): if(!class_exists('UniqueAnswer')):
@ -18,7 +20,7 @@ if(!class_exists('UniqueAnswer')):
* *
* @author Eric Marguin * @author Eric Marguin
* @author Julio Montoya * @author Julio Montoya
* @package dokeos.exercise * @package chamilo.exercise
**/ **/
class UniqueAnswer extends Question { class UniqueAnswer extends Question {

@ -7,6 +7,9 @@
* @author Eric Marguin * @author Eric Marguin
*/ */
/**
* Code
*/
if(!class_exists('UniqueAnswerNoOption')): if(!class_exists('UniqueAnswerNoOption')):
@ -397,7 +400,7 @@ class UniqueAnswerNoOption extends Question {
How we are going to parse the destination value How we are going to parse the destination value
here we parse the destination value which is a string here we parse the destination value which is a string
1@@3@@2;4;4;@@http://www.dokeos.com 1@@3@@2;4;4;@@http://www.chamilo.org
where: try_again@@lp_id@@selected_questions@@url where: try_again@@lp_id@@selected_questions@@url

Loading…
Cancel
Save