public/main/tracking/question_course_report.php
Variable "temp_course_list" is not in valid camel caps format Open
Open
$temp_course_list = CourseManager::get_courses_list();
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$temp_course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "temp_course_item" is not in valid camel caps format Open
Open
$course_item = api_get_course_info($temp_course_item['code']);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code);
- Exclude checks
Variable "my_exercise" is not in valid camel caps format Open
Open
$my_exercise->read($exercise['path']);
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = 0;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= get_lang('Untitled').' '.get_lang('Question').' #'.$question->id;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= $question->question;
- Exclude checks
Variable "course_select_list" is not in valid camel caps format Open
Open
$course_select_list[0] = get_lang('none');
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = isset($_REQUEST['session_id']) ? intval($_REQUEST['session_id']) : null;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
foreach ($lp_list as $lp_id => $lp) {
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = 0;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= '<tr><th>'.get_lang('Question').
- Exclude checks
Variable "question_title" is not in valid camel caps format Open
Open
if (empty($question_title)) {
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= $question->quantity;
- Exclude checks
Variable "temp_course_list" is not in valid camel caps format Open
Open
$temp_course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "sesion_item" is not in valid camel caps format Open
Open
foreach ($session_list as $sesion_item) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$exercise_list = Event::get_all_exercises_from_lp($lp_id);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info['real_id'],
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $question_id) {
- Exclude checks
Variable "my_question_stat" is not in valid camel caps format Open
Open
if ($question_id == $my_question_stat['question_id']) {
- Exclude checks
Variable "quantity_exercises" is not in valid camel caps format Open
Open
if (!empty($quantity_exercises)) {
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= '<table class="table table-hover table-striped data_table">';
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (empty($session_id)) {
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list[0] = get_lang('none');
- Exclude checks
Variable "my_exercise" is not in valid camel caps format Open
Open
$my_exercise = new Exercise($course_info['real_id']);
- Exclude checks
Variable "question_data" is not in valid camel caps format Open
Open
$question_data = Question::read($question_id);
- Exclude checks
Variable "quantity_exercises" is not in valid camel caps format Open
Open
$quantity_exercises = 0;
- Exclude checks
Variable "quantity_exercises" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = ($question_result / ($quantity_exercises));
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
if (!empty($main_question_list) && is_array($main_question_list)) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = $course_select_list = [];
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list,
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = $_REQUEST['course_code'];
- Exclude checks
Variable "question_result" is not in valid camel caps format Open
Open
$question_result = 0;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "<tr class='$s_css_class'>
- Exclude checks
Variable "temp_course_list" is not in valid camel caps format Open
Open
foreach ($temp_course_list as $temp_course_item) {
- Exclude checks
Variable "temp_course_item" is not in valid camel caps format Open
Open
$course_select_list[$temp_course_item['code']] = $course_item['title'];
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
Open
$session_list = SessionManager::get_sessions_list([], ['title']);
- Exclude checks
Variable "sesion_item" is not in valid camel caps format Open
Open
$my_session_list[$sesion_item['id']] = $sesion_item['title'];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = 0;
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
if (!empty($course_info)) {
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
$lp_list = $list->get_flat_list();
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_data = Question::read($question_id);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
if (empty($course_code)) {
- Exclude checks
Variable "s_css_class" is not in valid camel caps format Open
Open
$s_css_class = 'row_odd';
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = 'session_my_space';
- Exclude checks
Variable "temp_course_item" is not in valid camel caps format Open
Open
foreach ($temp_course_list as $temp_course_item) {
- Exclude checks
Variable "course_select_list" is not in valid camel caps format Open
Open
$course_select_list[$temp_course_item['code']] = $course_item['title'];
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list = [];
- Exclude checks
Variable "sesion_item" is not in valid camel caps format Open
Open
$my_session_list[$sesion_item['id']] = $sesion_item['title'];
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "<td>";
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= round($question->results, 2).' / '.$question->weighting;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "</td>";
- Exclude checks
Variable "question_result" is not in valid camel caps format Open
Open
$question_result = $question_result + $my_question_stat['marks'];
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = ($question_result / ($quantity_exercises));
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->quantity = $quantity_exercises;
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
if (!empty($main_question_list) && is_array($main_question_list)) {
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= '<th>'.$course_info['visual_code'].' '.get_lang('Average score').Display::getMdiIcon(ActionIcon::INFORMATION, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('All learners attempts are considered')).' </th>';
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
echo $html_result;
- Exclude checks
Variable "export_to_xls" is not in valid camel caps format Open
Open
$export_to_xls = true;
- Exclude checks
Variable "course_select_list" is not in valid camel caps format Open
Open
$course_list = $course_select_list = [];
- Exclude checks
Variable "question_data" is not in valid camel caps format Open
Open
$main_question_list[$question_id] = $question_data;
- Exclude checks
Variable "quantity_exercises" is not in valid camel caps format Open
Open
$quantity_exercises++;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= '<th>'.get_lang('Quantity').'</th>';
- Exclude checks
Variable "total_student" is not in valid camel caps format Open
Open
$total_student = 0;
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "</td>";
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "</tr>";
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$form->setDefaults(['course_code' => (string) $course_code]);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$list = new LearnpathList('', $course_info);
- Exclude checks
Variable "exercise_list" is not in valid camel caps format Open
Open
foreach ($exercise_list as $exercise) {
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
foreach ($exercise_stats as $stats) {
- Exclude checks
Variable "course_average" is not in valid camel caps format Open
Open
$course_average = [];
- Exclude checks
Variable "s_css_class" is not in valid camel caps format Open
Open
$html_result .= "<tr class='$s_css_class'>
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= '</table>';
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
if (!empty($course_code)) {
- Exclude checks
Variable "course_item" is not in valid camel caps format Open
Open
$course_item = api_get_course_info($temp_course_item['code']);
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list[$sesion_item['id']] = $sesion_item['title'];
- Exclude checks
Variable "export_to_xls" is not in valid camel caps format Open
Open
$export_to_xls = false;
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
$main_question_list = [];
- Exclude checks
Variable "course_select_list" is not in valid camel caps format Open
Open
$course_select_list
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
$question_list = $my_exercise->selectQuestionList();
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
foreach ($lp_list as $lp_id => $lp) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$my_exercise = new Exercise($course_info['real_id']);
- Exclude checks
Variable "my_exercise" is not in valid camel caps format Open
Open
$question_list = $my_exercise->selectQuestionList();
- Exclude checks
Variable "exercise_stats" is not in valid camel caps format Open
Open
$exercise_stats = Event::get_all_exercise_event_from_lp(
- Exclude checks
Variable "my_question_stat" is not in valid camel caps format Open
Open
foreach ($stats['question_list'] as $my_question_stat) {
- 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
if ($question_id == $my_question_stat['question_id']) {
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = ($question_result / ($quantity_exercises));
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$main_question_list[$question_id] = $question_data;
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$html_result .= '<th>'.$course_info['visual_code'].' '.get_lang('Average score').Display::getMdiIcon(ActionIcon::INFORMATION, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('All learners attempts are considered')).' </th>';
- Exclude checks
Variable "question_result" is not in valid camel caps format Open
Open
$question_result = $question_result + $my_question_stat['marks'];
- Exclude checks
Variable "s_css_class" is not in valid camel caps format Open
Open
$s_css_class = 'row_even';
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "<td>";
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
Open
foreach ($session_list as $sesion_item) {
- Exclude checks
Variable "exercise_list" is not in valid camel caps format Open
Open
$exercise_list = Event::get_all_exercises_from_lp($lp_id);
- Exclude checks
Variable "export_to_xls" is not in valid camel caps format Open
Open
if (!$export_to_xls) {
- Exclude checks
Variable "export_to_xls" is not in valid camel caps format Open
Open
if (!$export_to_xls) {
- Exclude checks
Variable "question_title" is not in valid camel caps format Open
Open
$question_title = trim($question->question);
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result = '';
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = '';
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
if (empty($course_code)) {
- Exclude checks
Variable "question_result" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->results = ($question_result / ($quantity_exercises));
- Exclude checks
Variable "quantity_exercises" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->quantity = $quantity_exercises;
- Exclude checks
Variable "course_item" is not in valid camel caps format Open
Open
$course_select_list[$temp_course_item['code']] = $course_item['title'];
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
$main_question_list[$question_id] = $question_data;
- Exclude checks
Variable "my_question_stat" is not in valid camel caps format Open
Open
$question_result = $question_result + $my_question_stat['marks'];
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
$main_question_list[$question_id]->quantity = $quantity_exercises;
- Exclude checks
Variable "main_question_list" is not in valid camel caps format Open
Open
foreach ($main_question_list as $question) {
- Exclude checks
Variable "html_result" is not in valid camel caps format Open
Open
$html_result .= "</td>";
- Exclude checks