public/main/gradebook/gradebook.php
Variable "get_target_cat" is not in valid camel caps format Open
Open
$targetcat = Category :: load($get_target_cat);
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Visibility modified');
- Exclude checks
Variable "number_of_deleted_categories" is not in valid camel caps format Open
Open
$number_of_deleted_categories = 0;
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
if ($move_form->validate()) {
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('The link has been deleted');
- Exclude checks
Variable "number_of_deleted_evaluations" is not in valid camel caps format Open
Open
$number_of_deleted_evaluations++;
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 1;
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 1;
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$link[0]->set_visible($visibility_command);
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
$course_to_crsind = isset($course_to_crsind) ? $course_to_crsind : '';
- Exclude checks
Variable "filter_warning_msg" is not in valid camel caps format Open
Open
$filter_warning_msg = false;
- Exclude checks
Variable "number_of_deleted_categories" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Deleted categories').' : <b>'.$number_of_deleted_categories.'</b><br />'.get_lang('Deleted evaluations').' : <b>'.$number_of_deleted_evaluations.'</b><br />'.get_lang('Deleted links').' : <b>'.$number_of_deleted_links.'</b><br /><br />'.get_lang('Total resources').' : <b>'.$number_of_selected_items.'</b>';
- Exclude checks
Variable "number_of_deleted_evaluations" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Deleted categories').' : <b>'.$number_of_deleted_categories.'</b><br />'.get_lang('Deleted evaluations').' : <b>'.$number_of_deleted_evaluations.'</b><br />'.get_lang('Deleted links').' : <b>'.$number_of_deleted_links.'</b><br /><br />'.get_lang('Total resources').' : <b>'.$number_of_selected_items.'</b>';
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = true;
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
.'&targetcat='.$move_form->exportValue('move_cat'));
- Exclude checks
Variable "get_move_eval" is not in valid camel caps format Open
Open
$get_move_eval = Security::remove_XSS($_GET['moveeval']);
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 1;
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Visibility modified');
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('InVisibility modified');
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
$course_to_crsind = isset($course_to_crsind) ? $course_to_crsind : '';
- Exclude checks
Variable "move_cat" is not in valid camel caps format Open
Open
$move_cat = (int) $_GET['movecat'];
- Exclude checks
Variable "get_target_cat" is not in valid camel caps format Open
Open
$get_target_cat = Security::remove_XSS($_GET['targetcat']);
- Exclude checks
Variable "number_of_deleted_evaluations" is not in valid camel caps format Open
Open
$number_of_deleted_evaluations = 0;
- Exclude checks
Variable "number_of_deleted_links" is not in valid camel caps format Open
Open
$number_of_deleted_links = 0;
- Exclude checks
Variable "number_of_deleted_links" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Deleted categories').' : <b>'.$number_of_deleted_categories.'</b><br />'.get_lang('Deleted evaluations').' : <b>'.$number_of_deleted_evaluations.'</b><br />'.get_lang('Deleted links').' : <b>'.$number_of_deleted_links.'</b><br /><br />'.get_lang('Total resources').' : <b>'.$number_of_selected_items.'</b>';
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
$course_to_crsind = (null != $cats[0]->getCourseId() && null == $targetcat[0]->getCourseId());
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
if ($move_form->validate()) {
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('InVisibility modified');
- Exclude checks
Variable "number_of_deleted_categories" is not in valid camel caps format Open
Open
$number_of_deleted_categories++;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "get_move_eval" is not in valid camel caps format Open
Open
$evals = Evaluation :: load($get_move_eval);
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
if (!($course_to_crsind && !isset($_GET['confirm']))) {
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('InVisibility modified');
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
Open
$warning_message = get_lang('Warning: moving gradebook elements can be dangerous for the data inside your gradebook.').'<br><br>'.$button;
- 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
Variable "get_target_cat" is not in valid camel caps format Open
Open
$targetcat = Category :: load($get_target_cat);
- Exclude checks
Variable "get_target_cat" is not in valid camel caps format Open
Open
$get_target_cat = Security::remove_XSS($_GET['targetcat']);
- Exclude checks
Variable "move_cat" is not in valid camel caps format Open
Open
api_get_self().'?movecat='.$move_cat.'&selectcat='.$selectcat
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
$move_form = new EvalForm(
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
$course_to_crsind = (null != $evals[0]->getCourseId() && null == $targetcat[0]->getCourseId());
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
$targetcat = Category :: load($move_form->exportValue('move_cat'));
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 0;
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('The category has been deleted.');
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Assessment deleted');
- Exclude checks
Variable "number_of_deleted_links" is not in valid camel caps format Open
Open
$number_of_deleted_links++;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_MYGRADEBOOK;
- Exclude checks
Variable "get_move_eval" is not in valid camel caps format Open
Open
api_get_self().'?moveeval='.$get_move_eval.'&selectcat='.$selectcat
- Exclude checks
Variable "get_move_eval" is not in valid camel caps format Open
Open
.'&moveeval='.$get_move_eval
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$eval[0]->set_visible($visibility_command);
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
$course_to_crsind = isset($course_to_crsind) ? $course_to_crsind : '';
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
Open
$warning_message = get_lang('No resource selected');
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Deleted categories').' : <b>'.$number_of_deleted_categories.'</b><br />'.get_lang('Deleted evaluations').' : <b>'.$number_of_deleted_evaluations.'</b><br />'.get_lang('Deleted links').' : <b>'.$number_of_deleted_links.'</b><br /><br />'.get_lang('Total resources').' : <b>'.$number_of_selected_items.'</b>';
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
.'&targetcat='.$move_form->exportValue('move_cat'));
- Exclude checks
Variable "filter_warning_msg" is not in valid camel caps format Open
Open
$filter_warning_msg = false;
- Exclude checks
Variable "_in_course" is not in valid camel caps format Open
Open
$_in_course = false;
- Exclude checks
Variable "move_cat" is not in valid camel caps format Open
Open
$cats = Category :: load($move_cat);
- Exclude checks
Variable "move_cat" is not in valid camel caps format Open
Open
.'&movecat='.$move_cat
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
if ($visibility_command) {
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
if ($course_to_crsind && !isset($_GET['confirm'])) {
- Exclude checks
Variable "filter_warning_msg" is not in valid camel caps format Open
Open
$filter_warning_msg = true;
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
.'&targetcat='.$move_form->exportValue('move_cat'));
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 0;
- 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 "get_move_link" is not in valid camel caps format Open
Open
$link = LinkFactory::load($get_move_link);
- Exclude checks
Variable "get_move_link" is not in valid camel caps format Open
Open
api_get_self().'?movelink='.$get_move_link.'&selectcat='.$selectcat
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$visibility_command = 0;
- Exclude checks
Variable "course_to_crsind" is not in valid camel caps format Open
Open
if (!($course_to_crsind && !isset($_GET['confirm']))) {
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
$move_form = new LinkForm(
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
$cats[0]->set_visible($visibility_command);
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
if ($visibility_command) {
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
if ($category[0]->is_certificate_available($user_id)) {
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
Open
$scorecourse_display = (isset($scorecourse) ? $scoredisplay->display_score($scorecourse, SCORE_AVERAGE) : get_lang('NoResults and feedbackAvailable'));
- Exclude checks
Variable "allcat_info" is not in valid camel caps format Open
Open
$allcat = $allcat_info;
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
$move_form = new CatForm(
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
if ($move_form->validate()) {
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 16 Open
Open
.'&targetcat='.$move_form->exportValue('move_cat'));
- Exclude checks
Variable "get_move_link" is not in valid camel caps format Open
Open
$get_move_link = Security::remove_XSS($_GET['movelink']);
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "visibility_command" is not in valid camel caps format Open
Open
if ($visibility_command) {
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Visibility modified');
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [
- Exclude checks
Variable "organization_name" is not in valid camel caps format Open
Open
\'%s\''), $organization_name, $stud_fn.' '.$stud_ln, $category[0]->get_name(), $scorecourse_display);
- Exclude checks
Variable "stud_ln" is not in valid camel caps format Open
Open
\'%s\''), $organization_name, $stud_fn.' '.$stud_ln, $category[0]->get_name(), $scorecourse_display);
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
Open
$is_course_admin,
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
Open
$is_course_admin = api_is_allowed_to_edit();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$scorecourse = $category[0]->calc_score($user_id);
- Exclude checks
Variable "allcat_info" is not in valid camel caps format Open
Open
if (isset($allcat_info) && count($allcat_info) >= 0 &&
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$allcat = $cats[0]->get_subcategories($stud_id);
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
if (isset($confirmation_message)) {
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
Display::addFlash(Display::return_message($confirmation_message, 'confirmation', $filter_confirm_msg));
- Exclude checks
Variable "filter_warning_msg" is not in valid camel caps format Open
Open
Display::addFlash(Display::return_message($warning_message, 'warning', $filter_warning_msg));
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
Open
$values = $simple_search_form->exportValues();
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
Open
if (isset($warning_message)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = strval(intval($_GET['user']));
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
Open
$is_course_admin,
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
Open
if ($simple_search_form->validate() && (empty($keyword))) {
- Exclude checks
Variable "stud_fn" is not in valid camel caps format Open
Open
$stud_fn = $user['firstname'];
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
Open
\'%s\''), $organization_name, $stud_fn.' '.$stud_ln, $category[0]->get_name(), $scorecourse_display);
- Exclude checks
Variable "certif_text" is not in valid camel caps format Open
Open
$certif_text = str_replace("\\n", "\n", $certif_text);
- Exclude checks
Variable "certif_text" is not in valid camel caps format Open
Open
$certif_text = str_replace("\\n", "\n", $certif_text);
- Exclude checks
Variable "allcat_info" is not in valid camel caps format Open
Open
$allcat_info = Category::find_category($keyword, $allcat);
- Exclude checks
Variable "stud_ln" is not in valid camel caps format Open
Open
$stud_ln = $user['lastname'];
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
Open
$simple_search_form
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
$is_platform_admin,
- Exclude checks
Variable "number_of_selected_items" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('Deleted categories').' : <b>'.$number_of_deleted_categories.'</b><br />'.get_lang('Deleted evaluations').' : <b>'.$number_of_deleted_evaluations.'</b><br />'.get_lang('Deleted links').' : <b>'.$number_of_deleted_links.'</b><br /><br />'.get_lang('Total resources').' : <b>'.$number_of_selected_items.'</b>';
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('The resources became visible');
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
$confirmation_message = get_lang('The resources became invisible');
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
Open
$simple_search_form = new UserForm(
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user = api_get_user_info($user_id);
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
Open
$scoretotal_display = (isset($scoretotal) ? $scoredisplay->display_score($scoretotal, SCORE_PERCENT) : get_lang('NoResults and feedbackAvailable'));
- Exclude checks
Variable "certif_text" is not in valid camel caps format Open
Open
$certif_text = sprintf(get_lang('%s certifies that
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
Open
!$is_platform_admin && $is_course_admin && !isset($_GET['selectcat']) && api_is_course_tutor()
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
Open
$simple_search_form
- Exclude checks
Variable "filter_confirm_msg" is not in valid camel caps format Open
Open
$filter_confirm_msg = false;
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$stud_id = (api_is_allowed_to_edit() ? null : api_get_user_id());
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
foreach ($data_array as $data) {
- Exclude checks
Multi-line function call not indented correctly; expected 4 spaces but found 8 Open
Open
.'&search='.Security::remove_XSS($_POST['keyword']));
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
Open
Display::addFlash(Display::return_message($warning_message, 'warning', $filter_warning_msg));
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = api_get_user_id();
- Exclude checks
Variable "organization_name" is not in valid camel caps format Open
Open
$organization_name = api_get_setting('Institution');
- Exclude checks
Variable "stud_fn" is not in valid camel caps format Open
Open
\'%s\''), $organization_name, $stud_fn.' '.$stud_ln, $category[0]->get_name(), $scorecourse_display);
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
if (isset($move_form)) {
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$alllink = $cats[0]->get_links($stud_id, true);
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
!$is_platform_admin && $is_course_admin && !isset($_GET['selectcat']) && api_is_course_tutor()
- Exclude checks
Variable "confirmation_message" is not in valid camel caps format Open
Open
Display::addFlash(Display::return_message($confirmation_message, 'confirmation', $filter_confirm_msg));
- Exclude checks
Variable "move_form" is not in valid camel caps format Open
Open
Display::addFlash(Display::return_message($move_form->toHtml(), 'normal', false));
- Exclude checks
Variable "portal_name" is not in valid camel caps format Open
Open
$portal_name = api_get_setting('siteName');
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$alllink = $cats[0]->get_links($stud_id);
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
$is_platform_admin = api_is_platform_admin();
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
Open
$data_array = $datagen->get_data(GradebookDataGenerator :: GDG_SORT_NAME, 0, null, true);
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$alleval = $cats[0]->get_evaluations($stud_id);
- Exclude checks
Variable "allcat_info" is not in valid camel caps format Open
Open
if (isset($allcat_info) && count($allcat_info) >= 0 &&
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$alleval = $cats[0]->get_evaluations($stud_id, true);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$scoretotal = $cattotal[0]->calc_score($user_id);
- Exclude checks
Variable "stud_id" is not in valid camel caps format Open
Open
$stud_id = (api_is_allowed_to_edit() ? null : api_get_user_id());
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
$is_platform_admin,
- Exclude checks