dokeos-exercise
[ class tree: dokeos-exercise ] [ index: dokeos-exercise ] [ all elements ]

Element index for package dokeos-exercise

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ m ] [ n ] [ p ] [ q ] [ r ] [ s ] [ t ] [ u ] [ w ]

a

$active
in file exercise.class.php, variable Exercise::$active
$answer
in file answer.class.php, variable Answer::$answer
addToList
in file exercise.class.php, method Exercise::addToList()
    adds a question into the question list
addToList
in file question.class.php, method Question::addToList()
    adds an exercise into the exercise list
ALLOWED_TO_INCLUDE
in file admin.php, constant ALLOWED_TO_INCLUDE
    *************************
Answer
in file answer.class.php, method Answer::Answer()
    constructor of the class
Answer
in file answer.class.php, class Answer
    This class allows to instantiate an object of type Answer
addlimits.php
procedural page addlimits.php
admin.php
procedural page admin.php
adminhp.php
procedural page adminhp.php
answer.class.php
procedural page answer.class.php
answer_admin.inc.php
procedural page answer_admin.inc.php
top

c

$comment
in file answer.class.php, variable Answer::$comment
$correct
in file answer.class.php, variable Answer::$correct
cancel
in file answer.class.php, method Answer::cancel()
    clears $new_* arrays
CheckImageName
in file hotpotatoes.lib.php, function CheckImageName()
    Look for the image name into an array
CheckSubFolder
in file hotpotatoes.lib.php, function CheckSubFolder()
    Checks if there are subfolders
createAnswer
in file answer.class.php, method Answer::createAnswer()
    creates a new answer
createAnswersForm
in file multiple_answer.class.php, method MultipleAnswer::createAnswersForm()
    function which redifines Question::createAnswersForm
createAnswersForm
in file question.class.php, method Question::createAnswersForm()
    abstract function which creates the form to create / edit the answers of the question
createAnswersForm
in file unique_answer.class.php, method UniqueAnswer::createAnswersForm()
    function which redifines Question::createAnswersForm
createAnswersForm
in file matching.class.php, method Matching::createAnswersForm()
    function which redifines Question::createAnswersForm
createAnswersForm
in file hotspot.class.php, method HotSpot::createAnswersForm()
createAnswersForm
in file fill_blanks.class.php, method FillBlanks::createAnswersForm()
    function which redifines Question::createAnswersForm
createAnswersForm
in file freeanswer.class.php, method FreeAnswer::createAnswersForm()
    function which redifines Question::createAnswersForm
createForm
in file exercise.class.php, method Exercise::createForm()
    Creates the form to create / edit an exercise
createForm
in file question.class.php, method Question::createForm()
    Creates the form to create / edit a question A subclass can redifine this function to add fields...
createForm
in file hotspot.class.php, method HotSpot::createForm()
top

d

$description
in file question.class.php, variable Question::$description
$description
in file exercise.class.php, variable Exercise::$description
delete
in file question.class.php, method Question::delete()
    deletes a question from the database the parameter tells if the question is removed from all exercises (value = 0), or just from one exercise (value = exercise ID)
delete
in file exercise.class.php, method Exercise::delete()
    deletes the exercise from the database Notice : leaves the question in the data base
disable
in file exercise.class.php, method Exercise::disable()
    disables the exercise
display
in file hotspot.class.php, method HotSpot::display()
display_fill_in_blanks_answer
in file exercise_result.php, function display_fill_in_blanks_answer()
display_free_answer
in file exercise_result.php, function display_free_answer()
display_hotspot_answer
in file exercise_result.php, function display_hotspot_answer()
display_type_menu
in file question.class.php, method Question::display_type_menu()
    Displays the menu of question types
display_unique_or_multiple_answer
in file exercise_result.php, function display_unique_or_multiple_answer()
duplicate
in file question.class.php, method Question::duplicate()
    duplicates the question
duplicate
in file answer.class.php, method Answer::duplicate()
    duplicates answers by copying them into another question
top

e

$exercise
in file exercise.class.php, variable Exercise::$exercise
$exerciseList
in file question.class.php, variable Question::$exerciseList
$explanationLangVar
in file matching.class.php, variable Matching::$explanationLangVar
$explanationLangVar
in file hotspot.class.php, variable HotSpot::$explanationLangVar
$explanationLangVar
in file question.class.php, variable Question::$explanationLangVar
$explanationLangVar
in file freeanswer.class.php, variable FreeAnswer::$explanationLangVar
$explanationLangVar
in file multiple_answer.class.php, variable MultipleAnswer::$explanationLangVar
$explanationLangVar
in file fill_blanks.class.php, variable FillBlanks::$explanationLangVar
$explanationLangVar
in file unique_answer.class.php, variable UniqueAnswer::$explanationLangVar
enable
in file exercise.class.php, method Exercise::enable()
    enables the exercise
Exercise
in file exercise.class.php, method Exercise::Exercise()
    constructor of the class
Exercise
in file exercise.class.php, class Exercise
    Exercise class: This class allows to instantiate an object of type Exercise
exportPicture
in file question.class.php, method Question::exportPicture()
    exports a picture to another question
exercice.php
procedural page exercice.php
exercice_submit.php
procedural page exercice_submit.php
exercise.class.php
procedural page exercise.class.php
exercise.lib.php
procedural page exercise.lib.php
exercise_admin.php
procedural page exercise_admin.php
exercise_result.php
procedural page exercise_result.php
exercise_show.php
procedural page exercise_show.php
top

f

FillBlanks
in file fill_blanks.class.php, method FillBlanks::FillBlanks()
    Constructor
FillBlanks
in file fill_blanks.class.php, class FillBlanks
    This class allows to instantiate an object of type MULTIPLE_ANSWER (MULTIPLE CHOICE, MULTIPLE ANSWER), extending the class question
FillFolderName
in file hotpotatoes.lib.php, function FillFolderName()
    Fills the folder name up to a certain length with "0"
FILL_IN_BLANKS
in file exercise_result.php, constant FILL_IN_BLANKS
FreeAnswer
in file freeanswer.class.php, method FreeAnswer::FreeAnswer()
    Constructor
FreeAnswer
in file freeanswer.class.php, class FreeAnswer
    File containing the FreeAnswer class.
FREE_ANSWER
in file exercise_result.php, constant FREE_ANSWER
feedback.php
procedural page feedback.php
fill_blanks.class.php
procedural page fill_blanks.class.php
freeanswer.class.php
procedural page freeanswer.class.php
top

g

GenerateHiddenList
in file hotpotatoes.lib.php, function GenerateHiddenList()
    Generates a list of hidden fields with the image params given as parameter to this function
GenerateHpFolder
in file hotpotatoes.lib.php, function GenerateHpFolder()
    Generates the HotPotato folder tree
getAnswersList
in file answer.class.php, method Answer::getAnswersList()
    Returns a list of answers
GetComment
in file hotpotatoes.lib.php, function GetComment()
    Gets the comment about a file from the corresponding database record
GetFileName
in file hotpotatoes.lib.php, function GetFileName()
    Get the name of the file from a path (without the extension)
GetFolderName
in file hotpotatoes.lib.php, function GetFolderName()
    Gets the folder name (strip down path)
GetFolderPath
in file hotpotatoes.lib.php, function GetFolderPath()
    Gets the folder path (withouth the name of the folder itself) ?
getGradesList
in file answer.class.php, method Answer::getGradesList()
    Returns a list of grades
GetImgName
in file hotpotatoes.lib.php, function GetImgName()
    Gets the name of an img whose path is given (without directories or extensions)
GetImgParams
in file hotpotatoes.lib.php, function GetImgParams()
    Gets the image parameters from an image path
getInstance
in file question.class.php, method Question::getInstance()
    Returns an instance of the class corresponding to the type
getQuestionType
in file answer.class.php, method Answer::getQuestionType()
    Returns the question type
GetQuizName
in file hotpotatoes.lib.php, function GetQuizName()
    Gets the title of the quizz file given as parameter
GetSrcName
in file hotpotatoes.lib.php, function GetSrcName()
    Gets the source path of an image tag
getTmpPicture
in file question.class.php, method Question::getTmpPicture()
    moves the temporary question "tmp" to "quiz-$questionId" Temporary pictures are used when we don't want to save a picture right after a form submission.
get_comments
in file exercise_show.php, function get_comments()
GC.php
procedural page GC.php
top

h

$hotspot_coordinates
in file answer.class.php, variable Answer::$hotspot_coordinates
$hotspot_type
in file answer.class.php, variable Answer::$hotspot_type
hotpotatoes_init
in file hotpotatoes.lib.php, function hotpotatoes_init()
    Creates a hotpotato directory
HotPotGC
in file GC.php, function HotPotGC()
    Code library for HotPotatoes integration.
HotPotGCt
in file hotpotatoes.lib.php, function HotPotGCt()
    Hotpotato Garbage Collector
HotSpot
in file hotspot.class.php, method HotSpot::HotSpot()
HotSpot
in file hotspot.class.php, class HotSpot
    This class allows to instantiate an object of type HotSpot (MULTIPLE CHOICE, UNIQUE ANSWER), extending the class question
HOTSPOT
in file exercise_show.php, constant HOTSPOT
HOT_SPOT
in file exercise_result.php, constant HOT_SPOT
HOT_SPOT_ORDER
in file exercise_result.php, constant HOT_SPOT_ORDER
hotpotatoes.lib.php
procedural page hotpotatoes.lib.php
hotpotatoes.php
procedural page hotpotatoes.php
hotspot.class.php
procedural page hotspot.class.php
hotspot.inc.php
procedural page hotspot.inc.php
hotspot_actionscript.as.php
procedural page hotspot_actionscript.as.php
hotspot_actionscript_admin.as.php
procedural page hotspot_actionscript_admin.as.php
hotspot_admin.inc.php
procedural page hotspot_admin.inc.php
hotspot_answers.as.php
procedural page hotspot_answers.as.php
hotspot_lang_conversion.php
procedural page hotspot_lang_conversion.php
hotspot_save.inc.php
procedural page hotspot_save.inc.php
hotspot_savescore.inc.php
procedural page hotspot_savescore.inc.php
hotspot_updatescore.inc.php
procedural page hotspot_updatescore.inc.php
Hpdownload.php
procedural page Hpdownload.php
top

i

$id
in file exercise.class.php, variable Exercise::$id
$id
in file question.class.php, variable Question::$id
isCorrect
in file answer.class.php, method Answer::isCorrect()
    tells if answer is correct or not
isInList
in file exercise.class.php, method Exercise::isInList()
    returns 'true' if the question ID is in the question list
isRandom
in file exercise.class.php, method Exercise::isRandom()
    tells if questions are selected randomly, and if so returns the draws
top

m

mark_free_answer.php
procedural page mark_free_answer.php
matching.class.php
procedural page matching.class.php
multiple_answer.class.php
procedural page multiple_answer.class.php
MATCHING
in file exercise_result.php, constant MATCHING
Matching
in file matching.class.php, method Matching::Matching()
    Constructor
Matching
in file matching.class.php, class Matching
    This class allows to instantiate an object of type MULTIPLE_ANSWER (MULTIPLE CHOICE, MULTIPLE ANSWER), extending the class question
moveDown
in file exercise.class.php, method Exercise::moveDown()
    moves a question down in the list
moveUp
in file exercise.class.php, method Exercise::moveUp()
    moves a question up in the list
MultipleAnswer
in file multiple_answer.class.php, method MultipleAnswer::MultipleAnswer()
    Constructor
MultipleAnswer
in file multiple_answer.class.php, class MultipleAnswer
    This class allows to instantiate an object of type MULTIPLE_ANSWER (MULTIPLE CHOICE, MULTIPLE ANSWER), extending the class question
MULTIPLE_ANSWER
in file exercise_result.php, constant MULTIPLE_ANSWER
myarraysearch
in file hotpotatoes.lib.php, function myarraysearch()
    Searches for a node in the given array
top

n

$nbrAnswers
in file answer.class.php, variable Answer::$nbrAnswers
$new_answer
in file answer.class.php, variable Answer::$new_answer
$new_comment
in file answer.class.php, variable Answer::$new_comment
$new_correct
in file answer.class.php, variable Answer::$new_correct
$new_hotspot_coordinates
in file answer.class.php, variable Answer::$new_hotspot_coordinates
$new_hotspot_type
in file answer.class.php, variable Answer::$new_hotspot_type
$new_nbrAnswers
in file answer.class.php, variable Answer::$new_nbrAnswers
$new_position
in file answer.class.php, variable Answer::$new_position
$new_weighting
in file answer.class.php, variable Answer::$new_weighting
top

p

$picture
in file question.class.php, variable Question::$picture
$position
in file answer.class.php, variable Answer::$position
$position
in file question.class.php, variable Question::$position
processAnswersCreation
in file multiple_answer.class.php, method MultipleAnswer::processAnswersCreation()
    abstract function which creates the form to create / edit the answers of the question
processAnswersCreation
in file question.class.php, method Question::processAnswersCreation()
    abstract function which process the creation of answers
