public/main/exercise/stats.php
Variable "question_list" is not in valid camel caps format Open
Open
$question_list = $objExercise->getQuestionForTeacher(0, $totalQuestions); // get questions from 0 to total
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
if (!empty($question_list)) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $question_id) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['highest_score'] = round($exercise_stats['max'], 2);
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $question_id) {
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
foreach ($answers as $answer_item) {
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$data[$question_id]['highest_score'] = round($exercise_stats['max'], 2);
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$data[$id]['answer'] = $answer_item;
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$answer_item = api_substr($answer_item, 1);
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$answer_item = api_substr($answer_item, 0, api_strlen($answer_item) - 1);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
foreach ($question_list as $question_id) {
- Exclude checks
Variable "row_table" is not in valid camel caps format Open
Open
foreach ($data as $row_table) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['name'] = cut($questionObj->question, 100);
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$answer_item = api_substr($answer_item, 0, api_strlen($answer_item) - 1);
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$data[$id]['answer'] = $answer_item;
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
foreach ($question_list as $question_id) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['type'] = $questionObj->getExplanation();
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$data[$question_id]['average_score'] = round($exercise_stats['average'], 2);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$answer = new Answer($question_id);
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$answer_item = api_substr($answer_item, 0, api_strlen($answer_item) - 1);
- Exclude checks
Variable "count_students" is not in valid camel caps format Open
Open
$count_students = count($students);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$count = ExerciseLib::getNumberStudentsFillBlanksAnswerCount($question_id, $exerciseId);
- Exclude checks
Variable "row_table" is not in valid camel caps format Open
Open
foreach ($row_table as $cell) {
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
if (!empty($question_list)) {
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$exercise_stats = ExerciseLib::getStudentStatsByQuestion(
- Exclude checks
Variable "answer_item" is not in valid camel caps format Open
Open
$answer_item = api_substr($answer_item, 1);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['average_score'] = round($exercise_stats['average'], 2);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['max_score'] = round($questionObj->weighting, 2);
- Exclude checks
Variable "row_table" is not in valid camel caps format Open
Open
foreach ($data as $row_table) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['students_who_try_exercise'] = $totalTimesQuestionAnswered;
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$data[$question_id]['lowest_score'] = round($exercise_stats['min'], 2);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id,
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$questionObj = Question::read($question_id);
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$data[$question_id]['lowest_score'] = round($exercise_stats['min'], 2);
- Exclude checks
Variable "row_table" is not in valid camel caps format Open
Open
foreach ($row_table as $cell) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$questionObj = Question::read($question_id);
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$exercise_stats = ExerciseLib::getStudentStatsByQuestion(
- Exclude checks