public/main/inc/ajax/skill.ajax.php
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('skills', $skills);
- Exclude checks
Variable "my_user_skills" is not in valid camel caps format Open
Open
foreach ($my_user_skills as $my_skill) {
- Exclude checks
Variable "skill_info" is not in valid camel caps format Open
Open
foreach ($total_skills_to_search as $skill_info) {
- Exclude checks
Variable "gradebook_list" is not in valid camel caps format Open
Open
$gradebook_list[] = $gradebook;
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
echo Display::$global_template->fetch($template);
- Exclude checks
Variable "ordered_user_list" is not in valid camel caps format Open
Open
$ordered_user_list = null;
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['skills'] = $user_skills;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$ordered_user_list[$user_data['total_found_skills']][] = $user_data;
- Exclude checks
Variable "skill_data" is not in valid camel caps format Open
Open
if (!empty($skill_data)) {
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
$skill_id = isset($_REQUEST['skill_id']) ? intval($_REQUEST['skill_id']) : 0;
- Exclude checks
Variable "skill_rel_user" is not in valid camel caps format Open
Open
$users = $skill_rel_user->getUserBySkills($skills);
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
$user_skills[$my_skill['skill_id']] = [
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['total_found_skills'] = $found_counts;
- Exclude checks
Variable "skill_info" is not in valid camel caps format Open
Open
$skill_list[$skill_info['id']] = $skill_info;
- Exclude checks
Variable "skill_info" is not in valid camel caps format Open
Open
$skill_list[$skill_info['id']] = $skill_info;
- Exclude checks
Variable "gradebook_list" is not in valid camel caps format Open
Open
$gradebooks = $gradebook_list = $gradebook->get_all();
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
echo Display::$global_template->fetch($template);
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list = [];
- Exclude checks
Variable "user_skill_list" is not in valid camel caps format Open
Open
$user_skill_list = [];
- Exclude checks
Variable "user_skill_list" is not in valid camel caps format Open
Open
$user_skill_list[] = $skill_item['skill_id'];
- Exclude checks
Variable "skill_item" is not in valid camel caps format Open
Open
$user_skill_list[] = $skill_item['skill_id'];
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
foreach ($my_user_skills as $my_skill) {
- Exclude checks
Variable "ordered_user_list" is not in valid camel caps format Open
Open
if (!empty($ordered_user_list)) {
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
$total_skills_to_search = $skill->getSkillsInfo($total_skills_to_search);
- Exclude checks
Variable "skill_data" is not in valid camel caps format Open
Open
$skill_data = $skill->get($_REQUEST['skill_id']);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('hot_courses', $courses);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('sessions', $sessions);
- Exclude checks
Variable "load_user_data" is not in valid camel caps format Open
Open
$skills = $skill->getChildren($id, $load_user_data);
- Exclude checks
Variable "user_skills" is not in valid camel caps format Open
Open
$user_skills = [];
- Exclude checks
Variable "skill_list" is not in valid camel caps format Open
Open
Display::$global_template->assign('skill_list', $skill_list);
- Exclude checks
Variable "skill_item" is not in valid camel caps format Open
Open
$skill_item = $skillGradeBook->getSkillInfo(
- Exclude checks
Add a comma after each item in a multi-line array Open
Open
$returnSkills = [[
- Exclude checks
Variable "skill_item" is not in valid camel caps format Open
Open
$skillGradeBook->delete($skill_item['id']);
- Exclude checks
Variable "skill_rel_user" is not in valid camel caps format Open
Open
$skill_rel_user = new SkillRelUserModel();
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
foreach ($skills as $skill_id) {
- Exclude checks
Variable "user_skills" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['skills'] = $user_skills;
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
foreach ($total_skills_to_search as $skill_info) {
- Exclude checks
Variable "skill_profile" is not in valid camel caps format Open
Open
$skill_profile->updateProfileInfo(
- Exclude checks
Variable "skill_data" is not in valid camel caps format Open
Open
if (!empty($skill_data)) {
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('profiles', $profiles);
- Exclude checks
Variable "user_skills" is not in valid camel caps format Open
Open
if (!isset($user_skills[$my_skill['skill_id']])) {
- Exclude checks
Variable "user_skills" is not in valid camel caps format Open
Open
$user_skills[$my_skill['skill_id']] = [
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
$total_skills_to_search = $skills;
- Exclude checks
Variable "gradebook_list" is not in valid camel caps format Open
Open
$gradebook_list = [];
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['user'] = $user_info;
- Exclude checks
Variable "ordered_user_list" is not in valid camel caps format Open
Open
krsort($ordered_user_list);
- Exclude checks
Variable "found_counts" is not in valid camel caps format Open
Open
$found_counts++;
- Exclude checks
Variable "skill_data" is not in valid camel caps format Open
Open
$skill_data = 1;
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
if (!isset($user_skills[$my_skill['skill_id']])) {
- Exclude checks
Variable "found_counts" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['total_found_skills'] = $found_counts;
- Exclude checks
Variable "skill_item" is not in valid camel caps format Open
Open
if (!empty($skill_item)) {
- Exclude checks
Variable "profile_id" is not in valid camel caps format Open
Open
$profile_id = isset($_REQUEST['profile_id']) ? $_REQUEST['profile_id'] : null;
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$template = Display::$global_template->get_template('skill/profile_item.tpl');
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('courses', $courses);
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
'skill_id' => $my_skill['skill_id'],
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
$total_skills_to_search[$my_skill['skill_id']] = $my_skill['skill_id'];
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
$total_skills_to_search = $skill->getSkillsInfo($total_skills_to_search);
- Exclude checks
Variable "skill_data" is not in valid camel caps format Open
Open
$skill_data = $skill_profile->save($params);
- Exclude checks
Variable "user_skill_list" is not in valid camel caps format Open
Open
if (in_array($skill_id, $user_skill_list)) {
- Exclude checks
Variable "my_skill" is not in valid camel caps format Open
Open
$total_skills_to_search[$my_skill['skill_id']] = $my_skill['skill_id'];
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('order_user_list', $ordered_user_list);
- Exclude checks
Variable "skill_list" is not in valid camel caps format Open
Open
$skill_list[$skill_info['id']] = $skill_info;
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
echo Display::$global_template->fetch($template);
- Exclude checks
Variable "skill_profile" is not in valid camel caps format Open
Open
$skill_profile = new SkillProfileModel();
- Exclude checks
Variable "profile_id" is not in valid camel caps format Open
Open
$skills = $skillRelProfile->getSkillsByProfile($profile_id);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
echo Display::$global_template->fetch($template);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$html = Display::$global_template->fetch($template);
- Exclude checks
Variable "skill_item" is not in valid camel caps format Open
Open
foreach ($my_user_skills as $skill_item) {
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
$all = $skill->getSkillsTreeToJson($userId, $skill_id, false, $depth);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
foreach ($user_list as $user_id => $user_data) {
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$template = Display::$global_template->get_template('skill/user_skills.tpl');
- Exclude checks
Variable "count_skills" is not in valid camel caps format Open
Open
Display::$global_template->assign('total_search_skills', $count_skills);
- Exclude checks
Variable "my_user_skills" is not in valid camel caps format Open
Open
$my_user_skills = $skill_rel_user->getUserSkills($user['user_id']);
- Exclude checks
Variable "skill_list" is not in valid camel caps format Open
Open
$skill_list = [];
- Exclude checks
Variable "skill_rel_user" is not in valid camel caps format Open
Open
$my_user_skills = $skill_rel_user->getUserSkills($user['user_id']);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('skill_list', $skill_list);
- Exclude checks
Variable "my_user_skills" is not in valid camel caps format Open
Open
foreach ($my_user_skills as $skill_item) {
- Exclude checks
Variable "found_counts" is not in valid camel caps format Open
Open
$found_counts = 0;
- Exclude checks
Variable "user_skills" is not in valid camel caps format Open
Open
$user_skills[$skill_id] = ['skill_id' => $skill_id, 'found' => $found];
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
$user_skills[$skill_id] = ['skill_id' => $skill_id, 'found' => $found];
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
foreach ($user_list as $user_id => $user_data) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
foreach ($user_list as $user_id => $user_data) {
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$template = Display::$global_template->get_template('layout/hot_course_item_popup.tpl');
- Exclude checks
Variable "ordered_user_list" is not in valid camel caps format Open
Open
$ordered_user_list[$user_data['total_found_skills']][] = $user_data;
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$template = Display::$global_template->get_template('skill/skill_info.tpl');
- Exclude checks
Variable "ordered_user_list" is not in valid camel caps format Open
Open
Display::$global_template->assign('order_user_list', $ordered_user_list);
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
$user_skills[$skill_id] = ['skill_id' => $skill_id, 'found' => $found];
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('total_search_skills', $count_skills);
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
if (!empty($total_skills_to_search)) {
- Exclude checks
Variable "skill_profile" is not in valid camel caps format Open
Open
$skill_data = $skill_profile->save($params);
- Exclude checks
Variable "gradebook_list" is not in valid camel caps format Open
Open
echo json_encode($gradebook_list);
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
Display::$global_template->assign('skill', $skillInfo);
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
Open
$user_info = api_get_user_info($user['user_id']);
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list[$user['user_id']]['user'] = $user_info;
- Exclude checks
Variable "load_user_data" is not in valid camel caps format Open
Open
$load_user_data = isset($_REQUEST['load_user_data']) ? $_REQUEST['load_user_data'] : null;
- Exclude checks
Variable "count_skills" is not in valid camel caps format Open
Open
$count_skills = count($skills);
- Exclude checks
Variable "skill_id" is not in valid camel caps format Open
Open
if (in_array($skill_id, $user_skill_list)) {
- Exclude checks
Variable "total_skills_to_search" is not in valid camel caps format Open
Open
$total_skills_to_search[$my_skill['skill_id']] = $my_skill['skill_id'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$ordered_user_list[$user_data['total_found_skills']][] = $user_data;
- Exclude checks
Variable "global_template" is not in valid camel caps format Open
Open
$template = Display::$global_template->get_template('skill/profile.tpl');
- Exclude checks