public/main/survey/create_new_survey.php
Variable "_course" is not in valid camel caps format Open
Open
$defaults['survey_language'] = $_course['language'];
- Exclude checks
Variable "form_fields" is not in valid camel caps format Open
Open
$form_fields = explode('@', $survey_data['form_fields']);
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_course = api_get_course_info();
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$defaults['survey_id'] = $survey_id;
- Exclude checks
Variable "link_info" is not in valid camel caps format Open
Open
$defaults['category_id'] = $link_info['category_id'];
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$sql = "SELECT weight FROM $table_gradebook_link WHERE id = $gradebook_link_id";
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
if (1 == $survey_data['show_form_profile']) {
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$form->addElement('header', $tool_name);
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && isset($survey_id) && is_numeric($survey_id)) {
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$groupData = $extraFieldValue->get_values_by_handler_and_field_variable($survey_id, 'group_id');
- Exclude checks
Variable "input_name_list" is not in valid camel caps format Open
Open
$input_name_list .= 'profile_'.$key.',';
- Exclude checks
Variable "table_gradebook_link" is not in valid camel caps format Open
Open
$table_gradebook_link = Database::get_main_table(TABLE_MAIN_GRADEBOOK_LINK);
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && isset($survey_id) && is_numeric($survey_id)) {
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
api_get_self().'?action='.$action.'&survey_id='.$survey_id.'&'.api_get_cidreq()
- Exclude checks
Variable "field_list" is not in valid camel caps format Open
Open
if (is_array($field_list)) {
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
if ($survey_data['form_fields']) {
- Exclude checks
Variable "gradebook_link_type" is not in valid camel caps format Open
Open
$gradebook_link_type = 8;
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$defaults['survey_qualify_gradebook'] = $gradebook_link_id;
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$survey_data = SurveyManager::get_survey($survey_id);
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'survey/survey.php?survey_id='.$survey_id.'&'.api_get_cidreq(),
- Exclude checks
Variable "link_info" is not in valid camel caps format Open
Open
if ($link_info) {
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
if (0 == $survey_data['anonymous']) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$gradebook_link_id = $link_info['id'];
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$gradebook_link_id = (int) $gradebook_link_id;
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$survey_data = SurveyManager::get_survey($survey_id);
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$gradebook_link_id = null;
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$defaults['anonymous'] = $survey_data['anonymous'];
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && isset($survey_id) && is_numeric($survey_id)) {
- Exclude checks
Variable "field_list" is not in valid camel caps format Open
Open
$field_list = SurveyUtil::make_field_list();
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Create survey');
- Exclude checks
Variable "link_info" is not in valid camel caps format Open
Open
$link_info = GradebookUtils::isResourceInCourseGradebook(
- Exclude checks
Variable "input_name_list" is not in valid camel caps format Open
Open
$input_name_list = null;
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && !empty($survey_id)) {
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$survey_id = isset($_GET['survey_id']) ? (int) $_GET['survey_id'] : null;
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && isset($survey_id) && is_numeric($survey_id)) {
- Exclude checks
Variable "link_info" is not in valid camel caps format Open
Open
$gradebook_link_id = $link_info['id'];
- Exclude checks
Variable "form_fields" is not in valid camel caps format Open
Open
foreach ($form_fields as &$field) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = api_get_session_id();
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Edit survey');
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$survey_id,
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$gradebook_link_id = (int) $gradebook_link_id;
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$urlname = isset($survey_data['title']) ? strip_tags($survey_data['title']) : null;
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$urlname = isset($survey_data['title']) ? strip_tags($survey_data['title']) : null;
- Exclude checks
Variable "gradebook_link_type" is not in valid camel caps format Open
Open
$gradebook_link_type,
- Exclude checks
Variable "table_gradebook_link" is not in valid camel caps format Open
Open
$sql = "SELECT weight FROM $table_gradebook_link WHERE id = $gradebook_link_id";
- Exclude checks
Variable "input_name_list" is not in valid camel caps format Open
Open
$form->addElement('hidden', 'input_name_list', $input_name_list);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_id();
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
if ('edit' === $action && is_numeric($survey_id)) {
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$defaults = $survey_data;
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$extraField->addElements($form, $survey_id, ['group_id']);
- Exclude checks
Variable "field_list" is not in valid camel caps format Open
Open
foreach ($field_list as $key => &$field) {
- Exclude checks
Variable "gradebook_link_id" is not in valid camel caps format Open
Open
$form->addHtml('<div id="gradebook_options"'.($gradebook_link_id ? '' : ' style="display:none"').'>');
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$form_fields = explode('@', $survey_data['form_fields']);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$defaults[$field_value[0]] = $field_value[1];
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$field_value = explode(':', $field);
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$defaults[$field_value[0]] = $field_value[1];
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
if ('' != $field_value[0] && '' != $field_value[1]) {
- Exclude checks
Variable "survey_id" is not in valid camel caps format Open
Open
$skillList = SkillModel::addSkillsToForm($form, ITEM_TYPE_SURVEY, $survey_id);
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
if ('' != $field_value[0] && '' != $field_value[1]) {
- Exclude checks