public/main/gradebook/gradebook_view_result.php
Variable "select_eval" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'gradebook/gradebook_view_result.php?selecteval='.$select_eval.'&'.api_get_cidreq(),
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
$file_type = null;
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_course = api_get_course_info();
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$eval = Evaluation::load($select_eval);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$allresults = Result :: load(null, null, $select_eval, true);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?selecteval='.$select_eval.'&'.api_get_cidreq());
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
$row_value = api_number_format(
- Exclude checks
Variable "import_result_form" is not in valid camel caps format Open
Open
if (!$import_result_form->validate()) {
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
'score' => $row_value,
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$select_eval = (int) $_GET['selecteval'];
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
$row_value,
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
$result->set_score($row_value);
- Exclude checks
Variable "import_result_form" is not in valid camel caps format Open
Open
$values = $import_result_form->exportValues();
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
if (!empty($row_value) || 0 == $row_value) {
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
if (empty($select_eval)) {
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?selecteval='.$select_eval.'&editresmessage=&'.api_get_cidreq());
- Exclude checks
Variable "import_result_form" is not in valid camel caps format Open
Open
$import_result_form = new DataForm(
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
api_get_self().'?import=&selecteval='.$select_eval,
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$_user = api_get_user_info();
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
$values = $edit_res_form->exportValues();
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
$edit_res_form = new EvalForm(
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
if (!empty($row_value) || 0 == $row_value) {
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$backUrl = api_get_self().'?selecteval='.$select_eval.'&'.api_get_cidreq();
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$url = api_get_self().'?selecteval='.$select_eval.'&'.api_get_cidreq().'&editres='.$result->get_id();
- Exclude checks
Variable "row_value" is not in valid camel caps format Open
Open
$row_value = isset($values['score']) ? $values['score'] : 0;
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$result->set_evaluation_id($select_eval);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$url = api_get_self().'?selecteval='.$select_eval.'&'.api_get_cidreq().'&editres='.$result->get_id();
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$resultlog->addResultLog($values['hid_user_id'], $select_eval);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
api_get_self().'?editres='.$resultedit[0]->get_id().'&selecteval='.$select_eval.'&'.api_get_cidreq()
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
if ($edit_res_form->validate()) {
- Exclude checks
Variable "nr_results_added" is not in valid camel caps format Open
Open
$nr_results_added = 0;
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?selecteval='.$select_eval.'&incorrectdata=');
- Exclude checks
Variable "locked_status" is not in valid camel caps format Open
Open
$locked_status
- Exclude checks
Variable "head_ape_name" is not in valid camel caps format Open
Open
$head_ape_name = get_lang('First name').', '.get_lang('Last name');
- Exclude checks
Variable "number_of_deleted_results" is not in valid camel caps format Open
Open
$number_of_deleted_results++;
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_path(WEB_CODE_PATH).'gradebook/gradebook_view_result.php?allresdeleted=&selecteval='.$select_eval.'&'.api_get_cidreq());
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$results = Result::load(null, null, $select_eval);
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
$data_array = $datagen->get_data(
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names,
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
echo $export_result_form->display();
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$file_name = $_FILES['import_file']['tmp_name'];
- Exclude checks
Variable "nr_results_added" is not in valid camel caps format Open
Open
if (0 == $nr_results_added) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$h1 = [get_lang('Trainer'), $officialcode.$_user['firstName'].', '.$_user['lastName']];
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$result[] = $user_info['username'];
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
$data_array = $datagen->get_data(
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
if (isset($edit_res_form)) {
- Exclude checks
Variable "head_display_score" is not in valid camel caps format Open
Open
$head_display_score = get_lang('Ranking');
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?selecteval='.$select_eval.'&'.api_get_cidreq());
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?massdelete=&selecteval='.$select_eval.'&'.api_get_cidreq());
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
$export_result_form = new DataForm(
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
$export = $export_result_form->exportValues();
- Exclude checks
Variable "head_ape_name" is not in valid camel caps format Open
Open
$head_ape_name = '';
- Exclude checks
Variable "head_ape_name" is not in valid camel caps format Open
Open
$head_ape_name = get_lang('Last name').', '.get_lang('First name');
- Exclude checks
Variable "head_table" is not in valid camel caps format Open
Open
$head_table = [
- Exclude checks
Variable "head_ape_name" is not in valid camel caps format Open
Open
[$head_ape_name, 40],
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$user_info = api_get_user_info($data['id']);
- Exclude checks
Variable "number_decimals" is not in valid camel caps format Open
Open
if (null == $number_decimals) {
- Exclude checks
Variable "title_pdf" is not in valid camel caps format Open
Open
$title_pdf
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
switch ($file_type) {
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_path(WEB_CODE_PATH).'gradebook/gradebook_view_result.php?selecteval='.$select_eval.'&import_score_error='.$importedresult['user_id']);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?selecteval='.$select_eval.'&importoverwritescore='.$overwritescore);
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$h3 = [get_lang('Course'), $_course['name']];
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
if (isset($export_result_form) && !(isset($edit_res_form))) {
- Exclude checks
Variable "import_result_form" is not in valid camel caps format Open
Open
if (isset($import_result_form)) {
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
$file_type = $_POST['file_type'];
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
$result->set_evaluation_id($select_eval);
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?selecteval='.$select_eval.'&importok=');
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
if ('csv' === $file_type) {
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
if ('pdf' === $file_type) {
- Exclude checks
Variable "data_table" is not in valid camel caps format Open
Open
$data_table[] = $result;
- Exclude checks
Variable "number_of_deleted_results" is not in valid camel caps format Open
Open
$number_of_deleted_results = 0;
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [get_lang('First name'), get_lang('Last name'), get_lang('Score')];
- Exclude checks
Variable "import_result_form" is not in valid camel caps format Open
Open
echo $import_result_form->display();
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?import=&selecteval='.$select_eval.'&importnofile=');
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
if (!$export_result_form->validate()) {
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?selecteval='.$select_eval.'&import_user_error='.$importedresult['user_id']);
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$result[] = $user_info['firstname'].', '.$user_info['lastname'];
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$result[] = $user_info['firstname'].', '.$user_info['lastname'];
- Exclude checks
Variable "data_table" is not in valid camel caps format Open
Open
$data_table,
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'gradebook/gradebook_view_result.php?selecteval='.$select_eval.'&'.api_get_cidreq(),
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: gradebook_view_result.php?selecteval='.$select_eval.'&overwritemax=');
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
if ($export_result_form->validate()) {
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$result[] = $user_info['lastname'].', '.$user_info['firstname'];
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$result[] = $user_info['lastname'].', '.$user_info['firstname'];
- Exclude checks
Variable "head_table" is not in valid camel caps format Open
Open
$head_table,
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
if (null == $file_type) {
- Exclude checks
Variable "export_result_form" is not in valid camel caps format Open
Open
if (isset($export_result_form) && !(isset($edit_res_form))) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
!empty($_user['official_code']) ? $officialcode = $_user['official_code'].' - ' : '';
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
!empty($_user['official_code']) ? $officialcode = $_user['official_code'].' - ' : '';
- Exclude checks
Variable "title_pdf" is not in valid camel caps format Open
Open
$title_pdf = $eval[0]->get_name();
- Exclude checks
Variable "head_table" is not in valid camel caps format Open
Open
$head_table[] = [get_lang('Letters'), 15];
- Exclude checks
Variable "head_display_score" is not in valid camel caps format Open
Open
$head_display_score = '';
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
foreach ($data_array as $data) {
- Exclude checks
Variable "number_of_selected_items" is not in valid camel caps format Open
Open
if ('0' == $number_of_selected_items) {
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [
- Exclude checks
Variable "edit_res_form" is not in valid camel caps format Open
Open
echo $edit_res_form->toHtml();
- Exclude checks
Variable "nr_results_added" is not in valid camel caps format Open
Open
$nr_results_added++;
- Exclude checks
Variable "number_decimals" is not in valid camel caps format Open
Open
$number_decimals = api_get_setting('gradebook_number_decimals');
- Exclude checks
Variable "head_display_score" is not in valid camel caps format Open
Open
$head_table[] = [$head_display_score, 15];
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
'url' => 'gradebook_view_result.php?selecteval='.$select_eval.'&'.api_get_cidreq(),
- Exclude checks
Variable "header_pdf" is not in valid camel caps format Open
Open
$header_pdf = [$h1, $h2, $h3, $h4, $h5, $h6];
- Exclude checks
Variable "footer_pdf" is not in valid camel caps format Open
Open
$footer_pdf = [$f1, $f2, $f3];
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
$data_array = $datagen->get_data(
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
$data_array = $datagen->get_data(
- Exclude checks
Variable "data_table" is not in valid camel caps format Open
Open
$data_table = [];
- Exclude checks
Variable "file_name" is not in valid camel caps format Open
Open
$results = Import :: csvToArray($file_name);
- Exclude checks
Variable "locked_status" is not in valid camel caps format Open
Open
$locked_status = $eval[0]->get_locked();
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$h1 = [get_lang('Trainer'), $officialcode.$_user['firstName'].', '.$_user['lastName']];
- Exclude checks
Variable "head_table" is not in valid camel caps format Open
Open
$head_table[] = [$head_display_score, 15];
- Exclude checks
Variable "header_pdf" is not in valid camel caps format Open
Open
$header_pdf,
- Exclude checks
Variable "footer_pdf" is not in valid camel caps format Open
Open
$footer_pdf,
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [get_lang('Last name'), get_lang('First name'), get_lang('Score')];
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
foreach ($data_array as $data) {
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?selecteval='.$select_eval.'¬hingadded=');
- Exclude checks
Variable "select_eval" is not in valid camel caps format Open
Open
api_get_self().'?export=&selecteval='.$select_eval.'&'.api_get_cidreq(),
- Exclude checks
Variable "file_type" is not in valid camel caps format Open
Open
$file_type = $export['file_type'];
- Exclude checks
Variable "number_decimals" is not in valid camel caps format Open
Open
if (null == $number_decimals) {
- Exclude checks
Variable "number_of_selected_items" is not in valid camel caps format Open
Open
$number_of_selected_items = count($_POST['id']);
- Exclude checks