[ Index ]
 

Code source de Claroline 188

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/claroline/exercise/lib/ -> exercise.lib.php (sommaire)

CLAROLINE

Author: Claro Team <cvs@claroline.net>
Copyright: (c) 2001-2006 Universite catholique de Louvain (UCL)
License: http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
Version: 1.8 $Revision: 1.12 $
Poids: 214 lignes (7 kb)
Inclus ou requis: 6 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 6 fonctions

  get_filter_list()
  get_localized_question_type()
  count_exercise_using_question()
  set_learning_path_progression()
  html_ask_duplicate()
  castToFloat()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

get_filter_list($excludeId = '')   X-Ref
Build a list of available exercises that wil be used by claro_html_form_select to show a filter list

author: Sebastien Piraux <pir@cerdecam.be>
param: $excludeId an exercise id that doesn't have to be shown in  filter list
return: array 2d array where keys are the exercise name and value is the exercise id

get_localized_question_type()   X-Ref
build a array making the correspondance between question type and its name

author: Sebastien Piraux <pir@cerdecam.be>
return: array array where key is the type and value is the corresponding translation

count_exercise_using_question($quId)   X-Ref
return the number of exercises using question $quId

author: Sebastien Piraux <pir@cerdecam.be>
param: $quId requested question id
return: number of exercises using question $quId

set_learning_path_progression($totalResult,$totalGrade,$timeToCompleteExe,$_uid)   X-Ref
Pas de description

html_ask_duplicate()   X-Ref
return html required to display the required form elements to ask the user if the question must be modified in
all exercises or only the current one

author: Sebastien Piraux <pir@cerdecam.be>
return: string html code

castToFloat($value)   X-Ref
cast $value to a float with max 2 decimals

author: Sebastien Piraux <pir@cerdecam.be>
param: string string to cast
return: string html code



Généré le : Thu Nov 29 14:38:42 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics