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

Procedural File: admin.php

Source Location: /main/exercice/admin.php



Page Details:

Exercise administration This script allows to manage (create, modify) an exercise and its questions

Following scripts are includes for a best code understanding :

  • exercise.class.php : for the creation of an Exercise object
  • question.class.php : for the creation of a Question object
  • answer.class.php : for the creation of an Answer object
  • exercise.lib.php : functions used in the exercise tool
  • exercise_admin.inc.php : management of the exercise
  • question_admin.inc.php : management of a question (statement & answers)
  • statement_admin.inc.php : management of a statement
  • answer_admin.inc.php : management of answers
  • question_list_admin.inc.php : management of the question list
Main variables used in this script :

  • $is_allowedToEdit : set to 1 if the user is allowed to manage the exercise
  • $objExercise : exercise object
  • $objQuestion : question object
  • $objAnswer : answer object
  • $aType : array with answer types
  • $exerciseId : the exercise ID
  • $picturePath : the path of question pictures
  • $newQuestion : ask to create a new question
  • $modifyQuestion : ID of the question to modify
  • $editQuestion : ID of the question to edit
  • $submitQuestion : ask to save question modifications
  • $cancelQuestion : ask to cancel question modifications
  • $deleteQuestion : ID of the question to delete
  • $moveUp : ID of the question to move up
  • $moveDown : ID of the question to move down
  • $modifyExercise : ID of the exercise to modify
  • $submitExercise : ask to save exercise modifications
  • $cancelExercise : ask to cancel exercise modifications
  • $modifyAnswers : ID of the question which we want to modify answers for
  • $cancelAnswers : ask to cancel answer modifications
  • $buttonBack : ask to go back to the previous page in answers of type "Fill in blanks"




Tags:

author:  Olivier Brouckaert
version:  $Id: admin.php 15333 2008-05-20 17:07:26Z elixir_inter $
filesource:  Source Code for this file


Includes:

include("../inc/global.inc.php") [line 75]
include('question_admin.inc.php') [line 467]
include('question.class.php') [line 68]
include('answer.class.php') [line 69]
include('exercise.lib.php') [line 76]
include('hotspot_admin.inc.php') [line 471]
include('exercise.class.php') [line 67]
Exercise administration This script allows to manage (create, modify) an exercise and its questions

Following scripts are includes for a best code understanding :

  • exercise.class.php : for the creation of an Exercise object
  • question.class.php : for the creation of a Question object
  • answer.class.php : for the creation of an Answer object
  • exercise.lib.php : functions used in the exercise tool
  • exercise_admin.inc.php : management of the exercise
  • question_admin.inc.php : management of a question (statement & answers)
  • statement_admin.inc.php : management of a statement
  • answer_admin.inc.php : management of answers
  • question_list_admin.inc.php : management of the question list
Main variables used in this script :

  • $is_allowedToEdit : set to 1 if the user is allowed to manage the exercise
  • $objExercise : exercise object
  • $objQuestion : question object
  • $objAnswer : answer object
  • $aType : array with answer types
  • $exerciseId : the exercise ID
  • $picturePath : the path of question pictures
  • $newQuestion : ask to create a new question
  • $modifyQuestion : ID of the question to modify
  • $editQuestion : ID of the question to edit
  • $submitQuestion : ask to save question modifications
  • $cancelQuestion : ask to cancel question modifications
  • $deleteQuestion : ID of the question to delete
  • $moveUp : ID of the question to move up
  • $moveDown : ID of the question to move down
  • $modifyExercise : ID of the exercise to modify
  • $submitExercise : ask to save exercise modifications
  • $cancelExercise : ask to cancel exercise modifications
  • $modifyAnswers : ID of the question which we want to modify answers for
  • $cancelAnswers : ask to cancel answer modifications
  • $buttonBack : ask to go back to the previous page in answers of type "Fill in blanks"




Tags:

author:  Olivier Brouckaert
version:  $Id: admin.php 15333 2008-05-20 17:07:26Z elixir_inter $
filesource:  Source Code for this file
include('question_list_admin.inc.php') [line 476]
include_once(fileUpload.lib.php) [line 89]
include_once(document.lib.php) [line 90]
require_once(api_get_path(LIBRARY_PATH).'pclzip/pclzip.lib.php') [line 178]
require_once('export/qti2/qti2_export.php') [line 175]
*************************






ALLOWED_TO_INCLUDE [line 87]

ALLOWED_TO_INCLUDE = 1

[ Top ]




Documentation generated on Thu, 12 Jun 2008 12:54:30 -0500 by phpDocumentor 1.4.1