processAnswersCreation
in file unique_answer.class.php, method UniqueAnswer::processAnswersCreation()
    abstract function which creates the form to create / edit the answers of the question
processAnswersCreation
in file matching.class.php, method Matching::processAnswersCreation()
    abstract function which creates the form to create / edit the answers of the question
processAnswersCreation
in file fill_blanks.class.php, method FillBlanks::processAnswersCreation()
    abstract function which creates the form to create / edit the answers of the question
processAnswersCreation
in file freeanswer.class.php, method FreeAnswer::processAnswersCreation()
    abstract function which creates the form to create / edit the answers of the question
processAnswersCreation
in file hotspot.class.php, method HotSpot::processAnswersCreation()
processCreation
in file exercise.class.php, method Exercise::processCreation()
    function which process the creation of exercises
processCreation
in file question.class.php, method Question::processCreation()
    function which process the creation of questions
processCreation
in file hotspot.class.php, method HotSpot::processCreation()
top

q

$question
in file question.class.php, variable Question::$question
$questionId
in file answer.class.php, variable Answer::$questionId
$questionList
in file exercise.class.php, variable Exercise::$questionList
$questionTypes
in file question.class.php, variable Question::$questionTypes
question.class.php
procedural page question.class.php
question_admin.inc.php
procedural page question_admin.inc.php
question_list_admin.inc.php
procedural page question_list_admin.inc.php
question_pool.php
procedural page question_pool.php
Question
in file question.class.php, method Question::Question()
    constructor of the class
Question
in file question.class.php, class Question
    This class allows to instantiate an object of type Question
top

r

$random
in file exercise.class.php, variable Exercise::$random
read
in file question.class.php, method Question::read()
    reads question informations from the data base
read
in file exercise.class.php, method Exercise::read()
    reads exercise informations from the data base
read
in file answer.class.php, method Answer::read()
    reads answer informations from the data base
ReadFileCont
in file hotpotatoes.lib.php, function ReadFileCont()
    Reads the file contents into a string
readOrderedBy
in file answer.class.php, method Answer::readOrderedBy()
    reads answer informations from the data base ordered by parameter
removeFromList
in file question.class.php, method Question::removeFromList()
    removes an exercise from the exercise list
removeFromList
in file exercise.class.php, method Exercise::removeFromList()
    removes a question from the question list
removePicture
in file question.class.php, method Question::removePicture()
    deletes the picture
ReplaceImgTag
in file hotpotatoes.lib.php, function ReplaceImgTag()
    Replaces an image tag by ???
resizePicture
in file question.class.php, method Question::resizePicture()
    Resizes a picture || Warning!: can only be called after uploadPicture, or if picture is already available in object.
top

s

$sound
in file exercise.class.php, variable Exercise::$sound
savescores.php
procedural page savescores.php
showinframes.php
procedural page showinframes.php
save
in file question.class.php, method Question::save()
    updates the question in the data base if an exercise ID is provided, we add that exercise ID into the exercise list
save
in file answer.class.php, method Answer::save()
    records answers into the data base
save
in file exercise.class.php, method Exercise::save()
    updates the exercise in the data base
save_scores
in file savescores.php, function save_scores()
    Save the score for a HP quiz. Can be used by the learnpath tool as well
selectAnswer
in file answer.class.php, method Answer::selectAnswer()
    returns the answer title
selectComment
in file answer.class.php, method Answer::selectComment()
    returns answer comment
selectDescription
in file question.class.php, method Question::selectDescription()
    returns the question description
selectDescription
in file exercise.class.php, method Exercise::selectDescription()
    returns the exercise description
selectExerciseList
in file question.class.php, method Question::selectExerciseList()
    returns the array with the exercise ID list
selectHotspotCoordinates
in file answer.class.php, method Answer::selectHotspotCoordinates()
    returns answer hotspot coordinates
selectHotspotType
in file answer.class.php, method Answer::selectHotspotType()
    returns answer hotspot type
selectId
in file question.class.php, method Question::selectId()
    returns the question ID
selectId
in file exercise.class.php, method Exercise::selectId()
    returns the exercise ID
selectNbrAnswers
in file answer.class.php, method Answer::selectNbrAnswers()
    returns the number of answers in this question
selectNbrExercises
in file question.class.php, method Question::selectNbrExercises()
    returns the number of exercises which this question is in
selectNbrQuestions
in file exercise.class.php, method Exercise::selectNbrQuestions()
    returns the number of questions in this exercise
selectPicture
in file question.class.php, method Question::selectPicture()
    returns the picture name
selectPosition
in file answer.class.php, method Answer::selectPosition()
    returns answer position
selectPosition
in file question.class.php, method Question::selectPosition()
    returns the question position
selectQuestionId
in file answer.class.php, method Answer::selectQuestionId()
    returns the question ID which the answers belong to
selectQuestionList
in file exercise.class.php, method Exercise::selectQuestionList()
    returns the array with the question ID list
selectRandomList
in file exercise.class.php, method Exercise::selectRandomList()
    selects questions randomly in the question list
selectSound
in file exercise.class.php, method Exercise::selectSound()
    returns the exercise sound file
selectStatus
in file exercise.class.php, method Exercise::selectStatus()
    returns the exercise status (1 = enabled ; 0 = disabled)
selectTitle
in file question.class.php, method Question::selectTitle()
    returns the question title
selectTitle
in file exercise.class.php, method Exercise::selectTitle()
    returns the exercise title
selectType
in file exercise.class.php, method Exercise::selectType()
    returns the exercise type
selectType
in file question.class.php, method Question::selectType()
    returns the answer type
selectWeighting
in file answer.class.php, method Answer::selectWeighting()
    returns answer weighting
selectWeighting
in file question.class.php, method Question::selectWeighting()
    returns the question weighting
SetComment
in file hotpotatoes.lib.php, function SetComment()
    Sets the comment in the database for a particular path
setRandom
in file exercise.class.php, method Exercise::setRandom()
    sets to 0 if questions are not selected randomly if questions are selected randomly, sets the draws
setTmpPicture
in file question.class.php, method Question::setTmpPicture()
    saves the picture coming from POST into a temporary file Temporary pictures are used when we don't want to save a picture right after a form submission.
showQuestion
in file exercise.lib.php, function showQuestion()
top

t

$type
in file exercise.class.php, variable Exercise::$type
$type
in file question.class.php, variable Question::$type
$typePicture
in file question.class.php, variable Question::$typePicture
$typePicture
in file unique_answer.class.php, variable UniqueAnswer::$typePicture
$typePicture
in file multiple_answer.class.php, variable MultipleAnswer::$typePicture
$typePicture
in file matching.class.php, variable Matching::$typePicture
$typePicture
in file fill_blanks.class.php, variable FillBlanks::$typePicture
$typePicture
in file freeanswer.class.php, variable FreeAnswer::$typePicture
$typePicture
in file hotspot.class.php, variable HotSpot::$typePicture
top

u

unique_answer.class.php
procedural page unique_answer.class.php
UniqueAnswer
in file unique_answer.class.php, method UniqueAnswer::UniqueAnswer()
    Constructor
UniqueAnswer
in file unique_answer.class.php, class UniqueAnswer
    This class allows to instantiate an object of type UNIQUE_ANSWER (MULTIPLE CHOICE, UNIQUE ANSWER), extending the class question
UNIQUE_ANSWER
in file exercise_result.php, constant UNIQUE_ANSWER
updateAnswers
in file answer.class.php, method Answer::updateAnswers()
    updates an answer
updateDescription
in file question.class.php, method Question::updateDescription()
    changes the question description
updateDescription
in file exercise.class.php, method Exercise::updateDescription()
    changes the exercise description
updatePosition
in file question.class.php, method Question::updatePosition()
    changes the question position
updateSound
in file exercise.class.php, method Exercise::updateSound()
    changes the exercise sound file
updateTitle
in file question.class.php, method Question::updateTitle()
    changes the question title
updateTitle
in file exercise.class.php, method Exercise::updateTitle()
    changes the exercise title
updateType
in file exercise.class.php, method Exercise::updateType()
    changes the exercise type
updateType
in file question.class.php, method Question::updateType()
    changes the answer type. If the user changes the type from "unique answer" to "multiple answers" (or conversely) answers are not deleted, otherwise yes
updateWeighting
in file question.class.php, method Question::updateWeighting()
    changes the question weighting
uploadPicture
in file question.class.php, method Question::uploadPicture()
    adds a picture to the question
top

w

$weighting
in file answer.class.php, variable Answer::$weighting
$weighting
in file question.class.php, variable Question::$weighting
WriteFileCont
in file hotpotatoes.lib.php, function WriteFileCont()
    Writes the file contents into the file given
top

Documentation generated on Wed, 05 Sep 2007 06:14:15 +0200 by phpDocumentor 1.4.0