Complex expressions

Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.

Literal arrays are omitted.

File Count Expression
/lib/outputcomponents.php:24061array_merge($cell->attributes, array('style' => $tdstyle . $cell->style, 'colspan' => $cell->colspan, 'rowspan' => $cell->rowspan, 'id' => $cell->id, 'abbr' => $cell->abbr, 'scope' => $cell->scope, ))
/lib/moodlelib.php:84431str_shuffle(substr(str_shuffle($passwordlower), 0, $lower) . substr(str_shuffle($passwordupper), 0, $upper) . substr(str_shuffle($passworddigits), 0, $digits) . substr(str_shuffle($passwordnonalphanum), 0, $nonalphanum) . substr(str_shuffle($passwordlower . $passwordupper . $passworddigits . $passwordnonalphanum), 0, $additional))
/lib/tcpdf/tcpdf.php:183541array_push($dom[$table_el]['rowspans'], array('trid' => $trid, 'rowspan' => $rowspan, 'mrowspan' => $rowspan, 'colspan' => $colspan, 'startpage' => $this->page, 'startcolumn' => $this->current_column, 'startx' => $this->x, 'starty' => $this->y))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Comment.php:2771md5($this->author . $this->text->getHashCode( ) . $this->width . $this->height . $this->marginLeft . $this->marginTop . ($this->visible ? 1 : 0) . $this->fillColor->getHashCode( ) . $this->alignment . ($this->hasBackgroundImage( ) ? $this->backgroundImage->getHashCode( ) : '') . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/BaseDrawing.php:4361md5($this->name . $this->description . (($this->worksheet === null) ? '' : $this->worksheet->getHashCode( )) . $this->coordinates . $this->offsetX . $this->offsetY . $this->coordinates2 . $this->offsetX2 . $this->offsetY2 . $this->width . $this->height . $this->rotation . $this->shadow->getHashCode( ) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:8051max($autoSizes[$this->cellCollection->getCurrentColumn( )], round(Shared\Font::calculateColumnWidth($this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getFont( ), $cellValue, (int) $this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getAlignment( )->getTextRotation( ), $this->getParentOrThrow( )->getDefaultStyle( )->getFont( ), $filterAdjustment, $indentAdjustment), 3))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:8071round(Shared\Font::calculateColumnWidth($this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getFont( ), $cellValue, (int) $this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getAlignment( )->getTextRotation( ), $this->getParentOrThrow( )->getDefaultStyle( )->getFont( ), $filterAdjustment, $indentAdjustment), 3)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php:2611md5(($this->visible ? 't' : 'f') . $this->blurRadius . $this->distance . $this->direction . $this->alignment . $this->color->getHashCode( ) . $this->alpha . __CLASS__)
/admin/cli/upgrade.php:491cli_get_params(array('allow-unstable' => false, 'help' => false, 'is-maintenance-required' => false, 'is-pending' => false, 'lang' => $lang, 'maintenance' => true, 'non-interactive' => false, 'set-ui-upgrade-lock' => false, 'unset-ui-upgrade-lock' => false, 'verbose-settings' => false, ), array('h' => 'help'))
/admin/tool/uploadcourse/cli/uploadcourse.php:341cli_get_params(array('help' => false, 'mode' => '', 'updatemode' => 'nothing', 'file' => '', 'delimiter' => 'comma', 'encoding' => 'UTF-8', 'shortnametemplate' => '', 'templatecourse' => false, 'restorefile' => false, 'allowdeletes' => false, 'allowrenames' => false, 'allowresets' => false, 'reset' => false, 'category' => core_course_category::get_default( )->id, ), array('h' => 'help', 'm' => 'mode', 'u' => 'updatemode', 'f' => 'file', 'd' => 'delimiter', 'e' => 'encoding', 't' => 'templatecourse', 'r' => 'restorefile', 'g' => 'format', ))
/grade/classes/privacy/provider.php:7061array_merge(static::transform_grade($gg, $context, true), ['userid' => transform::user($gg->userid), 'logged_in_user_was_you' => transform::yesno($userid == $record->loggeduser), 'author_of_change_was_you' => transform::yesno($userid == $gg->usermodified), 'action' => static::transform_history_action($record->ggh_action), ])
/grade/tests/external/get_grade_tree_test.php:671json_encode(['id' => $coursegradecategory->id, 'name' => 'Course', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem->id, 'name' => 'Grade item', 'iscategory' => false, 'children' => null], ['id' => $gradecategory1->id, 'name' => 'Category 1', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem1->id, 'name' => 'Grade item 1', 'iscategory' => false, 'children' => null], ['id' => $gradecategory2->id, 'name' => 'Category 2', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem2->id, 'name' => 'Grade item 2', 'iscategory' => false, 'children' => null], ['id' => $gradecategory3->id, 'name' => 'Category 3', 'iscategory' => true, 'haschildcategories' => false, 'children' => null]]]]]]])
/grade/report/history/classes/output/tablelog.php:1991array_merge($cols, array('itemname' => get_string('gradeitem', 'grades'), 'prevgrade' => get_string('gradeold', 'gradereport_history'), 'finalgrade' => get_string('gradenew', 'gradereport_history'), 'grader' => get_string('grader', 'gradereport_history'), 'source' => get_string('source', 'gradereport_history'), 'overridden' => get_string('overridden', 'grades'), 'locked' => get_string('locked', 'grades'), 'excluded' => get_string('excluded', 'gradereport_history'), 'feedback' => get_string('feedbacktext', 'gradereport_history')))
/question/type/essay/renderer.php:661plagiarism_get_links(['context' => $options->context->id, 'component' => $qa->get_question( )->qtype->plugin_name( ), 'area' => $qa->get_usage_id( ), 'itemid' => $qa->get_slot( ), 'userid' => $step->get_user_id( ), 'content' => $qa->get_response_summary( )])
/question/type/essay/renderer.php:1241plagiarism_get_links(['context' => $options->context->id, 'component' => $qa->get_question( )->qtype->plugin_name( ), 'area' => $qa->get_usage_id( ), 'itemid' => $qa->get_slot( ), 'userid' => $step->get_user_id( ), 'file' => $file])
/question/engine/questionattempt.php:5981file_encode_url(new moodle_url('/pluginfile.php'), '/' . implode('/', array($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $this->usageid, $this->slot, $file->get_itemid( ))) . $file->get_filepath( ) . $file->get_filename( ), true)
/repository/s3/S3.php:19081base64_encode(extension_loaded('hash') ? hash_hmac('sha1', $string, self::$__secretKey, true) : pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) . pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x36), 64))) . $string)))))
/competency/tests/api_test.php:2991json_encode(array('base' => array('points' => 4), 'competencies' => array(array('id' => $competency41->get('id'), 'points' => 3, 'required' => 0), array('id' => $competency42->get('id'), 'points' => 2, 'required' => 1), )))
/repository/s3/S3.php:19091sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) . pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x36), 64))) . $string)))
/repository/s3/S3.php:19091pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) . pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x36), 64))) . $string))))
/calendar/classes/local/event/data_access/event_vault.php:2551array_values($this->get_events(null, null, $timesortfrom, $timesortto, null, $afterevent, $limitnum, CALENDAR_EVENT_TYPE_ACTION, [$user->id], $groupings[0] ? $groupings[0] : null, [$course->id], [ ], true, true, function ($event) use ($course) { /**/ } , $searchvalue))
/course/tests/courselib_test.php:5591json_encode(\core_availability\tree::get_root_json(array(\availability_date\condition::get_json('>=', time( )), \availability_date\condition::get_json('<', time( ) + (7 * 24 * 3600)), \availability_grade\condition::get_json($coursegradeitem->id, 10, 80), \availability_profile\condition::get_json(false, 'email', 'contains', '@'), \availability_completion\condition::get_json($assigncm->id, COMPLETION_COMPLETE)), '&'))
/admin/cli/install.php:2391cli_get_params(array('chmod' => isset($distro->directorypermissions) ? sprintf('%04o', $distro->directorypermissions) : '2777', 'lang' => $CFG->lang, 'wwwroot' => '', 'dataroot' => empty($distro->dataroot) ? str_replace('\\', '/', dirname(dirname(dirname(__DIR__))) . '/moodledata') : $distro->dataroot, 'dbtype' => empty($distro->dbtype) ? $defaultdb : $distro->dbtype, 'dbhost' => empty($distro->dbhost) ? 'localhost' : $distro->dbhost, 'dbname' => 'moodle', 'dbuser' => empty($distro->dbuser) ? 'root' : $distro->dbuser, 'dbpass' => '', 'dbport' => '', 'dbsocket' => '', 'prefix' => 'mdl_', 'fullname' => '', 'shortname' => '', 'summary' => '', 'adminuser' => 'admin', 'adminpass' => '', 'adminemail' => '', 'sitepreset' => '', 'supportemail' => '', 'upgradekey' => '', 'non-interactive' => false, 'agree-license' => false, 'allow-unstable' => false, 'skip-database' => false, 'help' => false), array('h' => 'help'))
/calendar/tests/helpers.php:1111array_merge($data, ['eventtype' => isset($data['eventtype']) ? $data['eventtype'] : 'open', 'courseid' => isset($data['courseid']) ? $data['courseid'] : 0, 'instance' => $data['instance'], 'modulename' => $data['modulename'], 'type' => CALENDAR_EVENT_TYPE_ACTION, ])
/competency/tests/competency_rule_test.php:1361json_encode(array('base' => array('points' => 3), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1561json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c1->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1461json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1841json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c1->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1661json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c2->get('id'), 'points' => -1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:2051json_encode(array('base' => array('points' => 4), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 3, 'required' => 0), array('id' => $c3->get('id'), 'points' => 2, 'required' => 1), )))
/competency/tests/competency_rule_test.php:1951json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $cx->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1261json_encode(array('base' => array('points' => 0), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/mod/bigbluebuttonbn/tests/generator/lib.php:3391array_merge($data, ['meetingName' => $instance->get_meeting_name( ), 'attendeePW' => $instance->get_viewer_password( ), 'moderatorPW' => $instance->get_moderator_password( ), 'voiceBridge' => $instance->get_voice_bridge( ), 'meta' => ['bbb-context' => $instance->get_course( )->fullname, 'bbb-context-id' => $instance->get_course( )->id, 'bbb-context-label' => $instance->get_course( )->shortname, 'bbb-context-name' => $instance->get_course( )->fullname, 'bbb-origin' => 'Moodle', 'bbb-origin-tag' => 'moodle-mod_bigbluebuttonbn (TODO version)', 'bbb-recording-description' => $instance->get_meeting_description( ), 'bbb-recording-name' => $instance->get_meeting_name( ), ], ])
/mod/bigbluebuttonbn/cli/update_dismissed_recordings.php:951cli_writeln("Processing BigBlueButton {$instance->get_meeting_name( )}(id:{$instance->get_instance_id( )})," . " in course {$bbcm->get_course( )->fullname}(id:{$bbcm->get_course( )->id})....")
/mod/bigbluebuttonbn/cli/migrate_recordings.php:1011cli_writeln("Processing BigbluebButton {$instance->get_meeting_name( )}(id:{$instance->get_instance_id( )})," . " in course {$bbcm->get_course( )->fullname}(id:{$bbcm->get_course( )->id})....")
/competency/classes/privacy/provider.php:15031array_merge($plans[$planid]['competencies'][$pc->get('competencyid')], ['timemodified' => $pc->get('timemodified') ? transform::datetime($pc->get('timemodified')) : '-', 'timecreated' => $pc->get('timecreated') ? transform::datetime($pc->get('timecreated')) : '-', 'created_or_modified_by_you' => transform::yesno($pc->get('usermodified') == $userid), ])
/mod/lesson/tests/privacy/provider_test.php:7941array_merge(['lessonid' => $lesson->id, 'userid' => $user->id, 'pageid' => 0, 'answerid' => 0, 'retry' => 0, 'correct' => 0, 'useranswer' => '', 'timeseen' => time( ), ], $options)
/competency/classes/privacy/provider.php:11141array_merge(static::transform_competency_brief($competency), ['rating' => ['userid' => transform::user($ucc->get('userid')), 'rating' => static::transform_competency_grade($competency, $ucc->get('grade'), $helper), 'proficient' => static::transform_proficiency($ucc->get('proficiency')), 'timemodified' => transform::datetime($ucc->get('timemodified')), ]])
/mod/resource/classes/external.php:1781array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['contentfiles' => new external_files('Files in the content'), 'tobemigrated' => new external_value(PARAM_INT, 'Whether this resource was migrated'), 'legacyfiles' => new external_value(PARAM_INT, 'Legacy files flag'), 'legacyfileslast' => new external_value(PARAM_INT, 'Legacy files last control flag'), 'display' => new external_value(PARAM_INT, 'How to display the resource'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'filterfiles' => new external_value(PARAM_INT, 'If filters should be applied to the resource content'), 'revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the resource was modified'), ])
/competency/classes/privacy/provider.php:10501array_merge(static::transform_competency_brief($competency), ['rating' => ['rating' => static::transform_competency_grade($competency, $ucc->get('grade'), $helper), 'proficient' => static::transform_proficiency($ucc->get('proficiency')), 'timecreated' => transform::datetime($ucc->get('timecreated')), 'timemodified' => transform::datetime($ucc->get('timemodified')), ]])
/mod/survey/classes/external.php:1371array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['template' => new external_value(PARAM_INT, 'Survey type', VALUE_OPTIONAL), 'days' => new external_value(PARAM_INT, 'Days', VALUE_OPTIONAL), 'questions' => new external_value(PARAM_RAW, 'Question ids', VALUE_OPTIONAL), 'surveydone' => new external_value(PARAM_INT, 'Did I finish the survey?', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ])
/competency/lib.php:1741get_string('usercommentedonaplanhtml', 'core_competency', array('fullname' => $fullname, 'plan' => $planname, 'comment' => format_text($comment->content, $comment->format, array('context' => $params->context->id)), 'url' => $url->out(true), 'urlname' => $urlname, ))
/mod/bigbluebuttonbn/tests/generator/lib.php:2461array_merge((array) $recordingdata, ['sequence' => 1, 'meta' => ['bn-presenter-name' => $data['presentername'] ?? 'Fake presenter', 'bn-recording-ready-url' => new moodle_url('/mod/bigbluebuttonbn/bbb_broker.php', ['action' => 'recording_ready', 'bigbluebuttonbn' => $instance->get_instance_id( )]), 'bbb-recording-description' => $data['description'] ?? '', 'bbb-recording-name' => $data['name'] ?? '', 'bbb-recording-tags' => $data['tags'] ?? '', ], ])
/competency/tests/competency_rule_test.php:1161json_encode(array('base' => array('points' => 'abc'), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/mod/assign/submission/onlinetext/locallib.php:3921plagiarism_get_links(array('userid' => $submission->userid, 'content' => $onlinetext, 'cmid' => $this->assignment->get_course_module( )->id, 'course' => $this->assignment->get_course( )->id, 'assignment' => $submission->assignment))
/competency/tests/competency_rule_test.php:1061json_encode(array('base' => array( ), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/mod/assign/submission/onlinetext/locallib.php:4771plagiarism_get_links(array('userid' => $submission->userid, 'content' => trim($onlinetextsubmission->onlinetext), 'cmid' => $this->assignment->get_course_module( )->id, 'course' => $this->assignment->get_course( )->id, 'assignment' => $submission->assignment))
/competency/classes/privacy/provider.php:20281array_merge(static::transform_template_brief($template), ['timemodified' => transform::datetime($template->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($template->get('usermodified') == $userid), 'competencies' => [ ], 'cohorts' => [ ]])
/mod/book/classes/external.php:2301array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['numbering' => new external_value(PARAM_INT, 'Book numbering configuration'), 'navstyle' => new external_value(PARAM_INT, 'Book navigation style configuration'), 'customtitles' => new external_value(PARAM_INT, 'Book custom titles type'), 'revision' => new external_value(PARAM_INT, 'Book revision', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ])
/competency/classes/privacy/provider.php:17771array_merge(static::transform_competency_brief($competency), ['timemodified' => $uec->get('timemodified') ? transform::datetime($uec->get('timemodified')) : '-', 'timecreated' => $uec->get('timecreated') ? transform::datetime($uec->get('timecreated')) : '-', 'created_or_modified_by_you' => transform::yesno($uec->get('usermodified'))])
/mod/glossary/classes/external.php:2721array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['allowduplicatedentries' => new external_value(PARAM_INT, 'If enabled, multiple entries can have the' . ' same concept name'), 'displayformat' => new external_value(PARAM_TEXT, 'Display format type'), 'mainglossary' => new external_value(PARAM_INT, 'If enabled this glossary is a main glossary.'), 'showspecial' => new external_value(PARAM_INT, 'If enabled, participants can browse the glossary by' . ' special characters, such as @ and #'), 'showalphabet' => new external_value(PARAM_INT, 'If enabled, participants can browse the glossary by' . ' letters of the alphabet'), 'showall' => new external_value(PARAM_INT, 'If enabled, participants can browse all entries at once'), 'allowcomments' => new external_value(PARAM_INT, 'If enabled, all participants with permission to' . ' create comments will be able to add comments to glossary entries'), 'allowprintview' => new external_value(PARAM_INT, 'If enabled, students are provided with a link to a' . ' printer-friendly version of the glossary. The link is always available to teachers'), 'usedynalink' => new external_value(PARAM_INT, 'If site-wide glossary auto-linking has been enabled' . ' by an administrator and this checkbox is ticked, the entry will be automatically linked' . ' wherever the concept words and phrases appear throughout the rest of the course.'), 'defaultapproval' => new external_value(PARAM_INT, 'If set to no, entries require approving by a' . ' teacher before they are viewable by everyone.'), 'approvaldisplayformat' => new external_value(PARAM_TEXT, 'When approving glossary items you may wish' . ' to use a different display format'), 'globalglossary' => new external_value(PARAM_INT, ''), 'entbypage' => new external_value(PARAM_INT, 'Entries shown per page'), 'editalways' => new external_value(PARAM_INT, 'Always allow editing'), 'rsstype' => new external_value(PARAM_INT, 'To enable the RSS feed for this activity, select either' . ' concepts with author or concepts without author to be included in the feed'), 'rssarticles' => new external_value(PARAM_INT, 'This setting specifies the number of glossary entry' . ' concepts to include in the RSS feed. Between 5 and 20 generally acceptable'), 'assessed' => new external_value(PARAM_INT, 'Aggregate type'), 'assesstimestart' => new external_value(PARAM_INT, 'Restrict rating to items created after this'), 'assesstimefinish' => new external_value(PARAM_INT, 'Restrict rating to items created before this'), 'scale' => new external_value(PARAM_INT, 'Scale ID'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'completionentries' => new external_value(PARAM_INT, 'Number of entries to complete'), 'browsemodes' => new external_multiple_structure(new external_value(PARAM_ALPHA, 'Modes of browsing allowed')), 'canaddentry' => new external_value(PARAM_INT, 'Whether the user can add a new entry', VALUE_OPTIONAL), ])
/mod/assign/tests/externallib_advanced_testcase.php:521array_merge(['course' => $course->id, 'assignsubmission_file_maxfiles' => 1, 'assignsubmission_file_maxsizebytes' => 1024 * 1024, 'assignsubmission_onlinetext_enabled' => 1, 'assignsubmission_file_enabled' => 1, 'submissiondrafts' => 1, 'assignfeedback_file_enabled' => 1, 'assignfeedback_comments_enabled' => 1, 'attemptreopenmethod' => ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL, 'sendnotifications' => 0], $params)
/mod/lti/classes/external.php:3511array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), 'typeid' => new external_value(PARAM_INT, 'Type id', VALUE_OPTIONAL), 'toolurl' => new external_value(PARAM_URL, 'Tool url', VALUE_OPTIONAL), 'securetoolurl' => new external_value(PARAM_RAW, 'Secure tool url', VALUE_OPTIONAL), 'instructorchoicesendname' => new external_value(PARAM_TEXT, 'Instructor choice send name', VALUE_OPTIONAL), 'instructorchoicesendemailaddr' => new external_value(PARAM_INT, 'instructor choice send mail address', VALUE_OPTIONAL), 'instructorchoiceallowroster' => new external_value(PARAM_INT, 'Instructor choice allow roster', VALUE_OPTIONAL), 'instructorchoiceallowsetting' => new external_value(PARAM_INT, 'Instructor choice allow setting', VALUE_OPTIONAL), 'instructorcustomparameters' => new external_value(PARAM_RAW, 'instructor custom parameters', VALUE_OPTIONAL), 'instructorchoiceacceptgrades' => new external_value(PARAM_INT, 'instructor choice accept grades', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_INT, 'Enable grades', VALUE_OPTIONAL), 'launchcontainer' => new external_value(PARAM_INT, 'Launch container mode', VALUE_OPTIONAL), 'resourcekey' => new external_value(PARAM_RAW, 'Resource key', VALUE_OPTIONAL), 'password' => new external_value(PARAM_RAW, 'Shared secret', VALUE_OPTIONAL), 'debuglaunch' => new external_value(PARAM_INT, 'Debug launch', VALUE_OPTIONAL), 'showtitlelaunch' => new external_value(PARAM_INT, 'Show title launch', VALUE_OPTIONAL), 'showdescriptionlaunch' => new external_value(PARAM_INT, 'Show description launch', VALUE_OPTIONAL), 'servicesalt' => new external_value(PARAM_RAW, 'Service salt', VALUE_OPTIONAL), 'icon' => new external_value(PARAM_URL, 'Alternative icon URL', VALUE_OPTIONAL), 'secureicon' => new external_value(PARAM_URL, 'Secure icon URL', VALUE_OPTIONAL), ])
/mod/assign/feedback/offline/locallib.php:3481clean_filename(get_string('offlinegradingworksheet', 'assignfeedback_offline') . '-' . $this->assignment->get_course( )->shortname . '-' . $this->assignment->get_instance( )->name . '-' . $groupname . $this->assignment->get_course_module( )->id)
/mod/assign/tests/locallib_test.php:44891array_merge(array('course' => $course->id, 'assignsubmission_file_maxfiles' => 1, 'assignsubmission_file_maxsizebytes' => 1024 * 1024, 'assignsubmission_onlinetext_enabled' => 1, 'assignsubmission_file_enabled' => 1, 'submissiondrafts' => 1, 'assignfeedback_file_enabled' => 1, 'assignfeedback_comments_enabled' => 1, 'attemptreopenmethod' => ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL, 'sendnotifications' => 0), $params)
/mod/forum/classes/local/vaults/discussion_list.php:2121array_merge(parent::get_preprocessors( ), ['discussion' => new extract_record_preprocessor(self::TABLE, $this->get_table_alias( )), 'firstpost' => new extract_record_preprocessor('forum_posts', 'p_'), 'firstpostauthor' => new extract_user_preprocessor(self::FIRST_AUTHOR_ID_ALIAS, self::FIRST_AUTHOR_ALIAS), 'latestpostauthor' => new extract_user_preprocessor(self::LATEST_AUTHOR_ID_ALIAS, self::LATEST_AUTHOR_ALIAS), ])
/competency/lib.php:981get_string('usercommentedonacompetencyhtml', 'core_competency', array('fullname' => $fullname, 'competency' => $competencyname, 'comment' => format_text($comment->content, $comment->format, array('context' => $params->context->id)), 'url' => $url->out(true), 'urlname' => $urlname, ))
/mod/forum/classes/local/vaults/forum.php:1021array_merge(parent::get_preprocessors( ), ['forum' => new extract_record_preprocessor(self::TABLE, $this->get_table_alias( )), 'course_module' => new extract_record_preprocessor('course_modules', 'cm_'), 'course' => new extract_record_preprocessor('course', 'c_'), 'context' => new extract_context_preprocessor( ), ])
/mod/forum/tests/externallib_test.php:801array_merge(['contextid' => $file->get_contextid( ), 'component' => $file->get_component( ), 'filearea' => $file->get_filearea( ), 'itemid' => $file->get_itemid( ), 'filepath' => $file->get_filepath( ), 'filename' => $file->get_filename( ), 'isdir' => $file->is_directory( ), 'isimage' => $file->is_valid_image( ), 'timemodified' => $file->get_timemodified( ), 'timecreated' => $file->get_timecreated( ), 'filesize' => $file->get_filesize( ), 'author' => $file->get_author( ), 'license' => $file->get_license( ), 'filenameshort' => $file->get_filename( ), 'filesizeformatted' => display_size((int) $file->get_filesize( )), 'icon' => $file->is_directory( ) ? file_folder_icon( ) : file_file_icon($file), 'timecreatedformatted' => userdate($file->get_timecreated( )), 'timemodifiedformatted' => userdate($file->get_timemodified( )), 'url' => $url->out( ), ], $values)
/mod/forum/tests/generator_trait.php:1211array_merge(['course' => $forum->course, 'subject' => "{$strre} {$discussion->subject}", 'userid' => $author->id, 'forum' => $forum->id, 'discussion' => $discussion->id, 'mailnow' => 1, ], $options)
/mod/forum/classes/local/renderers/discussion.php:2081array_merge($exporteddiscussion, ['notifications' => $this->get_notifications($user), 'html' => ['hasanyactions' => $hasanyactions, 'posts' => $this->postsrenderer->render($user, [$this->forum], [$this->discussion], $posts), 'modeselectorform' => $this->get_display_mode_selector_html($displaymode, $user), 'subscribe' => null, 'movediscussion' => null, 'pindiscussion' => null, 'neighbourlinks' => $this->get_neighbour_links_html( ), 'exportdiscussion' => !empty($CFG->enableportfolios) ? $this->get_export_discussion_html($user) : null], 'settingsselector' => true, ])
/mod/forum/classes/message/inbound/reply_handler.php:2992mtrace("--> Attaching {$record->filename} to " . "/{$record->contextid}/{$record->component}/{$record->filearea}/" . "{$record->itemid}{$record->filepath}{$record->filename}")
/mod/forum/classes/local/exporters/post.php:6031plagiarism_get_links(['userid' => $post->get_author_id( ), 'file' => $attachment, 'cmid' => $forum->get_course_module_record( )->id, 'course' => $forum->get_course_id( ), 'forum' => $forum->get_id( )])
/mod/forum/classes/local/exporters/post.php:5561plagiarism_get_links(['userid' => $post->get_author_id( ), 'content' => $message, 'cmid' => $forum->get_course_module_record( )->id, 'course' => $forum->get_course_id( ), 'forum' => $forum->get_id( )])
/mod/choice/classes/external.php:5441array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['publish' => new external_value(PARAM_BOOL, 'If choice is published', VALUE_OPTIONAL), 'showresults' => new external_value(PARAM_INT, '0 never, 1 after answer, 2 after close, 3 always', VALUE_OPTIONAL), 'display' => new external_value(PARAM_INT, 'Display mode (vertical, horizontal)', VALUE_OPTIONAL), 'allowupdate' => new external_value(PARAM_BOOL, 'Allow update', VALUE_OPTIONAL), 'allowmultiple' => new external_value(PARAM_BOOL, 'Allow multiple choices', VALUE_OPTIONAL), 'showunanswered' => new external_value(PARAM_BOOL, 'Show users who not answered yet', VALUE_OPTIONAL), 'includeinactive' => new external_value(PARAM_BOOL, 'Include inactive users', VALUE_OPTIONAL), 'limitanswers' => new external_value(PARAM_BOOL, 'Limit unswers', VALUE_OPTIONAL), 'timeopen' => new external_value(PARAM_INT, 'Date of opening validity', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'Date of closing validity', VALUE_OPTIONAL), 'showpreview' => new external_value(PARAM_BOOL, 'Show preview before timeopen', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), 'completionsubmit' => new external_value(PARAM_BOOL, 'Completion on user submission', VALUE_OPTIONAL), 'showavailable' => new external_value(PARAM_BOOL, 'Show available spaces', VALUE_OPTIONAL), ])
/mod/wiki/classes/external.php:1481array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timecreated' => new external_value(PARAM_INT, 'Time of creation.', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification.', VALUE_OPTIONAL), 'firstpagetitle' => new external_value(PARAM_RAW, 'First page title.', VALUE_OPTIONAL), 'wikimode' => new external_value(PARAM_TEXT, 'Wiki mode (individual, collaborative).', VALUE_OPTIONAL), 'defaultformat' => new external_value(PARAM_TEXT, 'Wiki\'s default format (html, creole, nwiki).', VALUE_OPTIONAL), 'forceformat' => new external_value(PARAM_INT, '1 if format is forced, 0 otherwise.', VALUE_OPTIONAL), 'editbegin' => new external_value(PARAM_INT, 'Edit begin.', VALUE_OPTIONAL), 'editend' => new external_value(PARAM_INT, 'Edit end.', VALUE_OPTIONAL), 'cancreatepages' => new external_value(PARAM_BOOL, 'True if user can create pages.'), ])
/mod/scorm/classes/external.php:7711array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['packagesize' => new external_value(PARAM_INT, 'SCORM zip package size', VALUE_OPTIONAL), 'packageurl' => new external_value(PARAM_URL, 'SCORM zip package URL', VALUE_OPTIONAL), 'version' => new external_value(PARAM_NOTAGS, 'SCORM version (SCORM_12, SCORM_13, SCORM_AICC)', VALUE_OPTIONAL), 'maxgrade' => new external_value(PARAM_INT, 'Max grade', VALUE_OPTIONAL), 'grademethod' => new external_value(PARAM_INT, 'Grade method', VALUE_OPTIONAL), 'whatgrade' => new external_value(PARAM_INT, 'What grade', VALUE_OPTIONAL), 'maxattempt' => new external_value(PARAM_INT, 'Maximum number of attemtps', VALUE_OPTIONAL), 'forcecompleted' => new external_value(PARAM_BOOL, 'Status current attempt is forced to "completed"', VALUE_OPTIONAL), 'forcenewattempt' => new external_value(PARAM_INT, 'Controls re-entry behaviour', VALUE_OPTIONAL), 'lastattemptlock' => new external_value(PARAM_BOOL, 'Prevents to launch new attempts once finished', VALUE_OPTIONAL), 'displayattemptstatus' => new external_value(PARAM_INT, 'How to display attempt status', VALUE_OPTIONAL), 'displaycoursestructure' => new external_value(PARAM_BOOL, 'Display contents structure', VALUE_OPTIONAL), 'sha1hash' => new external_value(PARAM_NOTAGS, 'Package content or ext path hash', VALUE_OPTIONAL), 'md5hash' => new external_value(PARAM_NOTAGS, 'MD5 Hash of package file', VALUE_OPTIONAL), 'revision' => new external_value(PARAM_INT, 'Revison number', VALUE_OPTIONAL), 'launch' => new external_value(PARAM_INT, 'First content to launch', VALUE_OPTIONAL), 'skipview' => new external_value(PARAM_INT, 'How to skip the content structure page', VALUE_OPTIONAL), 'hidebrowse' => new external_value(PARAM_BOOL, 'Disable preview mode?', VALUE_OPTIONAL), 'hidetoc' => new external_value(PARAM_INT, 'How to display the SCORM structure in player', VALUE_OPTIONAL), 'nav' => new external_value(PARAM_INT, 'Show navigation buttons', VALUE_OPTIONAL), 'navpositionleft' => new external_value(PARAM_INT, 'Navigation position left', VALUE_OPTIONAL), 'navpositiontop' => new external_value(PARAM_INT, 'Navigation position top', VALUE_OPTIONAL), 'auto' => new external_value(PARAM_BOOL, 'Auto continue?', VALUE_OPTIONAL), 'popup' => new external_value(PARAM_INT, 'Display in current or new window', VALUE_OPTIONAL), 'width' => new external_value(PARAM_INT, 'Frame width', VALUE_OPTIONAL), 'height' => new external_value(PARAM_INT, 'Frame height', VALUE_OPTIONAL), 'timeopen' => new external_value(PARAM_INT, 'Available from', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'Available to', VALUE_OPTIONAL), 'scormtype' => new external_value(PARAM_ALPHA, 'SCORM type', VALUE_OPTIONAL), 'reference' => new external_value(PARAM_NOTAGS, 'Reference to the package', VALUE_OPTIONAL), 'protectpackagedownloads' => new external_value(PARAM_BOOL, 'Protect package downloads?', VALUE_OPTIONAL), 'updatefreq' => new external_value(PARAM_INT, 'Auto-update frequency for remote packages', VALUE_OPTIONAL), 'options' => new external_value(PARAM_RAW, 'Additional options', VALUE_OPTIONAL), 'completionstatusrequired' => new external_value(PARAM_INT, 'Status passed/completed required?', VALUE_OPTIONAL), 'completionscorerequired' => new external_value(PARAM_INT, 'Minimum score required', VALUE_OPTIONAL), 'completionstatusallscos' => new external_value(PARAM_INT, 'Require all scos to return completion status', VALUE_OPTIONAL), 'autocommit' => new external_value(PARAM_BOOL, 'Save track data automatically?', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ])
/mod/url/classes/external.php:1731array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['externalurl' => new external_value(PARAM_RAW_TRIMMED, 'External URL'), 'display' => new external_value(PARAM_INT, 'How to display the url'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'parameters' => new external_value(PARAM_RAW, 'Parameters to append to the URL'), 'timemodified' => new external_value(PARAM_INT, 'Last time the url was modified'), ])
/mod/quiz/classes/external.php:1751array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timeopen' => new external_value(PARAM_INT, 'The time when this quiz opens. (0 = no restriction.)', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'The time when this quiz closes. (0 = no restriction.)', VALUE_OPTIONAL), 'timelimit' => new external_value(PARAM_INT, 'The time limit for quiz attempts, in seconds.', VALUE_OPTIONAL), 'overduehandling' => new external_value(PARAM_ALPHA, 'The method used to handle overdue attempts. \'autosubmit\', \'graceperiod\' or \'autoabandon\'.', VALUE_OPTIONAL), 'graceperiod' => new external_value(PARAM_INT, 'The amount of time (in seconds) after the time limit runs out during which attempts can still be submitted, if overduehandling is set to allow it.', VALUE_OPTIONAL), 'preferredbehaviour' => new external_value(PARAM_ALPHANUMEXT, 'The behaviour to ask questions to use.', VALUE_OPTIONAL), 'canredoquestions' => new external_value(PARAM_INT, 'Allows students to redo any completed question within a quiz attempt.', VALUE_OPTIONAL), 'attempts' => new external_value(PARAM_INT, 'The maximum number of attempts a student is allowed.', VALUE_OPTIONAL), 'attemptonlast' => new external_value(PARAM_INT, 'Whether subsequent attempts start from the answer to the previous attempt (1) or start blank (0).', VALUE_OPTIONAL), 'grademethod' => new external_value(PARAM_INT, 'One of the values QUIZ_GRADEHIGHEST, QUIZ_GRADEAVERAGE, QUIZ_ATTEMPTFIRST or QUIZ_ATTEMPTLAST.', VALUE_OPTIONAL), 'decimalpoints' => new external_value(PARAM_INT, 'Number of decimal points to use when displaying grades.', VALUE_OPTIONAL), 'questiondecimalpoints' => new external_value(PARAM_INT, 'Number of decimal points to use when displaying question grades. (-1 means use decimalpoints.)', VALUE_OPTIONAL), 'reviewattempt' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. This is a bit field, decoded by the \mod_quiz\question\display_options class. It is formed by ORing together the constants defined there.', VALUE_OPTIONAL), 'reviewcorrectness' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times.A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewmaxmarks' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewmarks' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewspecificfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewgeneralfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewrightanswer' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewoverallfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'questionsperpage' => new external_value(PARAM_INT, 'How often to insert a page break when editing the quiz, or when shuffling the question order.', VALUE_OPTIONAL), 'navmethod' => new external_value(PARAM_ALPHA, 'Any constraints on how the user is allowed to navigate around the quiz. Currently recognised values are \'free\' and \'seq\'.', VALUE_OPTIONAL), 'shuffleanswers' => new external_value(PARAM_INT, 'Whether the parts of the question should be shuffled, in those question types that support it.', VALUE_OPTIONAL), 'sumgrades' => new external_value(PARAM_FLOAT, 'The total of all the question instance maxmarks.', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_FLOAT, 'The total that the quiz overall grade is scaled to be out of.', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'The time when the quiz was added to the course.', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Last modified time.', VALUE_OPTIONAL), 'password' => new external_value(PARAM_RAW, 'A password that the student must enter before starting or continuing a quiz attempt.', VALUE_OPTIONAL), 'subnet' => new external_value(PARAM_RAW, 'Used to restrict the IP addresses from which this quiz can be attempted. The format is as requried by the address_in_subnet function.', VALUE_OPTIONAL), 'browsersecurity' => new external_value(PARAM_ALPHANUMEXT, 'Restriciton on the browser the student must use. E.g. \'securewindow\'.', VALUE_OPTIONAL), 'delay1' => new external_value(PARAM_INT, 'Delay that must be left between the first and second attempt, in seconds.', VALUE_OPTIONAL), 'delay2' => new external_value(PARAM_INT, 'Delay that must be left between the second and subsequent attempt, in seconds.', VALUE_OPTIONAL), 'showuserpicture' => new external_value(PARAM_INT, 'Option to show the user\'s picture during the attempt and on the review page.', VALUE_OPTIONAL), 'showblocks' => new external_value(PARAM_INT, 'Whether blocks should be shown on the attempt.php and review.php pages.', VALUE_OPTIONAL), 'completionattemptsexhausted' => new external_value(PARAM_INT, 'Mark quiz complete when the student has exhausted the maximum number of attempts', VALUE_OPTIONAL), 'completionpass' => new external_value(PARAM_INT, 'Whether to require passing grade', VALUE_OPTIONAL), 'allowofflineattempts' => new external_value(PARAM_INT, 'Whether to allow the quiz to be attempted offline in the mobile app', VALUE_OPTIONAL), 'autosaveperiod' => new external_value(PARAM_INT, 'Auto-save delay', VALUE_OPTIONAL), 'hasfeedback' => new external_value(PARAM_INT, 'Whether the quiz has any non-blank feedback text', VALUE_OPTIONAL), 'hasquestions' => new external_value(PARAM_INT, 'Whether the quiz has questions', VALUE_OPTIONAL), ])
/mod/quiz/classes/local/reports/attempts_report_table.php:3151plagiarism_get_links(['context' => $this->context->id, 'component' => 'qtype_' . $this->questions[$slot]->qtype, 'cmid' => $this->context->instanceid, 'area' => $attempt->usageid, 'itemid' => $slot, 'userid' => $attempt->userid])
/mod/chat/classes/external.php:5891array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['chatmethod' => new external_value(PARAM_PLUGIN, 'chat method (sockets, ajax, header_js)', VALUE_OPTIONAL), 'keepdays' => new external_value(PARAM_INT, 'keep days', VALUE_OPTIONAL), 'studentlogs' => new external_value(PARAM_INT, 'student logs visible to everyone', VALUE_OPTIONAL), 'chattime' => new external_value(PARAM_INT, 'chat time', VALUE_OPTIONAL), 'schedule' => new external_value(PARAM_INT, 'schedule type', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'time of last modification', VALUE_OPTIONAL), ])
/mod/folder/classes/external.php:1731array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the folder was modified'), 'display' => new external_value(PARAM_INT, 'Display type of folder contents on a separate page or inline'), 'showexpanded' => new external_value(PARAM_INT, '1 = expanded, 0 = collapsed for sub-folders'), 'showdownloadfolder' => new external_value(PARAM_INT, 'Whether to show the download folder button'), 'forcedownload' => new external_value(PARAM_INT, 'Whether file download is forced'), ])
/mod/page/classes/external.php:1921array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['content' => new external_value(PARAM_RAW, 'Page content'), 'contentformat' => new external_format_value('content'), 'contentfiles' => new external_files('Files in the content'), 'legacyfiles' => new external_value(PARAM_INT, 'Legacy files flag'), 'legacyfileslast' => new external_value(PARAM_INT, 'Legacy files last control flag'), 'display' => new external_value(PARAM_INT, 'How to display the page'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the page was modified'), ])
/mod/imscp/classes/external.php:1871array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['revision' => new external_value(PARAM_INT, 'Revision', VALUE_OPTIONAL), 'keepold' => new external_value(PARAM_INT, 'Number of old IMSCP to keep', VALUE_OPTIONAL), 'structure' => new external_value(PARAM_RAW, 'IMSCP structure', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_RAW, 'Time of last modification', VALUE_OPTIONAL), ])
/badges/tests/privacy/provider_test.php:6211array_merge(['name' => "Test badge with 'apostrophe' and other friends (<>&@#)", 'description' => "Testing badges", 'timecreated' => time( ), 'timemodified' => time( ), 'usercreated' => $USER->id, 'usermodified' => $USER->id, 'issuername' => "Test issuer", 'issuerurl' => "http://issuer-url.domain.co.nz", 'issuercontact' => "issuer@example.com", 'expiredate' => null, 'expireperiod' => null, 'type' => BADGE_TYPE_SITE, 'courseid' => null, 'messagesubject' => "Test message subject", 'message' => "Test message body", 'attachment' => 1, 'notification' => 0, 'status' => BADGE_STATUS_ACTIVE, 'version' => OPEN_BADGES_V2, 'language' => 'en', 'imageauthorname' => 'Image author', 'imageauthoremail' => 'author@example.com', 'imageauthorurl' => 'http://image.example.com/', 'imagecaption' => 'Image caption'], $params)
/badges/tests/generator/lib.php:511array_merge(['name' => 'Test badge', 'description' => 'Testing badges', 'timecreated' => time( ), 'timemodified' => time( ), 'usercreated' => $USER->id, 'usermodified' => $USER->id, 'issuername' => 'Test issuer', 'issuerurl' => 'http://issuer-url.domain.co.nz', 'issuercontact' => 'issuer@example.com', 'expiredate' => null, 'expireperiod' => null, 'type' => BADGE_TYPE_SITE, 'courseid' => null, 'messagesubject' => 'Test message subject', 'message' => 'Test message body', 'attachment' => 1, 'notification' => 0, 'status' => BADGE_STATUS_ACTIVE, 'version' => OPEN_BADGES_V2, 'language' => 'en', 'imageauthorname' => 'Image author', 'imageauthoremail' => 'author@example.com', 'imageauthorurl' => 'http://image.example.com/', 'imagecaption' => 'Image caption'], $record)
/h5p/h5plib/v126/joubel/core/h5p.classes.php:29981json_encode($this->combineArrayValues(array('patch' => $this->getLibrariesInstalled( ), 'content' => $this->h5pF->getLibraryContentCount( ), 'loaded' => $this->h5pF->getLibraryStats('library'), 'created' => $this->h5pF->getLibraryStats('content create'), 'createdUpload' => $this->h5pF->getLibraryStats('content create upload'), 'deleted' => $this->h5pF->getLibraryStats('content delete'), 'resultViews' => $this->h5pF->getLibraryStats('results content'), 'shortcodeInserts' => $this->h5pF->getLibraryStats('content shortcode insert'))))
/badges/classes/oauth2/client.php:1181array_merge(['client_id' => $this->clientid, 'response_type' => 'code', 'redirect_uri' => $callbackurl->out(false), 'state' => $this->returnurl->out_as_local_url(false), 'scope' => $scopes, 'code_challenge' => $this->code_challenge( ), 'code_challenge_method' => BACKPACK_CHALLENGE_METHOD, ])
/h5p/tests/framework_test.php:18371array_merge($expected, array('Library5' => array('libraryId' => $library5->id, 'machineName' => $library5->machinename, 'majorVersion' => $library5->majorversion, 'minorVersion' => $library5->minorversion, 'patchVersion' => $library5->patchversion, 'preloadedCss' => $library5->preloadedcss, 'preloadedJs' => $library5->preloadedjs, 'dropCss' => '0', 'dependencyType' => 'dynamic')))
/h5p/h5plib/v126/joubel/core/h5p.classes.php:29941array_merge($registrationData, array('num_authors' => $this->h5pF->getNumAuthors( ), 'libraries' => json_encode($this->combineArrayValues(array('patch' => $this->getLibrariesInstalled( ), 'content' => $this->h5pF->getLibraryContentCount( ), 'loaded' => $this->h5pF->getLibraryStats('library'), 'created' => $this->h5pF->getLibraryStats('content create'), 'createdUpload' => $this->h5pF->getLibraryStats('content create upload'), 'deleted' => $this->h5pF->getLibraryStats('content delete'), 'resultViews' => $this->h5pF->getLibraryStats('results content'), 'shortcodeInserts' => $this->h5pF->getLibraryStats('content shortcode insert'))))))
/backup/controller/backup_controller.class.php:3251md5('backupid-' . $this->backupid . 'type-' . $this->type . 'id-' . $this->id . 'format-' . $this->format . 'interactive-' . $this->interactive . 'mode-' . $this->mode . 'userid-' . $this->userid . 'operation-' . $this->operation . 'status-' . $this->status . 'execution-' . $this->execution . 'plan-' . backup_general_helper::array_checksum_recursive(array($this->plan)) . 'destination-' . backup_general_helper::array_checksum_recursive(array($this->destination)) . 'logger-' . backup_general_helper::array_checksum_recursive(array($this->logger)))
/backup/controller/backup_controller.class.php:6171md5(time( ) . '-' . $this->type . '-' . $this->id . '-' . $this->format . '-' . $this->interactive . '-' . $this->mode . '-' . $this->userid . '-' . $this->operation . '-' . random_string(20))
/backup/controller/restore_controller.class.php:2631md5('tempdir-' . $this->tempdir . 'restoreid-' . $this->restoreid . 'courseid-' . $this->courseid . 'type-' . $this->type . 'format-' . $this->format . 'interactive-' . $this->interactive . 'mode-' . $this->mode . 'userid-' . $this->userid . 'target-' . $this->target . 'samesite-' . $this->samesite . 'operation-' . $this->operation . 'status-' . $this->status . 'precheck-' . backup_general_helper::array_checksum_recursive(array($this->precheck)) . 'execution-' . $this->execution . 'plan-' . backup_general_helper::array_checksum_recursive(array($this->plan)) . 'info-' . backup_general_helper::array_checksum_recursive(array($this->info)) . 'logger-' . backup_general_helper::array_checksum_recursive(array($this->logger)))
/backup/controller/restore_controller.class.php:6001md5(time( ) . '-' . $this->tempdir . '-' . $this->courseid . '-' . $this->interactive . '-' . $this->mode . '-' . $this->userid . '-' . $this->target . '-' . $this->operation . '-' . random_string(20))
/report/log/classes/table_log.php:751array_merge($headers, array(get_string('time'), get_string('fullnameuser'), get_string('eventrelatedfullnameuser', 'report_log'), get_string('eventcontext', 'report_log'), get_string('eventcomponent', 'report_log'), get_string('eventname'), get_string('description'), get_string('eventorigin', 'report_log'), get_string('ip_address')))
/report/loglive/classes/table_log.php:801array_merge($headers, array(get_string('time'), get_string('fullnameuser'), get_string('eventrelatedfullnameuser', 'report_loglive'), get_string('eventcontext', 'report_loglive'), get_string('eventcomponent', 'report_loglive'), get_string('eventname'), get_string('description'), get_string('eventorigin', 'report_loglive'), get_string('ip_address')))
/lib/external/tests/privacy/provider_test.php:4951array_merge(['token' => random_string(64), 'privatetoken' => random_string(64), 'tokentype' => EXTERNAL_TOKEN_PERMANENT, 'contextid' => SYSCONTEXTID, 'externalserviceid' => $service->id, 'userid' => $USER->id, 'validuntil' => time( ) + YEARSECS, 'iprestriction' => null, 'sid' => null, 'timecreated' => time( ), 'lastaccess' => time( ), 'creatorid' => $USER->id, ], $params)
/lib/external/tests/privacy/provider_test.php:4501array_merge(['name' => 'Some service', 'enabled' => '1', 'requiredcapability' => '', 'restrictedusers' => '0', 'component' => 'core_external', 'timecreated' => time( ), 'timemodified' => time( ), 'shortname' => 'service' . $i, 'downloadfiles' => '1', 'uploadfiles' => '1', ], $params)
/lib/filebrowser/virtual_root_file.php:3141sha1('/' . $this->get_contextid( ) . '/' . $this->get_component( ) . '/' . $this->get_filearea( ) . '/' . $this->get_itemid( ) . $this->get_filepath( ) . $this->get_filename( ))
/lib/behat/classes/behat_session_trait.php:9561implode("\n", [$this->get_debug_text($errorinfoboxes[0]->getHtml( )), $this->get_debug_text($errorinfoboxes[1]->getHtml( )), html_to_text($errorinfoboxes[2]->find('css', 'ul')->getHtml( )), ])
/lib/aws-sdk/src/TraceMiddleware.php:1691array_filter(['instance' => spl_object_hash($request), 'method' => $request->getMethod( ), 'headers' => $this->redactHeaders($request->getHeaders( )), 'body' => $this->streamStr($request->getBody( )), 'scheme' => $request->getUri( )->getScheme( ), 'port' => $request->getUri( )->getPort( ), 'path' => $request->getUri( )->getPath( ), 'query' => $request->getUri( )->getQuery( ), ])
/lib/aws-sdk/src/ClientResolver.php:9801$handler($command, $request->withHeader('X-Amz-User-Agent', implode(' ', array_merge($userAgent, $request->getHeader('X-Amz-User-Agent'))))->withHeader('User-Agent', implode(' ', array_merge($userAgent, $request->getHeader('User-Agent')))))
/lib/classes/message/inbound/private_files_handler.php:1312mtrace("--> Attaching {$record->filename} to " . "/{$record->contextid}/{$record->component}/{$record->filearea}/" . "{$record->itemid}{$record->filepath}{$record->filename}")
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidation.php:4491md5($this->formula1 . $this->formula2 . $this->type . $this->errorStyle . $this->operator . ($this->allowBlank ? 't' : 'f') . ($this->showDropDown ? 't' : 'f') . ($this->showInputMessage ? 't' : 'f') . ($this->showErrorMessage ? 't' : 'f') . $this->errorTitle . $this->error . $this->promptTitle . $this->prompt . $this->sqref . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php:7001md5($this->fill->getHashCode( ) . $this->font->getHashCode( ) . $this->borders->getHashCode( ) . $this->alignment->getHashCode( ) . $this->numberFormat->getHashCode( ) . $this->protection->getHashCode( ) . ($this->quotePrefix ? 't' : 'f') . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Borders.php:4011md5($this->getLeft( )->getHashCode( ) . $this->getRight( )->getHashCode( ) . $this->getTop( )->getHashCode( ) . $this->getBottom( )->getHashCode( ) . $this->getDiagonal( )->getHashCode( ) . $this->getDiagonalDirection( ) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Fill.php:3251md5($this->getFillType( ) . $this->getRotation( ) . ($this->getFillType( ) !== self::FILL_NONE ? $this->getStartColor( )->getHashCode( ) : '') . ($this->getFillType( ) !== self::FILL_NONE ? $this->getEndColor( )->getHashCode( ) : '') . ((string) $this->getColorsChanged( )) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php:7921implode('*', [$this->latin, $this->eastAsian, $this->complexScript, $this->strikeType, $this->hashChartColor($this->chartColor), $this->hashChartColor($this->underlineColor), (string) $this->baseLine, ])
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php:7811md5($this->name . $this->size . ($this->bold ? 't' : 'f') . ($this->italic ? 't' : 'f') . ($this->superscript ? 't' : 'f') . ($this->subscript ? 't' : 'f') . $this->underline . ($this->strikethrough ? 't' : 'f') . $this->color->getHashCode( ) . $this->scheme . implode('*', [$this->latin, $this->eastAsian, $this->complexScript, $this->strikeType, $this->hashChartColor($this->chartColor), $this->hashChartColor($this->underlineColor), (string) $this->baseLine, ]) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php:5201md5($this->horizontal . $this->vertical . $this->textRotation . ($this->wrapText ? 't' : 'f') . ($this->shrinkToFit ? 't' : 'f') . $this->indent . $this->readOrder . __CLASS__)
/competency/classes/privacy/provider.php:11141$carry[] = array_merge(static::transform_competency_brief($competency), ['rating' => ['userid' => transform::user($ucc->get('userid')), 'rating' => static::transform_competency_grade($competency, $ucc->get('grade'), $helper), 'proficient' => static::transform_proficiency($ucc->get('proficiency')), 'timemodified' => transform::datetime($ucc->get('timemodified')), ]])
/install.php:2911$hint_database = install_db_validate($database, $config->dbhost, $config->dbuser, $config->dbpass, $config->dbname, $config->prefix, array('dbpersist' => 0, 'dbport' => $config->dbport, 'dbsocket' => $config->dbsocket))
/install.php:2891$distro = distro_pre_create_db($database, $config->dbhost, $config->dbuser, $config->dbpass, $config->dbname, $config->prefix, array('dbpersist' => 0, 'dbport' => $config->dbport, 'dbsocket' => $config->dbsocket), $distro)
/install.php:4992$databases = array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'), 'auroramysql' => moodle_database::get_driver_instance('auroramysql', 'native'), 'mariadb' => moodle_database::get_driver_instance('mariadb', 'native'), 'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'), 'oci' => moodle_database::get_driver_instance('oci', 'native'), 'sqlsrv' => moodle_database::get_driver_instance('sqlsrv', 'native'), )
/competency/lib.php:981$fullmessagehtml = get_string('usercommentedonacompetencyhtml', 'core_competency', array('fullname' => $fullname, 'competency' => $competencyname, 'comment' => format_text($comment->content, $comment->format, array('context' => $params->context->id)), 'url' => $url->out(true), 'urlname' => $urlname, ))
/competency/lib.php:1741$fullmessagehtml = get_string('usercommentedonaplanhtml', 'core_competency', array('fullname' => $fullname, 'plan' => $planname, 'comment' => format_text($comment->content, $comment->format, array('context' => $params->context->id)), 'url' => $url->out(true), 'urlname' => $urlname, ))
/competency/classes/external.php:4451$params = self::validate_parameters(self::list_competency_frameworks_parameters( ), array('sort' => $sort, 'order' => $order, 'skip' => $skip, 'limit' => $limit, 'context' => $context, 'includes' => $includes, 'onlyvisible' => $onlyvisible, 'query' => $query, ))
/competency/classes/external.php:19211$params = self::validate_parameters(self::list_templates_parameters( ), array('sort' => $sort, 'order' => $order, 'skip' => $skip, 'limit' => $limit, 'context' => $context, 'includes' => $includes, 'onlyvisible' => $onlyvisible))
/competency/classes/competency.php:4011$params = array('like1' => '%' . $DB->sql_like_escape($searchtext) . '%', 'like2' => '%' . $DB->sql_like_escape($searchtext) . '%', 'like3' => '%' . $DB->sql_like_escape($searchtext) . '%', 'frameworkid' => $competencyframeworkid)
/competency/classes/user_competency.php:1741$list = array(self::STATUS_IDLE => self::get_status_name(self::STATUS_IDLE), self::STATUS_WAITING_FOR_REVIEW => self::get_status_name(self::STATUS_WAITING_FOR_REVIEW), self::STATUS_IN_REVIEW => self::get_status_name(self::STATUS_IN_REVIEW))
/competency/classes/user_evidence.php:481return array('userid' => array('type' => PARAM_INT), 'name' => array('type' => PARAM_TEXT), 'description' => array('type' => PARAM_CLEANHTML, 'default' => '', ), 'descriptionformat' => array('choices' => array(FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN), 'type' => PARAM_INT, 'default' => FORMAT_HTML, ), 'url' => array('type' => PARAM_URL, 'default' => '', 'message' => new lang_string('invalidurl', 'core_competency')))
/competency/classes/competency_framework.php:4301$list = array(self::TAXONOMY_BEHAVIOUR => new lang_string('taxonomy_' . self::TAXONOMY_BEHAVIOUR, 'core_competency'), self::TAXONOMY_COMPETENCY => new lang_string('taxonomy_' . self::TAXONOMY_COMPETENCY, 'core_competency'), self::TAXONOMY_CONCEPT => new lang_string('taxonomy_' . self::TAXONOMY_CONCEPT, 'core_competency'), self::TAXONOMY_DOMAIN => new lang_string('taxonomy_' . self::TAXONOMY_DOMAIN, 'core_competency'), self::TAXONOMY_INDICATOR => new lang_string('taxonomy_' . self::TAXONOMY_INDICATOR, 'core_competency'), self::TAXONOMY_LEVEL => new lang_string('taxonomy_' . self::TAXONOMY_LEVEL, 'core_competency'), self::TAXONOMY_OUTCOME => new lang_string('taxonomy_' . self::TAXONOMY_OUTCOME, 'core_competency'), self::TAXONOMY_PRACTICE => new lang_string('taxonomy_' . self::TAXONOMY_PRACTICE, 'core_competency'), self::TAXONOMY_PROFICIENCY => new lang_string('taxonomy_' . self::TAXONOMY_PROFICIENCY, 'core_competency'), self::TAXONOMY_SKILL => new lang_string('taxonomy_' . self::TAXONOMY_SKILL, 'core_competency'), self::TAXONOMY_VALUE => new lang_string('taxonomy_' . self::TAXONOMY_VALUE, 'core_competency'), )
/competency/classes/related_competency.php:1421$sql = "(SELECT $fields, " . $DB->sql_concat('rc.relatedcompetencyid', "'_'", 'rc.competencyid') . " AS rid FROM {" . self::TABLE . "} rc JOIN {" . competency::TABLE . "} c ON c.id = rc.relatedcompetencyid WHERE rc.competencyid = :cid) UNION ALL (SELECT $fields, " . $DB->sql_concat('rc.competencyid', "'_'", 'rc.relatedcompetencyid') . " AS rid FROM {" . self::TABLE . "} rc JOIN {" . competency::TABLE . "} c ON c.id = rc.competencyid WHERE rc.relatedcompetencyid = :cid2) ORDER BY c_path ASC, c_sortorder ASC"
/competency/classes/course_competency.php:1502$list = array(self::OUTCOME_NONE => self::get_ruleoutcome_name(self::OUTCOME_NONE), self::OUTCOME_EVIDENCE => self::get_ruleoutcome_name(self::OUTCOME_EVIDENCE), self::OUTCOME_RECOMMEND => self::get_ruleoutcome_name(self::OUTCOME_RECOMMEND), self::OUTCOME_COMPLETE => self::get_ruleoutcome_name(self::OUTCOME_COMPLETE))
/competency/classes/course_module_competency.php:1012$list = array(self::OUTCOME_NONE => self::get_ruleoutcome_name(self::OUTCOME_NONE), self::OUTCOME_EVIDENCE => self::get_ruleoutcome_name(self::OUTCOME_EVIDENCE), self::OUTCOME_RECOMMEND => self::get_ruleoutcome_name(self::OUTCOME_RECOMMEND), self::OUTCOME_COMPLETE => self::get_ruleoutcome_name(self::OUTCOME_COMPLETE))
/competency/classes/api.php:14301$objects = (object) array('usercompetency' => new user_competency(0, user_competency::extract_record($record, 'uc_')), 'competency' => new competency(0, competency::extract_record($record, 'c_')), 'user' => persistent::extract_record($record, 'usr_'), )
/competency/classes/plan.php:2001$comment = new comment((object) array('client_id' => 'plancommentarea' . $this->get('id'), 'context' => $this->get_context( ), 'component' => 'competency', 'itemid' => $this->get('id'), 'area' => 'plan', 'showcount' => true, ))
/competency/classes/plan.php:5921$params = array('templateid' => $template->get('id'), 'status' => self::STATUS_COMPLETE, 'name' => $template->get('shortname'), 'description' => $template->get('description'), 'descriptionformat' => $template->get('descriptionformat'), 'duedate' => $template->get('duedate'), )
/competency/classes/privacy/provider.php:10501$carry[] = array_merge(static::transform_competency_brief($competency), ['rating' => ['rating' => static::transform_competency_grade($competency, $ucc->get('grade'), $helper), 'proficient' => static::transform_proficiency($ucc->get('proficiency')), 'timecreated' => transform::datetime($ucc->get('timecreated')), 'timemodified' => transform::datetime($ucc->get('timemodified')), ]])
/competency/classes/privacy/provider.php:13931$carry = ['name' => format_string($plan->get('name'), true, $options), 'description' => format_text($plan->get('description'), $plan->get('descriptionformat'), $options), 'status' => $plan->get_statusname( ), 'duedate' => $plan->get('duedate') ? transform::datetime($plan->get('duedate')) : '-', 'reviewerid' => $plan->get('reviewerid') ? transform::user($plan->get('reviewerid')) : '-', 'timecreated' => transform::datetime($plan->get('timecreated')), 'timemodified' => transform::datetime($plan->get('timemodified')), 'competencies' => [ ], ]
/competency/classes/privacy/provider.php:13561$sql = " SELECT $pfields, $pcfields, $cfields, $ucfields, $ucpfields FROM {" . plan::TABLE . "} p LEFT JOIN {" . plan_competency::TABLE . "} pc ON p.id = pc.planid AND p.templateid IS NULL AND p.status != :complete1 LEFT JOIN {" . template_competency::TABLE . "} tc ON tc.templateid = p.templateid AND p.templateid IS NOT NULL AND p.status != :complete2 LEFT JOIN {" . user_competency_plan::TABLE . "} ucp ON ucp.planid = p.id AND p.status = :complete3 LEFT JOIN {" . competency::TABLE . "} c ON c.id = pc.competencyid OR c.id = tc.competencyid OR c.id = ucp.competencyid LEFT JOIN {" . user_competency::TABLE . "} uc ON uc.userid = p.userid AND (uc.competencyid = pc.competencyid OR uc.competencyid = tc.competencyid) WHERE p.userid = :userid ORDER BY p.id, c.id"
/competency/classes/privacy/provider.php:12641$carry[] = array_merge(static::transform_competency_brief($competency), ['timecreated' => transform::datetime($cmc->get('timecreated')), 'timemodified' => transform::datetime($cmc->get('timemodified')), 'created_or_modified_by_you' => transform::yesno(true)])
/competency/classes/privacy/provider.php:18801$frameworks[$framework->get('id')] = array_merge(static::transform_framework_brief($framework), ['timemodified' => transform::datetime($framework->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($framework->get('usermodified') == $userid), 'competencies' => [ ]])
/competency/classes/privacy/provider.php:17771$evidence[$ueid]['competencies'][] = array_merge(static::transform_competency_brief($competency), ['timemodified' => $uec->get('timemodified') ? transform::datetime($uec->get('timemodified')) : '-', 'timecreated' => $uec->get('timecreated') ? transform::datetime($uec->get('timecreated')) : '-', 'created_or_modified_by_you' => transform::yesno($uec->get('usermodified'))])
/competency/classes/privacy/provider.php:15031$plans[$planid]['competencies'][$pc->get('competencyid')] = array_merge($plans[$planid]['competencies'][$pc->get('competencyid')], ['timemodified' => $pc->get('timemodified') ? transform::datetime($pc->get('timemodified')) : '-', 'timecreated' => $pc->get('timecreated') ? transform::datetime($pc->get('timecreated')) : '-', 'created_or_modified_by_you' => transform::yesno($pc->get('usermodified') == $userid), ])
/competency/classes/privacy/provider.php:14631$plans[$plan->get('id')] = ['name' => format_string($plan->get('name'), true, $options), 'reviewer_is_you' => transform::yesno($plan->get('reviewerid') == $userid), 'timecreated' => transform::datetime($plan->get('timecreated')), 'timemodified' => transform::datetime($plan->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($plan->get('usermodified') == $userid), 'competencies' => [ ], ]
/competency/tests/competency_rule_test.php:2811$rule = array('base' => array('points' => 8), 'competencies' => array(array('id' => $c11->get('id'), 'points' => 4, 'required' => 0), array('id' => $c12->get('id'), 'points' => 4, 'required' => 0), array('id' => $c13->get('id'), 'points' => 4, 'required' => 1), ))
/competency/tests/competency_rule_test.php:2611$rule = array('base' => array('points' => 8), 'competencies' => array(array('id' => $c11->get('id'), 'points' => 4, 'required' => 0), array('id' => $c13->get('id'), 'points' => 4, 'required' => 0), ))
/competency/tests/competency_rule_test.php:3261$rule = array('base' => array('points' => 8), 'competencies' => array(array('id' => $c11->get('id'), 'points' => 4, 'required' => 1), array('id' => $c12->get('id'), 'points' => 4, 'required' => 1), ))
/competency/tests/competency_rule_test.php:3061$rule = array('base' => array('points' => 8), 'competencies' => array(array('id' => $c11->get('id'), 'points' => 4, 'required' => 0), array('id' => $c12->get('id'), 'points' => 4, 'required' => 1), ))
/competency/tests/api_test.php:2911$competencyidnumbers = array($competency1->get('idnumber'), $competency2->get('idnumber'), $competency3->get('idnumber'), $competency4->get('idnumber'), $competency41->get('idnumber'), $competency42->get('idnumber'))
/competency/tests/competency_rule_test.php:3461$rule = array('base' => array('points' => 4), 'competencies' => array(array('id' => $c12->get('id'), 'points' => 4, 'required' => 1), array('id' => $c14->get('id'), 'points' => 4, 'required' => 1), ))
/competency/tests/api_test.php:6611$plan1 = $lpg->create_plan(array('templateid' => $tpl1->get('id'), 'userid' => $u1->id, 'name' => 'Not good name', 'duedate' => $time + 3600, 'description' => 'Ahah', 'descriptionformat' => FORMAT_MARKDOWN))
/competency/tests/api_test.php:2991$config = json_encode(array('base' => array('points' => 4), 'competencies' => array(array('id' => $competency41->get('id'), 'points' => 3, 'required' => 0), array('id' => $competency42->get('id'), 'points' => 2, 'required' => 1), )))
/competency/tests/competency_rule_test.php:1461$config = json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1361$config = json_encode(array('base' => array('points' => 3), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1661$config = json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c2->get('id'), 'points' => -1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1561$config = json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c1->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1951$config = json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $cx->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1841$config = json_encode(array('base' => array('points' => 1), 'competencies' => array(array('id' => $c1->get('id'), 'points' => 1, 'required' => 0), array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:2411$rule = array('base' => array('points' => 8), 'competencies' => array(array('id' => $c11->get('id'), 'points' => 4, 'required' => 0), array('id' => $c12->get('id'), 'points' => 4, 'required' => 0), ))
/competency/tests/competency_rule_test.php:2051$config = json_encode(array('base' => array('points' => 4), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 3, 'required' => 0), array('id' => $c3->get('id'), 'points' => 2, 'required' => 1), )))
/competency/classes/external/user_evidence_exporter.php:461return array('canmanage' => array('type' => PARAM_BOOL), 'competencycount' => array('type' => PARAM_INT), 'competencies' => array('type' => competency_exporter::read_properties_definition( ), 'multiple' => true), 'filecount' => array('type' => PARAM_INT), 'files' => array('type' => stored_file_exporter::read_properties_definition( ), 'multiple' => true), 'hasurlorfiles' => array('type' => PARAM_BOOL), 'urlshort' => array('type' => PARAM_TEXT), )
/competency/classes/external/user_evidence_exporter.php:1071$values = array('canmanage' => $this->persistent->can_manage( ), 'competencycount' => count($competencies), 'competencies' => $competencies, 'filecount' => count($files), 'files' => $files, 'hasurlorfiles' => !empty($files) || !empty($url), 'urlshort' => $urlshort)
/competency/classes/external/template_exporter.php:461return array('duedateformatted' => userdate($this->persistent->get('duedate')), 'cohortscount' => template_cohort::count_records(array('templateid' => $this->persistent->get('id'))), 'planscount' => plan::count_records(array('templateid' => $this->persistent->get('id'))), 'canmanage' => $this->persistent->can_manage( ), 'canread' => $this->persistent->can_read( ), 'contextname' => $context->get_context_name( ), 'contextnamenoprefix' => $context->get_context_name(false))
/competency/classes/external/user_competency_exporter.php:1101return array('canrequestreview' => array('type' => PARAM_BOOL, ), 'canreview' => array('type' => PARAM_BOOL, ), 'gradename' => array('type' => PARAM_TEXT), 'isrequestreviewallowed' => array('type' => PARAM_BOOL, ), 'iscancelreviewrequestallowed' => array('type' => PARAM_BOOL, ), 'isstartreviewallowed' => array('type' => PARAM_BOOL, ), 'isstopreviewallowed' => array('type' => PARAM_BOOL, ), 'isstatusidle' => array('type' => PARAM_BOOL, ), 'isstatusinreview' => array('type' => PARAM_BOOL, ), 'isstatuswaitingforreview' => array('type' => PARAM_BOOL, ), 'proficiencyname' => array('type' => PARAM_RAW), 'reviewer' => array('type' => user_summary_exporter::read_properties_definition( ), 'optional' => true), 'statusname' => array('type' => PARAM_RAW), 'url' => array('type' => PARAM_URL), )
/competency/classes/external/evidence_exporter.php:1191return array('actionuser' => array('type' => user_summary_exporter::read_properties_definition( ), 'optional' => true), 'description' => array('type' => PARAM_TEXT, ), 'gradename' => array('type' => PARAM_TEXT, ), 'userdate' => array('type' => PARAM_NOTAGS), 'candelete' => array('type' => PARAM_BOOL))
/competency/tests/competency_rule_test.php:1061$config = json_encode(array('base' => array( ), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1161$config = json_encode(array('base' => array('points' => 'abc'), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/tests/competency_rule_test.php:1261$config = json_encode(array('base' => array('points' => 0), 'competencies' => array(array('id' => $c2->get('id'), 'points' => 1, 'required' => 0), array('id' => $c3->get('id'), 'points' => 1, 'required' => 0), )))
/competency/classes/privacy/provider.php:18881$frameworks[$competency->get('competencyframeworkid')]['competencies'][$competency->get('id')] = array_merge(static::transform_competency_brief($competency), ['timemodified' => transform::datetime($competency->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($competency->get('usermodified') == $userid), 'related_competencies' => [ ]])
/competency/classes/privacy/provider.php:19341$frameworks[$frameworkid]['competencies'][$competencyid]['related_competencies'][] = ['name' => $competency->get('shortname'), 'idnumber' => $competency->get('idnumber'), 'timemodified' => transform::datetime($relcomp->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($relcomp->get('usermodified') == $userid), ]
/competency/classes/privacy/provider.php:20281$templates[$template->get('id')] = array_merge(static::transform_template_brief($template), ['timemodified' => transform::datetime($template->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($template->get('usermodified') == $userid), 'competencies' => [ ], 'cohorts' => [ ]])
/competency/classes/privacy/provider.php:20561$templates[$templateid]['competencies'][] = array_merge(static::transform_competency_brief($competency), ['timemodified' => transform::datetime($tplcomp->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($tplcomp->get('usermodified') == $userid)])
/competency/classes/privacy/provider.php:21741return ['action' => $actiontxt, 'actionuserid' => $actionuserid ? transform::user($actionuserid) : '-', 'acting_user_is_you' => transform::yesno($userid == $actionuserid), 'description' => (string) $evidence->get_description( ), 'url' => $evidence->get('url'), 'grade' => static::transform_competency_grade($competency, $evidence->get('grade'), $helper), 'note' => $evidence->get('note'), 'timecreated' => transform::datetime($evidence->get('timecreated')), 'timemodified' => transform::datetime($evidence->get('timemodified')), 'created_or_modified_by_you' => transform::yesno($userid == $evidence->get('usermodified'))]
/competency/classes/privacy/provider.php:22411$data = ['proficient' => static::transform_proficiency($uc->get('proficiency')), 'rating' => static::transform_competency_grade($competency, $uc->get('grade'), $helper), 'timemodified' => $uc->get('timemodified') ? transform::datetime($uc->get('timemodified')) : '-', 'timecreated' => $uc->get('timecreated') ? transform::datetime($uc->get('timecreated')) : '-', 'created_or_modified_by_you' => transform::yesno($uc->get('usermodified') == $userid), ]
/competency/classes/privacy/provider.php:22681return ['name' => format_string($ue->get('name'), true, $options), 'description' => format_text($ue->get('description'), $ue->get('descriptionformat'), $options), 'url' => $ue->get('url'), 'timecreated' => $ue->get('timecreated') ? transform::datetime($ue->get('timecreated')) : '-', 'timemodified' => $ue->get('timemodified') ? transform::datetime($ue->get('timemodified')) : '-', 'created_or_modified_by_you' => transform::yesno($ue->get('usermodified') == $userid), 'competencies' => [ ]]
/competency/classes/external/plan_exporter.php:1111return array('statusname' => array('type' => PARAM_RAW, ), 'isbasedontemplate' => array('type' => PARAM_BOOL, ), 'canmanage' => array('type' => PARAM_BOOL, ), 'canrequestreview' => array('type' => PARAM_BOOL, ), 'canreview' => array('type' => PARAM_BOOL, ), 'canbeedited' => array('type' => PARAM_BOOL, ), 'isactive' => array('type' => PARAM_BOOL), 'isdraft' => array('type' => PARAM_BOOL), 'iscompleted' => array('type' => PARAM_BOOL), 'isinreview' => array('type' => PARAM_BOOL), 'iswaitingforreview' => array('type' => PARAM_BOOL), 'isreopenallowed' => array('type' => PARAM_BOOL), 'iscompleteallowed' => array('type' => PARAM_BOOL), 'isunlinkallowed' => array('type' => PARAM_BOOL), 'isrequestreviewallowed' => array('type' => PARAM_BOOL), 'iscancelreviewrequestallowed' => array('type' => PARAM_BOOL), 'isstartreviewallowed' => array('type' => PARAM_BOOL), 'isstopreviewallowed' => array('type' => PARAM_BOOL), 'isapproveallowed' => array('type' => PARAM_BOOL), 'isunapproveallowed' => array('type' => PARAM_BOOL), 'duedateformatted' => array('type' => PARAM_TEXT), 'commentarea' => array('type' => comment_area_exporter::read_properties_definition( ), ), 'reviewer' => array('type' => user_summary_exporter::read_properties_definition( ), 'optional' => true), 'template' => array('type' => template_exporter::read_properties_definition( ), 'optional' => true, ), 'url' => array('type' => PARAM_URL))
/repository/recent/lib.php:1591$node = array('title' => $fileinfo->get_visible_name( ), 'size' => $fileinfo->get_filesize( ), 'datemodified' => $fileinfo->get_timemodified( ), 'datecreated' => $fileinfo->get_timecreated( ), 'author' => $fileinfo->get_author( ), 'license' => $fileinfo->get_license( ), 'source' => $params, 'icon' => $OUTPUT->image_url(file_file_icon($fileinfo))->out(false), 'thumbnail' => $OUTPUT->image_url(file_file_icon($fileinfo))->out(false), )
/course/renderer.php:2471$data = ['action' => \core_search\manager::get_course_search_url( ), 'btnclass' => 'btn-primary', 'inputname' => 'q', 'searchstring' => get_string('searchcourses'), 'hiddenfields' => (object) ['name' => 'areaids', 'value' => 'core_course-course'], 'query' => $value]
/course/renderer.php:3801$name = html_writer::empty_tag('img', array('src' => $cm->get_icon_url( ), 'class' => 'iconlarge activityicon', 'alt' => ' ', 'role' => 'presentation')) . html_writer::tag('span', ' ' . $cm->get_formatted_name( ) . $altname, array('class' => 'instancename'))
/course/renderer.php:6031$url = moodle_url::make_file_url("$CFG->wwwroot/pluginfile.php", '/' . $file->get_contextid( ) . '/' . $file->get_component( ) . '/' . $file->get_filearea( ) . $file->get_filepath( ) . $file->get_filename( ), !$isimage)
/repository/upload/lib.php:2451$logevent = \core\event\draft_file_added::create(['objectid' => $storedfile->get_id( ), 'context' => $context, 'other' => ['itemid' => $record->itemid, 'filename' => $record->filename, 'filesize' => $filesize, 'filepath' => $record->filepath, 'contenthash' => $storedfile->get_contenthash( ), ], ])
/repository/wikimedia/wikimedia.php:2191$attrs['source'] = $this->get_thumb_url($page['imageinfo'][0]['url'], $page['imageinfo'][0]['width'], $page['imageinfo'][0]['height'], $page['imageinfo'][0]['width'], true)
/repository/wikimedia/wikimedia.php:2251$attrs += array('realthumbnail' => $this->get_thumb_url($page['imageinfo'][0]['url'], $page['imageinfo'][0]['width'], $page['imageinfo'][0]['height'], WIKIMEDIA_THUMB_SIZE), 'realicon' => $this->get_thumb_url($page['imageinfo'][0]['url'], $page['imageinfo'][0]['width'], $page['imageinfo'][0]['height'], 24), 'author' => $page['imageinfo'][0]['user'], 'datemodified' => strtotime($page['imageinfo'][0]['timestamp']), )
/repository/wikimedia/wikimedia.php:2341$files_array[] = array('title' => substr($title, 5), 'thumbnail' => $OUTPUT->image_url(file_extension_icon(substr($title, 5)))->out(false), 'thumbnail_width' => WIKIMEDIA_THUMB_SIZE, 'thumbnail_height' => WIKIMEDIA_THUMB_SIZE, 'license' => 'cc-sa', 'url' => $page['imageinfo'][0]['descriptionurl']) + $attrs
/repository/googledocs/tests/local/browser/googledocs_drive_content_test.php:1081return ['Folders and files exist in the drive; shared drives exist; ordering applied.' => [$mydriveid, "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", true, [ ], [$this->create_google_drive_shared_drive_object('d85b21c0f86cb5', 'Shared Drive 1'), ], [$this->create_google_drive_folder_object('1c4ad262c65333', 'Folder 2'), $this->create_google_drive_file_object('d85b21c0f86cb0', 'File 3.pdf', 'application/pdf', 'pdf', '1000'), $this->create_google_drive_folder_object('0c4ad262c65333', 'Folder 1'), $this->create_google_drive_file_object('bed5a0f08d412a', 'File 1.pdf', 'application/pdf', 'pdf'), ], [$this->create_folder_content_node_array('0c4ad262c65333', 'Folder 1', "{$rootid}|Google+Drive/{$mydriveid}|My+Drive"), $this->create_folder_content_node_array('1c4ad262c65333', 'Folder 2', "{$rootid}|Google+Drive/{$mydriveid}|My+Drive"), $this->create_file_content_node_array('bed5a0f08d412a', 'File 1.pdf', 'File 1.pdf', null, '', 'https://googleusercontent.com/type/application/pdf', '', 'download'), $this->create_file_content_node_array('d85b21c0f86cb0', 'File 3.pdf', 'File 3.pdf', '1000', '', 'https://googleusercontent.com/type/application/pdf', '', 'download'), ], ], 'Only folders exist in the drive; shared drives do not exist; ordering not applied.' => [$mydriveid, "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", false, [ ], [ ], [$this->create_google_drive_folder_object('0c4ad262c65333', 'Folder 3'), $this->create_google_drive_folder_object('d85b21c0f86cb0', 'Folder 1'), $this->create_google_drive_folder_object('bed5a0f08d412a', 'Folder 2'), ], [$this->create_folder_content_node_array('0c4ad262c65333', 'Folder 3', "{$rootid}|Google+Drive/{$mydriveid}|My+Drive"), $this->create_folder_content_node_array('d85b21c0f86cb0', 'Folder 1', "{$rootid}|Google+Drive/{$mydriveid}|My+Drive"), $this->create_folder_content_node_array('bed5a0f08d412a', 'Folder 2', "{$rootid}|Google+Drive/{$mydriveid}|My+Drive"), ], ], 'Only files exist in the drive; shared drives do not exist; ordering not applied; filter .txt.' => [$mydriveid, "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", false, ['txt'], [ ], [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File 3.pdf', 'application/pdf', 'pdf', '1000'), $this->create_google_drive_file_object('a85b21c0f86cb0', 'File 1.txt', 'text/plain', 'txt', '3000'), $this->create_google_drive_file_object('f85b21c0f86cb0', 'File 2.doc', 'application/msword', 'doc', '2000'), ], [$this->create_file_content_node_array('d85b21c0f86cb0', 'File 3.pdf', 'File 3.pdf', '1000', '', 'https://googleusercontent.com/type/application/pdf', '', 'download'), $this->create_file_content_node_array('f85b21c0f86cb0', 'File 2.doc', 'File 2.doc', '2000', '', 'https://googleusercontent.com/type/application/msword', '', 'download'), ], ], 'Contents do not exist in the drive; shared drives do not exist.' => [$mydriveid, "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", false, [ ], [ ], [ ], [ ], ], ]
/repository/googledocs/tests/local/browser/googledocs_drive_content_test.php:2251return ['Return navigation nodes array from path where all nodes have a name.' => ["{$rootid}|Google+Drive/{$mydriveid}|My+Drive/bed5a0f08d|Test+Folder", [['name' => 'Google Drive', 'path' => "{$rootid}|Google+Drive", ], ['name' => 'My Drive', 'path' => "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", ], ['name' => 'Test Folder', 'path' => "{$rootid}|Google+Drive/{$mydriveid}|My+Drive/bed5a0f08d|Test+Folder", ], ], ], 'Return navigation nodes array from path where some nodes do not have a name.' => ["{$rootid}|Google+Drive/{$mydriveid}|My+Drive/bed5a0f08d/d85b21c0f8|Test+Folder", [['name' => 'Google Drive', 'path' => "{$rootid}|Google+Drive", ], ['name' => 'My Drive', 'path' => "{$rootid}|Google+Drive/{$mydriveid}|My+Drive", ], ['name' => 'bed5a0f08d', 'path' => "{$rootid}|Google+Drive/{$mydriveid}|My+Drive/bed5a0f08d|bed5a0f08d", ], ['name' => 'Test Folder', 'path' => "{$rootid}|Google+Drive/{$mydriveid}|My+Drive/bed5a0f08d|bed5a0f08d/" . "d85b21c0f8|Test+Folder", ], ], ], ]
/repository/googledocs/tests/local/node/file_node_test.php:611return ['Google Drive file with an extension.' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File.pdf', 'application/pdf', 'pdf', '1000', '01/01/21 0:30'), [ ], $this->create_file_content_node_array('d85b21c0f86cb0', 'File.pdf', 'File.pdf', '1000', '1609432200', 'https://googleusercontent.com/type/application/pdf', '', 'download'), ], 'Google Drive file that has webContentLink and webViewLink.' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File.pdf', 'application/pdf', 'pdf', null, '', 'https://drive.google.com/uc?id=d85b21c0f86cb0&export=download', 'https://drive.google.com/file/d/d85b21c0f86cb0/view?usp=drivesdk'), ['documentformat' => 'rtf', ], $this->create_file_content_node_array('d85b21c0f86cb0', 'File.pdf', 'File.pdf', null, '', 'https://googleusercontent.com/type/application/pdf', 'https://drive.google.com/file/d/d85b21c0f86cb0/view?usp=drivesdk', 'download'), ], 'Google Drive file that has webContentLink and no webViewLink.' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File.pdf', 'application/pdf', 'pdf', null, '', 'https://drive.google.com/uc?id=d85b21c0f86cb0&export=download', ''), [ ], $this->create_file_content_node_array('d85b21c0f86cb0', 'File.pdf', 'File.pdf', null, '', 'https://googleusercontent.com/type/application/pdf', 'https://drive.google.com/uc?id=d85b21c0f86cb0&export=download', 'download'), ], 'Google Drive file without an extension (Google document file; documentformat config set to rtf).' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File', 'application/vnd.google-apps.document', null), ['documentformat' => 'rtf', ], $this->create_file_content_node_array('d85b21c0f86cb0', 'File', 'File.gdoc', '', '', 'https://googleusercontent.com/type/application/vnd.google-apps.document', '', 'application/rtf', 'document'), ], 'Google Drive file without an extension (Google presentation file; presentationformat config not set).' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File', 'application/vnd.google-apps.presentation', null), ['documentformat' => 'rtf', ], null, ], 'Google Drive file without an extension (File type not supported).' => [$this->create_google_drive_file_object('d85b21c0f86cb0', 'File', 'application/vnd.google-apps.unknownmimetype', null), [ ], null, ], ]
/repository/googledocs/tests/local/node/folder_node_test.php:571return ['Google Drive folder with modified date.' => [$this->create_google_drive_folder_object('d85b21c0f86cb0', 'Folder', '01/01/21 0:30'), "{$rootid}|Google+Drive", $this->create_folder_content_node_array('d85b21c0f86cb0', 'Folder', "{$rootid}|Google+Drive", '1609432200'), ], 'Google Drive folder without modified date.' => [$this->create_google_drive_folder_object('d85b21c0f86cb0', 'Folder', ''), '', $this->create_folder_content_node_array('d85b21c0f86cb0', 'Folder', '', ''), ], ]
/repository/googledocs/tests/repository_googledocs_testcase.php:701return ['id' => $id, 'title' => $title, 'source' => json_encode(['id' => $id, 'name' => $name, 'link' => $link, 'exportformat' => $exportformat, 'googledoctype' => $googledoctype]), 'date' => $modified, 'size' => $size, 'thumbnail' => $thumbnail, 'thumbnail_height' => 64, 'thumbnail_width' => 64, ]
/repository/googledocs/tests/repository_googledocs_testcase.php:1391$googledrivefile = ['id' => $id, 'name' => $name, 'mimeType' => $mimetype, 'size' => $size ?? '', 'webContentLink' => $webcontentlink ?? '', 'webViewLink' => $webviewlink ?? '', 'iconLink' => "https://googleusercontent.com/type/{$mimetype}", 'modifiedTime' => $modified ?? '', ]
/repository/googledocs/tests/local/browser/googledocs_shared_drives_content_test.php:771return ['Shared drives exist; ordering applied.' => [[$this->create_google_drive_shared_drive_object('d85b21c0f86cb5', 'Shared Drive 1'), $this->create_google_drive_shared_drive_object('d85b21c0f86cb0', 'Shared Drive 3'), $this->create_google_drive_shared_drive_object('bed5a0f08d412a', 'Shared Drive 2'), ], true, [$this->create_folder_content_node_array('d85b21c0f86cb5', 'Shared Drive 1', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), $this->create_folder_content_node_array('bed5a0f08d412a', 'Shared Drive 2', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), $this->create_folder_content_node_array('d85b21c0f86cb0', 'Shared Drive 3', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), ], ], 'Shared drives exist; ordering not applied.' => [[$this->create_google_drive_shared_drive_object('0c4ad262c65333', 'Shared Drive 3'), $this->create_google_drive_shared_drive_object('d85b21c0f86cb0', 'Shared Drive 1'), $this->create_google_drive_shared_drive_object('bed5a0f08d412a', 'Shared Drive 2'), ], false, [$this->create_folder_content_node_array('0c4ad262c65333', 'Shared Drive 3', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), $this->create_folder_content_node_array('d85b21c0f86cb0', 'Shared Drive 1', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), $this->create_folder_content_node_array('bed5a0f08d412a', 'Shared Drive 2', "{$rootid}|Google+Drive/{$shareddrivesid}|" . urlencode($shareddrivesstring)), ], ], 'Shared drives do not exist.' => [[ ], false, [ ], ], ]
/repository/googledocs/tests/local/browser/googledocs_root_content_test.php:751return ['Shared drives exist.' => [[$this->create_google_drive_shared_drive_object('d85b21c0f86cb5', 'Shared Drive 1'), $this->create_google_drive_shared_drive_object('d85b21c0f86cb0', 'Shared Drive 3'), ], [$this->create_folder_content_node_array($mydriveid, get_string('mydrive', 'repository_googledocs'), "{$rootid}|Google+Drive"), $this->create_folder_content_node_array($shareddrivesid, get_string('shareddrives', 'repository_googledocs'), "{$rootid}|Google+Drive"), ], ], 'Shared drives do not exist.' => [[ ], [$this->create_folder_content_node_array($mydriveid, get_string('mydrive', 'repository_googledocs'), "{$rootid}|Google+Drive"), ], ], ]
/course/lib.php:47591$params = ['userid' => $userid, 'contextlevel' => CONTEXT_COURSE, 'visible' => 1, 'status' => ENROL_USER_ACTIVE, 'statusenrol' => ENROL_INSTANCE_ENABLED, 'guestenrol' => 'guest', 'now1' => $now, 'now2' => $now, 'userid2' => $userid, 'statusenrolg' => ENROL_INSTANCE_ENABLED] + $favparams
/course/lib.php:23921$event = \core\event\course_updated::create(array('objectid' => $course->id, 'context' => context_course::instance($course->id), 'other' => array('shortname' => $course->shortname, 'fullname' => $course->fullname, 'updatedfields' => $updatedfields)))
/course/externallib.php:4371return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Section ID'), 'name' => new external_value(PARAM_RAW, 'Section name'), 'visible' => new external_value(PARAM_INT, 'is the section visible', VALUE_OPTIONAL), 'summary' => new external_value(PARAM_RAW, 'Section description'), 'summaryformat' => new external_format_value('summary'), 'section' => new external_value(PARAM_INT, 'Section number inside the course', VALUE_OPTIONAL), 'hiddenbynumsections' => new external_value(PARAM_INT, 'Whether is a section hidden in the course format', VALUE_OPTIONAL), 'uservisible' => new external_value(PARAM_BOOL, 'Is the section visible for the user?', VALUE_OPTIONAL), 'availabilityinfo' => new external_value(PARAM_RAW, 'Availability information.', VALUE_OPTIONAL), 'modules' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'activity id'), 'url' => new external_value(PARAM_URL, 'activity url', VALUE_OPTIONAL), 'name' => new external_value(PARAM_RAW, 'activity module name'), 'instance' => new external_value(PARAM_INT, 'instance id', VALUE_OPTIONAL), 'contextid' => new external_value(PARAM_INT, 'Activity context id.', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'activity description', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, 'is the module visible', VALUE_OPTIONAL), 'uservisible' => new external_value(PARAM_BOOL, 'Is the module visible for the user?', VALUE_OPTIONAL), 'availabilityinfo' => new external_value(PARAM_RAW, 'Availability information.', VALUE_OPTIONAL), 'visibleoncoursepage' => new external_value(PARAM_INT, 'is the module visible on course page', VALUE_OPTIONAL), 'modicon' => new external_value(PARAM_URL, 'activity icon url'), 'modname' => new external_value(PARAM_PLUGIN, 'activity module type'), 'purpose' => new external_value(PARAM_ALPHA, 'the module purpose'), 'branded' => new external_value(PARAM_BOOL, 'Whether the module is branded or not', VALUE_OPTIONAL), 'modplural' => new external_value(PARAM_TEXT, 'activity module plural name'), 'availability' => new external_value(PARAM_RAW, 'module availability settings', VALUE_OPTIONAL), 'indent' => new external_value(PARAM_INT, 'number of identation in the site'), 'onclick' => new external_value(PARAM_RAW, 'Onclick action.', VALUE_OPTIONAL), 'afterlink' => new external_value(PARAM_RAW, 'After link info to be displayed.', VALUE_OPTIONAL), 'activitybadge' => self::get_activitybadge_structure( ), 'customdata' => new external_value(PARAM_RAW, 'Custom data (JSON encoded).', VALUE_OPTIONAL), 'noviewlink' => new external_value(PARAM_BOOL, 'Whether the module has no view page', VALUE_OPTIONAL), 'completion' => new external_value(PARAM_INT, 'Type of completion tracking: 0 means none, 1 manual, 2 automatic.', VALUE_OPTIONAL), 'completiondata' => $completiondefinition, 'downloadcontent' => new external_value(PARAM_INT, 'The download content value', VALUE_OPTIONAL), 'dates' => new external_multiple_structure(new external_single_structure(array('label' => new external_value(PARAM_TEXT, 'date label'), 'timestamp' => new external_value(PARAM_INT, 'date timestamp'), 'relativeto' => new external_value(PARAM_INT, 'relative date timestamp', VALUE_OPTIONAL), 'dataid' => new external_value(PARAM_NOTAGS, 'cm data id', VALUE_OPTIONAL), )), 'Course dates', VALUE_DEFAULT, [ ]), 'groupmode' => new external_value(PARAM_INT, 'Group mode value', VALUE_OPTIONAL), 'contents' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_TEXT, 'a file or a folder or external link'), 'filename' => new external_value(PARAM_FILE, 'filename'), 'filepath' => new external_value(PARAM_PATH, 'filepath'), 'filesize' => new external_value(PARAM_INT, 'filesize'), 'fileurl' => new external_value(PARAM_URL, 'downloadable file url', VALUE_OPTIONAL), 'content' => new external_value(PARAM_RAW, 'Raw content, will be used when type is content', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'sortorder' => new external_value(PARAM_INT, 'Content sort order'), 'mimetype' => new external_value(PARAM_RAW, 'File mime type.', VALUE_OPTIONAL), 'isexternalfile' => new external_value(PARAM_BOOL, 'Whether is an external file.', VALUE_OPTIONAL), 'repositorytype' => new external_value(PARAM_PLUGIN, 'The repository type for external files.', VALUE_OPTIONAL), 'userid' => new external_value(PARAM_INT, 'User who added this content to moodle'), 'author' => new external_value(PARAM_TEXT, 'Content owner'), 'license' => new external_value(PARAM_TEXT, 'Content license'), 'tags' => new external_multiple_structure(\core_tag\external\tag_item_exporter::get_read_structure( ), 'Tags', VALUE_OPTIONAL), )), 'Course contents', VALUE_DEFAULT, array( )), 'contentsinfo' => new external_single_structure(array('filescount' => new external_value(PARAM_INT, 'Total number of files.'), 'filessize' => new external_value(PARAM_INT, 'Total files size.'), 'lastmodified' => new external_value(PARAM_INT, 'Last time files were modified.'), 'mimetypes' => new external_multiple_structure(new external_value(PARAM_RAW, 'File mime type.'), 'Files mime types.'), 'repositorytype' => new external_value(PARAM_PLUGIN, 'The repository type for the main file.', VALUE_OPTIONAL), ), 'Contents summary information.', VALUE_OPTIONAL), )), 'list of module'))))
/course/externallib.php:611return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'course id'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUM, 'The expected keys (value format) are: excludemodules (bool) Do not return modules, return only the sections structure excludecontents (bool) Do not return module contents (i.e: files inside a resource) includestealthmodules (bool) Return stealth modules for students in a special section (with id -1) sectionid (int) Return only this section sectionnumber (int) Return only this section with number (order) cmid (int) Return only this module information (among the whole sections structure) modname (string) Return only modules with this name "label, forum, etc..." modid (int) Return only the module with this id (to be used with modname'), 'value' => new external_value(PARAM_RAW, 'the value of the option, this param is personaly validated in the external function.'))), 'Options, used since Moodle 2.9', VALUE_DEFAULT, array( ))))
/course/lib.php:15761$actions['assign'] = new action_menu_link_secondary(new moodle_url('/admin/roles/assign.php', array('contextid' => $modcontext->id)), new pix_icon('t/assignroles', '', 'moodle', array('class' => 'iconsmall')), $str->assign, array('class' => 'editing_assign', 'data-action' => 'assignroles', 'data-sectionreturn' => $sr))
/course/lib.php:15611$actions['duplicate'] = new action_menu_link_secondary(new moodle_url($baseurl, ['duplicate' => $mod->id]), new pix_icon('t/copy', '', 'moodle', array('class' => 'iconsmall')), $str->duplicate, ['class' => 'editing_duplicate', 'data-action' => ($courseformat->supports_components( )) ? 'cmDuplicate' : 'duplicate', 'data-sectionreturn' => $sr, 'data-id' => $mod->id, ])
/course/lib.php:17641$event = \core\event\course_updated::create(array('objectid' => $course->id, 'context' => context_course::instance($course->id), 'other' => array('shortname' => $dbcourse->shortname, 'fullname' => $dbcourse->fullname, 'updatedfields' => array('category' => $category->id))))
/course/lib.php:15991$actions['delete'] = new action_menu_link_secondary(new moodle_url($baseurl, ['delete' => $mod->id]), new pix_icon('t/delete', '', 'moodle', ['class' => 'iconsmall']), $str->delete, ['class' => 'editing_delete text-danger', 'data-action' => ($usecomponents) ? 'cmDelete' : 'delete', 'data-sectionreturn' => $sr, 'data-id' => $mod->id, ])
/course/lib.php:14731$actions['move'] = new action_menu_link_secondary(new moodle_url($baseurl, ['sesskey' => sesskey( ), 'copy' => $mod->id, ]), new pix_icon('i/dragdrop', '', 'moodle', ['class' => 'iconsmall']), $str->move, ['class' => 'editing_movecm', 'data-action' => 'moveCm', 'data-id' => $mod->id, ])
/course/lib.php:14631$actions['update'] = new action_menu_link_secondary(new moodle_url($baseurl, array('update' => $mod->id)), new pix_icon('t/edit', '', 'moodle', array('class' => 'iconsmall')), $str->editsettings, array('class' => 'editing_update', 'data-action' => 'update'))
/course/lib.php:15261$actions['moveleft'] = new action_menu_link_secondary(new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '-1']), new pix_icon($leftarrow, '', 'moodle', ['class' => 'iconsmall']), $str->moveleft, ['class' => 'editing_moveleft ' . $enabledclass, 'data-action' => ($usecomponents) ? 'cmMoveLeft' : 'moveleft', 'data-keepopen' => true, 'data-sectionreturn' => $sr, 'data-id' => $mod->id, ])
/course/lib.php:15081$actions['moveright'] = new action_menu_link_secondary(new moodle_url($baseurl, ['id' => $mod->id, 'indent' => '1']), new pix_icon($rightarrow, '', 'moodle', ['class' => 'iconsmall']), $str->moveright, ['class' => 'editing_moveright ' . $enabledclass, 'data-action' => ($usecomponents) ? 'cmMoveRight' : 'moveright', 'data-keepopen' => true, 'data-sectionreturn' => $sr, 'data-id' => $mod->id, ])
/course/renderer.php:8322$pagingbar = html_writer::tag('div', html_writer::link($paginationurl->out(false, array('perpage' => $CFG->coursesperpage)), get_string('showperpage', '', $CFG->coursesperpage)), array('class' => 'paging paging-showperpage'))
/course/renderer.php:7492$pagingbar = html_writer::tag('div', html_writer::link($paginationurl->out(false, array('perpage' => $CFG->coursesperpage)), get_string('showperpage', '', $CFG->coursesperpage)), array('class' => 'paging paging-showperpage'))
/course/renderer.php:12711$details = get_string('category') . ': ' . html_writer::link(new moodle_url('/course/index.php', array('categoryid' => $cat->id)), $cat->get_formatted_name( ), array('class' => $cat->visible ? '' : 'dimmed'))
/course/renderer.php:9571$content = html_writer::start_tag('div', array('class' => join(' ', $classes), 'data-categoryid' => $coursecat->id, 'data-depth' => $depth, 'data-showcourses' => $chelper->get_show_courses( ), 'data-type' => self::COURSECAT_TYPE_CATEGORY, ))
/course/externallib.php:25551$files[] = array('filename' => $file->get_filename( ), 'fileurl' => $fileurl, 'filesize' => $file->get_filesize( ), 'filepath' => $file->get_filepath( ), 'mimetype' => $file->get_mimetype( ), 'timemodified' => $file->get_timemodified( ), )
/course/externallib.php:25691$coursecontacts[] = array('id' => $contact['user']->id, 'fullname' => $contact['username'], 'roles' => array_map(function ($role) { /**/ } , $contact['roles']), 'role' => array('id' => $contact['role']->id, 'name' => $contact['role']->displayname), 'rolename' => $contact['rolename'])
/course/externallib.php:25121return new external_function_parameters(array('criterianame' => new external_value(PARAM_ALPHA, 'criteria name (search, modulelist (only admins), blocklist (only admins), tagid)'), 'criteriavalue' => new external_value(PARAM_RAW, 'criteria value'), 'page' => new external_value(PARAM_INT, 'page number (0 based)', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'items per page', VALUE_DEFAULT, 0), 'requiredcapabilities' => new external_multiple_structure(new external_value(PARAM_CAPABILITY, 'Capability string used to filter courses by permission'), 'Optional list of required capabilities (used to filter the list)', VALUE_DEFAULT, array( )), 'limittoenrolled' => new external_value(PARAM_BOOL, 'limit to enrolled courses', VALUE_DEFAULT, 0), 'onlywithcompletion' => new external_value(PARAM_BOOL, 'limit to courses where completion is enabled', VALUE_DEFAULT, 0), ))
/course/externallib.php:25522$fileurl = moodle_url::make_webservice_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), null, $file->get_filepath( ), $file->get_filename( ))->out(false)
/course/externallib.php:22001return new external_function_parameters(array('categories' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'course id'), 'name' => new external_value(PARAM_TEXT, 'category name', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'category id number', VALUE_OPTIONAL), 'parent' => new external_value(PARAM_INT, 'parent category id', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'category description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'theme' => new external_value(PARAM_THEME, 'the category theme. This option must be enabled on moodle', VALUE_OPTIONAL), )))))
/course/externallib.php:22811return new external_function_parameters(array('categories' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'category id to delete'), 'newparent' => new external_value(PARAM_INT, 'the parent category to move the contents to, if specified', VALUE_OPTIONAL), 'recursive' => new external_value(PARAM_BOOL, '1: recursively delete all contents inside this category, 0 (default): move contents to newparent or current parent category (except if parent is root)', VALUE_DEFAULT, 0))))))
/course/externallib.php:20771return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'category id'), 'name' => new external_value(PARAM_RAW, 'category name'), 'idnumber' => new external_value(PARAM_RAW, 'category id number', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'category description'), 'descriptionformat' => new external_format_value('description'), 'parent' => new external_value(PARAM_INT, 'parent category id'), 'sortorder' => new external_value(PARAM_INT, 'category sorting order'), 'coursecount' => new external_value(PARAM_INT, 'number of courses in this category'), 'visible' => new external_value(PARAM_INT, '1: available, 0:not available', VALUE_OPTIONAL), 'visibleold' => new external_value(PARAM_INT, '1: available, 0:not available', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'timestamp', VALUE_OPTIONAL), 'depth' => new external_value(PARAM_INT, 'category depth'), 'path' => new external_value(PARAM_TEXT, 'category path'), 'theme' => new external_value(PARAM_THEME, 'category theme', VALUE_OPTIONAL), ), 'List of categories'))
/course/externallib.php:21061return new external_function_parameters(array('categories' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TEXT, 'new category name'), 'parent' => new external_value(PARAM_INT, 'the parent category id inside which the new category will be created - set to 0 for a root category', VALUE_DEFAULT, 0), 'idnumber' => new external_value(PARAM_RAW, 'the new category idnumber', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'the new category description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'theme' => new external_value(PARAM_THEME, 'the new category theme. This option must be enabled on moodle', VALUE_OPTIONAL), )))))
/course/externallib.php:16151return new external_function_parameters(array('importfrom' => new external_value(PARAM_INT, 'the id of the course we are importing from'), 'importto' => new external_value(PARAM_INT, 'the id of the course we are importing to'), 'deletecontent' => new external_value(PARAM_INT, 'whether to delete the course content where we are importing to (default to 0 = No)', VALUE_DEFAULT, 0), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHA, 'The backup option name: "activities" (int) Include course activites (default to 1 that is equal to yes), "blocks" (int) Include course blocks (default to 1 that is equal to yes), "filters" (int) Include course filters (default to 1 that is equal to yes)'), 'value' => new external_value(PARAM_RAW, 'the value for the option 1 (yes) or 0 (no)'))), 'Course import options', VALUE_DEFAULT, array( )), ))
/course/externallib.php:17981return new external_function_parameters(array('criteria' => new external_multiple_structure(new external_single_structure(array('key' => new external_value(PARAM_ALPHA, 'The category column to search, expected keys (value format) are:' . '"id" (int) the category id,' . '"ids" (string) category ids separated by commas,' . '"name" (string) the category name,' . '"parent" (int) the parent category id,' . '"idnumber" (string) category idnumber' . ' - user must have \'moodle/category:manage\' to search on idnumber,' . '"visible" (int) whether the returned categories must be visible or hidden. If the key is not passed, then the function return all categories that the user can see.' . ' - user must have \'moodle/category:manage\' or \'moodle/category:viewhiddencategories\' to search on visible,' . '"theme" (string) only return the categories having this theme' . ' - user must have \'moodle/category:manage\' to search on theme'), 'value' => new external_value(PARAM_RAW, 'the value to match'))), 'criteria', VALUE_DEFAULT, array( )), 'addsubcategories' => new external_value(PARAM_BOOL, 'return the sub categories infos (1 - default) otherwise only the category info (0)', VALUE_DEFAULT, 1)))
/course/externallib.php:10651return new external_function_parameters(array('courses' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the course'), 'fullname' => new external_value(PARAM_TEXT, 'full name', VALUE_OPTIONAL), 'shortname' => new external_value(PARAM_TEXT, 'course short name', VALUE_OPTIONAL), 'categoryid' => new external_value(PARAM_INT, 'category id', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'summary' => new external_value(PARAM_RAW, 'summary', VALUE_OPTIONAL), 'summaryformat' => new external_format_value('summary', VALUE_OPTIONAL), 'format' => new external_value(PARAM_PLUGIN, 'course format: weeks, topics, social, site,..', VALUE_OPTIONAL), 'showgrades' => new external_value(PARAM_INT, '1 if grades are shown, otherwise 0', VALUE_OPTIONAL), 'newsitems' => new external_value(PARAM_INT, 'number of recent items appearing on the course page', VALUE_OPTIONAL), 'startdate' => new external_value(PARAM_INT, 'timestamp when the course start', VALUE_OPTIONAL), 'enddate' => new external_value(PARAM_INT, 'timestamp when the course end', VALUE_OPTIONAL), 'numsections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) number of weeks/topics', VALUE_OPTIONAL), 'maxbytes' => new external_value(PARAM_INT, 'largest size of file that can be uploaded into the course', VALUE_OPTIONAL), 'showreports' => new external_value(PARAM_INT, 'are activity report shown (yes = 1, no =0)', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, '1: available to student, 0:not available', VALUE_OPTIONAL), 'hiddensections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) How the hidden sections in the course are displayed to students', VALUE_OPTIONAL), 'groupmode' => new external_value(PARAM_INT, 'no group, separate, visible', VALUE_OPTIONAL), 'groupmodeforce' => new external_value(PARAM_INT, '1: yes, 0: no', VALUE_OPTIONAL), 'defaultgroupingid' => new external_value(PARAM_INT, 'default grouping id', VALUE_OPTIONAL), 'enablecompletion' => new external_value(PARAM_INT, 'Enabled, control via completion and activity settings. Disabled, not shown in activity settings.', VALUE_OPTIONAL), 'completionnotify' => new external_value(PARAM_INT, '1: yes 0: no', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'forced course language', VALUE_OPTIONAL), 'forcetheme' => new external_value(PARAM_PLUGIN, 'name of the force theme', VALUE_OPTIONAL), 'courseformatoptions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'course format option name'), 'value' => new external_value(PARAM_RAW, 'course format option value'))), 'additional options for particular course format', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(['shortname' => new external_value(PARAM_ALPHANUMEXT, 'The shortname of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field')]), 'Custom fields', VALUE_OPTIONAL), )), 'courses to update')))
/course/externallib.php:13791return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'course to duplicate id'), 'fullname' => new external_value(PARAM_TEXT, 'duplicated course full name'), 'shortname' => new external_value(PARAM_TEXT, 'duplicated course short name'), 'categoryid' => new external_value(PARAM_INT, 'duplicated course category parent'), 'visible' => new external_value(PARAM_INT, 'duplicated course visible, default to yes', VALUE_DEFAULT, 1), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHAEXT, 'The backup option name: "activities" (int) Include course activites (default to 1 that is equal to yes), "blocks" (int) Include course blocks (default to 1 that is equal to yes), "filters" (int) Include course filters (default to 1 that is equal to yes), "users" (int) Include users (default to 0 that is equal to no), "enrolments" (int) Include enrolment methods (default to 1 - restore only with users), "role_assignments" (int) Include role assignments (default to 0 that is equal to no), "comments" (int) Include user comments (default to 0 that is equal to no), "userscompletion" (int) Include user course completion information (default to 0 that is equal to no), "logs" (int) Include course logs (default to 0 that is equal to no), "grade_histories" (int) Include histories (default to 0 that is equal to no)'), 'value' => new external_value(PARAM_RAW, 'the value for the option 1 (yes) or 0 (no)'))), 'Course duplication options', VALUE_DEFAULT, array( )), ))
/course/externallib.php:7491return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'course id'), 'shortname' => new external_value(PARAM_RAW, 'course short name'), 'categoryid' => new external_value(PARAM_INT, 'category id'), 'categorysortorder' => new external_value(PARAM_INT, 'sort order into the category', VALUE_OPTIONAL), 'fullname' => new external_value(PARAM_RAW, 'full name'), 'displayname' => new external_value(PARAM_RAW, 'course display name'), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'summary' => new external_value(PARAM_RAW, 'summary'), 'summaryformat' => new external_format_value('summary'), 'format' => new external_value(PARAM_PLUGIN, 'course format: weeks, topics, social, site,..'), 'showgrades' => new external_value(PARAM_INT, '1 if grades are shown, otherwise 0', VALUE_OPTIONAL), 'newsitems' => new external_value(PARAM_INT, 'number of recent items appearing on the course page', VALUE_OPTIONAL), 'startdate' => new external_value(PARAM_INT, 'timestamp when the course start'), 'enddate' => new external_value(PARAM_INT, 'timestamp when the course end'), 'numsections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) number of weeks/topics', VALUE_OPTIONAL), 'maxbytes' => new external_value(PARAM_INT, 'largest size of file that can be uploaded into the course', VALUE_OPTIONAL), 'showreports' => new external_value(PARAM_INT, 'are activity report shown (yes = 1, no =0)', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, '1: available to student, 0:not available', VALUE_OPTIONAL), 'hiddensections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) How the hidden sections in the course are displayed to students', VALUE_OPTIONAL), 'groupmode' => new external_value(PARAM_INT, 'no group, separate, visible', VALUE_OPTIONAL), 'groupmodeforce' => new external_value(PARAM_INT, '1: yes, 0: no', VALUE_OPTIONAL), 'defaultgroupingid' => new external_value(PARAM_INT, 'default grouping id', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'timestamp when the course have been created', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'timestamp when the course have been modified', VALUE_OPTIONAL), 'enablecompletion' => new external_value(PARAM_INT, 'Enabled, control via completion and activity settings. Disbaled, not shown in activity settings.', VALUE_OPTIONAL), 'completionnotify' => new external_value(PARAM_INT, '1: yes 0: no', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'forced course language', VALUE_OPTIONAL), 'forcetheme' => new external_value(PARAM_PLUGIN, 'name of the force theme', VALUE_OPTIONAL), 'courseformatoptions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'course format option name'), 'value' => new external_value(PARAM_RAW, 'course format option value'))), 'additional options for particular course format', VALUE_OPTIONAL), 'showactivitydates' => new external_value(PARAM_BOOL, 'Whether the activity dates are shown or not'), 'showcompletionconditions' => new external_value(PARAM_BOOL, 'Whether the activity completion conditions are shown or not'), 'customfields' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'The shortname of the custom field'), 'type' => new external_value(PARAM_COMPONENT, 'The type of the custom field - text, checkbox...'), 'valueraw' => new external_value(PARAM_RAW, 'The raw value of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field')]), 'Custom fields and associated values', VALUE_OPTIONAL), ), 'course'))
/course/externallib.php:8561return new external_function_parameters(array('courses' => new external_multiple_structure(new external_single_structure(array('fullname' => new external_value(PARAM_TEXT, 'full name'), 'shortname' => new external_value(PARAM_TEXT, 'course short name'), 'categoryid' => new external_value(PARAM_INT, 'category id'), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'summary' => new external_value(PARAM_RAW, 'summary', VALUE_OPTIONAL), 'summaryformat' => new external_format_value('summary', VALUE_DEFAULT), 'format' => new external_value(PARAM_PLUGIN, 'course format: weeks, topics, social, site,..', VALUE_DEFAULT, $courseconfig->format), 'showgrades' => new external_value(PARAM_INT, '1 if grades are shown, otherwise 0', VALUE_DEFAULT, $courseconfig->showgrades), 'newsitems' => new external_value(PARAM_INT, 'number of recent items appearing on the course page', VALUE_DEFAULT, $courseconfig->newsitems), 'startdate' => new external_value(PARAM_INT, 'timestamp when the course start', VALUE_OPTIONAL), 'enddate' => new external_value(PARAM_INT, 'timestamp when the course end', VALUE_OPTIONAL), 'numsections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) number of weeks/topics', VALUE_OPTIONAL), 'maxbytes' => new external_value(PARAM_INT, 'largest size of file that can be uploaded into the course', VALUE_DEFAULT, $courseconfig->maxbytes), 'showreports' => new external_value(PARAM_INT, 'are activity report shown (yes = 1, no =0)', VALUE_DEFAULT, $courseconfig->showreports), 'visible' => new external_value(PARAM_INT, '1: available to student, 0:not available', VALUE_OPTIONAL), 'hiddensections' => new external_value(PARAM_INT, '(deprecated, use courseformatoptions) How the hidden sections in the course are displayed to students', VALUE_OPTIONAL), 'groupmode' => new external_value(PARAM_INT, 'no group, separate, visible', VALUE_DEFAULT, $courseconfig->groupmode), 'groupmodeforce' => new external_value(PARAM_INT, '1: yes, 0: no', VALUE_DEFAULT, $courseconfig->groupmodeforce), 'defaultgroupingid' => new external_value(PARAM_INT, 'default grouping id', VALUE_DEFAULT, 0), 'enablecompletion' => new external_value(PARAM_INT, 'Enabled, control via completion and activity settings. Disabled, not shown in activity settings.', VALUE_OPTIONAL), 'completionnotify' => new external_value(PARAM_INT, '1: yes 0: no', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'forced course language', VALUE_OPTIONAL), 'forcetheme' => new external_value(PARAM_PLUGIN, 'name of the force theme', VALUE_OPTIONAL), 'courseformatoptions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'course format option name'), 'value' => new external_value(PARAM_RAW, 'course format option value'))), 'additional options for particular course format', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(array('shortname' => new external_value(PARAM_ALPHANUMEXT, 'The shortname of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), )), 'custom fields for the course', VALUE_OPTIONAL))), 'courses to create')))
/course/externallib.php:5571return new external_single_structure(['badgecontent' => new external_value(PARAM_TEXT, 'The content to be displayed in the activity badge', VALUE_OPTIONAL), 'badgestyle' => new external_value(PARAM_TEXT, 'The style for the activity badge', VALUE_OPTIONAL), 'badgeurl' => new external_value(PARAM_URL, 'An optional URL to redirect the user when the activity badge is clicked', VALUE_OPTIONAL), 'badgeelementid' => new external_value(PARAM_ALPHANUMEXT, 'An optional id in case the module wants to add some code for the activity badge', VALUE_OPTIONAL), 'badgeextraattributes' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_TEXT, 'The attribute name', VALUE_OPTIONAL), 'value' => new external_value(PARAM_TEXT, 'The attribute value', VALUE_OPTIONAL), ], 'Each of the attribute names and values', VALUE_OPTIONAL), 'An optional array of extra HTML attributes to add to the badge element', VALUE_OPTIONAL), ], 'Activity badge to display near the name', VALUE_OPTIONAL)
/course/externallib.php:6891$courseinfo['customfields'][] = ['type' => $data->get_type( ), 'value' => $data->get_value( ), 'valueraw' => $data->get_data_controller( )->get_value( ), 'name' => $data->get_name( ), 'shortname' => $data->get_shortname( )]
/course/classes/management_renderer.php:2961$html .= html_writer::span(html_writer::span($category->get_courses_count( )) . html_writer::span(get_string('courses'), 'accesshide', array('id' => $countid)) . $courseicon, 'course-count text-muted', array('aria-labelledby' => $countid))
/course/classes/management_renderer.php:1971$attributes = array('class' => 'listitem listitem-category list-group-item list-group-item-action', 'data-id' => $category->id, 'data-expandable' => $isexpandable ? '1' : '0', 'data-expanded' => $isexpanded ? '1' : '0', 'data-selected' => $activecategory ? '1' : '0', 'data-visible' => $category->visible ? '1' : '0', 'role' => 'treeitem', 'aria-expanded' => $isexpanded ? 'true' : 'false')
/course/classes/category.php:32311$rs = $DB->get_recordset_sql(" SELECT cc." . join(',cc.', $fields) . ", $ctxselect FROM {course_categories} cc JOIN {context} ctx ON cc.id = ctx.instanceid AND ctx.contextlevel = :contextcoursecat1 JOIN {role_assignments} ra ON ra.contextid = ctx.id WHERE ctx.path LIKE :parentpath1 AND ra.userid = :userid1 UNION SELECT cc." . join(',cc.', $fields) . ", $ctxselect FROM {course_categories} cc JOIN {context} ctx ON cc.id = ctx.instanceid AND ctx.contextlevel = :contextcoursecat2 JOIN {role_capabilities} rc ON rc.contextid = ctx.id JOIN {role_assignments} rc_ra ON rc_ra.roleid = rc.roleid JOIN {context} rc_ra_ctx ON rc_ra_ctx.id = rc_ra.contextid WHERE ctx.path LIKE :parentpath2 AND rc_ra.userid = :userid2 AND (ctx.path = rc_ra_ctx.path OR ctx.path LIKE " . $DB->sql_concat("rc_ra_ctx.path", "'/%'") . ") ", ['contextcoursecat1' => CONTEXT_COURSECAT, 'contextcoursecat2' => CONTEXT_COURSECAT, 'parentpath1' => $parentcat->get_context( )->path . '/%', 'parentpath2' => $parentcat->get_context( )->path . '/%', 'userid1' => $USER->id, 'userid2' => $USER->id])
/course/pending.php:1531$row[] = $OUTPUT->single_button(new moodle_url($baseurl, array('approve' => $course->id, 'sesskey' => sesskey( ))), get_string('approve'), 'get') . $OUTPUT->single_button(new moodle_url($baseurl, array('reject' => $course->id)), get_string('rejectdots'), 'get')
/course/externallib.php:46091return new external_single_structure(['footer' => new external_value(PARAM_BOOL, 'Is a footer being return by this request?', VALUE_REQUIRED), 'customfooterjs' => new external_value(PARAM_RAW, 'The path to the plugin JS file', VALUE_OPTIONAL), 'customfootertemplate' => new external_value(PARAM_RAW, 'The prerendered footer', VALUE_OPTIONAL), 'customcarouseltemplate' => new external_value(PARAM_RAW, 'Either "" or the prerendered carousel page', VALUE_OPTIONAL), ])
/course/externallib.php:43431$userfields = array('id' => new external_value(core_user::get_property_type('id'), 'ID of the user'), 'profileimage' => new external_value(PARAM_URL, 'The location of the users larger image', VALUE_OPTIONAL), 'fullname' => new external_value(PARAM_TEXT, 'The full name of the user', VALUE_OPTIONAL), 'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user', VALUE_OPTIONAL), 'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user', VALUE_OPTIONAL), )
/course/externallib.php:41971return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'id of the user, default to current user', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'result set limit', VALUE_DEFAULT, 0), 'offset' => new external_value(PARAM_INT, 'Result set offset', VALUE_DEFAULT, 0), 'sort' => new external_value(PARAM_TEXT, 'Sort string', VALUE_DEFAULT, null)))
/course/externallib.php:38761return new external_function_parameters(array('classification' => new external_value(PARAM_ALPHA, 'future, inprogress, or past'), 'limit' => new external_value(PARAM_INT, 'Result set limit', VALUE_DEFAULT, 0), 'offset' => new external_value(PARAM_INT, 'Result set offset', VALUE_DEFAULT, 0), 'sort' => new external_value(PARAM_TEXT, 'Sort string', VALUE_DEFAULT, null), 'customfieldname' => new external_value(PARAM_ALPHANUMEXT, 'Used when classification = customfield', VALUE_DEFAULT, null), 'customfieldvalue' => new external_value(PARAM_RAW, 'Used when classification = customfield', VALUE_DEFAULT, null), 'searchvalue' => new external_value(PARAM_RAW, 'The value a user wishes to search against', VALUE_DEFAULT, null), ))
/course/externallib.php:35431return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'Course id to check'), 'since' => new external_value(PARAM_INT, 'Check updates since this time stamp'), 'filter' => new external_multiple_structure(new external_value(PARAM_ALPHANUM, 'Area name: configuration, fileareas, completion, ratings, comments, gradeitems, outcomes'), 'Check only for updates in these areas', VALUE_DEFAULT, array( ))))
/course/externallib.php:35081return new external_single_structure(array('instances' => new external_multiple_structure(new external_single_structure(array('contextlevel' => new external_value(PARAM_ALPHA, 'The context level'), 'id' => new external_value(PARAM_INT, 'Instance id'), 'updates' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Name of the area updated.'), 'timeupdated' => new external_value(PARAM_INT, 'Last time was updated', VALUE_OPTIONAL), 'itemids' => new external_multiple_structure(new external_value(PARAM_INT, 'Instance id'), 'The ids of the items updated', VALUE_OPTIONAL))))))), 'warnings' => new external_warnings( )))
/course/externallib.php:34141return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'Course id to check'), 'tocheck' => new external_multiple_structure(new external_single_structure(array('contextlevel' => new external_value(PARAM_ALPHA, 'The context level for the file location. Only module supported right now.'), 'id' => new external_value(PARAM_INT, 'Context instance id'), 'since' => new external_value(PARAM_INT, 'Check updates since this time stamp'), )), 'Instances to check'), 'filter' => new external_multiple_structure(new external_value(PARAM_ALPHANUM, 'Area name: configuration, fileareas, completion, ratings, comments, gradeitems, outcomes'), 'Check only for updates in these areas', VALUE_DEFAULT, array( ))))
/course/externallib.php:31311return new external_single_structure(array('courses' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Course id'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Option name'), 'available' => new external_value(PARAM_BOOL, 'Whether the option is available or not'), ))))), 'List of courses'), 'warnings' => new external_warnings( )))
/course/externallib.php:29561return new external_single_structure(array('cm' => new external_single_structure(array('id' => new external_value(PARAM_INT, 'The course module id'), 'course' => new external_value(PARAM_INT, 'The course id'), 'module' => new external_value(PARAM_INT, 'The module type id'), 'name' => new external_value(PARAM_RAW, 'The activity name'), 'modname' => new external_value(PARAM_COMPONENT, 'The module component name (forum, assign, etc..)'), 'instance' => new external_value(PARAM_INT, 'The activity instance id'), 'section' => new external_value(PARAM_INT, 'The module section id'), 'sectionnum' => new external_value(PARAM_INT, 'The module section number'), 'groupmode' => new external_value(PARAM_INT, 'Group mode'), 'groupingid' => new external_value(PARAM_INT, 'Grouping id'), 'completion' => new external_value(PARAM_INT, 'If completion is enabled'), 'idnumber' => new external_value(PARAM_RAW, 'Module id number', VALUE_OPTIONAL), 'added' => new external_value(PARAM_INT, 'Time added', VALUE_OPTIONAL), 'score' => new external_value(PARAM_INT, 'Score', VALUE_OPTIONAL), 'indent' => new external_value(PARAM_INT, 'Indentation', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, 'If visible', VALUE_OPTIONAL), 'visibleoncoursepage' => new external_value(PARAM_INT, 'If visible on course page', VALUE_OPTIONAL), 'visibleold' => new external_value(PARAM_INT, 'Visible old', VALUE_OPTIONAL), 'completiongradeitemnumber' => new external_value(PARAM_INT, 'Completion grade item', VALUE_OPTIONAL), 'completionpassgrade' => new external_value(PARAM_INT, 'Completion pass grade setting', VALUE_OPTIONAL), 'completionview' => new external_value(PARAM_INT, 'Completion view setting', VALUE_OPTIONAL), 'completionexpected' => new external_value(PARAM_INT, 'Completion time expected', VALUE_OPTIONAL), 'showdescription' => new external_value(PARAM_INT, 'If the description is showed', VALUE_OPTIONAL), 'downloadcontent' => new external_value(PARAM_INT, 'The download content value', VALUE_OPTIONAL), 'availability' => new external_value(PARAM_RAW, 'Availability settings', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_FLOAT, 'Grade (max value or scale id)', VALUE_OPTIONAL), 'scale' => new external_value(PARAM_TEXT, 'Scale items (if used)', VALUE_OPTIONAL), 'gradepass' => new external_value(PARAM_RAW, 'Grade to pass (float)', VALUE_OPTIONAL), 'gradecat' => new external_value(PARAM_INT, 'Grade category', VALUE_OPTIONAL), 'advancedgrading' => new external_multiple_structure(new external_single_structure(array('area' => new external_value(PARAM_AREA, 'Gradable area name'), 'method' => new external_value(PARAM_COMPONENT, 'Grading method'), )), 'Advanced grading settings', VALUE_OPTIONAL), 'outcomes' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_ALPHANUMEXT, 'Outcome id'), 'name' => new external_value(PARAM_RAW, 'Outcome full name'), 'scale' => new external_value(PARAM_TEXT, 'Scale items'))), 'Outcomes information', VALUE_OPTIONAL), )), 'warnings' => new external_warnings( )))
/course/externallib.php:27801$extra = array('idnumber' => new external_value(PARAM_RAW, 'Id number', VALUE_OPTIONAL), 'format' => new external_value(PARAM_PLUGIN, 'Course format: weeks, topics, social, site,..', VALUE_OPTIONAL), 'showgrades' => new external_value(PARAM_INT, '1 if grades are shown, otherwise 0', VALUE_OPTIONAL), 'newsitems' => new external_value(PARAM_INT, 'Number of recent items appearing on the course page', VALUE_OPTIONAL), 'startdate' => new external_value(PARAM_INT, 'Timestamp when the course start', VALUE_OPTIONAL), 'enddate' => new external_value(PARAM_INT, 'Timestamp when the course end', VALUE_OPTIONAL), 'maxbytes' => new external_value(PARAM_INT, 'Largest size of file that can be uploaded into', VALUE_OPTIONAL), 'showreports' => new external_value(PARAM_INT, 'Are activity report shown (yes = 1, no =0)', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, '1: available to student, 0:not available', VALUE_OPTIONAL), 'groupmode' => new external_value(PARAM_INT, 'no group, separate, visible', VALUE_OPTIONAL), 'groupmodeforce' => new external_value(PARAM_INT, '1: yes, 0: no', VALUE_OPTIONAL), 'defaultgroupingid' => new external_value(PARAM_INT, 'default grouping id', VALUE_OPTIONAL), 'enablecompletion' => new external_value(PARAM_INT, 'Completion enabled? 1: yes 0: no', VALUE_OPTIONAL), 'completionnotify' => new external_value(PARAM_INT, '1: yes 0: no', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'Forced course language', VALUE_OPTIONAL), 'theme' => new external_value(PARAM_PLUGIN, 'Fame of the forced theme', VALUE_OPTIONAL), 'marker' => new external_value(PARAM_INT, 'Current course marker', VALUE_OPTIONAL), 'legacyfiles' => new external_value(PARAM_INT, 'If legacy files are enabled', VALUE_OPTIONAL), 'calendartype' => new external_value(PARAM_PLUGIN, 'Calendar type', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time when the course was created', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Last time the course was updated', VALUE_OPTIONAL), 'requested' => new external_value(PARAM_INT, 'If is a requested course', VALUE_OPTIONAL), 'cacherev' => new external_value(PARAM_INT, 'Cache revision number', VALUE_OPTIONAL), 'filters' => new external_multiple_structure(new external_single_structure(array('filter' => new external_value(PARAM_PLUGIN, 'Filter plugin name'), 'localstate' => new external_value(PARAM_INT, 'Filter state: 1 for on, -1 for off, 0 if inherit'), 'inheritedstate' => new external_value(PARAM_INT, '1 or 0 to use when localstate is set to inherit'), )), 'Course filters', VALUE_OPTIONAL), 'courseformatoptions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'Course format option name.'), 'value' => new external_value(PARAM_RAW, 'Course format option value.'), )), 'Additional options for particular course format.', VALUE_OPTIONAL), 'communicationroomname' => new external_value(PARAM_TEXT, 'Communication tool room name.', VALUE_OPTIONAL), 'communicationroomurl' => new external_value(PARAM_RAW, 'Communication tool room URL.', VALUE_OPTIONAL), )
/course/externallib.php:27361$coursestructure = array('id' => new external_value(PARAM_INT, 'course id'), 'fullname' => new external_value(PARAM_RAW, 'course full name'), 'displayname' => new external_value(PARAM_RAW, 'course display name'), 'shortname' => new external_value(PARAM_RAW, 'course short name'), 'courseimage' => new external_value(PARAM_URL, 'Course image', VALUE_OPTIONAL), 'categoryid' => new external_value(PARAM_INT, 'category id'), 'categoryname' => new external_value(PARAM_RAW, 'category name'), 'sortorder' => new external_value(PARAM_INT, 'Sort order in the category', VALUE_OPTIONAL), 'summary' => new external_value(PARAM_RAW, 'summary'), 'summaryformat' => new external_format_value('summary'), 'summaryfiles' => new external_files('summary files in the summary field', VALUE_OPTIONAL), 'overviewfiles' => new external_files('additional overview files attached to this course'), 'showactivitydates' => new external_value(PARAM_BOOL, 'Whether the activity dates are shown or not'), 'showcompletionconditions' => new external_value(PARAM_BOOL, 'Whether the activity completion conditions are shown or not'), 'contacts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'contact user id'), 'fullname' => new external_value(PARAM_NOTAGS, 'contact user fullname'), )), 'contact users'), 'enrollmentmethods' => new external_multiple_structure(new external_value(PARAM_PLUGIN, 'enrollment method'), 'enrollment methods list'), 'customfields' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field - to be able to build the field class in the code'), 'type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field - text field, checkbox...'), 'valueraw' => new external_value(PARAM_RAW, 'The raw value of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), )), 'Custom fields', VALUE_OPTIONAL), )
/course/externallib.php:26181$coursereturns['customfields'][] = ['type' => $data->get_type( ), 'value' => $data->get_value( ), 'valueraw' => $data->get_data_controller( )->get_value( ), 'name' => $data->get_name( ), 'shortname' => $data->get_shortname( )]
/course/classes/reportbuilder/local/entities/access.php:1221$filters[] = (new filter(date::class, 'timeaccess', new lang_string('lastcourseaccess', 'moodle'), $this->get_entity_name( ), "{$tablealias}.timeaccess"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/course_category.php:981$columns[] = (new column('name', new lang_string('categoryname'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join($this->get_context_join( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.name, {$tablealias}.id")->add_fields(context_helper::get_preload_record_columns_sql($tablealiascontext))->add_callback(static function (?string $name, stdClass $category) : string { /**/ } )->set_is_sortable(true)
/course/classes/reportbuilder/local/entities/course_category.php:1211$columns[] = (new column('namewithlink', new lang_string('namewithlink', 'core_course'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join($this->get_context_join( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.name, {$tablealias}.id")->add_fields(context_helper::get_preload_record_columns_sql($tablealiascontext))->add_callback(static function (?string $name, stdClass $category) : string { /**/ } )->set_is_sortable(true)
/course/classes/reportbuilder/local/entities/course_category.php:1441$columns[] = (new column('path', new lang_string('categorypath'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.name, {$tablealias}.id")->add_callback(static function (?string $name, stdClass $category) : string { /**/ } )->set_disabled_aggregation(['groupconcat', 'groupconcatdistinct'])->set_is_sortable(true)
/course/classes/reportbuilder/local/entities/course_category.php:1601$columns[] = (new column('idnumber', new lang_string('idnumbercoursecategory'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.idnumber")->set_is_sortable(true)
/course/classes/reportbuilder/local/entities/course_category.php:1751$columns[] = (new column('description', new lang_string('description'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join($this->get_context_join( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_fields("{$tablealias}.descriptionformat, {$tablealias}.id")->add_fields(context_helper::get_preload_record_columns_sql($tablealiascontext))->add_callback(static function (?string $description, stdClass $category) : string { /**/ } )
/course/classes/reportbuilder/local/entities/course_category.php:2042$columns[] = (new column('theme', new lang_string('theme'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.theme")->set_is_sortable(true)->add_callback(static function (?string $theme) : string { /**/ } )
/course/classes/reportbuilder/local/entities/course_category.php:2221$columns[] = (new column('coursecount', new lang_string('coursecount', 'core_course'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$tablealias}.coursecount")->set_is_sortable(true)
/course/classes/management_renderer.php:4311$form .= html_writer::div(html_writer::select(array('name' => get_string('sortbyx', 'moodle', get_string('categoryname')), 'namedesc' => get_string('sortbyxreverse', 'moodle', get_string('categoryname')), 'idnumber' => get_string('sortbyx', 'moodle', get_string('idnumbercoursecategory')), 'idnumberdesc' => get_string('sortbyxreverse', 'moodle', get_string('idnumbercoursecategory')), 'none' => get_string('dontsortcategories')), 'resortcategoriesby', 'name', false, array('aria-label' => get_string('selectcategorysortby'), 'class' => 'mt-1')))
/course/classes/management_renderer.php:4461$form .= html_writer::div(html_writer::select(array('fullname' => get_string('sortbyx', 'moodle', get_string('fullnamecourse')), 'fullnamedesc' => get_string('sortbyxreverse', 'moodle', get_string('fullnamecourse')), 'shortname' => get_string('sortbyx', 'moodle', get_string('shortnamecourse')), 'shortnamedesc' => get_string('sortbyxreverse', 'moodle', get_string('shortnamecourse')), 'idnumber' => get_string('sortbyx', 'moodle', get_string('idnumbercourse')), 'idnumberdesc' => get_string('sortbyxreverse', 'moodle', get_string('idnumbercourse')), 'timecreated' => get_string('sortbyx', 'moodle', get_string('timecreatedcourse')), 'timecreateddesc' => get_string('sortbyxreverse', 'moodle', get_string('timecreatedcourse')), 'none' => get_string('dontsortcourses')), 'resortcoursesby', 'fullname', false, array('aria-label' => get_string('selectcoursesortby'), 'class' => 'mt-1')))
/course/classes/management_renderer.php:5401$html = html_writer::start_div('card course-listing w-100' . $class, array('data-category' => $category->id, 'data-page' => $page, 'data-totalpages' => $totalpages, 'data-totalcourses' => $totalcourses, 'data-canmoveoutof' => $category->can_move_courses_out_of( ) && $category->can_move_courses_into( )))
/course/classes/management_renderer.php:7071$menu = new action_menu(array(new action_menu_link_secondary($fullnameurl, null, get_string('sortbyx', 'moodle', get_string('fullnamecourse'))), new action_menu_link_secondary($fullnameurldesc, null, get_string('sortbyxreverse', 'moodle', get_string('fullnamecourse'))), new action_menu_link_secondary($shortnameurl, null, get_string('sortbyx', 'moodle', get_string('shortnamecourse'))), new action_menu_link_secondary($shortnameurldesc, null, get_string('sortbyxreverse', 'moodle', get_string('shortnamecourse'))), new action_menu_link_secondary($idnumberurl, null, get_string('sortbyx', 'moodle', get_string('idnumbercourse'))), new action_menu_link_secondary($idnumberdescurl, null, get_string('sortbyxreverse', 'moodle', get_string('idnumbercourse'))), new action_menu_link_secondary($timecreatedurl, null, get_string('sortbyx', 'moodle', get_string('timecreatedcourse'))), new action_menu_link_secondary($timecreateddescurl, null, get_string('sortbyxreverse', 'moodle', get_string('timecreatedcourse')))))
/course/classes/management_renderer.php:7371$menu = new action_menu(array(new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 5)), null, 5), new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 10)), null, 10), new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 20)), null, 20), new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 50)), null, 50), new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 100)), null, 100), new action_menu_link_secondary(new moodle_url($this->page->url, array('perpage' => 999)), null, $strall), ))
/course/classes/privacy/provider.php:1941$data = (object) ['fullname' => format_string($course->fullname, true, ['context' => $context]), 'shortname' => $course->shortname, 'idnumber' => $course->idnumber, 'summary' => format_text(writer::with_context($context)->rewrite_pluginfile_urls([ ], 'course', 'summary', 0, $course->summary), $course->summaryformat, ['context' => $context]), 'format' => $courseformat, 'startdate' => transform::datetime($course->startdate), 'enddate' => transform::datetime($course->enddate)]
/course/classes/cache/course_image.php:741return moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), null, $file->get_filepath( ), $file->get_filename( ))->out( )
/course/classes/reportbuilder/local/entities/access.php:891$columns[] = (new column('timeaccess', new lang_string('lastcourseaccess', 'moodle'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$tablealias}.timeaccess")->add_field("{$user}.id", 'userid')->set_is_sortable(true)->add_callback([format::class, 'userdate'])->add_callback(static function (string $value, stdClass $row) : string { /**/ } )
/course/classes/reportbuilder/local/entities/enrolment.php:2381$filters[] = (new filter(date::class, 'timecreated', new lang_string('timecreated', 'moodle'), $this->get_entity_name( ), "{$userenrolments}.timecreated"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/enrolment.php:2261$filters[] = (new filter(select::class, 'method', new lang_string('method', 'enrol'), $this->get_entity_name( ), "{$enrol}.enrol"))->add_joins($this->get_joins( ))->set_is_deprecated('See \'enrol:plugin\' for replacement')->set_options_callback($enrolmentmethods)
/course/classes/reportbuilder/local/entities/enrolment.php:2771$filters[] = (new filter(date::class, 'timeended', new lang_string('timeended', 'enrol'), $this->get_entity_name( ), "{$userenrolments}.timeend"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/enrolment.php:2561$filters[] = (new filter(date::class, 'timestarted', new lang_string('timestarted', 'enrol'), $this->get_entity_name( ), "CASE WHEN {$userenrolments}.timestart = 0 THEN {$userenrolments}.timecreated ELSE {$userenrolments}.timestart END"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/completion.php:1031$columns[] = (new column('completed', new lang_string('completed', 'completion'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_field("CASE WHEN {$coursecompletion}.timecompleted > 0 THEN 1 ELSE 0 END", 'completed')->add_field("{$user}.id", 'userid')->set_is_sortable(true)->add_callback(static function (bool $value, stdClass $row) : string { /**/ } )
/course/classes/reportbuilder/local/entities/enrolment.php:2951$filters[] = (new filter(select::class, 'status', new lang_string('status', 'moodle'), $this->get_entity_name( ), $this->get_status_field_sql( )))->add_joins($this->get_joins( ))->set_options(enrolment_formatter::enrolment_values( ))
/course/classes/reportbuilder/local/entities/completion.php:1641$columns[] = (new column('progresspercent', new lang_string('progress', 'completion'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$course}.id", 'courseid')->add_field("{$user}.id", 'userid')->set_is_sortable(false)->add_callback([completion_formatter::class, 'completion_progress'])
/course/classes/reportbuilder/local/entities/completion.php:1221$columns[] = (new column('criteria', new lang_string('criteria', 'core_completion'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join("LEFT JOIN ( SELECT DISTINCT course FROM {course_completion_criteria} ) {$criterias} ON {$criterias}.course = {$course}.id")->set_type(column::TYPE_TEXT)->add_field("{$criterias}.course", 'courseid')->add_field("{$course}.enablecompletion")->add_field("{$user}.id", 'userid')->set_disabled_aggregation_all( )->add_callback(static function ($id, stdClass $record) : string { /**/ } )
/course/classes/reportbuilder/local/entities/enrolment.php:951$columns[] = (new column('method', new lang_string('method', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$enrol}.enrol, {$enrol}.id")->set_is_sortable(true)->set_is_deprecated('See \'enrol:name\' for replacement')->add_callback([enrolment_formatter::class, 'enrolment_name'])
/course/classes/reportbuilder/local/entities/course_category.php:2441$filters[] = (new filter(category::class, 'name', new lang_string('categoryselect', 'core_reportbuilder'), $this->get_entity_name( ), "{$tablealias}.id"))->add_joins($this->get_joins( ))->set_options(['requiredcapabilities' => 'moodle/category:viewcourselist', ])
/course/classes/reportbuilder/local/entities/enrolment.php:1201$columns[] = (new column('timestarted', new lang_string('timestarted', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field(" CASE WHEN {$userenrolments}.timestart = 0 THEN {$userenrolments}.timecreated ELSE {$userenrolments}.timestart END", 'timestarted')->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/enrolment.php:1081$columns[] = (new column('timecreated', new lang_string('timecreated', 'moodle'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$userenrolments}.timecreated")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/enrolment.php:1481$columns[] = (new column('status', new lang_string('status', 'moodle'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field($this->get_status_field_sql( ), 'status')->set_is_sortable(true)->add_callback([enrolment_formatter::class, 'enrolment_status'])
/course/classes/reportbuilder/local/entities/enrolment.php:1361$columns[] = (new column('timeended', new lang_string('timeended', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$userenrolments}.timeend")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/enrolment.php:1991return " CASE WHEN {$userenrolments}.status = " . ENROL_USER_ACTIVE . " THEN CASE WHEN ({$userenrolments}.timestart > {$time}) OR ({$userenrolments}.timeend > 0 AND {$userenrolments}.timeend < {$time}) OR ({$enrol}.status = " . ENROL_INSTANCE_DISABLED . ") THEN " . status_field::STATUS_NOT_CURRENT . " ELSE " . status_field::STATUS_ACTIVE . " END ELSE {$userenrolments}.status END"
/course/classes/reportbuilder/local/entities/enrolment.php:1631$columns[] = (new column('role', new lang_string('role', 'moodle'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join("LEFT JOIN {context} {$ctx} ON {$ctx}.instanceid = {$enrol}.courseid AND {$ctx}.contextlevel = " . CONTEXT_COURSE)->add_join("LEFT JOIN {role_assignments} {$ra} ON {$ra}.contextid = {$ctx}.id AND {$ra}.userid = {$userenrolments}.userid")->add_join("LEFT JOIN {role} {$r} ON {$r}.id = {$ra}.roleid")->set_type(column::TYPE_TEXT)->add_fields("{$r}.id, {$r}.name, {$r}.shortname, {$ctx}.instanceid")->set_is_sortable(true, ["{$r}.shortname"])->set_is_deprecated('See \'role:name\' for replacement')->add_callback(static function (?string $value, stdClass $row) : string { /**/ } )
/course/classes/output/activity_completion.php:721return (object) ['cmid' => $this->cminfo->id, 'activityname' => $this->cminfo->get_formatted_name( ), 'uservisible' => $this->cminfo->uservisible, 'hascompletion' => $this->cmcompletion->has_completion( ), 'isautomatic' => $this->cmcompletion->is_automatic( ), 'ismanual' => $this->cmcompletion->is_manual( ), 'showmanualcompletion' => $this->cmcompletion->show_manual_completion( ), 'istrackeduser' => $this->cmcompletion->is_tracked_user( ), 'overallcomplete' => $isoverallcomplete, 'overallincomplete' => !$isoverallcomplete, 'withavailability' => $withavailability ?? false, 'overrideby' => $overrideby, 'completiondetails' => $this->get_completion_details($overrideby), 'accessibledescription' => $this->get_accessible_description($overrideby, $overallcompletion), ]
/course/classes/output/content_export_link.php:501$downloadattr->elementattributes = ['data-downloadcourse' => 1, 'data-download-body' => get_string('downloadcourseconfirmation', 'course', $maxfilesize), 'data-download-button-text' => get_string('download'), 'data-download-link' => $downloadlink->out(false), 'data-download-title' => get_string('downloadcoursecontent', 'course'), 'data-overrides-tree-activation-key-handler' => 1, ]
/course/classes/reportbuilder/local/entities/completion.php:3301$filters[] = (new filter(date::class, $field, new lang_string($field, 'enrol'), $this->get_entity_name( ), "{$coursecompletion}.{$field}"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/completion.php:3491$filters[] = (new filter(date::class, 'reaggregate', new lang_string('timereaggregated', 'enrol'), $this->get_entity_name( ), "{$coursecompletion}.reaggregate"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/management/helper.php:1011$details += array('groupings' => array('key' => \get_string('groupings', 'group'), 'value' => count($groups->groupings)), 'groups' => array('key' => \get_string('groups'), 'value' => count($groups->groups)))
/course/classes/management/helper.php:2341$actions['resortbyname'] = array('url' => new \moodle_url($baseurl, array('action' => 'resortcategories', 'resort' => 'name')), 'icon' => new \pix_icon('t/sort', new \lang_string('sort')), 'string' => new \lang_string('resortsubcategoriesby', 'moodle', get_string('categoryname')))
/course/classes/output/recommendations/activity_list.php:711return ['categories' => [['categoryname' => get_string('activities'), 'hascategorydata' => !empty($info), 'categorydata' => $info]], 'search' => ['query' => $this->searchquery, 'searchresultsnumber' => count($this->modules)]]
/course/classes/management/helper.php:811$details = array('fullname' => array('key' => \get_string('fullname'), 'value' => $course->get_formatted_fullname( )), 'shortname' => array('key' => \get_string('shortname'), 'value' => $course->get_formatted_shortname( )), 'idnumber' => array('key' => \get_string('idnumber'), 'value' => s($course->idnumber)), 'category' => array('key' => \get_string('category'), 'value' => \html_writer::link($categoryurl, $categoryname)))
/course/classes/reportbuilder/local/entities/completion.php:2011$columns[] = (new column('timecompleted', new lang_string('timecompleted', 'completion'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$coursecompletion}.timecompleted")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/completion.php:2131$columns[] = (new column('reaggregate', new lang_string('timereaggregated', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$coursecompletion}.reaggregate")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/completion.php:1771$columns[] = (new column('timeenrolled', new lang_string('timeenrolled', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$coursecompletion}.timeenrolled")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/completion.php:1891$columns[] = (new column('timestarted', new lang_string('timestarted', 'enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$coursecompletion}.timestarted")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/course/classes/reportbuilder/local/entities/completion.php:2641$columns[] = (new column('grade', new lang_string('gradenoun'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join(" LEFT JOIN {grade_items} {$gradeitem} ON ({$gradeitem}.itemtype = 'course' AND {$course}.id = {$gradeitem}.courseid) ")->add_join(" LEFT JOIN {grade_grades} {$grade} ON ({$user}.id = {$grade}.userid AND {$gradeitem}.id = {$grade}.itemid) ")->set_type(column::TYPE_FLOAT)->add_fields("{$grade}.finalgrade")->set_is_sortable(true)->add_callback(function (?float $value) : string { /**/ } )
/course/classes/reportbuilder/local/entities/completion.php:3101$filters[] = (new filter(date::class, 'timecompleted', new lang_string('timecompleted', 'completion'), $this->get_entity_name( ), "{$coursecompletion}.timecompleted"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_NOT_EMPTY, date::DATE_EMPTY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, ])
/course/classes/reportbuilder/local/entities/completion.php:2261$columns[] = (new column('dayscourse', new lang_string('daystakingcourse', 'course'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("( CASE WHEN {$coursecompletion}.timecompleted > 0 THEN {$coursecompletion}.timecompleted ELSE {$currenttime} END - {$course}.startdate) / " . DAYSECS, 'dayscourse')->add_field("{$user}.id", 'userid')->set_is_sortable(true)->add_callback([completion_formatter::class, 'get_days'])
/course/classes/reportbuilder/local/entities/completion.php:2451$columns[] = (new column('daysuntilcompletion', new lang_string('daysuntilcompletion', 'completion'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("( CASE WHEN {$coursecompletion}.timecompleted > 0 THEN {$coursecompletion}.timecompleted ELSE {$currenttime} END - {$coursecompletion}.timeenrolled) / " . DAYSECS, 'daysuntilcompletion')->add_field("{$user}.id", 'userid')->set_is_sortable(true)->add_callback([completion_formatter::class, 'get_days'])
/course/classes/local/repository/content_item_readonly_repository.php:2091$contentitem = new content_item($mod->id, $mod->name, new lang_string_title("modulename", $mod->name), new \moodle_url('/course/mod.php', ['id' => $course->id, 'add' => $mod->name]), $OUTPUT->pix_icon($icon, '', $mod->name, ['class' => "activityicon $iconclass"]), $help, $archetype, 'mod_' . $mod->name, $purpose, $isbranded, )
/course/classes/local/repository/content_item_readonly_repository.php:1371$contentitem = new content_item($mod->id, $mod->name, new lang_string_title("modulename", $mod->name), new \moodle_url(''), $OUTPUT->pix_icon('monologo', '', $mod->name, ['class' => 'icon activityicon']), $help, $archetype, 'mod_' . $mod->name, $purpose, $isbranded, )
/course/classes/management/helper.php:3791$actions[] = array('url' => new \moodle_url('/backup/copy.php', array('id' => $course->id, 'returnto' => 'catmanage')), 'icon' => new \pix_icon('t/copy', \get_string('copycourse')), 'attributes' => array('class' => 'action-copy'))
/course/classes/management/helper.php:3711$actions[] = array('url' => new \moodle_url('/course/edit.php', array('id' => $course->id, 'returnto' => 'catmanage')), 'icon' => new \pix_icon('t/edit', \get_string('edit')), 'attributes' => array('class' => 'action-edit'))
/course/classes/external/helper_for_get_mods_by_courses.php:1221return ['id' => new external_value(PARAM_INT, 'Activity instance id'), 'coursemodule' => new external_value(PARAM_INT, 'Course module id'), 'course' => new external_value(PARAM_INT, 'Course id'), 'name' => new external_value(PARAM_RAW, 'Activity name'), 'intro' => new external_value(PARAM_RAW, 'Activity introduction', $introoptional ? VALUE_OPTIONAL : VALUE_REQUIRED), 'introformat' => new external_format_value('intro', $introoptional ? VALUE_OPTIONAL : VALUE_REQUIRED), 'introfiles' => new external_files('Files in the introduction', VALUE_OPTIONAL), 'section' => new external_value(PARAM_INT, 'Course section id', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_BOOL, 'Visible', VALUE_OPTIONAL), 'groupmode' => new external_value(PARAM_INT, 'Group mode', VALUE_OPTIONAL), 'groupingid' => new external_value(PARAM_INT, 'Group id', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'Forced activity language', VALUE_OPTIONAL), ]
/course/classes/task/content_notification_task.php:801$a = ['coursename' => format_string(get_course_display_name_for_list($course), true, ['context' => $coursecontext]), 'courselink' => (new \moodle_url('/course/view.php', ['id' => $course->id]))->out(false), 'modulename' => $cm->get_formatted_name( ), 'moduletypename' => $modnames[$cm->modname], 'link' => (new \moodle_url('/mod/' . $cm->modname . '/view.php', ['id' => $cm->id]))->out(false), 'notificationpreferenceslink' => (new \moodle_url('/message/notificationpreferences.php', ['userid' => $user->id]))->out(false), ]
/course/classes/task/course_delete_modules.php:711$exceptions[] = ("The course module {$cm->id} could not be deleted. " . "{$e->getMessage( )}: {$e->getFile( )}({$e->getLine( )}) {$e->getTraceAsString( )}")
/course/classes/local/exporters/course_content_item_exporter.php:1301$properties = ['id' => $this->contentitem->get_id( ), 'name' => $this->contentitem->get_name( ), 'title' => $this->contentitem->get_title( )->get_value( ), 'link' => $this->contentitem->get_link( )->out(false), 'icon' => $this->contentitem->get_icon( ), 'help' => format_text($this->contentitem->get_help( ), FORMAT_MARKDOWN), 'archetype' => $this->contentitem->get_archetype( ), 'componentname' => $this->contentitem->get_component_name( ), 'favourite' => $favourite, 'legacyitem' => ($this->contentitem->get_id( ) == -1), 'recommended' => $recommended, 'purpose' => $this->contentitem->get_purpose( ), 'branded' => $this->contentitem->is_branded( ), ]
/course/classes/management/helper.php:2671$actions['permissions'] = array('url' => new \moodle_url('/admin/roles/permissions.php', ['contextid' => $category->get_context( )->id]), 'icon' => new \pix_icon('i/permissions', new \lang_string('permissions', 'role')), 'string' => new \lang_string('permissions', 'role'))
/course/classes/management/helper.php:2491$actions['resortbyidnumberdesc'] = array('url' => new \moodle_url($baseurl, array('action' => 'resortcategories', 'resort' => 'idnumberdesc')), 'icon' => new \pix_icon('t/sort', new \lang_string('sort')), 'string' => new \lang_string('resortsubcategoriesbyreverse', 'moodle', get_string('idnumbercoursecategory')))
/course/classes/management/helper.php:2441$actions['resortbyidnumber'] = array('url' => new \moodle_url($baseurl, array('action' => 'resortcategories', 'resort' => 'idnumber')), 'icon' => new \pix_icon('t/sort', new \lang_string('sort')), 'string' => new \lang_string('resortsubcategoriesby', 'moodle', get_string('idnumbercoursecategory')))
/course/classes/management/helper.php:2391$actions['resortbynamedesc'] = array('url' => new \moodle_url($baseurl, array('action' => 'resortcategories', 'resort' => 'namedesc')), 'icon' => new \pix_icon('t/sort', new \lang_string('sort')), 'string' => new \lang_string('resortsubcategoriesbyreverse', 'moodle', get_string('categoryname')))
/course/classes/management/helper.php:3161$actions['restore'] = array('url' => new \moodle_url('/backup/restorefile.php', array('contextid' => $category->get_context( )->id)), 'icon' => new \pix_icon('i/restore', new \lang_string('restorecourse', 'admin')), 'string' => new \lang_string('restorecourse', 'admin'))
/course/classes/management/helper.php:3071$actions['filters'] = array('url' => new \moodle_url('/filter/manage.php', array('contextid' => $category->get_context( )->id, 'return' => 'management')), 'icon' => new \pix_icon('i/filter', new \lang_string('filters', 'admin')), 'string' => new \lang_string('filters', 'admin'))
/course/classes/management/helper.php:2981$actions['cohorts'] = array('url' => new \moodle_url('/cohort/index.php', array('contextid' => $category->get_context( )->id)), 'icon' => new \pix_icon('t/cohort', new \lang_string('cohorts', 'cohort')), 'string' => new \lang_string('cohorts', 'cohort'))
/course/classes/management/helper.php:2851$actions['managecontextlock'] = ['url' => new \moodle_url('/admin/lock.php', ['id' => $category->get_context( )->id, 'returnurl' => $manageurl->out_as_local_url(false), ]), 'icon' => new \pix_icon($lockicon, $lockstring), 'string' => $lockstring, ]
/competency/tests/api_test.php:32361$plan1 = $lpg->create_plan(array('templateid' => $tpl1->get('id'), 'userid' => $user->id, 'name' => 'Not good name', 'duedate' => $time + 3600, 'description' => 'Ahah', 'descriptionformat' => FORMAT_PLAIN))
/competency/tests/api_test.php:30211return array('f1' => $f1, 'c1' => $c1, 'c1a' => $c1a, 'c1a1' => $c1a1, 'c1a1a' => $c1a1a, 'c1b' => $c1b, 'c1b1' => $c1b1, 'c1b1a' => $c1b1a, 'c2' => $c2, 'c2a' => $c2a, )
/competency/tests/api_test.php:44191$c2 = $lpg->create_competency(['competencyframeworkid' => $f2->get('id'), 'scaleid' => $scale2->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale2->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/competency/tests/api_test.php:44051$f1 = $lpg->create_framework(['scaleid' => $scale1->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale1->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/competency/tests/api_test.php:6651$plan3 = $lpg->create_plan(array('templateid' => $tpl2->get('id'), 'userid' => $u1->id, 'name' => 'Not sweet name', 'duedate' => $time + 3602, 'description' => 'Ahah', 'descriptionformat' => FORMAT_PLAIN))
/competency/tests/api_test.php:6631$plan2 = $lpg->create_plan(array('templateid' => $tpl1->get('id'), 'userid' => $u2->id, 'name' => 'Not right name', 'duedate' => $time + 3601, 'description' => 'Ahah', 'descriptionformat' => FORMAT_PLAIN))
/competency/tests/api_test.php:15052$uclist = array($lpg->create_user_competency(array('userid' => $user->id, 'competencyid' => $c1->get('id'), 'proficiency' => true, 'grade' => 1)), $lpg->create_user_competency(array('userid' => $user->id, 'competencyid' => $c2->get('id'), 'proficiency' => false, 'grade' => 2)))
/competency/tests/api_test.php:7662$uclist = array($lpg->create_user_competency(array('userid' => $user->id, 'competencyid' => $c1->get('id'), 'proficiency' => true, 'grade' => 1)), $lpg->create_user_competency(array('userid' => $user->id, 'competencyid' => $c2->get('id'), 'proficiency' => false, 'grade' => 2)))
/competency/tests/external/external_test.php:1971$framework = array('shortname' => 'shortname' . $number, 'idnumber' => 'idnumber' . $number, 'description' => 'description' . $number, 'descriptionformat' => FORMAT_HTML, 'scaleid' => $this->$scalename->id, 'scaleconfiguration' => $this->$scalepropname, 'visible' => true, 'contextid' => $system ? \context_system::instance( )->id : \context_coursecat::instance($this->category->id)->id)
/competency/tests/privacy/provider_test.php:26921$params = ['contextid' => $comment->get_context( )->id, 'component' => $comment->get_component( ), 'commentarea' => $comment->get_commentarea( ), 'itemid' => $comment->get_itemid( ), ]
/competency/tests/external/external_test.php:2681$framework = array('id' => $id, 'shortname' => 'shortname' . $number, 'idnumber' => 'idnumber' . $number, 'description' => 'description' . $number, 'descriptionformat' => FORMAT_HTML, 'scaleid' => $this->$scalename->id, 'scaleconfiguration' => $this->$scalepropname, 'visible' => true, 'contextid' => $system ? \context_system::instance( )->id : \context_coursecat::instance($this->category->id)->id)
/competency/tests/external/external_test.php:2261$template = array('shortname' => 'shortname' . $number, 'description' => 'description' . $number, 'descriptionformat' => FORMAT_HTML, 'duedate' => 0, 'visible' => true, 'contextid' => $system ? \context_system::instance( )->id : \context_coursecat::instance($this->category->id)->id)
/competency/tests/api_test.php:44411$c3 = $lpg->create_competency(['competencyframeworkid' => $f3->get('id'), 'scaleid' => $scale4->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale4->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/competency/tests/api_test.php:44341$f3 = $lpg->create_framework(['scaleid' => $scale3->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale3->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/competency/tests/api_test.php:44631$c4 = $lpg->create_competency(['competencyframeworkid' => $f3->get('id'), 'scaleid' => $scale4->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale4->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/competency/tests/api_test.php:44561$f4 = $lpg->create_framework(['scaleid' => $scale3->id, 'scaleconfiguration' => json_encode([['scaleid' => $scale3->id], ['id' => 1, 'scaledefault' => 1, 'proficient' => 1]])])
/blocks/rss_client/block_rss_client.php:2231$item = new \block_rss_client\output\item($simplepieitem->get_id( ), new moodle_url($simplepieitem->get_link( )), $simplepieitem->get_title( ), $simplepieitem->get_description( ), new moodle_url($simplepieitem->get_permalink( )), $simplepieitem->get_date('U'), $this->config->display_description)
/blocks/rss_client/classes/privacy/provider.php:1171$rssdata[] = (object) ['title' => $result->title, 'preferredtitle' => $result->preferredtitle, 'description' => $result->description, 'shared' => \core_privacy\local\request\transform::yesno($result->shared), 'url' => $result->url]
/blocks/rss_client/classes/output/item.php:1191$data = array('id' => $this->id, 'permalink' => clean_param($this->permalink, PARAM_URL), 'datepublished' => $output->format_published_date($this->timestamp), 'link' => clean_param($this->link, PARAM_URL), )
/blocks/rss_client/tests/cron_test.php:711return ['Never failed' => ['skiptime' => 0, 'skipuntil' => 0, 'newvalue' => MINSECS * 5, ], 'Failed before' => ['skiptime' => 330, 'skipuntil' => time( ), 'newvalue' => 660, ], 'Near max' => ['skiptime' => \block_rss_client\task\refreshfeeds::CLIENT_MAX_SKIPTIME - 5, 'skipuntil' => time( ), 'newvalue' => \block_rss_client\task\refreshfeeds::CLIENT_MAX_SKIPTIME, ], ]
/competency/tests/external/external_test.php:3761$framework = array('shortname' => 'short<a href="">', 'idnumber' => 'id;"number', 'description' => 'de<>\\..scription', 'descriptionformat' => FORMAT_HTML, 'scaleid' => $this->scale1->id, 'scaleconfiguration' => $this->scaleconfiguration1, 'visible' => true, 'contextid' => \context_system::instance( )->id)
/competency/tests/external/external_test.php:15431$uc1a = $lpg->create_user_competency(array('userid' => $this->user->id, 'competencyid' => $c1a->get('id'), 'status' => user_competency::STATUS_IN_REVIEW, 'reviewerid' => $this->creator->id))
/competency/tests/external/external_test.php:15761$uc2b = $lpg->create_user_competency_plan(array('userid' => $this->user->id, 'competencyid' => $c2b->get('id'), 'planid' => $completedplan->get('id'), 'grade' => 2, 'proficiency' => 1))
/blocks/blog_recent/edit_form.php:481$intervals = array(7200 => get_string('numhours', '', 2), 14400 => get_string('numhours', '', 4), 21600 => get_string('numhours', '', 6), 43200 => get_string('numhours', '', 12), 86400 => get_string('numhours', '', 24), 172800 => get_string('numdays', '', 2), 604800 => get_string('numdays', '', 7))
/blocks/news_items/db/access.php:271$capabilities = array('block/news_items:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/news_items:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/comments/db/access.php:271$capabilities = array('block/comments:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/comments:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/course_list/block_course_list.php:681$this->content->items[] = "<a $linkcss title=\"" . format_string($course->shortname, true, array('context' => $coursecontext)) . "\" " . "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">" . $icon . format_string(get_course_display_name_for_list($course)) . "</a>"
/blocks/course_list/db/access.php:271$capabilities = array('block/course_list:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/course_list:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/rss_client/db/access.php:271$capabilities = array('block/rss_client:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/rss_client:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), 'block/rss_client:manageownfeeds' => array('captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'block/rss_client:manageanyfeeds' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('manager' => CAP_ALLOW)))
/blocks/recent_activity/renderer.php:701$output .= html_writer::tag('li', html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $course->id)), fullname($user, $viewfullnames)), array('class' => 'name'))
/blocks/recent_activity/db/access.php:271$capabilities = array('block/recent_activity:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), 'block/recent_activity:viewaddupdatemodule' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW)), 'block/recent_activity:viewdeletemodule' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW)))
/blocks/settings/db/access.php:271$capabilities = array('block/settings:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/settings:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/private_files/db/access.php:271$capabilities = array('block/private_files:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/private_files:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/accessreview/block_accessreview.php:3031return html_writer::link(new moodle_url(accessibility::get_plugin_url( ), ['courseid' => $COURSE->id, 'tab' => get_config('block_accessreview', 'toolpage'), ]), $OUTPUT->pix_icon('f/find', get_string('viewreportalt', 'block_accessreview'), 'block_accessreview'), ['title' => get_string('viewreportalt', 'block_accessreview'), 'class' => 'block_accessreview_link report-accessmap', ])
/blocks/accessreview/block_accessreview.php:2711return html_writer::link(new moodle_url(accessibility::get_plugin_url( ), ['courseid' => $COURSE->id, 'tab' => 'printable', 'target' => 'pdf', ]), $OUTPUT->pix_icon('a/download_all', get_string('downloadreportalt', 'block_accessreview')), ['title' => get_string('downloadreportalt', 'block_accessreview'), 'class' => 'block_accessreview_link download-accessmap', ])
/blocks/accessreview/block_accessreview.php:2471return html_writer::link('#', $OUTPUT->pix_icon($icon, get_string('togglealt', 'block_accessreview'), 'moodle', ['class' => 'icon-accessmap']), ['title' => get_string('togglealt', 'block_accessreview'), 'style' => 'cursor: pointer;', 'id' => 'toggle-accessmap', 'class' => 'block_accessreview_link', ])
/blocks/accessreview/block_accessreview.php:1561$button = new single_button(new moodle_url(accessibility::get_plugin_url( ), ['action' => 'requestanalysis', 'courseid' => $COURSE->id]), get_string('schedule:requestanalysis', manager::PLUGINNAME), 'post', single_button::BUTTON_PRIMARY, ['class' => 'block_accessreview_analysisbutton'])
/blocks/myoverview/classes/output/main.php:6081return ['nocoursesimg' => $imageurl->out( ), 'title' => ($strings['title']) ? get_string($strings['title'], 'block_myoverview') : '', 'intro' => ($strings['intro']) ? get_string($strings['intro'], 'block_myoverview', $docparams) : '', 'buttons' => $buttons, ]
/blocks/myoverview/classes/output/main.php:6001$docparams = ['quickhref' => $quickstart->out( ), 'quicktitle' => get_string('viewquickstart', 'block_myoverview'), 'quicktarget' => '_blank', 'dochref' => $dochref->out( ), 'doctitle' => get_string('documentation'), 'doctarget' => $CFG->doctonewwindow ? '_blank' : '_self', ]
/blocks/myoverview/classes/output/main.php:4621$defaultvariables = ['totalcoursecount' => count(enrol_get_all_users_courses($USER->id, true)), 'nocoursesimg' => $nocoursesurl, 'newcourseurl' => $newcourseurl, 'grouping' => $this->grouping, 'sort' => $sort, 'view' => in_array($this->view, $this->layouts) ? $this->view : reset($this->layouts), 'paging' => $this->paging, 'layouts' => $availablelayouts, 'displaycategories' => $this->displaycategories, 'displaydropdown' => (count($availablelayouts) > 1) ? true : false, 'displaygroupingallincludinghidden' => $this->displaygroupingallincludinghidden, 'displaygroupingall' => $this->displaygroupingall, 'displaygroupinginprogress' => $this->displaygroupinginprogress, 'displaygroupingfuture' => $this->displaygroupingfuture, 'displaygroupingpast' => $this->displaygroupingpast, 'displaygroupingfavourites' => $this->displaygroupingfavourites, 'displaygroupinghidden' => $this->displaygroupinghidden, 'displaygroupingselector' => $this->displaygroupingselector, 'displaygroupingcustomfield' => $this->displaygroupingcustomfield && $customfieldvalues, 'customfieldname' => $this->customfiltergrouping, 'customfieldvalue' => $this->customfieldvalue, 'customfieldvalues' => $customfieldvalues, 'selectedcustomfield' => $selectedcustomfield, 'showsortbyshortname' => $CFG->courselistshortnames, ]
/blocks/admin_bookmarks/db/access.php:271$capabilities = array('block/admin_bookmarks:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/admin_bookmarks:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/tag_flickr/edit_form.php:441$sortoptions = array('date-posted-asc' => get_string('date-posted-asc', 'block_tag_flickr'), 'date-posted-desc' => get_string('date-posted-desc', 'block_tag_flickr'), 'date-taken-asc' => get_string('date-taken-asc', 'block_tag_flickr'), 'date-taken-desc' => get_string('date-taken-desc', 'block_tag_flickr'), 'interestingness-asc' => get_string('interestingness-asc', 'block_tag_flickr'), 'interestingness-desc' => get_string('interestingness-desc', 'block_tag_flickr'), 'relevance' => get_string('relevance', 'block_tag_flickr'), )
/blocks/myprofile/db/access.php:271$capabilities = array('block/myprofile:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/myprofile:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/classes/external/fetch_addable_blocks.php:411return new external_function_parameters(['pagecontextid' => new external_value(PARAM_INT, 'The context ID of the page.'), 'pagetype' => new external_value(PARAM_ALPHANUMEXT, 'The type of the page.'), 'pagelayout' => new external_value(PARAM_ALPHA, 'The layout of the page.'), 'subpage' => new external_value(PARAM_TEXT, 'The subpage identifier', VALUE_DEFAULT, ''), 'pagehash' => new external_value(PARAM_ALPHANUMEXT, 'Page hash', VALUE_DEFAULT, ''), ])
/blocks/classes/external.php:2291return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'User id (optional), default is current user.', VALUE_DEFAULT, 0), 'returncontents' => new external_value(PARAM_BOOL, 'Whether to return the block contents.', VALUE_DEFAULT, false), 'mypage' => new external_value(PARAM_TEXT, 'What my page to return blocks of', VALUE_DEFAULT, MY_PAGE_DEFAULT), ))
/blocks/classes/external.php:1221$block = ['instanceid' => $bc->blockinstanceid, 'name' => $blockinstances[$bc->blockinstanceid]->instance->blockname, 'region' => $region, 'positionid' => $bc->blockpositionid, 'collapsible' => (bool) $bc->collapsible, 'dockable' => (bool) $bc->dockable, 'weight' => $blockinstances[$bc->blockinstanceid]->instance->weight, 'visible' => $blockinstances[$bc->blockinstanceid]->instance->visible, ]
/blocks/classes/external.php:591return new external_single_structure(array('instanceid' => new external_value(PARAM_INT, 'Block instance id.'), 'name' => new external_value(PARAM_PLUGIN, 'Block name.'), 'region' => new external_value(PARAM_ALPHANUMEXT, 'Block region.'), 'positionid' => new external_value(PARAM_INT, 'Position id.'), 'collapsible' => new external_value(PARAM_BOOL, 'Whether the block is collapsible.'), 'dockable' => new external_value(PARAM_BOOL, 'Whether the block is dockable.'), 'weight' => new external_value(PARAM_INT, 'Used to order blocks within a region.', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_BOOL, 'Whether the block is visible.', VALUE_OPTIONAL), 'contents' => new external_single_structure(array('title' => new external_value(PARAM_RAW, 'Block title.'), 'content' => new external_value(PARAM_RAW, 'Block contents.'), 'contentformat' => new external_format_value('content'), 'footer' => new external_value(PARAM_RAW, 'Block footer.'), 'files' => new external_files('Block files.'), ), 'Block contents (if required).', VALUE_OPTIONAL), 'configs' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'Name.'), 'value' => new external_value(PARAM_RAW, 'JSON encoded representation of the config value.'), 'type' => new external_value(PARAM_ALPHA, 'Type (instance or plugin).'), )), 'Block instance and plugin configuration settings.', VALUE_OPTIONAL), ), 'Block information.')
/blocks/mentees/db/access.php:271$capabilities = array('block/mentees:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/mentees:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/search_forums/classes/output/search_form.php:621$data = ['action' => $this->actionurl, 'helpicon' => $this->helpicon->export_for_template($output), 'hiddenfields' => (object) ['name' => 'id', 'value' => $this->courseid], 'inputname' => 'search', 'searchstring' => get_string('search')]
/blocks/html/db/access.php:271$capabilities = array('block/html:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/html:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/navigation/edit_form.php:611$options = array(0 => get_string('everything', $this->block->blockname), global_navigation::TYPE_COURSE => get_string('courses', $this->block->blockname), global_navigation::TYPE_SECTION => get_string('coursestructures', $this->block->blockname), global_navigation::TYPE_ACTIVITY => get_string('courseactivities', $this->block->blockname))
/blocks/navigation/db/access.php:271$capabilities = array('block/navigation:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/navigation:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/navigation/renderer.php:971$isbranch = $isexpandable && ($item->children->count( ) > 0 || ($item->has_children( ) && (isloggedin( ) || $item->type <= navigation_node::TYPE_CATEGORY)))
/blocks/navigation/edit_form.php:491$options = array(block_navigation::TRIM_RIGHT => get_string('trimmoderight', $this->block->blockname), block_navigation::TRIM_LEFT => get_string('trimmodeleft', $this->block->blockname), block_navigation::TRIM_CENTER => get_string('trimmodecenter', $this->block->blockname))
/blocks/lp/classes/output/summary.php:1251$data = array('hasplans' => !empty($this->plans), 'hasactiveplans' => !empty($activeplans), 'hasmoreplans' => count($this->plans) > count($activeplans), 'activeplans' => $activeplans, 'compstoreview' => $compstoreview, 'hascompstoreview' => $this->compstoreview['count'] > 0, 'hasmorecompstoreview' => $this->compstoreview['count'] > 3, 'planstoreview' => $planstoreview, 'hasplanstoreview' => $this->planstoreview['count'] > 0, 'hasmoreplanstoreview' => $this->planstoreview['count'] > 3, 'plansurl' => url::plans($this->user->id)->out(false), 'pluginbaseurl' => (new \moodle_url('/blocks/lp'))->out(false), 'userid' => $this->user->id, )
/blocks/navigation/renderer.php:831$isexpandable = (empty($expansionlimit) || ($item->type > navigation_node::TYPE_ACTIVITY || $item->type < $expansionlimit) || ($item->contains_active_node( ) && $item->children->count( ) > 0))
/blocks/glossary_random/db/access.php:271$capabilities = array('block/glossary_random:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/glossary_random:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/recentlyaccesseditems/classes/external/recentlyaccesseditems_item_exporter.php:591return array('viewurl' => (new moodle_url('/mod/' . $this->data->modname . '/view.php', array('id' => $this->data->cmid)))->out(false), 'courseviewurl' => (new moodle_url('/course/view.php', array('id' => $this->data->courseid)))->out(false), 'icon' => \html_writer::img($iconurl, get_string('pluginname', $this->data->modname), ['title' => get_string('pluginname', $this->data->modname), 'class' => "icon $iconclass"]), 'purpose' => plugin_supports('mod', $this->data->modname, FEATURE_MOD_PURPOSE, MOD_PURPOSE_OTHER), 'branded' => $isbranded, )
/blocks/tag_youtube/block_tag_youtube.php:3891return ['Film & Animation' => get_string('filmsanimation', 'block_tag_youtube'), 'Autos & Vehicles' => get_string('autosvehicles', 'block_tag_youtube'), 'Music' => get_string('music', 'block_tag_youtube'), 'Pets & Animals' => get_string('petsanimals', 'block_tag_youtube'), 'Sports' => get_string('sports', 'block_tag_youtube'), 'Travel & Events' => get_string('travel', 'block_tag_youtube'), 'Gaming' => get_string('gadgetsgames', 'block_tag_youtube'), 'People & Blogs' => get_string('peopleblogs', 'block_tag_youtube'), 'Comedy' => get_string('comedy', 'block_tag_youtube'), 'Entertainment' => get_string('entertainment', 'block_tag_youtube'), 'News & Politics' => get_string('newspolitics', 'block_tag_youtube'), 'Howto & Style' => get_string('howtodiy', 'block_tag_youtube'), 'Education' => get_string('education', 'block_tag_youtube'), 'Science & Technology' => get_string('scienceandtech', 'block_tag_youtube'), 'Nonprofits & Activism' => get_string('nonprofitactivism', 'block_tag_youtube'), ]
/blocks/activity_results/block_activity_results.php:7001$o .= html_writer::link(new moodle_url('/mod/' . $activity->itemmodule . '/view.php', array('id' => $cm->id)), format_string(($activity->itemname), true, ['context' => context_module::instance($cm->id)]))
/blocks/tags/db/access.php:271$capabilities = array('block/tags:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/tags:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/blog_tags/edit_form.php:471$timewithin = array(10 => get_string('numdays', '', 10), 30 => get_string('numdays', '', 30), 60 => get_string('numdays', '', 60), 90 => get_string('numdays', '', 90), 120 => get_string('numdays', '', 120), 240 => get_string('numdays', '', 240), 365 => get_string('numdays', '', 365), )
/blocks/calendar_upcoming/db/access.php:271$capabilities = array('block/calendar_upcoming:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/calendar_upcoming:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/blocks/tags/block_tags.php:1041$tagcloud = core_tag_collection::get_tag_cloud($this->config->tagcoll, $this->config->showstandard == core_tag_tag::STANDARD_ONLY, $this->config->numberoftags, 'name', '', $this->page->context->id, $this->config->ctx, $this->config->rec)
/blocks/timeline/db/install.php:811$blockinstances[] = ['blockname' => 'timeline', 'parentcontextid' => $parentcontextid, 'showinsubcontexts' => false, 'pagetypepattern' => 'my-index', 'subpagepattern' => $existingrecord->subpagepattern, 'defaultregion' => BLOCK_POS_RIGHT, 'defaultweight' => 0, 'configdata' => '', 'timecreated' => $now, 'timemodified' => $now, ]
/blocks/timeline/classes/output/main.php:1721$contextvariables = ['timelineinstanceid' => $this->timelineinstanceid, 'midnight' => usergetmidnight(time( )), 'coursepages' => [$formattedcourses], 'urls' => ['nocourses' => $nocoursesurl, 'noevents' => $noeventsurl], 'sorttimelinedates' => $this->order == BLOCK_TIMELINE_SORT_BY_DATES, 'sorttimelinecourses' => $this->order == BLOCK_TIMELINE_SORT_BY_COURSES, 'selectedfilter' => $this->filter, 'hasdaysoffset' => true, 'hasdayslimit' => $offsets['dayslimit'] !== '', 'nodayslimit' => $offsets['dayslimit'] === '', 'limit' => $this->limit, 'hascourses' => !empty($formattedcourses), ]
/blocks/online_users/db/access.php:271$capabilities = array('block/online_users:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/online_users:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), 'block/online_users:viewlist' => array('captype' => 'read', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('user' => CAP_ALLOW, 'guest' => CAP_PREVENT, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)))
/blocks/recentlyaccessedcourses/db/install.php:791$blockinstances[] = ['blockname' => 'recentlyaccessedcourses', 'parentcontextid' => $parentcontextid, 'showinsubcontexts' => false, 'pagetypepattern' => 'my-index', 'subpagepattern' => $existingrecord->subpagepattern, 'defaultregion' => 'content', 'defaultweight' => 0, 'configdata' => '', 'timecreated' => $now, 'timemodified' => $now, ]
/blocks/mnet_hosts/block_mnet_hosts.php:1471$this->content->items[] = html_writer::tag('a', $OUTPUT->pix_icon("i/{$host->application}_host", get_string('server', 'block_mnet_hosts')) . s($host->name), array('href' => $url->out( ), 'title' => s($host->name)))
/blocks/calendar_month/db/access.php:271$capabilities = array('block/calendar_month:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/calendar_month:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/repository/lib.php:13891return array('url' => moodle_url::make_draftfile_url($file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))->out( ), 'id' => $file->get_itemid( ), 'file' => $file->get_filename( ), 'icon' => $OUTPUT->image_url(file_extension_icon($thefile))->out( ), )
/blocks/mnet_hosts/db/access.php:271$capabilities = array('block/mnet_hosts:myaddinstance' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/my:manageblocks'), 'block/mnet_hosts:addinstance' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:manageblocks'), )
/repository/lib.php:14701$list[] = array('title' => $filename, 'size' => $filesize, 'date' => $filedate, 'source' => base64_encode($source), 'icon' => $OUTPUT->image_url(file_file_icon($child))->out(false), 'thumbnail' => $OUTPUT->image_url(file_file_icon($child))->out(false), )
/repository/lib.php:14341$tmp = array('title' => $child->get_visible_name( ), 'size' => 0, 'date' => $filedate, 'path' => array_reverse($path), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false))
/repository/lib.php:32711$logevent = \core\event\draft_file_deleted::create(['objectid' => $storedfile->get_id( ), 'context' => $context, 'other' => ['itemid' => $storedfile->get_itemid( ), 'filename' => $storedfile->get_filename( ), 'filesize' => $storedfile->get_filesize( ), 'filepath' => $storedfile->get_filepath( ), 'contenthash' => $storedfile->get_contenthash( ), ], ])
/repository/lib.php:16281$params = array('component' => empty($params['component']) ? '' : clean_param($params['component'], PARAM_COMPONENT), 'filearea' => empty($params['filearea']) ? '' : clean_param($params['filearea'], PARAM_AREA), 'itemid' => empty($params['itemid']) ? 0 : clean_param($params['itemid'], PARAM_INT), 'filename' => empty($params['filename']) ? null : clean_param($params['filename'], PARAM_FILE), 'filepath' => empty($params['filepath']) ? null : clean_param($params['filepath'], PARAM_PATH), 'contextid' => clean_param($params['contextid'], PARAM_INT))
/repository/nextcloud/lib.php:8161$folders[strtoupper($title)] = array('title' => rtrim($title, '/'), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'children' => array( ), 'datemodified' => $item['lastmodified'], 'path' => $item['href'])
/repository/repository_ajax.php:2641$event = array('url' => moodle_url::make_draftfile_url($storedfile->get_itemid( ), $storedfile->get_filepath( ), $storedfile->get_filename( ))->out( ), 'id' => $storedfile->get_itemid( ), 'file' => $storedfile->get_filename( ), 'icon' => $OUTPUT->image_url(file_file_icon($storedfile))->out( ), )
/repository/nextcloud/classes/ocs_client.php:971return ['create_share' => ['endpoint' => $this->ocsendpoint->out(false), 'method' => 'post', 'args' => ['path' => PARAM_TEXT, 'shareType' => PARAM_INT, 'shareWith' => PARAM_TEXT, 'publicUpload' => PARAM_RAW, 'permissions' => PARAM_INT, 'shareWith' => PARAM_TEXT, 'expireDate' => PARAM_TEXT], 'response' => 'text/xml'], 'delete_share' => ['endpoint' => $this->build_share_url( ), 'method' => 'delete', 'args' => ['share_id' => PARAM_INT], 'response' => 'text/xml'], 'get_shares' => ['endpoint' => $this->ocsendpoint->out(false), 'method' => 'get', 'args' => ['path' => PARAM_TEXT, 'reshares' => PARAM_RAW, 'subfiles' => PARAM_RAW, ], 'response' => 'text/xml'], 'get_information_of_share' => ['endpoint' => $this->build_share_url( ), 'method' => 'get', 'args' => ['share_id' => PARAM_INT], 'response' => 'text/xml'], ]
/repository/nextcloud/lib.php:8781$ret = ['dynload' => true, 'nosearch' => true, 'nologin' => false, 'path' => array(['name' => $this->get_meta( )->name, 'path' => '', ]), 'defaultreturntype' => $this->default_returntype( ), 'manage' => $this->issuer->get('baseurl'), 'list' => array( ), 'filereferencewarning' => get_string('externalpubliclinkwarning', 'repository_nextcloud'), ]
/repository/nextcloud/classes/ocs_client.php:1481$shareurl = $this->ocsendpoint->get_scheme( ) . '://' . $this->ocsendpoint->get_host( ) . ':' . $this->ocsendpoint->get_port( ) . $this->ocsendpoint->get_path( ) . '/{share_id}?' . $this->ocsendpoint->get_query_string(false)
/repository/nextcloud/tests/lib_test.php:7191$storedfile = $fs->create_file_from_reference(['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'unittest', 'itemid' => 0, 'filepath' => '/', 'filename' => 'testfile.txt', ], $this->repo->id, json_encode(['type' => 'FILE_CONTROLLED_LINK', 'link' => 'https://test.local/fakelink/', 'usesystem' => true, ]))
/repository/nextcloud/tests/lib_test.php:8561return ['referecncelastsync done recently' => [['storedfile_record' => ['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'unittest', 'itemid' => 0, 'filepath' => '/', 'filename' => 'testfile.txt', ], 'storedfile_reference' => json_encode(['type' => 'FILE_REFERENCE', 'link' => 'https://test.local/fakelink/', 'usesystem' => true, 'referencelastsync' => DAYSECS + time( )]), ], 'mockfunctions' => ['get_referencelastsync'], 'expectedresult' => false], 'file without link' => [['storedfile_record' => ['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'unittest', 'itemid' => 0, 'filepath' => '/', 'filename' => 'testfile.txt', ], 'storedfile_reference' => json_encode(['type' => 'FILE_REFERENCE', 'usesystem' => true, ]), ], 'mockfunctions' => [ ], 'expectedresult' => false], 'file extenstion to exclude' => [['storedfile_record' => ['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'unittest', 'itemid' => 0, 'filepath' => '/', 'filename' => 'testfile.txt', ], 'storedfile_reference' => json_encode(['link' => 'https://test.local/fakelink/', 'type' => 'FILE_REFERENCE', 'usesystem' => true, ]), ], 'mockfunctions' => [ ], 'expectedresult' => false], 'file extenstion for image' => [['storedfile_record' => ['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'unittest', 'itemid' => 0, 'filepath' => '/', 'filename' => 'testfile.png', ], 'storedfile_reference' => json_encode(['link' => 'https://test.local/fakelink/', 'type' => 'FILE_REFERENCE', 'usesystem' => true, ]), 'mock_curl' => true, ], 'mockfunctions' => [''], 'expectedresult' => true], ]
/repository/flickr_public/lib.php:3241$photos = $this->flickr->photos_search(array('tags' => $tag, 'page' => $page, 'per_page' => 24, 'user_id' => $nsid, 'license' => $licenses, 'text' => $text, 'extras' => 'original_format,license,date_upload,last_update', 'media' => 'photos'))
/repository/flickr_public/lib.php:4201$ret['list'][] = array('title' => $p['title'], 'source' => $p['id'], 'id' => $p['id'], 'thumbnail' => $thumbnailsource, 'datecreated' => $p['dateupload'], 'datemodified' => $p['lastupdate'], 'size' => (int) ($curl->get_info( )['download_content_length']), 'image_width' => $bestsize['width'], 'image_height' => $bestsize['height'], 'url' => 'http://www.flickr.com/photos/' . $p['owner'] . '/' . $p['id'], 'license' => $this->license4moodle($p['license']), 'author' => $p['owner'], )
/repository/s3/S3.php:4602$results[(string) $c->Key] = array('name' => (string) $c->Key, 'time' => strtotime((string) $c->LastModified), 'size' => (int) $c->Size, 'hash' => substr((string) $c->ETag, 1, -1))
/repository/s3/S3.php:4932$results[(string) $c->Key] = array('name' => (string) $c->Key, 'time' => strtotime((string) $c->LastModified), 'size' => (int) $c->Size, 'hash' => substr((string) $c->ETag, 1, -1))
/repository/s3/S3.php:8481return isset($rest->body->LastModified, $rest->body->ETag) ? array('time' => strtotime((string) $rest->body->LastModified), 'hash' => substr((string) $rest->body->ETag, 1, -1)) : false
/repository/s3/S3.php:11891return sprintf(($https ? 'https' : 'http') . '://%s/%s?AWSAccessKeyId=%s&Expires=%u&Signature=%s', $hostBucket ? $bucket : self::$endpoint . '/' . $bucket, $uri, self::$__accessKey, $expires, urlencode(self::__getHash("GET\n\n\n{$expires}\n/{$bucket}/{$uri}")))
/repository/s3/S3.php:19081return base64_encode(extension_loaded('hash') ? hash_hmac('sha1', $string, self::$__secretKey, true) : pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) . pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x36), 64))) . $string)))))
/repository/s3/S3.php:22051$headers[] = 'Authorization: ' . S3::__getSignature($this->verb . "\n" . $this->headers['Content-MD5'] . "\n" . $this->headers['Content-Type'] . "\n" . $this->headers['Date'] . $amz . "\n" . $this->resource)
/repository/s3/lib.php:2041$files[] = array('title' => $title, 'size' => $object['size'], 'datemodified' => $object['time'], 'source' => $bucket . '/' . $object['name'], 'thumbnail' => $OUTPUT->image_url(file_extension_icon($title))->out(false))
/repository/coursefiles/lib.php:1062$node = array('title' => $child->get_visible_name( ), 'datemodified' => $child->get_timemodified( ), 'datecreated' => $child->get_timecreated( ), 'path' => $encodedpath, 'children' => array( ), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false))
/repository/coursefiles/lib.php:1171$node = array('title' => $child->get_visible_name( ), 'size' => $child->get_filesize( ), 'author' => $child->get_author( ), 'license' => $child->get_license( ), 'datemodified' => $child->get_timemodified( ), 'datecreated' => $child->get_timecreated( ), 'source' => $encodedpath, 'isref' => $child->is_external_file( ), 'thumbnail' => $OUTPUT->image_url(file_file_icon($child))->out(false))
/repository/areafiles/lib.php:861$node = array('title' => basename($file->get_filepath( )), 'path' => $file->get_filepath( ), 'children' => array( ), 'datemodified' => $file->get_timemodified( ), 'datecreated' => $file->get_timecreated( ), 'icon' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false))
/repository/areafiles/lib.php:1001$node = array('title' => $file->get_filename( ), 'size' => $file->get_filesize( ), 'source' => $fileurl->out( ), 'datemodified' => $file->get_timemodified( ), 'datecreated' => $file->get_timecreated( ), 'author' => $file->get_author( ), 'license' => $file->get_license( ), 'isref' => $file->is_external_file( ), 'iscontrolledlink' => $file->is_controlled_link( ), 'icon' => $OUTPUT->image_url(file_file_icon($file))->out(false), 'thumbnail' => $OUTPUT->image_url(file_file_icon($file))->out(false))
/repository/onedrive/lib.php:4021$files[$remotefile->id] = ['title' => $title, 'source' => $source, 'date' => strtotime($remotefile->lastModifiedDateTime), 'size' => isset($remotefile->size) ? $remotefile->size : null, 'thumbnail' => $thumb, 'thumbnail_height' => $thumbwidth, 'thumbnail_width' => $thumbheight, ]
/repository/onedrive/lib.php:3551$folders[$remotefile->id] = ['title' => $remotefile->name, 'path' => $this->build_node_path($remotefile->id, $remotefile->name, $path), 'date' => strtotime($remotefile->lastModifiedDateTime), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'thumbnail_height' => 64, 'thumbnail_width' => 64, 'children' => [ ]]
/repository/flickr/lib.php:2441$ret['list'][] = ['title' => $p->title, 'source' => $p->id, 'id' => $p->id, 'thumbnail' => $p->url_sq, 'datecreated' => $p->dateupload, 'datemodified' => $p->lastupdate, 'url' => $p->url_o, 'author' => $p->ownername, 'size' => (int) ($curl->get_info( )['download_content_length']), 'image_width' => $p->width_o, 'image_height' => $p->height_o, 'license' => $this->license4moodle((int) $p->license), ]
/repository/flickr/lib.php:2131$ret = ['manage' => 'https://www.flickr.com/photos/organize', 'list' => [ ], 'pages' => $response->photos->pages, 'total' => $response->photos->total, 'perpage' => $response->photos->perpage, 'page' => $response->photos->page, ]
/repository/user/lib.php:1101$node = array('title' => $child->get_visible_name( ), 'size' => $child->get_filesize( ), 'datemodified' => $child->get_timemodified( ), 'datecreated' => $child->get_timecreated( ), 'author' => $child->get_author( ), 'license' => $child->get_license( ), 'isref' => $child->is_external_file( ), 'source' => $encodedpath, 'icon' => $OUTPUT->image_url(file_file_icon($child))->out(false), 'thumbnail' => $OUTPUT->image_url(file_file_icon($child))->out(false))
/repository/user/lib.php:992$node = array('title' => $child->get_visible_name( ), 'datemodified' => $child->get_timemodified( ), 'datecreated' => $child->get_timecreated( ), 'path' => $encodedpath, 'children' => array( ), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false))
/repository/tests/privacy/provider_test.php:2711$repositoryinstance = (object) ['typeid' => ($i + 1), 'name' => 'My Test Repo', 'userid' => $userid, 'contextid' => 1, 'username' => 'some username', 'password' => 'some password', 'timecreated' => date('u'), 'timemodified' => date('u'), 'readonly' => 0]
/repository/onedrive/lib.php:5912$url = moodle_url::make_pluginfile_url($storedfile->get_contextid( ), $storedfile->get_component( ), $storedfile->get_filearea( ), $storedfile->get_itemid( ), $storedfile->get_filepath( ), $storedfile->get_filename( ), $forcedownload)
/repository/youtube/lib.php:2661$sort->options = array((object) array('value' => 'relevance', 'label' => get_string('sortrelevance', 'repository_youtube')), (object) array('value' => 'date', 'label' => get_string('sortpublished', 'repository_youtube')), (object) array('value' => 'rating', 'label' => get_string('sortrating', 'repository_youtube')), (object) array('value' => 'viewCount', 'label' => get_string('sortviewcount', 'repository_youtube')))
/repository/youtube/lib.php:2191$list[] = array('shorttitle' => $title, 'thumbnail_title' => $result->snippet->description, 'title' => $title . '.avi', 'thumbnail' => $thumb->url, 'thumbnail_width' => (int) $thumb->width, 'thumbnail_height' => (int) $thumb->height, 'size' => '', 'date' => '', 'source' => $source, )
/repository/contentbank/classes/helper.php:1021$node = ['shorttitle' => $content->get_name( ), 'title' => $file->get_filename( ), 'datemodified' => $file->get_timemodified( ), 'datecreated' => $file->get_timecreated( ), 'author' => $file->get_author( ), 'license' => $file->get_license( ), 'isref' => $file->is_external_file( ), 'size' => $file->get_filesize( ), 'source' => $encodedpath, 'icon' => $contenttype->get_icon($content), 'thumbnail' => $contenttype->get_icon($content)]
/repository/contentbank/classes/helper.php:901$params = ['contextid' => $file->get_contextid( ), 'component' => $file->get_component( ), 'filearea' => $file->get_filearea( ), 'itemid' => $file->get_itemid( ), 'filepath' => $file->get_filepath( ), 'filename' => $file->get_filename( )]
/repository/dropbox/tests/api_test.php:331return ['No more results' => [(object) ['has_more' => false, 'cursor' => '', ], false], 'Has more, No cursor' => [(object) ['has_more' => true, 'cursor' => '', ], false], 'Has more, Has cursor' => [(object) ['has_more' => true, 'cursor' => 'example_cursor', ], true], 'Missing has_more' => [(object) ['cursor' => 'example_cursor', ], false], 'Missing cursor' => [(object) ['has_more' => 'example_cursor', ], false], ]
/repository/dropbox/lib.php:6961$fileslist[] = ['title' => $entrydata->name, 'source' => $entrydata->path_lower, 'size' => $entrydata->size, 'date' => strtotime($entrydata->client_modified), 'thumbnail' => $OUTPUT->image_url(file_extension_icon($entrydata->path_lower))->out(false), 'realthumbnail' => $this->get_thumbnail_url($entrydata), 'thumbnail_height' => 64, 'thumbnail_width' => 64, ]
/repository/dropbox/lib.php:6851$dirslist[] = ['title' => $entrydata->name, 'path' => file_correct_filepath($entrydata->path_display), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'thumbnail_height' => 64, 'thumbnail_width' => 64, 'children' => array( ), ]
/repository/merlot/lib.php:1051$list[] = array('title' => (string) $entry->title, 'thumbnail' => $OUTPUT->image_url(file_extension_icon($entry->title))->out(false), 'date' => userdate((int) $entry->creationDate), 'size' => '', 'source' => (string) $entry->URL, )
/repository/webdav/lib.php:1471$folders[strtoupper($title)] = array('title' => rtrim($title, '/'), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'children' => array( ), 'datemodified' => $v['lastmodified'], 'path' => $v['href'], )
/repository/equella/lib.php:821$url = $this->get_option('equella_url') . '?method=lms' . '&returnurl=' . urlencode($callbackurl) . '&returnprefix=tle' . '&template=standard' . '&token=' . urlencode($this->getssotoken('write')) . '&courseId=' . urlencode($COURSE->idnumber) . '&courseCode=' . urlencode($COURSE->shortname) . '&action=searchThin' . '&forcePost=true' . '&cancelDisabled=true' . '&attachmentUuidUrls=true' . '&options=' . urlencode($this->get_option('equella_options') . $mimetypesstr) . $restrict
/repository/dropbox/tests/api_test.php:921return ['200 http_code' => [['http_code' => 200], '', null, null, ], '400 http_code' => [['http_code' => 400], 'Unused', 'coding_exception', 'Invalid input parameter passed to DropBox API.', ], '401 http_code' => [['http_code' => 401], 'Unused', \repository_dropbox\authentication_exception::class, 'Authentication token expired', ], '409 http_code' => [['http_code' => 409], json_decode('{"error": "Some value", "error_summary": "Some data here"}'), 'coding_exception', 'Endpoint specific error: Some data here', ], '429 http_code' => [['http_code' => 429], 'Unused', \repository_dropbox\rate_limit_exception::class, 'Rate limit hit', ], '500 http_code' => [['http_code' => 500], 'Response body', 'invalid_response_exception', '500: Response body', ], '599 http_code' => [['http_code' => 599], 'Response body', 'invalid_response_exception', '599: Response body', ], '600 http_code (invalid, but not officially an error)' => [['http_code' => 600], '', null, null, ], ]
/repository/dropbox/tests/api_test.php:1831$tests = ['Only files support thumbnails' => [(object) ['.tag' => 'folder'], false, ], 'Dropbox currently only supports thumbnail generation for files under 20MB' => [(object) ['.tag' => 'file', 'size' => 21 * 1024 * 1024, ], false, ], 'Unusual file extension containing a working format but ending in a non-working one' => [(object) ['.tag' => 'file', 'size' => 100 * 1024, 'path_lower' => 'Example.jpg.pdf', ], false, ], 'Unusual file extension ending in a working extension' => [(object) ['.tag' => 'file', 'size' => 100 * 1024, 'path_lower' => 'Example.pdf.jpg', ], true, ], ]
/repository/googledocs/lib.php:4681$files[$title . $gfile->id] = array('title' => $title, 'source' => $source, 'date' => strtotime($gfile->modifiedTime), 'size' => isset($gfile->size) ? $gfile->size : null, 'thumbnail' => $thumb, 'thumbnail_height' => 64, 'thumbnail_width' => 64, )
/repository/googledocs/lib.php:7032$url = moodle_url::make_pluginfile_url($storedfile->get_contextid( ), $storedfile->get_component( ), $storedfile->get_filearea( ), $storedfile->get_itemid( ), $storedfile->get_filepath( ), $storedfile->get_filename( ), $forcedownload)
/repository/googledocs/lib.php:3041return ['dynload' => true, 'defaultreturntype' => $this->default_returntype( ), 'path' => $contentobj->get_navigation( ), 'list' => $contentobj->get_content_nodes($query, [$this, 'filter']), 'manage' => 'https://drive.google.com/', ]
/repository/googledocs/lib.php:3881$folders[$gfile->name . $gfile->id] = array('title' => $gfile->name, 'path' => $this->build_node_path($gfile->id, $gfile->name, $path), 'date' => strtotime($gfile->modifiedTime), 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'thumbnail_height' => 64, 'thumbnail_width' => 64, 'children' => array( ))
/repository/googledocs/tests/googledocs_search_content_test.php:1141return ['Folders and files match the search criteria; shared drives exist; ordering applied.' => ['test', true, [ ], [$this->create_google_drive_shared_drive_object('d85b21c0f86cb5', 'Shared Drive 1'), ], [$this->create_google_drive_file_object('d85b21c0f86cb0', 'Test file 3.pdf', 'application/pdf', 'pdf', '1000', '', 'https://drive.google.com/uc?id=d85b21c0f86cb0&export=download'), $this->create_google_drive_folder_object('0c4ad262c65333', 'Test folder 1'), $this->create_google_drive_file_object('bed5a0f08d412a', 'Test file 1.pdf', 'application/pdf', 'pdf'), $this->create_google_drive_folder_object('9c4ad262c65333', 'Test folder 2'), ], [$this->create_folder_content_node_array('0c4ad262c65333', 'Test folder 1', "{$rootid}|Google+Drive/{$searchnodeid}|" . urlencode("{$searchforstring} 'test'")), $this->create_folder_content_node_array('9c4ad262c65333', 'Test folder 2', "{$rootid}|Google+Drive/{$searchnodeid}|" . urlencode("{$searchforstring} 'test'")), $this->create_file_content_node_array('bed5a0f08d412a', 'Test file 1.pdf', 'Test file 1.pdf', null, '', 'https://googleusercontent.com/type/application/pdf', '', 'download'), $this->create_file_content_node_array('d85b21c0f86cb0', 'Test file 3.pdf', 'Test file 3.pdf', '1000', '', 'https://googleusercontent.com/type/application/pdf', 'https://drive.google.com/uc?id=d85b21c0f86cb0&export=download', 'download'), ], ], 'Only folders match the search criteria; shared drives do not exist; ordering not applied.' => ['testing', false, [ ], [ ], [$this->create_google_drive_folder_object('0c4ad262c65333', 'Testing folder 3'), $this->create_google_drive_folder_object('d85b21c0f86cb0', 'Testing folder 1'), $this->create_google_drive_folder_object('bed5a0f08d412a', 'Testing folder 2'), ], [$this->create_folder_content_node_array('0c4ad262c65333', 'Testing folder 3', "{$rootid}|Google+Drive/{$searchnodeid}|" . urlencode("{$searchforstring} 'testing'")), $this->create_folder_content_node_array('d85b21c0f86cb0', 'Testing folder 1', "{$rootid}|Google+Drive/{$searchnodeid}|" . urlencode("{$searchforstring} 'testing'")), $this->create_folder_content_node_array('bed5a0f08d412a', 'Testing folder 2', "{$rootid}|Google+Drive/{$searchnodeid}|" . urlencode("{$searchforstring} 'testing'")), ], ], 'Only files match the search criteria; shared drives exist; ordering not applied; filter .doc and .txt.' => ['root', false, ['doc', 'txt'], [$this->create_google_drive_shared_drive_object('d85b21c0f86cb5', 'Shared Drive 1'), ], [$this->create_google_drive_file_object('d85b21c0f86cb0', 'Testing file 3.pdf', 'application/pdf', 'pdf', '1000'), $this->create_google_drive_file_object('a85b21c0f86cb0', 'Testing file 1.txt', 'text/plain', 'txt', '3000'), $this->create_google_drive_file_object('f85b21c0f86cb0', 'Testing file 2.doc', 'application/msword', 'doc', '2000'), ], [$this->create_file_content_node_array('d85b21c0f86cb0', 'Testing file 3.pdf', 'Testing file 3.pdf', '1000', '', 'https://googleusercontent.com/type/application/pdf', '', 'download'), ], ], 'No content that matches the search criteria; shared drives do not exist.' => ['root', false, [ ], [ ], [ ], [ ], ], ]
/repository/googledocs/tests/helper_test.php:591return ['Generate the path for a node without a root path.' => [$rootid, 'Google Drive', '', "{$rootid}|Google+Drive", ], 'Generate the path for a node without a name and root path.' => [$rootid, '', '', $rootid, ], 'Generate the path for a node without a name.' => [$mydriveid, '', "{$rootid}|Google+Drive", "{$rootid}|Google+Drive/{$mydriveid}", ], 'Generate the path for a node which has a name and root path.' => ['092cdf4732b9d5', 'Shared Drive 5', "{$rootid}|Google+Drive/{$shareddrivesid}|Shared+Drives", "{$rootid}|Google+Drive/{$shareddrivesid}|Shared+Drives/092cdf4732b9d5|Shared+Drive+5", ], ]
/repository/googledocs/classes/local/node/file_node.php:961return ['id' => $this->id, 'title' => $this->title, 'source' => json_encode(['id' => $this->id, 'name' => $this->name, 'link' => $this->link, 'exportformat' => $this->exportformat, 'googledoctype' => $this->googledoctype, ]), 'date' => $this->modified, 'size' => $this->size, 'thumbnail' => $this->thumbnail, 'thumbnail_height' => 64, 'thumbnail_width' => 64, ]
/repository/googledocs/classes/local/node/folder_node.php:651return ['id' => $this->id, 'title' => $this->title, 'path' => helper::build_node_path($this->id, $this->title, $this->path), 'date' => $this->modified, 'thumbnail' => $OUTPUT->image_url(file_folder_icon( ))->out(false), 'thumbnail_height' => 64, 'thumbnail_width' => 64, 'children' => [ ], ]
/repository/googledocs/tests/helper_test.php:2581return ['The API call throws exception (status: 403; message: Access Not Configured).' => [new \Exception('Access Not Configured', 403), new \repository_exception('servicenotenabled', 'repository_googledocs'), ], 'The API call throws exception (status: 405; message: Access Not Configured).' => [new \Exception('Access Not Configured', 405), new \Exception('Access Not Configured', 405), ], 'The API call throws exception (status: 403; message: Access Forbidden).' => [new \Exception('Access Forbidden', 403), new \Exception('Access Forbidden', 403), ], 'The API call throws exception (status: 404; message: Not Found).' => [new \Exception('Not Found', 404), new \Exception('Not Found', 404), ], ]
/repository/googledocs/tests/repository_googledocs_testcase.php:401return ['id' => $id, 'title' => $name, 'path' => repository_googledocs\helper::build_node_path($id, $name, $path), 'date' => $modified, 'thumbnail' => "{$CFG->wwwroot}/theme/image.php/boost/core/1/" . file_folder_icon( ), 'thumbnail_height' => 64, 'thumbnail_width' => 64, 'children' => [ ], ]
/repository/googledocs/tests/helper_test.php:1121return ['Return the information for a path node that has a name.' => ["{$rootid}|Google+Drive", [0 => $rootid, 1 => 'Google Drive', 'id' => $rootid, 'name' => 'Google Drive', ], ], 'Return the information for a path node that does not have a name.' => [$rootid, [0 => $rootid, 1 => '', 'id' => $rootid, 'name' => '', ], ], ]
/repository/googledocs/tests/helper_test.php:1641return ['Repository root level path.' => ["{$rootid}|Google+Drive", \repository_googledocs\local\browser\googledocs_root_content::class, ], 'My drive path.' => ["{$rootid}|Google+Drive/{$mydriveid}|My+Drive", \repository_googledocs\local\browser\googledocs_drive_content::class, ], 'Shared drives root path.' => ["{$rootid}|Google+Drive/{$shareddrivesid}|Shared+Drives", \repository_googledocs\local\browser\googledocs_shared_drives_content::class, ], 'Path within a shared drive.' => ["{$rootid}|Google+Drive/{$shareddrivesid}|Shared+Drives/092cdf4732b9d5|Shared+Drive+5", \repository_googledocs\local\browser\googledocs_drive_content::class, ], ]
/mod/glossary/backup/moodle2/backup_glossary_stepslib.php:401$glossary = new backup_nested_element('glossary', array('id'), array('name', 'intro', 'introformat', 'allowduplicatedentries', 'displayformat', 'mainglossary', 'showspecial', 'showalphabet', 'showall', 'allowcomments', 'allowprintview', 'usedynalink', 'defaultapproval', 'globalglossary', 'entbypage', 'editalways', 'rsstype', 'rssarticles', 'assessed', 'assesstimestart', 'assesstimefinish', 'scale', 'timecreated', 'timemodified', 'completionentries'))
/mod/glossary/tests/generator/lib.php:1611$record = $data + ['glossaryid' => $glossary->id, 'timecreated' => $now, 'timemodified' => $now, 'userid' => $USER->id, 'concept' => 'Glossary entry ' . $this->entrycount, 'definition' => 'Definition of glossary entry ' . $this->entrycount, 'definitionformat' => FORMAT_MOODLE, 'definitiontrust' => 0, 'usedynalink' => $CFG->glossary_linkentries, 'casesensitive' => $CFG->glossary_casesensitive, 'fullmatch' => $CFG->glossary_fullmatch]
/mod/glossary/tests/generator/lib.php:631$record = (array) $record + array('globalglossary' => 0, 'mainglossary' => 0, 'defaultapproval' => $CFG->glossary_defaultapproval, 'allowduplicatedentries' => $CFG->glossary_dupentries, 'allowcomments' => $CFG->glossary_allowcomments, 'usedynalink' => $CFG->glossary_linkbydefault, 'displayformat' => 'dictionary', 'approvaldisplayformat' => 'default', 'entbypage' => !empty($CFG->glossary_entbypage) ? $CFG->glossary_entbypage : 10, 'showalphabet' => 1, 'showall' => 1, 'showspecial' => 1, 'allowprintview' => 1, 'rsstype' => 0, 'rssarticles' => 0, 'grade' => 100, 'assessed' => 0, )
/mod/glossary/tests/concept_cache_test.php:1571$glossary1d = $this->getDataGenerator( )->create_module('glossary', array('course' => $course1->id, 'mainglossary' => 1, 'usedynalink' => 1, 'availability' => json_encode(\core_availability\tree::get_root_json(array(\availability_group\condition::get_json( ))))))
/mod/lesson/renderer.php:1811$nolink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id, 'pageid' => $lesson->firstpageid, 'startlastseen' => 'no')), get_string('no'), array('class' => 'btn btn-secondary'))
/mod/lesson/renderer.php:1761$yeslink = html_writer::link(new moodle_url('/mod/lesson/view.php', array('id' => $this->page->cm->id, 'pageid' => $lastpageseenid, 'startlastseen' => 'yes')), get_string('yes'), array('class' => 'btn btn-primary'))
/mod/lesson/renderer.php:1011$output .= $this->output->box('<a href="' . $CFG->wwwroot . '/course/view.php?id=' . $this->page->course->id . '">' . get_string('returnto', 'lesson', format_string($this->page->course->fullname, true)) . '</a>', 'lessonbutton standardbutton')
/mod/glossary/backup/moodle1/lib.php:531return array(new convert_path('glossary', '/MOODLE_BACKUP/COURSE/MODULES/MOD/GLOSSARY', array('newfields' => array('introformat' => FORMAT_MOODLE, 'completionentries' => 0, ), )), new convert_path('glossary_categories', '/MOODLE_BACKUP/COURSE/MODULES/MOD/GLOSSARY/CATEGORIES'), new convert_path('glossary_category', '/MOODLE_BACKUP/COURSE/MODULES/MOD/GLOSSARY/CATEGORIES/CATEGORY', array('dropfields' => array('glossaryid'))))
/mod/glossary/classes/output/standard_action_bar.php:1401$data = ['action' => new moodle_url('/mod/glossary/view.php'), 'hiddenfields' => $hiddenfields, 'otherfields' => $checkbox, 'inputname' => 'hook', 'query' => ($this->mode == 'search') ? s($this->hook) : '', 'searchstring' => get_string('search'), ]
/mod/glossary/classes/admin_setting_display_formats.php:1351$visibleicon = html_writer::link(new moodle_url('/mod/glossary/formats.php', array('id' => $format->id, 'mode' => 'visible', 'sesskey' => sesskey( ))), $OUTPUT->pix_icon($vicon, $vtitle), array('title' => $vtitle))
/mod/glossary/classes/external.php:14561return new external_function_parameters(array('glossaryid' => new external_value(PARAM_INT, 'Glossary id'), 'concept' => new external_value(PARAM_TEXT, 'Glossary concept'), 'definition' => new external_value(PARAM_RAW, 'Glossary concept definition'), 'definitionformat' => new external_format_value('definition'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: inlineattachmentsid (int); the draft file area id for inline attachments attachmentsid (int); the draft file area id for attachments categories (comma separated int); comma separated category ids aliases (comma separated str); comma separated aliases usedynalink (bool); whether the entry should be automatically linked. casesensitive (bool); whether the entry is case sensitive. fullmatch (bool); whether to match whole words only.'), 'value' => new external_value(PARAM_RAW, 'the value of the option (validated inside the function)'))), 'Optional settings', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:14351return new external_single_structure(array('entry' => self::get_entry_return_structure( ), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'permissions' => new external_single_structure(['candelete' => new external_value(PARAM_BOOL, 'Whether the user can delete the entry.'), 'canupdate' => new external_value(PARAM_BOOL, 'Whether the user can update the entry.'), ], 'User permissions for the managing the entry.', VALUE_OPTIONAL), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external/prepare_entry.php:1291return new external_single_structure(['inlineattachmentsid' => new external_value(PARAM_INT, 'Draft item id for the text editor.'), 'attachmentsid' => new external_value(PARAM_INT, 'Draft item id for the file manager.'), 'areas' => new external_multiple_structure(new external_single_structure(['area' => new external_value(PARAM_ALPHA, 'File area name.'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'Name of option.'), 'value' => new external_value(PARAM_RAW, 'Value of option.'), ]), 'Draft file area options.')]), 'File areas including options'), 'aliases' => new external_multiple_structure(new external_value(PARAM_RAW, 'Alias name.')), 'categories' => new external_multiple_structure(new external_value(PARAM_INT, 'Category id')), 'warnings' => new external_warnings( ), ])
/mod/glossary/classes/external/prepare_entry.php:1051return ['inlineattachmentsid' => $entry->definition_editor['itemid'], 'attachmentsid' => $entry->attachment_filemanager, 'areas' => [['area' => 'definition', 'options' => $definitionoptions, ], ['area' => 'attachment', 'options' => $attachmentoptions, ], ], 'aliases' => explode("\n", trim($entry->aliases)), 'categories' => $entry->categories, ]
/mod/glossary/classes/external/update_entry.php:561return new external_function_parameters(['entryid' => new external_value(PARAM_INT, 'Glossary entry id to update'), 'concept' => new external_value(PARAM_TEXT, 'Glossary concept'), 'definition' => new external_value(PARAM_RAW, 'Glossary concept definition'), 'definitionformat' => new external_format_value('definition'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: inlineattachmentsid (int); the draft file area id for inline attachments attachmentsid (int); the draft file area id for attachments categories (comma separated int); comma separated category ids aliases (comma separated str); comma separated aliases usedynalink (bool); whether the entry should be automatically linked. casesensitive (bool); whether the entry is case sensitive. fullmatch (bool); whether to match whole words only.'), 'value' => new external_value(PARAM_RAW, 'the value of the option (validated inside the function)')]), 'Optional settings', VALUE_DEFAULT, [ ])])
/mod/glossary/classes/output/standard_action_bar.php:1971$params = array('id' => $this->cm->id, 'mode' => $this->mode, 'hook' => $this->hook, 'sortkey' => $this->sortkey, 'sortorder' => $this->sortorder, 'offset' => $this->offset, 'pagelimit' => $this->pagelimit)
/mod/lesson/classes/external.php:6971$data = array('nquestions' => new external_value(PARAM_INT, 'Number of questions answered'), 'attempts' => new external_value(PARAM_INT, 'Number of question attempts'), 'total' => new external_value(PARAM_FLOAT, 'Max points possible'), 'earned' => new external_value(PARAM_FLOAT, 'Points earned by student'), 'grade' => new external_value(PARAM_FLOAT, 'Calculated percentage grade'), 'nmanual' => new external_value(PARAM_INT, 'Number of manually graded questions'), 'manualpoints' => new external_value(PARAM_FLOAT, 'Point value for manually graded questions'), )
/mod/lesson/classes/external.php:8461return new external_single_structure(array('pages' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The attempt id.'), 'lessonid' => new external_value(PARAM_INT, 'The lesson id.'), 'pageid' => new external_value(PARAM_INT, 'The page id.'), 'userid' => new external_value(PARAM_INT, 'The user who viewed the page.'), 'retry' => new external_value(PARAM_INT, 'The lesson attempt number.'), 'flag' => new external_value(PARAM_INT, '1 if the next page was calculated randomly.'), 'timeseen' => new external_value(PARAM_INT, 'The time the page was seen.'), 'nextpageid' => new external_value(PARAM_INT, 'The next page chosen id.'), ), 'The content pages viewed.')), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:5191return new external_function_parameters(array('lessonid' => new external_value(PARAM_INT, 'lesson instance id'), 'attempt' => new external_value(PARAM_INT, 'lesson attempt number'), 'correct' => new external_value(PARAM_BOOL, 'only fetch correct attempts', VALUE_DEFAULT, false), 'pageid' => new external_value(PARAM_INT, 'only fetch attempts at the given page', VALUE_DEFAULT, null), 'userid' => new external_value(PARAM_INT, 'only fetch attempts of the given user', VALUE_DEFAULT, null), ))
/mod/lesson/classes/external.php:5801return new external_single_structure(array('attempts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The attempt id'), 'lessonid' => new external_value(PARAM_INT, 'The attempt lessonid'), 'pageid' => new external_value(PARAM_INT, 'The attempt pageid'), 'userid' => new external_value(PARAM_INT, 'The user who did the attempt'), 'answerid' => new external_value(PARAM_INT, 'The attempt answerid'), 'retry' => new external_value(PARAM_INT, 'The lesson attempt number'), 'correct' => new external_value(PARAM_INT, 'If it was the correct answer'), 'useranswer' => new external_value(PARAM_RAW, 'The complete user answer'), 'timeseen' => new external_value(PARAM_INT, 'The time the question was seen'), ), 'The question page attempts')), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:11011return new external_single_structure(array('pages' => new external_multiple_structure(new external_single_structure(array('page' => self::get_page_structure( ), 'answerids' => new external_multiple_structure(new external_value(PARAM_INT, 'Answer id'), 'List of answers ids (empty for content pages in Moodle 1.9)'), 'jumps' => new external_multiple_structure(new external_value(PARAM_INT, 'Page to jump id'), 'List of possible page jumps'), 'filescount' => new external_value(PARAM_INT, 'The total number of files attached to the page'), 'filessizetotal' => new external_value(PARAM_INT, 'The total size of the files'), ), 'The lesson pages')), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:11311return new external_function_parameters(array('lessonid' => new external_value(PARAM_INT, 'lesson instance id'), 'password' => new external_value(PARAM_RAW, 'optional password (the lesson may be protected)', VALUE_DEFAULT, ''), 'pageid' => new external_value(PARAM_INT, 'page id to continue from (only when continuing an attempt)', VALUE_DEFAULT, 0), 'review' => new external_value(PARAM_BOOL, 'if we want to review just after finishing', VALUE_DEFAULT, false), ))
/mod/lesson/classes/external.php:9291return new external_single_structure(array('timers' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The attempt id'), 'lessonid' => new external_value(PARAM_INT, 'The lesson id'), 'userid' => new external_value(PARAM_INT, 'The user id'), 'starttime' => new external_value(PARAM_INT, 'First access time for a new timer session'), 'lessontime' => new external_value(PARAM_INT, 'Last access time to the lesson during the timer session'), 'completed' => new external_value(PARAM_INT, 'If the lesson for this timer was completed'), 'timemodifiedoffline' => new external_value(PARAM_INT, 'Last modified time via webservices.'), ), 'The timers')), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:9571return new external_single_structure(array('id' => new external_value(PARAM_INT, 'The id of this lesson page'), 'lessonid' => new external_value(PARAM_INT, 'The id of the lesson this page belongs to'), 'prevpageid' => new external_value(PARAM_INT, 'The id of the page before this one'), 'nextpageid' => new external_value(PARAM_INT, 'The id of the next page in the page sequence'), 'qtype' => new external_value(PARAM_INT, 'Identifies the page type of this page'), 'qoption' => new external_value(PARAM_INT, 'Used to record page type specific options'), 'layout' => new external_value(PARAM_INT, 'Used to record page specific layout selections'), 'display' => new external_value(PARAM_INT, 'Used to record page specific display selections'), 'timecreated' => new external_value(PARAM_INT, 'Timestamp for when the page was created'), 'timemodified' => new external_value(PARAM_INT, 'Timestamp for when the page was last modified'), 'title' => new external_value(PARAM_RAW, 'The title of this page', VALUE_OPTIONAL), 'contents' => new external_value(PARAM_RAW, 'The contents of this page', VALUE_OPTIONAL), 'contentsformat' => new external_format_value('contents', VALUE_OPTIONAL), 'displayinmenublock' => new external_value(PARAM_BOOL, 'Toggles display in the left menu block'), 'type' => new external_value(PARAM_INT, 'The type of the page [question | structure]'), 'typeid' => new external_value(PARAM_INT, 'The unique identifier for the page type'), 'typestring' => new external_value(PARAM_RAW, 'The string that describes this page type'), ), 'Page fields', $required)
/mod/lesson/locallib.php:34681$data = (object) array('gradelesson' => true, 'notenoughtimespent' => false, 'numberofpagesviewed' => false, 'youshouldview' => false, 'numberofcorrectanswers' => false, 'displayscorewithessays' => false, 'displayscorewithoutessays' => false, 'yourcurrentgradeisoutof' => false, 'yourcurrentgradeis' => false, 'eolstudentoutoftimenoanswers' => false, 'welldone' => false, 'progressbar' => false, 'displayofgrade' => false, 'reviewlesson' => false, 'modattemptsnoteacher' => false, 'activitylink' => false, 'progresscompleted' => false, )
/mod/lesson/pagetypes/essay.php:711$options = array('contents' => $this->get_contents( ), 'lessonid' => $this->lesson->id, 'attemptid' => $attempt ? $attempt->id : null, 'editoroptions' => array('maxbytes' => $PAGE->course->maxbytes, 'context' => $context, 'noclean' => true, 'maxfiles' => EDITOR_UNLIMITED_FILES, 'enable_filemanagement' => false))
/mod/lesson/locallib.php:21661$event = \mod_lesson\event\lesson_started::create(array('objectid' => $this->properties( )->id, 'context' => context_module::instance($cm->id), 'courseid' => $this->properties( )->course))
/mod/lesson/locallib.php:22701$event = \mod_lesson\event\lesson_ended::create(array('objectid' => $this->properties( )->id, 'context' => context_module::instance($cm->id), 'courseid' => $this->properties( )->course))
/mod/lesson/pagetypes/matching.php:3363$properties = file_postupdate_standard_editor($properties, 'contents', array('noclean' => true, 'maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes' => $PAGE->course->maxbytes), context_module::instance($PAGE->cm->id), 'mod_lesson', 'page_contents', $properties->id)
/mod/lesson/classes/external.php:4101return new external_single_structure(array('canmanage' => new external_value(PARAM_BOOL, 'Whether the user can manage the lesson or not.'), 'cangrade' => new external_value(PARAM_BOOL, 'Whether the user can grade the lesson or not.'), 'canviewreports' => new external_value(PARAM_BOOL, 'Whether the user can view the lesson reports or not.'), 'reviewmode' => new external_value(PARAM_BOOL, 'Whether the lesson is in review mode for the current user.'), 'attemptscount' => new external_value(PARAM_INT, 'The number of attempts done by the user.'), 'lastpageseen' => new external_value(PARAM_INT, 'The last page seen id.'), 'leftduringtimedsession' => new external_value(PARAM_BOOL, 'Whether the user left during a timed session.'), 'firstpageid' => new external_value(PARAM_INT, 'The lesson first page id.'), 'preventaccessreasons' => new external_multiple_structure(new external_single_structure(array('reason' => new external_value(PARAM_ALPHANUMEXT, 'Reason lang string code'), 'data' => new external_value(PARAM_RAW, 'Additional data'), 'message' => new external_value(PARAM_RAW, 'Complete html message'), ), 'The reasons why the user cannot attempt the lesson')), 'warnings' => new external_warnings( ), ))
/mod/lesson/pagetypes/essay.php:2453$properties = file_postupdate_standard_editor($properties, 'contents', array('noclean' => true, 'maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes' => $PAGE->course->maxbytes), context_module::instance($PAGE->cm->id), 'mod_lesson', 'page_contents', $properties->id)
/mod/lesson/pagetypes/truefalse.php:1773$properties = file_postupdate_standard_editor($properties, 'contents', array('noclean' => true, 'maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes' => $PAGE->course->maxbytes), context_module::instance($PAGE->cm->id), 'mod_lesson', 'page_contents', $properties->id)
/mod/glossary/classes/external.php:4411return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'letter' => new external_value(PARAM_ALPHA, 'A letter, or either keywords: \'ALL\' or \'SPECIAL\'.'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:2701return new external_single_structure(array('glossaries' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['allowduplicatedentries' => new external_value(PARAM_INT, 'If enabled, multiple entries can have the' . ' same concept name'), 'displayformat' => new external_value(PARAM_TEXT, 'Display format type'), 'mainglossary' => new external_value(PARAM_INT, 'If enabled this glossary is a main glossary.'), 'showspecial' => new external_value(PARAM_INT, 'If enabled, participants can browse the glossary by' . ' special characters, such as @ and #'), 'showalphabet' => new external_value(PARAM_INT, 'If enabled, participants can browse the glossary by' . ' letters of the alphabet'), 'showall' => new external_value(PARAM_INT, 'If enabled, participants can browse all entries at once'), 'allowcomments' => new external_value(PARAM_INT, 'If enabled, all participants with permission to' . ' create comments will be able to add comments to glossary entries'), 'allowprintview' => new external_value(PARAM_INT, 'If enabled, students are provided with a link to a' . ' printer-friendly version of the glossary. The link is always available to teachers'), 'usedynalink' => new external_value(PARAM_INT, 'If site-wide glossary auto-linking has been enabled' . ' by an administrator and this checkbox is ticked, the entry will be automatically linked' . ' wherever the concept words and phrases appear throughout the rest of the course.'), 'defaultapproval' => new external_value(PARAM_INT, 'If set to no, entries require approving by a' . ' teacher before they are viewable by everyone.'), 'approvaldisplayformat' => new external_value(PARAM_TEXT, 'When approving glossary items you may wish' . ' to use a different display format'), 'globalglossary' => new external_value(PARAM_INT, ''), 'entbypage' => new external_value(PARAM_INT, 'Entries shown per page'), 'editalways' => new external_value(PARAM_INT, 'Always allow editing'), 'rsstype' => new external_value(PARAM_INT, 'To enable the RSS feed for this activity, select either' . ' concepts with author or concepts without author to be included in the feed'), 'rssarticles' => new external_value(PARAM_INT, 'This setting specifies the number of glossary entry' . ' concepts to include in the RSS feed. Between 5 and 20 generally acceptable'), 'assessed' => new external_value(PARAM_INT, 'Aggregate type'), 'assesstimestart' => new external_value(PARAM_INT, 'Restrict rating to items created after this'), 'assesstimefinish' => new external_value(PARAM_INT, 'Restrict rating to items created before this'), 'scale' => new external_value(PARAM_INT, 'Scale ID'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'completionentries' => new external_value(PARAM_INT, 'Number of entries to complete'), 'browsemodes' => new external_multiple_structure(new external_value(PARAM_ALPHA, 'Modes of browsing allowed')), 'canaddentry' => new external_value(PARAM_INT, 'Whether the user can add a new entry', VALUE_OPTIONAL), ]), 'Glossaries')), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:5291return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'order' => new external_value(PARAM_ALPHA, 'Order the records by: \'CREATION\' or \'UPDATE\'.', VALUE_DEFAULT, 'UPDATE'), 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \'ASC\' or \'DESC\'', VALUE_DEFAULT, 'DESC'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:5127return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:6117return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:5581$params = self::validate_parameters(self::get_entries_by_date_parameters( ), array('id' => $id, 'order' => core_text::strtoupper($order), 'sort' => core_text::strtoupper($sort), 'from' => $from, 'limit' => $limit, 'options' => $options, ))
/mod/glossary/classes/external.php:7021return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'The glossary ID.'), 'categoryid' => new external_value(PARAM_INT, 'The category ID. Use \'' . GLOSSARY_SHOW_ALL_CATEGORIES . '\' for all' . ' categories, or \'' . GLOSSARY_SHOW_NOT_CATEGORISED . '\' for uncategorised entries.'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:6811return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records.'), 'categories' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The category ID'), 'glossaryid' => new external_value(PARAM_INT, 'The glossary ID'), 'name' => new external_value(PARAM_RAW, 'The name of the category'), 'usedynalink' => new external_value(PARAM_BOOL, 'Whether the category is automatically linked'), ))), 'warnings' => new external_warnings( )))
/mod/book/tool/exportimscp/locallib.php:1841$imsresources .= ' <resource identifier="RES-' . $book->course . '-' . $book->id . '-' . $chapter->pagenum . '" type="webcontent" xml:base="' . $chapter->pagenum . '/" href="index.html">' . "\n" . ' <file href="' . $chapter->pagenum . '/index.html" />' . implode($localfiles) . $cssdependency . "\n" . ' </resource>' . "\n"
/mod/book/tool/exportimscp/locallib.php:1711$imsitems .= $currspaces . ' <item identifier="ITEM-' . $book->course . '-' . $book->id . '-' . $chapter->pagenum . '" isvisible="true" identifierref="RES-' . $book->course . '-' . $book->id . '-' . $chapter->pagenum . "\">\n" . $currspaces . ' <title>' . htmlspecialchars($chaptertitle, ENT_COMPAT) . '</title>' . "\n"
/mod/glossary/lib.php:12441$return .= \html_writer::link(new \moodle_url('/mod/glossary/showentry.php', ['eid' => $entry->id]), $OUTPUT->pix_icon('fp/link', get_string('entrylink', 'glossary', $altsuffix), 'theme'), ['title' => get_string('entrylink', 'glossary', $altsuffix), 'class' => 'icon'])
/mod/glossary/locallib.php:2721$this->multifiles = array_merge($fs->get_area_files($context->id, 'mod_glossary', 'attachment', $this->entry->id, "timemodified", false), $fs->get_area_files($context->id, 'mod_glossary', 'entry', $this->entry->id, "timemodified", false))
/mod/glossary/lib.php:13091$files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'attachment', $entry->id, "timemodified", false) || $files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'entry', $entry->id, "timemodified", false)
/mod/glossary/lib.php:12531$return .= '<a class="icon" title="' . get_string('disapprove', 'glossary') . '" href="approve.php?newstate=0&amp;eid=' . $entry->id . '&amp;mode=' . $mode . '&amp;hook=' . urlencode($hook) . '&amp;sesskey=' . sesskey( ) . '">' . $OUTPUT->pix_icon('t/block', get_string('disapprove', 'glossary')) . '</a>'
/mod/glossary/classes/external.php:931$params = array('id' => new external_value(PARAM_INT, 'The entry ID'), 'glossaryid' => new external_value(PARAM_INT, 'The glossary ID'), 'userid' => new external_value(PARAM_INT, 'Author ID'), 'userfullname' => new external_value(PARAM_NOTAGS, 'Author full name'), 'userpictureurl' => new external_value(PARAM_URL, 'Author picture'), 'concept' => new external_value(PARAM_RAW, 'The concept'), 'definition' => new external_value(PARAM_RAW, 'The definition'), 'definitionformat' => new external_format_value('definition'), 'definitiontrust' => new external_value(PARAM_BOOL, 'The definition trust flag'), 'definitioninlinefiles' => new external_files('entry definition inline files', VALUE_OPTIONAL), 'attachment' => new external_value(PARAM_BOOL, 'Whether or not the entry has attachments'), 'attachments' => new external_files('attachments', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'teacherentry' => new external_value(PARAM_BOOL, 'The entry was created by a teacher, or equivalent.'), 'sourceglossaryid' => new external_value(PARAM_INT, 'The source glossary ID'), 'usedynalink' => new external_value(PARAM_BOOL, 'Whether the concept should be automatically linked'), 'casesensitive' => new external_value(PARAM_BOOL, 'When true, the matching is case sensitive'), 'fullmatch' => new external_value(PARAM_BOOL, 'When true, the matching is done on full words only'), 'approved' => new external_value(PARAM_BOOL, 'Whether the entry was approved'), 'tags' => new external_multiple_structure(\core_tag\external\tag_item_exporter::get_read_structure( ), 'Tags', VALUE_OPTIONAL), )
/mod/glossary/lib.php:25381$filerecord = array('contextid' => $contextid, 'component' => 'mod_glossary', 'filearea' => $filearea, 'itemid' => $itemid, 'filepath' => $file['#']['FILEPATH'][0]['#'], 'filename' => $file['#']['FILENAME'][0]['#'], 'userid' => $USER->id)
/mod/glossary/classes/external.php:10917return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:11081return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'query' => new external_value(PARAM_NOTAGS, 'The query string'), 'fullsearch' => new external_value(PARAM_BOOL, 'The query', VALUE_DEFAULT, 1), 'order' => new external_value(PARAM_ALPHA, 'Order by: \'CONCEPT\', \'CREATION\' or \'UPDATE\'', VALUE_DEFAULT, 'CONCEPT'), 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \'ASC\' or \'DESC\'', VALUE_DEFAULT, 'ASC'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:11411$params = self::validate_parameters(self::get_entries_by_search_parameters( ), array('id' => $id, 'query' => $query, 'fullsearch' => $fullsearch, 'order' => core_text::strtoupper($order), 'sort' => core_text::strtoupper($sort), 'from' => $from, 'limit' => $limit, 'options' => $options, ))
/mod/glossary/classes/external.php:11947return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:12111return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'term' => new external_value(PARAM_NOTAGS, 'The entry concept, or alias'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:12767return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:12931return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'letter' => new external_value(PARAM_ALPHA, 'A letter, or either keywords: \'ALL\' or \'SPECIAL\'.'), 'order' => new external_value(PARAM_ALPHA, 'Order by: \'CONCEPT\', \'CREATION\' or \'UPDATE\'', VALUE_DEFAULT, 'CONCEPT'), 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \'ASC\' or \'DESC\'', VALUE_DEFAULT, 'ASC'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array( ), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:13647return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:7901return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure(true)), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:8071return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes self even if all of their entries' . ' require approval. When true, also includes authors only having entries pending approval.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:8771return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records.'), 'authors' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The user ID'), 'fullname' => new external_value(PARAM_NOTAGS, 'The fullname'), 'pictureurl' => new external_value(PARAM_URL, 'The picture URL'), ))), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:8971return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'letter' => new external_value(PARAM_ALPHA, 'First letter of firstname or lastname, or either keywords:' . ' \'ALL\' or \'SPECIAL\'.'), 'field' => new external_value(PARAM_ALPHA, 'Search and order using: \'FIRSTNAME\' or \'LASTNAME\'', VALUE_DEFAULT, 'LASTNAME'), 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \'ASC\' or \'DESC\'', VALUE_DEFAULT, 'ASC'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:9291$params = self::validate_parameters(self::get_entries_by_author_parameters( ), array('id' => $id, 'letter' => $letter, 'field' => core_text::strtoupper($field), 'sort' => core_text::strtoupper($sort), 'from' => $from, 'limit' => $limit, 'options' => $options, ))
/mod/glossary/classes/external.php:9867return new external_single_structure(array('count' => new external_value(PARAM_INT, 'The total number of records matching the request.'), 'entries' => new external_multiple_structure(self::get_entry_return_structure( )), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/glossary/classes/external.php:10031return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Glossary entry ID'), 'authorid' => new external_value(PARAM_INT, 'The author ID'), 'order' => new external_value(PARAM_ALPHA, 'Order by: \'CONCEPT\', \'CREATION\' or \'UPDATE\'', VALUE_DEFAULT, 'CONCEPT'), 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \'ASC\' or \'DESC\'', VALUE_DEFAULT, 'ASC'), 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20), 'options' => new external_single_structure(array('includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' . ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)), 'An array of options', VALUE_DEFAULT, array( ))))
/mod/glossary/classes/external.php:10341$params = self::validate_parameters(self::get_entries_by_author_id_parameters( ), array('id' => $id, 'authorid' => $authorid, 'order' => core_text::strtoupper($order), 'sort' => core_text::strtoupper($sort), 'from' => $from, 'limit' => $limit, 'options' => $options, ))
/mod/survey/report.php:3451$table->data[] = array($OUTPUT->user_picture($a, array('courseid' => $course->id)), "<a href=\"report.php?id=$id&amp;action=student&amp;student=$a->userid\">" . fullname($a) . "</a>", userdate($a->time), s($answer1), s($answer2))
/mod/resource/classes/external.php:1751return new external_single_structure(array('resources' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['contentfiles' => new external_files('Files in the content'), 'tobemigrated' => new external_value(PARAM_INT, 'Whether this resource was migrated'), 'legacyfiles' => new external_value(PARAM_INT, 'Legacy files flag'), 'legacyfileslast' => new external_value(PARAM_INT, 'Legacy files last control flag'), 'display' => new external_value(PARAM_INT, 'How to display the resource'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'filterfiles' => new external_value(PARAM_INT, 'If filters should be applied to the resource content'), 'revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the resource was modified'), ]))), 'warnings' => new external_warnings( ), ))
/mod/lesson/backup/moodle1/lib.php:621return array(new convert_path('lesson', '/MOODLE_BACKUP/COURSE/MODULES/MOD/LESSON', array('renamefields' => array('usegrademax' => 'usemaxgrade', ), )), new convert_path('lesson_page', '/MOODLE_BACKUP/COURSE/MODULES/MOD/LESSON/PAGES/PAGE', array('newfields' => array('contentsformat' => FORMAT_MOODLE, 'nextpageid' => 0, 'prevpageid' => 0), )), new convert_path('lesson_pages', '/MOODLE_BACKUP/COURSE/MODULES/MOD/LESSON/PAGES'), new convert_path('lesson_answer', '/MOODLE_BACKUP/COURSE/MODULES/MOD/LESSON/PAGES/PAGE/ANSWERS/ANSWER', array('newfields' => array('answerformat' => 0, 'responseformat' => 0, ), 'renamefields' => array('answertext' => 'answer_text', ), )))
/mod/lesson/backup/moodle2/backup_lesson_stepslib.php:711$lesson = new backup_nested_element('lesson', array('id'), array('course', 'name', 'intro', 'introformat', 'practice', 'modattempts', 'usepassword', 'password', 'dependency', 'conditions', 'grade', 'custom', 'ongoing', 'usemaxgrade', 'maxanswers', 'maxattempts', 'review', 'nextpagedefault', 'feedback', 'minquestions', 'maxpages', 'timelimit', 'retake', 'activitylink', 'mediafile', 'mediaheight', 'mediawidth', 'mediaclose', 'slideshow', 'width', 'height', 'bgcolor', 'displayleft', 'displayleftif', 'progressbar', 'available', 'deadline', 'timemodified', 'completionendreached', 'completiontimespent', 'allowofflineattempts'))
/mod/lesson/db/access.php:291$capabilities = array('mod/lesson:addinstance' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:manageactivities'), 'mod/lesson:edit' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/lesson:grade' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/lesson:viewreports' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/lesson:manage' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/lesson:manageoverrides' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/lesson:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('user' => CAP_ALLOW, 'guest' => CAP_ALLOW)), )
/mod/lesson/tests/event/events_test.php:5232$params = array('objectid' => 1, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'other' => array('lessonid' => $this->lesson->id, 'groupid' => 2))
/mod/lesson/tests/event/events_test.php:4932$params = array('objectid' => 1, 'relateduserid' => 2, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'other' => array('lessonid' => $this->lesson->id))
/mod/lesson/tests/event/events_test.php:4632$params = array('objectid' => 1, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'other' => array('lessonid' => $this->lesson->id, 'groupid' => 2))
/mod/lesson/tests/event/events_test.php:4332$params = array('objectid' => 1, 'relateduserid' => 2, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'other' => array('lessonid' => $this->lesson->id))
/mod/lesson/tests/event/events_test.php:3001$event = \mod_lesson\event\essay_assessed::create(array('objectid' => $gradeid, 'relateduserid' => 3, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'courseid' => $this->course->id, 'other' => array('lessonid' => $this->lesson->id, 'attemptid' => $attemptid)))
/mod/lesson/tests/event/events_test.php:2582$expected = array($this->course->id, 'lesson', 'start', 'view.php?id=' . $this->lesson->properties( )->cmid, $this->lesson->properties( )->id, $this->lesson->properties( )->cmid)
/mod/lesson/tests/event/events_test.php:2352$expected = array($this->course->id, 'lesson', 'start', 'view.php?id=' . $this->lesson->properties( )->cmid, $this->lesson->properties( )->id, $this->lesson->properties( )->cmid)
/mod/lesson/tests/event/events_test.php:1841$event = \mod_lesson\event\essay_attempt_viewed::create(array('objectid' => $this->lesson->id, 'relateduserid' => 3, 'context' => \context_module::instance($this->lesson->properties( )->cmid), 'courseid' => $this->course->id))
/mod/lesson/tests/backup/restore_date_test.php:831$newpageattempt = ['lessonid' => $lesson->id, 'pageid' => $page->id, 'userid' => $USER->id, 'answerid' => $answercorrect, 'retry' => 1, 'correct' => 1, 'useranswer' => '1', 'timeseen' => time( ), ]
/mod/lesson/tests/external/external_test.php:8881$newpageattempt = ['lessonid' => $this->lesson->id, 'pageid' => $this->page2->id, 'userid' => $this->student->id, 'answerid' => 0, 'retry' => 0, 'correct' => 1, 'useranswer' => '1', 'timeseen' => time( ), ]
/mod/lesson/tests/external/external_test.php:6102$newpageattempt = ['lessonid' => $this->lesson->id, 'pageid' => $this->page2->id, 'userid' => $this->student->id, 'answerid' => $answerid, 'retry' => $attemptnumber, 'correct' => 1, 'useranswer' => '1', 'timeseen' => time( ), ]
/mod/data/classes/external.php:5691return new external_single_structure(array('entry' => record_exporter::get_read_structure( ), 'entryviewcontents' => new external_value(PARAM_RAW, 'The entry as is rendered in the site.', VALUE_OPTIONAL), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )))
/mod/data/classes/external.php:6601return new external_function_parameters(array('databaseid' => new external_value(PARAM_INT, 'data instance id'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group', VALUE_DEFAULT, 0), 'returncontents' => new external_value(PARAM_BOOL, 'Whether to return contents or not.', VALUE_DEFAULT, false), 'search' => new external_value(PARAM_NOTAGS, 'search string (empty when using advanced)', VALUE_DEFAULT, ''), 'advsearch' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Field key for search. Use fn or ln for first or last name'), 'value' => new external_value(PARAM_RAW, 'JSON encoded value for search'), )), 'Advanced search', VALUE_DEFAULT, array( )), 'sort' => new external_value(PARAM_INT, 'Sort the records by this field id, reserved ids are: 0: timeadded -1: firstname -2: lastname -3: approved -4: timemodified. Empty for using the default database setting.', VALUE_DEFAULT, null), 'order' => new external_value(PARAM_ALPHA, 'The direction of the sorting: \'ASC\' or \'DESC\'. Empty for using the default database setting.', VALUE_DEFAULT, null), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page', VALUE_DEFAULT, 0), ))
/mod/data/classes/external.php:3421return new external_function_parameters(array('databaseid' => new external_value(PARAM_INT, 'data instance id'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group', VALUE_DEFAULT, 0), 'returncontents' => new external_value(PARAM_BOOL, 'Whether to return contents or not. This will return each entry raw contents and the complete list view (using the template).', VALUE_DEFAULT, false), 'sort' => new external_value(PARAM_INT, 'Sort the records by this field id, reserved ids are: 0: timeadded -1: firstname -2: lastname -3: approved -4: timemodified. Empty for using the default database setting.', VALUE_DEFAULT, null), 'order' => new external_value(PARAM_ALPHA, 'The direction of the sorting: \'ASC\' or \'DESC\'. Empty for using the default database setting.', VALUE_DEFAULT, null), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page', VALUE_DEFAULT, 0), ))
/mod/data/classes/external.php:4731return new external_single_structure(array('entries' => new external_multiple_structure(record_exporter::get_read_structure( )), 'totalcount' => new external_value(PARAM_INT, 'Total count of records.'), 'totalfilesize' => new external_value(PARAM_INT, 'Total size (bytes) of the files included in the records.'), 'listviewcontents' => new external_value(PARAM_RAW, 'The list view contents as is rendered in the site.', VALUE_OPTIONAL), 'warnings' => new external_warnings( )))
/mod/data/lib.php:3381$event = \mod_data\event\field_deleted::create(array('objectid' => $this->field->id, 'context' => $this->context, 'other' => array('fieldname' => $this->field->name, 'dataid' => $this->data->id)))
/mod/data/classes/external.php:3191return new external_single_structure(array('groupid' => new external_value(PARAM_INT, 'User current group id (calculated)'), 'canaddentry' => new external_value(PARAM_BOOL, 'Whether the user can add entries or not.'), 'canmanageentries' => new external_value(PARAM_BOOL, 'Whether the user can manage entries or not.'), 'canapprove' => new external_value(PARAM_BOOL, 'Whether the user can approve entries or not.'), 'timeavailable' => new external_value(PARAM_BOOL, 'Whether the database is available or not by time restrictions.'), 'inreadonlyperiod' => new external_value(PARAM_BOOL, 'Whether the database is in read mode only.'), 'numentries' => new external_value(PARAM_INT, 'The number of entries the current user added.'), 'entrieslefttoadd' => new external_value(PARAM_INT, 'The number of entries left to complete the activity.'), 'entrieslefttoview' => new external_value(PARAM_INT, 'The number of entries left to view other users entries.'), 'warnings' => new external_warnings( )))
/mod/data/lib.php:2801$event = \mod_data\event\field_created::create(array('objectid' => $this->field->id, 'context' => $this->context, 'other' => array('fieldname' => $this->field->name, 'dataid' => $this->data->id)))
/mod/data/lib.php:3061$event = \mod_data\event\field_updated::create(array('objectid' => $this->field->id, 'context' => $this->context, 'other' => array('fieldname' => $this->field->name, 'dataid' => $this->data->id)))
/mod/data/rsslib.php:1221$header = rss_standard_header($courseshortname . ': ' . format_string($data->name, true, array('context' => $context)), $CFG->wwwroot . "/mod/data/view.php?d=" . $data->id, format_text($data->intro, $data->introformat, array('context' => $context)))
/mod/data/lib.php:1751return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => "<span class=\"nopreview\">$message</span>", 'content1' => null, 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field.php:4121$table->data[] = [$field->field->name, $fieltypedata, $field->field->required ? get_string('yes') : get_string('no'), shorten_text($field->field->description, 30), $OUTPUT->render_from_template('core/action_menu', $actionmenutemplate)]
/mod/data/locallib.php:3921return (empty($this->recordid) && $this->minecount > 0 && $this->minecount != count($this->records) && has_capability('mod/data:exportallentries', context_module::instance($this->cm->id)))
/mod/survey/classes/external.php:3181return new external_function_parameters(array('surveyid' => new external_value(PARAM_INT, 'Survey id'), 'answers' => new external_multiple_structure(new external_single_structure(array('key' => new external_value(PARAM_RAW, 'Answer key'), 'value' => new external_value(PARAM_RAW, 'Answer value')))), ))
/mod/survey/classes/privacy/provider.php:2321$carry[] = ['question' => array_merge((array) $q, ['options' => $qtype > 0 ? $options : '-']), 'answer' => ['actual' => $qtype > 0 && !empty($record->answer1) ? $options[$record->answer1 - 1] : $record->answer1, 'preferred' => $qtype > 0 && !empty($record->answer2) ? $options[$record->answer2 - 1] : $record->answer2, ], 'time' => transform::datetime($record->time), ]
/mod/survey/classes/external.php:1341return new external_single_structure(array('surveys' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['template' => new external_value(PARAM_INT, 'Survey type', VALUE_OPTIONAL), 'days' => new external_value(PARAM_INT, 'Days', VALUE_OPTIONAL), 'questions' => new external_value(PARAM_RAW, 'Question ids', VALUE_OPTIONAL), 'surveydone' => new external_value(PARAM_INT, 'Did I finish the survey?', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ]), 'Surveys')), 'warnings' => new external_warnings( ), ))
/mod/survey/classes/external.php:2901return new external_single_structure(array('questions' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Question id'), 'text' => new external_value(PARAM_RAW, 'Question text'), 'shorttext' => new external_value(PARAM_RAW, 'Question short text'), 'multi' => new external_value(PARAM_RAW, 'Subquestions ids'), 'intro' => new external_value(PARAM_RAW, 'The question intro'), 'type' => new external_value(PARAM_INT, 'Question type'), 'options' => new external_value(PARAM_RAW, 'Question options'), 'parent' => new external_value(PARAM_INT, 'Parent question (for subquestions)'), ), 'Questions')), 'warnings' => new external_warnings( )))
/mod/lesson/classes/output/edit_action_buttons.php:811$url = new moodle_url('/mod/lesson/editpage.php', ['id' => $this->lesson->get_cm( )->id, 'pageid' => $this->currentpage, 'edit' => 1, 'returnto' => $PAGE->url->out_as_local_url(false)])
/mod/lesson/classes/privacy/provider.php:2901$carry[] = (object) ['starttime' => transform::datetime($record->starttime), 'lastactivity' => transform::datetime($record->lessontime), 'completed' => transform::yesno($record->completed), 'timemodifiedoffline' => $record->timemodifiedoffline ? transform::datetime($record->timemodifiedoffline) : null, ]
/mod/lesson/classes/external/lesson_summary_exporter.php:2681return array('coursemodule' => array('type' => PARAM_INT), 'introfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true, ), 'mediafiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true, ), )
/mod/lesson/classes/output/edit_action_area.php:771return ['back' => ['text' => get_string('back', 'core'), 'link' => (new moodle_url('/mod/lesson/view.php', ['id' => $this->cmid]))->out(false)], 'viewselect' => $selectmenu->export_for_template($output), 'heading' => get_string('editinglesson', 'mod_lesson'), 'headinglevel' => $headinglevel, ]
/mod/lesson/classes/external.php:18701return new external_single_structure(array('answerpages' => new external_multiple_structure(new external_single_structure(array('page' => self::get_page_structure(VALUE_OPTIONAL), 'title' => new external_value(PARAM_RAW, 'Page title.'), 'contents' => new external_value(PARAM_RAW, 'Page contents.'), 'qtype' => new external_value(PARAM_TEXT, 'Identifies the page type of this page.'), 'grayout' => new external_value(PARAM_INT, 'If is required to apply a grayout.'), 'answerdata' => new external_single_structure(array('score' => new external_value(PARAM_TEXT, 'The score (text version).'), 'response' => new external_value(PARAM_RAW, 'The response text.'), 'responseformat' => new external_format_value('response.'), 'answers' => new external_multiple_structure(new external_multiple_structure(new external_value(PARAM_RAW, 'Possible answers and info.')), 'User answers', VALUE_OPTIONAL), ), 'Answer data (empty in content pages created in Moodle 1.x).', VALUE_OPTIONAL)))), 'userstats' => new external_single_structure(array('grade' => new external_value(PARAM_FLOAT, 'Attempt final grade.'), 'completed' => new external_value(PARAM_INT, 'Time completed.'), 'timetotake' => new external_value(PARAM_INT, 'Time taken.'), 'gradeinfo' => self::get_user_attempt_grade_structure(VALUE_OPTIONAL))), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:17601return new external_single_structure(array('data' => new external_single_structure(array('lessonscored' => new external_value(PARAM_BOOL, 'True if the lesson was scored.'), 'numofattempts' => new external_value(PARAM_INT, 'Number of attempts.'), 'avescore' => new external_value(PARAM_FLOAT, 'Average score.'), 'highscore' => new external_value(PARAM_FLOAT, 'High score.'), 'lowscore' => new external_value(PARAM_FLOAT, 'Low score.'), 'avetime' => new external_value(PARAM_INT, 'Average time (spent in taking the lesson).'), 'hightime' => new external_value(PARAM_INT, 'High time.'), 'lowtime' => new external_value(PARAM_INT, 'Low time.'), 'students' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'User id.'), 'fullname' => new external_value(PARAM_TEXT, 'User full name.'), 'bestgrade' => new external_value(PARAM_FLOAT, 'Best grade.'), 'attempts' => new external_multiple_structure(new external_single_structure(array('try' => new external_value(PARAM_INT, 'Attempt number.'), 'grade' => new external_value(PARAM_FLOAT, 'Attempt grade.'), 'timestart' => new external_value(PARAM_INT, 'Attempt time started.'), 'timeend' => new external_value(PARAM_INT, 'Attempt last time continued.'), 'end' => new external_value(PARAM_INT, 'Attempt time ended.'), ))))), 'Students data, including attempts.', VALUE_OPTIONAL), ), 'Attempts overview data (empty for no attemps).', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/privacy/provider.php:2601return (object) ['available' => $record->available !== null ? transform::datetime($record->available) : null, 'deadline' => $record->deadline !== null ? transform::datetime($record->deadline) : null, 'timelimit' => $record->timelimit !== null ? format_time($record->timelimit) : null, 'review' => $record->review !== null ? transform::yesno($record->review) : null, 'maxattempts' => $record->maxattempts, 'retake' => $record->retake !== null ? transform::yesno($record->retake) : null, 'password' => $record->password, ]
/mod/lesson/classes/external.php:19861return new external_single_structure(array('jumps' => new external_multiple_structure(new external_single_structure(array('pageid' => new external_value(PARAM_INT, 'The page id'), 'answerid' => new external_value(PARAM_INT, 'The answer id'), 'jumpto' => new external_value(PARAM_INT, 'The jump (page id or type of jump)'), 'calculatedjump' => new external_value(PARAM_INT, 'The real page id (or EOL) to jump'), ), 'Jump for a page answer')), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:15491return new external_single_structure(array('newpageid' => new external_value(PARAM_INT, 'New page id (if a jump was made).'), 'inmediatejump' => new external_value(PARAM_BOOL, 'Whether the page processing redirect directly to anoter page.'), 'nodefaultresponse' => new external_value(PARAM_BOOL, 'Whether there is not a default response.'), 'feedback' => new external_value(PARAM_RAW, 'The response feedback.'), 'attemptsremaining' => new external_value(PARAM_INT, 'Number of attempts remaining.'), 'correctanswer' => new external_value(PARAM_BOOL, 'Whether the answer is correct.'), 'noanswer' => new external_value(PARAM_BOOL, 'Whether there aren\'t answers.'), 'isessayquestion' => new external_value(PARAM_BOOL, 'Whether is a essay question.'), 'maxattemptsreached' => new external_value(PARAM_BOOL, 'Whether we reachered the max number of attempts.'), 'response' => new external_value(PARAM_RAW, 'The response.'), 'studentanswer' => new external_value(PARAM_RAW, 'The student answer.'), 'userresponse' => new external_value(PARAM_RAW, 'The user response.'), 'reviewmode' => new external_value(PARAM_BOOL, 'Whether the user is reviewing.'), 'ongoingscore' => new external_value(PARAM_TEXT, 'The ongoing message.'), 'progress' => new external_value(PARAM_INT, 'Progress percentage in the lesson.'), 'displaymenu' => new external_value(PARAM_BOOL, 'Whether we should display the menu or not in this page.'), 'messages' => self::external_messages( ), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:15191$result = array('newpageid' => (int) $result->newpageid, 'inmediatejump' => $result->inmediatejump, 'nodefaultresponse' => !empty($result->nodefaultresponse), 'feedback' => (isset($result->feedback)) ? $result->feedback : '', 'attemptsremaining' => (isset($result->attemptsremaining)) ? $result->attemptsremaining : null, 'correctanswer' => !empty($result->correctanswer), 'noanswer' => !empty($result->noanswer), 'isessayquestion' => !empty($result->isessayquestion), 'maxattemptsreached' => !empty($result->maxattemptsreached), 'response' => (isset($result->response)) ? $result->response : '', 'studentanswer' => (isset($result->studentanswer)) ? $result->studentanswer : '', 'userresponse' => (isset($result->userresponse)) ? $result->userresponse : '', 'reviewmode' => $reviewmode, 'ongoingscore' => $ongoingscore, 'progress' => $progress, 'displaymenu' => !empty(lesson_displayleftif($lesson)), 'messages' => self::format_lesson_messages($lesson), 'warnings' => $warnings, )
/mod/lesson/classes/external.php:16711return new external_single_structure(array('data' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Data name.'), 'value' => new external_value(PARAM_RAW, 'Data value.'), 'message' => new external_value(PARAM_RAW, 'Data message (translated string).'), )), 'The EOL page information data.'), 'messages' => self::external_messages( ), 'warnings' => new external_warnings( ), ))
/mod/lesson/classes/external.php:15801return new external_function_parameters(array('lessonid' => new external_value(PARAM_INT, 'Lesson instance id.'), 'password' => new external_value(PARAM_RAW, 'Optional password (the lesson may be protected).', VALUE_DEFAULT, ''), 'outoftime' => new external_value(PARAM_BOOL, 'If the user run out of time.', VALUE_DEFAULT, false), 'review' => new external_value(PARAM_BOOL, 'If we want to review just after finishing (1 hour margin).', VALUE_DEFAULT, false), ))
/mod/lesson/classes/external.php:13171$answer = array('id' => $a->id, 'answerfiles' => util::get_area_files($context->id, 'mod_lesson', 'page_answers', $a->id), 'responsefiles' => util::get_area_files($context->id, 'mod_lesson', 'page_responses', $a->id), )
/mod/lesson/classes/external.php:12541return new external_function_parameters(array('lessonid' => new external_value(PARAM_INT, 'lesson instance id'), 'pageid' => new external_value(PARAM_INT, 'the page id'), 'password' => new external_value(PARAM_RAW, 'optional password (the lesson may be protected)', VALUE_DEFAULT, ''), 'review' => new external_value(PARAM_BOOL, 'if we want to review just after finishing (1 hour margin)', VALUE_DEFAULT, false), 'returncontents' => new external_value(PARAM_BOOL, 'if we must return the complete page contents once rendered', VALUE_DEFAULT, false), ))
/mod/lesson/classes/external.php:14381return new external_function_parameters(array('lessonid' => new external_value(PARAM_INT, 'lesson instance id'), 'pageid' => new external_value(PARAM_INT, 'the page id'), 'data' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), )), 'the data to be saved'), 'password' => new external_value(PARAM_RAW, 'optional password (the lesson may be protected)', VALUE_DEFAULT, ''), 'review' => new external_value(PARAM_BOOL, 'if we want to review just after finishing (1 hour margin)', VALUE_DEFAULT, false), ))
/mod/lesson/classes/external.php:13951return new external_single_structure(array('page' => self::get_page_structure(VALUE_OPTIONAL), 'newpageid' => new external_value(PARAM_INT, 'New page id (if a jump was made)'), 'pagecontent' => new external_value(PARAM_RAW, 'Page html content', VALUE_OPTIONAL), 'ongoingscore' => new external_value(PARAM_TEXT, 'The ongoing score message'), 'progress' => new external_value(PARAM_INT, 'Progress percentage in the lesson'), 'contentfiles' => new external_files( ), 'answers' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'The ID of this answer in the database'), 'answerfiles' => new external_files( ), 'responsefiles' => new external_files( ), 'jumpto' => new external_value(PARAM_INT, 'Identifies where the user goes upon completing a page with this answer', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_INT, 'The grade this answer is worth', VALUE_OPTIONAL), 'score' => new external_value(PARAM_INT, 'The score this answer will give', VALUE_OPTIONAL), 'flags' => new external_value(PARAM_INT, 'Used to store options for the answer', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'A timestamp of when the answer was created', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'A timestamp of when the answer was modified', VALUE_OPTIONAL), 'answer' => new external_value(PARAM_RAW, 'Possible answer text', VALUE_OPTIONAL), 'answerformat' => new external_format_value('answer', VALUE_OPTIONAL), 'response' => new external_value(PARAM_RAW, 'Response text for the answer', VALUE_OPTIONAL), 'responseformat' => new external_format_value('response', VALUE_OPTIONAL), ), 'The page answers')), 'messages' => self::external_messages( ), 'displaymenu' => new external_value(PARAM_BOOL, 'Whether we should display the menu or not in this page.'), 'warnings' => new external_warnings( ), ))
/mod/lesson/tests/privacy/provider_test.php:8391$record = (object) array_merge(['lessonid' => $lesson->id, 'userid' => $user->id, 'starttime' => time( ) - 600, 'lessontime' => time( ), 'completed' => 1, 'timemodifiedoffline' => 0, ], $options)
/mod/lesson/tests/privacy/provider_test.php:8611$record = (object) array_merge(['lessonid' => $lesson->id, 'userid' => $user->id, 'pageid' => 0, 'retry' => 0, 'flag' => 0, 'timeseen' => time( ), 'nextpageid' => 0, ], $options)
/mod/lesson/tests/generator/lib.php:871$record = (array) $record + array('progressbar' => $lessonconfig->progressbar, 'ongoing' => $lessonconfig->ongoing, 'displayleft' => $lessonconfig->displayleftmenu, 'displayleftif' => $lessonconfig->displayleftif, 'slideshow' => $lessonconfig->slideshow, 'maxanswers' => $lessonconfig->maxanswers, 'feedback' => $lessonconfig->defaultfeedback, 'activitylink' => 0, 'available' => 0, 'deadline' => 0, 'usepassword' => 0, 'password' => '', 'dependency' => 0, 'timespent' => 0, 'completed' => 0, 'gradebetterthan' => 0, 'modattempts' => $lessonconfig->modattempts, 'review' => $lessonconfig->displayreview, 'maxattempts' => $lessonconfig->maximumnumberofattempts, 'nextpagedefault' => $lessonconfig->defaultnextpage, 'maxpages' => $lessonconfig->numberofpagestoshow, 'practice' => $lessonconfig->practice, 'custom' => $lessonconfig->customscoring, 'retake' => $lessonconfig->retakesallowed, 'usemaxgrade' => $lessonconfig->handlingofretakes, 'minquestions' => $lessonconfig->minimumnumberofquestions, 'grade' => 100, )
/mod/lesson/tests/external/external_test.php:4902$newpageattempt = ['lessonid' => $this->lesson->id, 'pageid' => $this->page2->id, 'userid' => $this->student->id, 'answerid' => $answerid, 'retry' => $attemptnumber, 'correct' => 1, 'useranswer' => '1', 'timeseen' => time( ), ]
/mod/lesson/tests/lib_test.php:10411$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => 1, 'eventtype' => LESSON_EVENT_TYPE_CLOSE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/lesson/tests/privacy/provider_test.php:6111$page4 = $lg->create_question_multichoice($cm1, ['qoption' => 1, 'answer_editor' => [['text' => 'Cats', 'format' => FORMAT_PLAIN, 'score' => 1], ['text' => 'Dogs', 'format' => FORMAT_PLAIN, 'score' => 1], ['text' => 'Birds', 'format' => FORMAT_PLAIN, 'score' => 0], ], 'jumpto' => [LESSON_NEXTPAGE, LESSON_NEXTPAGE, LESSON_THISPAGE]])
/mod/lesson/tests/privacy/provider_test.php:6211$page5 = $lg->create_question_matching($cm1, ['answer_editor' => [2 => ['text' => 'The plural of cat', 'format' => FORMAT_PLAIN], 3 => ['text' => 'The plural of dog', 'format' => FORMAT_PLAIN], 4 => ['text' => 'The plural of bird', 'format' => FORMAT_PLAIN], ], 'response_editor' => [2 => 'Cats', 3 => 'Dogs', 4 => 'Birds', ]])
/mod/lesson/tests/privacy/provider_test.php:7941$record = (object) array_merge(['lessonid' => $lesson->id, 'userid' => $user->id, 'pageid' => 0, 'answerid' => 0, 'retry' => 0, 'correct' => 0, 'useranswer' => '', 'timeseen' => time( ), ], $options)
/mod/lesson/tests/lib_test.php:8501$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => $lesson->id, 'eventtype' => LESSON_EVENT_TYPE_OPEN, 'timestart' => $newtimeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/lesson/tests/lib_test.php:9081$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => $lesson->id, 'eventtype' => LESSON_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/lesson/tests/lib_test.php:9581$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => 1, 'eventtype' => LESSON_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/lesson/tests/lib_test.php:9961$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => 1, 'eventtype' => LESSON_EVENT_TYPE_OPEN, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/lesson/classes/event/page_moved.php:801return "The user with id '$this->userid' has moved a " . $this->other['pagetype'] . " page with the " . "id '$this->objectid' to the slot after the page with the id '" . $this->other['prevpageid'] . "' and before the page with the id '" . $this->other['nextpageid'] . "' in the lesson activity with course module id '$this->contextinstanceid'."
/mod/lesson/tests/dates_test.php:531return ['without any dates' => [null, null, null, null, null, null, [ ]], 'only with opening time' => [$after, null, null, null, null, null, [['label' => get_string('activitydate:opens', 'course'), 'timestamp' => $after, 'dataid' => 'available'], ]], 'only with closing time' => [null, $after, null, null, null, null, [['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $after, 'dataid' => 'deadline'], ]], 'with both times' => [$after, $later, null, null, null, null, [['label' => get_string('activitydate:opens', 'course'), 'timestamp' => $after, 'dataid' => 'available'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'deadline'], ]], 'between the dates' => [$before, $after, null, null, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $before, 'dataid' => 'available'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $after, 'dataid' => 'deadline'], ]], 'dates are past' => [$earlier, $before, null, null, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'available'], ['label' => get_string('activitydate:closed', 'course'), 'timestamp' => $before, 'dataid' => 'deadline'], ]], 'with user override' => [$before, $after, $earlier, $later, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'available'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'deadline'], ]], 'with group override' => [$before, $after, null, null, $earlier, $later, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'available'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'deadline'], ]], 'with both user and group overrides' => [$before, $after, $earlier, $later, $earlier - DAYSECS, $later + DAYSECS, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'available'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'deadline'], ]], ]
/mod/lesson/tests/locallib_test.php:2641return [[0, [(object) ['id' => 1], (object) ['id' => 2], (object) ['id' => 3]], (object) ['id' => 3]], [1, [(object) ['id' => 1], (object) ['id' => 2], (object) ['id' => 3]], (object) ['id' => 1]], [2, [(object) ['id' => 1], (object) ['id' => 2], (object) ['id' => 3]], (object) ['id' => 2]], [3, [(object) ['id' => 1], (object) ['id' => 2], (object) ['id' => 3]], (object) ['id' => 3]], [4, [(object) ['id' => 1], (object) ['id' => 2], (object) ['id' => 3]], (object) ['id' => 3]], ]
/mod/lesson/tests/lib_test.php:8061$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => $lesson->id, 'eventtype' => LESSON_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/lib_test.php:19221$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => 1, 'eventtype' => DATA_EVENT_TYPE_CLOSE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/preset_test.php:5011return ['Valid preset directory' => ['directory' => $CFG->dirroot . '/mod/data/preset/imagegallery', 'expected' => true, ], 'Invalid preset directory' => ['directory' => $CFG->dirroot . '/mod/data/field/checkbox', 'expected' => false, ], 'Unexisting preset directory' => ['directory' => $CFG->dirroot . 'unexistingdirectory', 'expected' => false, ], ]
/mod/data/tests/lib_test.php:18381$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => 1, 'eventtype' => DATA_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/lib_test.php:18761$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => 1, 'eventtype' => DATA_EVENT_TYPE_OPEN, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/search/search_test.php:1751$fieldinfo = array('0' => new \stdClass( ), '1' => new \stdClass( ), '2' => new \stdClass( ), '3' => new \stdClass( ), '4' => new \stdClass( ))
/mod/data/tests/external/get_mapping_information_test.php:661return ['Empty database / Empty importer' => ['currentfields' => [ ], 'newfields' => [ ], 'pluginname' => '', 'fieldstocreate' => '', 'fieldstoremove' => '', ], 'Empty database / Importer with fields' => ['currentfields' => [ ], 'newfields' => [$imagefield, $titlefield, $descfield], 'pluginname' => 'imagegallery', 'fieldstocreate' => 'image, title, description', 'fieldstoremove' => '', ], 'Database with fields / Empty importer' => ['currentfields' => [$imagefield, $titlefield, $descfield], 'newfields' => [ ], 'pluginname' => '', 'fieldstocreate' => '', 'fieldstoremove' => 'image, title, description', ], 'Same fields' => ['currentfields' => [$imagefield, $titlefield, $descfield], 'newfields' => [$imagefield, $titlefield, $descfield], 'pluginname' => 'imagegallery', 'fieldstocreate' => '', 'fieldstoremove' => '', ], 'Fields to create' => ['currentfields' => [$titlefield, $descfield], 'newfields' => [$imagefield, $titlefield, $descfield], 'pluginname' => 'imagegallery', 'fieldstocreate' => 'image', 'fieldstoremove' => '', ], 'Fields to remove' => ['currentfields' => [$imagefield, $titlefield, $descfield, $difffield], 'newfields' => [$imagefield, $titlefield, $descfield], 'pluginname' => 'imagegallery', 'fieldstocreate' => '', 'fieldstoremove' => 'title', ], 'Fields to update' => ['currentfields' => [$imagefield, $difffield, $descfield], 'newfields' => [$imagefield, $titlefield, $descfield], 'pluginname' => 'imagegallery', 'fieldstocreate' => 'title', 'fieldstoremove' => 'title', ], 'Fields to create, remove and update' => ['currentfields' => [$titlefield, $descfield, $imagefield, $difffield], 'newfields' => [$titlefield, $descfield, $newfield], 'pluginname' => '', 'fieldstocreate' => 'number', 'fieldstoremove' => 'image, title', ], ]
/mod/data/tests/generator_test.php:3041return ['Create using the default configuration' => ['record' => null, ], 'Create with a given name but no description' => ['record' => (object) ['name' => 'World recipes preset', ], ], 'Create with a given description but no name' => ['record' => (object) ['description' => 'This is a preset to collect the most popular world recipes.', ], ], 'Create with a given name and description' => ['record' => (object) ['name' => 'World recipes preset', 'description' => 'This is a preset to collect the most popular world recipes.', ], ], 'Create with a given user but no description or name' => ['record' => (object) ['user' => 'teacher1', ], ], 'Create with a given name and user but no description' => ['record' => (object) ['name' => 'World recipes preset', 'user' => 'teacher1', ], ], 'Create with a given description and user but no name' => ['record' => (object) ['description' => 'This is a preset to collect the most popular world recipes.', 'user' => 'teacher1', ], ], 'Create with a given name, description and user' => ['record' => (object) ['name' => 'World recipes preset', 'description' => 'This is a preset to collect the most popular world recipes.', 'user' => 'teacher1', ], ], ]
/mod/data/tests/externallib_test.php:8681$advsearch = [['name' => 'f_' . $field->id, 'value' => 'sampleurl'], ['name' => 'f_' . $field2->id, 'value' => '12345'], ['name' => 'ln', 'value' => json_encode($this->student2->lastname)]]
/mod/data/field/file/field.class.php:1195return array(" ({$tablealias}.fieldid = {$this->field->id} AND " . $DB->sql_like("{$tablealias}.content", ":$name", false) . ") ", array($name => "%$value%"))
/mod/data/field/file/field.class.php:1691$fileurl = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/mod/data/tests/event/events_test.php:3671return ['Empty database / Importer with fields' => ['currentfields' => [ ], 'newfields' => [$titlefield, $descfield, $imagefield], 'expected' => ['field_created' => 3], ], 'Database with fields / Empty importer' => ['currentfields' => [$titlefield, $descfield, $imagefield], 'newfields' => [ ], 'expected' => ['field_deleted' => 3], ], 'Fields to create' => ['currentfields' => [$titlefield, $descfield], 'newfields' => [$titlefield, $descfield, $imagefield], 'expected' => ['field_updated' => 2, 'field_created' => 1], ], 'Fields to remove' => ['currentfields' => [$titlefield, $descfield, $imagefield, $difffield], 'newfields' => [$titlefield, $descfield, $imagefield], 'expected' => ['field_updated' => 2, 'field_deleted' => 1], ], 'Fields to update' => ['currentfields' => [$difffield, $descfield, $imagefield], 'newfields' => [$titlefield, $descfield, $imagefield], 'expected' => ['field_updated' => 1, 'field_created' => 1, 'field_deleted' => 1], ], 'Fields to create, remove and update' => ['currentfields' => [$titlefield, $descfield, $imagefield, $difffield], 'newfields' => [$titlefield, $descfield, $newfield], 'expected' => ['field_updated' => 2, 'field_created' => 1, 'field_deleted' => 2], ], ]
/mod/data/field/file/field.class.php:1082return '<label class="accesshide" for="f_' . $this->field->id . '">' . $this->field->name . '</label>' . '<input type="text" size="16" id="f_' . $this->field->id . '" name="f_' . $this->field->id . '" ' . 'value="' . s($value) . '" class="form-control"/>'
/mod/data/field/picture/field.class.php:351return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => 'datafield_picture/preview', 'content1' => get_string('sample', 'datafield_picture'), 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field/picture/field.class.php:1811return '<label class="accesshide" for="f_' . $this->field->id . '">' . get_string('fieldname', 'data') . '</label>' . '<input type="text" size="16" id="f_' . $this->field->id . '" name="f_' . $this->field->id . '" ' . 'value="' . s($value) . '" class="form-control"/>'
/mod/data/field/date/field.class.php:421return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => (string) time( ), 'content1' => null, 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field/date/field.class.php:1191$selectors = html_writer::select_time('days', 'f_' . $this->field->id . '_d', $value['timestamp'] ?? $currenttime) . html_writer::select_time('months', 'f_' . $this->field->id . '_m', $value['timestamp'] ?? $currenttime) . html_writer::select_time('years', 'f_' . $this->field->id . '_y', $value['timestamp'] ?? $currenttime)
/mod/data/field/url/field.class.php:1545return array(" ({$tablealias}.fieldid = {$this->field->id} AND " . $DB->sql_like("{$tablealias}.content", ":$name", false) . ") ", array($name => "%$value%"))
/mod/data/field/url/field.class.php:1351return '<label class="accesshide" for="f_' . $this->field->id . '">' . get_string('fieldname', 'data') . '</label>' . '<input type="text" size="16" id="f_' . $this->field->id . '" ' . ' name="f_' . $this->field->id . '" value="' . s($value) . '" class="form-control d-inline"/>'
/mod/data/field/picture/field.class.php:3381$filerecord = ['contextid' => $file->get_contextid( ), 'component' => $file->get_component( ), 'filearea' => $file->get_filearea( ), 'itemid' => $file->get_itemid( ), 'filepath' => $file->get_filepath( ), 'filename' => 'thumb_' . $file->get_filename( ), 'userid' => $file->get_userid( )]
/mod/data/field/picture/field.class.php:2005return array(" ({$tablealias}.fieldid = {$this->field->id} AND " . $DB->sql_like("{$tablealias}.content", ":$name", false) . ") ", array($name => "%$value%"))
/mod/data/field/textarea/field.class.php:2062return '<label class="accesshide" for="f_' . $this->field->id . '">' . $this->field->name . '</label>' . '<input type="text" size="16" id="f_' . $this->field->id . '" name="f_' . $this->field->id . '" ' . 'value="' . s($value) . '" class="form-control"/>'
/mod/data/field/textarea/field.class.php:461return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => get_string('sample', 'datafield_textarea'), 'content1' => 1, 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field/number/field.class.php:841return '<label class="accesshide" for="f_' . $this->field->id . '">' . get_string('fieldname', 'data') . '</label>' . '<input type="text" size="16" id="f_' . $this->field->id . '" name="f_' . $this->field->id . '" ' . 'value="' . s($value) . '" class="form-control d-inline"/>'
/mod/data/field/number/field.class.php:331return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => 1233 + $recordid, 'content1' => null, 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field/text/field.class.php:531return '<label class="accesshide" for="f_' . $this->field->id . '">' . $this->field->name . '</label>' . '<input type="text" class="form-control" size="16" id="f_' . $this->field->id . '" ' . 'name="f_' . $this->field->id . '" value="' . s($value) . '" />'
/mod/data/field/text/field.class.php:401return (object) ['id' => 0, 'fieldid' => $this->field->id, 'recordid' => $recordid, 'content' => get_string('sample', 'datafield_text'), 'content1' => null, 'content2' => null, 'content3' => null, 'content4' => null, ]
/mod/data/field/menu/field.class.php:851$str .= html_writer::select($options, 'field_' . $this->field->id, $content, array('' => get_string('menuchoose', 'data')), array('id' => 'field_' . $this->field->id, 'class' => 'mod-data-input custom-select'))
/mod/data/field/textarea/field.class.php:2255return array(" ({$tablealias}.fieldid = {$this->field->id} AND " . $DB->sql_like("{$tablealias}.content", ":$name", false) . ") ", array($name => "%$value%"))
/mod/data/backup/moodle2/backup_data_stepslib.php:401$data = new backup_nested_element('data', array('id'), array('name', 'intro', 'introformat', 'comments', 'timeavailablefrom', 'timeavailableto', 'timeviewfrom', 'timeviewto', 'requiredentries', 'requiredentriestoview', 'maxentries', 'rssarticles', 'singletemplate', 'listtemplate', 'listtemplateheader', 'listtemplatefooter', 'addtemplate', 'rsstemplate', 'rsstitletemplate', 'csstemplate', 'jstemplate', 'asearchtemplate', 'approval', 'manageapproved', 'scale', 'assessed', 'assesstimestart', 'assesstimefinish', 'defaultsort', 'defaultsortdir', 'editany', 'notification', 'timemodified', 'config', 'completionentries'))
/mod/data/db/access.php:271$capabilities = array('mod/data:addinstance' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:manageactivities'), 'mod/data:viewentry' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('frontpage' => CAP_ALLOW, 'guest' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:writeentry' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:comment' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:rate' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:viewrating' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:viewanyrating' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'mod/data:viewrating'), 'mod/data:viewallratings' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'mod/data:viewrating'), 'mod/data:approve' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:manageentries' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:managecomments' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:managetemplates' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:viewalluserpresets' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/data:manageuserpresets' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW)), 'mod/data:exportentry' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'mod/data:exportownentry' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'student' => CAP_ALLOW, )), 'mod/data:exportallentries' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'mod/data:exportuserinfo' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'mod/data:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('guest' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)))
/mod/data/field/latlong/field.class.php:1961$urlreplacements = array('@lat@' => $lat, '@long@' => $long, '@wwwroot@' => $CFG->wwwroot, '@contentid@' => $content->id, '@dataid@' => $this->data->id, '@courseid@' => $this->data->course, '@fieldid@' => $content->fieldid, '@recordid@' => $content->recordid, )
/mod/data/field/text/field.class.php:725return array(" ({$tablealias}.fieldid = {$this->field->id} AND " . $DB->sql_like("{$tablealias}.content", ":$name", false) . ") ", array($name => "%$value%"))
/mod/data/classes/external.php:8081return new external_single_structure(array('entries' => new external_multiple_structure(record_exporter::get_read_structure( )), 'totalcount' => new external_value(PARAM_INT, 'Total count of records returned by the search.'), 'maxcount' => new external_value(PARAM_INT, 'Total count of records that the user could see in the database (if all the search criterias were removed).', VALUE_OPTIONAL), 'listviewcontents' => new external_value(PARAM_RAW, 'The list view contents as is rendered in the site.', VALUE_OPTIONAL), 'warnings' => new external_warnings( )))
/mod/data/classes/external.php:9531return new external_function_parameters(array('databaseid' => new external_value(PARAM_INT, 'data instance id'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group', VALUE_DEFAULT, 0), 'data' => new external_multiple_structure(new external_single_structure(array('fieldid' => new external_value(PARAM_INT, 'The field id.'), 'subfield' => new external_value(PARAM_NOTAGS, 'The subfield name (if required).', VALUE_DEFAULT, ''), 'value' => new external_value(PARAM_RAW, 'The contents for the field always JSON encoded.'), )), 'The fields data to be created'), ))
/mod/data/classes/external.php:10601return new external_single_structure(array('newentryid' => new external_value(PARAM_INT, 'True new created entry id. 0 if the entry was not created.'), 'generalnotifications' => new external_multiple_structure(new external_value(PARAM_RAW, 'General notifications')), 'fieldnotifications' => new external_multiple_structure(new external_single_structure(array('fieldname' => new external_value(PARAM_TEXT, 'The field name.'), 'notification' => new external_value(PARAM_RAW, 'The notification for the field.'), ))), 'warnings' => new external_warnings( )))
/mod/data/classes/external.php:10861return new external_function_parameters(array('entryid' => new external_value(PARAM_INT, 'The entry record id.'), 'data' => new external_multiple_structure(new external_single_structure(array('fieldid' => new external_value(PARAM_INT, 'The field id.'), 'subfield' => new external_value(PARAM_NOTAGS, 'The subfield name (if required).', VALUE_DEFAULT, null), 'value' => new external_value(PARAM_RAW, 'The new contents for the field always JSON encoded.'), )), 'The fields data to be updated'), ))
/mod/data/classes/external.php:11741return new external_single_structure(array('updated' => new external_value(PARAM_BOOL, 'True if the entry was successfully updated, false other wise.'), 'generalnotifications' => new external_multiple_structure(new external_value(PARAM_RAW, 'General notifications')), 'fieldnotifications' => new external_multiple_structure(new external_single_structure(array('fieldname' => new external_value(PARAM_TEXT, 'The field name.'), 'notification' => new external_value(PARAM_RAW, 'The notification for the field.'), ))), 'warnings' => new external_warnings( )))
/mod/data/classes/preset.php:4611$fieldrecord = (object) ['id' => $id, 'dataid' => $instance->id, 'type' => (string) $fieldinfo->type, 'name' => (string) $fieldinfo->name, 'description' => (string) $fieldinfo->description ?? '', 'required' => (int) $fieldinfo->required ?? 0, ]
/mod/data/classes/preset.php:4911$entry = (object) ['id' => $current, 'userid' => $USER->id, 'groupid' => 0, 'dataid' => $instance->id, 'timecreated' => time( ), 'timemodified' => time( ), 'approved' => 1, ]
/mod/data/classes/manager.php:3411return has_capability('mod/data:exportallentries', $this->context) || has_capability('mod/data:exportentry', $this->context) || (has_capability('mod/data:exportownentry', $this->context) && $DB->record_exists('data_records', ['userid' => $userid, 'dataid' => $this->instance->id]))
/mod/data/classes/template.php:2551return ['edit' => new pix_icon('t/editinline', get_string('edit'), '', $attrs), 'delete' => new pix_icon('t/delete', get_string('delete'), '', $attrs), 'more' => new pix_icon('t/preview', get_string('more', 'data'), '', $attrs), 'approve' => new pix_icon('t/approve', get_string('approve', 'data'), '', $attrs), 'disapprove' => new pix_icon('t/block', get_string('disapprove', 'data'), '', $attrs), ]
/mod/data/classes/form/save_as_preset.php:2191$data = (object) ['d' => $this->optional_param('d', 0, PARAM_INT), 'action' => $this->optional_param('action', '', PARAM_ALPHANUM), 'oldpresetname' => $this->optional_param('presetname', '', PARAM_FILE), 'name' => $this->optional_param('presetname', '', PARAM_FILE), 'description' => $this->optional_param('presetdescription', '', PARAM_TEXT), ]
/mod/data/classes/privacy/provider.php:2451$value = (object) ['field' => ['name' => $fieldobj->name, 'description' => $fieldobj->description, 'type' => $fieldobj->type, 'required' => transform::yesno($fieldobj->required), ], 'content' => $contentobj->content]
/mod/data/classes/privacy/provider.php:3191$rs = $DB->get_recordset_sql($sql, $contextparams + ['contextlevel' => CONTEXT_MODULE, 'modname' => 'data', 'userid' => $user->id, 'userid1' => $user->id, 'commentarea' => 'database_entry', 'userid2' => $user->id, 'ratingarea' => 'entry', 'moddata' => 'mod_data'])
/mod/data/classes/privacy/provider.php:3611$data = ['userid' => transform::user($user->id), 'groupid' => $recordobj->groupid, 'timecreated' => transform::datetime($recordobj->timecreated), 'timemodified' => transform::datetime($recordobj->timemodified), 'approved' => transform::yesno($recordobj->approved), ]
/mod/data/classes/output/presets.php:1131$presets[] = ['id' => $this->id, 'cmid' => $this->cmid, 'name' => $preset->name, 'url' => $previewurl->out( ), 'shortname' => $preset->shortname, 'fullname' => $presetname, 'description' => $preset->description, 'userid' => $userid, 'actions' => $actions, 'presetindex' => $index, ]
/mod/data/classes/output/preset_preview.php:1091return ['cmid' => $coursemodule->id, 'description' => $preset->description ?? '', 'preview' => $content, 'formactionurl' => $useurl->out( ), 'userid' => $preset->get_userid( ) ?? 0, 'shortname' => $preset->shortname, ]
/mod/data/classes/output/action_bar.php:1801$menu = [$addtemplatelink->out(false) => get_string('addtemplate', 'mod_data'), $singletemplatelink->out(false) => get_string('singletemplate', 'mod_data'), $listtemplatelink->out(false) => get_string('listtemplate', 'mod_data'), $advancedsearchtemplatelink->out(false) => get_string('asearchtemplate', 'mod_data'), $csstemplatelink->out(false) => get_string('csstemplate', 'mod_data'), $jstemplatelink->out(false) => get_string('jstemplate', 'mod_data'), $rsstemplatelink->out(false) => get_string('rsstemplate', 'mod_data'), ]
/mod/data/classes/output/template_editor_tools.php:1321$taglist = ['##actionsmenu##' => get_string('actionsmenu', 'data'), '##edit##' => get_string('edit', 'data'), '##delete##' => get_string('delete', 'data'), '##approve##' => get_string('approve', 'data'), '##disapprove##' => get_string('disapprove', 'data'), ]
/mod/data/classes/output/action_bar.php:2731$data = ['title' => get_string('preview', manager::PLUGINNAME, preset::get_name_from_plugin($fullname)), 'hasback' => true, 'backtitle' => get_string('back'), 'backurl' => new moodle_url('/mod/data/preset.php', ['id' => $cm->id]), 'extraurlselect' => $urlselect->export_for_template($renderer), ]
/mod/data/classes/local/importer/preset_importer.php:4861return ['needsmapping' => $this->needs_mapping( ), 'presetname' => preset::get_name_from_plugin($this->get_directory( )), 'fieldstocreate' => $this->get_field_names($this->fieldstocreate), 'fieldstoremove' => $this->get_field_names($this->fieldstoremove), ]
/mod/data/classes/output/template_editor.php:611$data = ['title' => get_string('header' . $this->templatename, 'data'), 'sesskey' => sesskey( ), 'disableeditor' => true, 'url' => new moodle_url('/mod/data/templates.php', ['id' => $cm->id, 'mode' => $this->templatename]), ]
/mod/data/classes/external/record_exporter.php:901return array('canmanageentry' => array('type' => PARAM_BOOL, 'description' => 'Whether the current user can manage this entry', ), 'fullname' => array('type' => PARAM_TEXT, 'description' => 'The user who created the entry fullname.', 'optional' => true, ), 'contents' => array('type' => content_exporter::read_properties_definition( ), 'description' => 'The record contents.', 'multiple' => true, 'optional' => true, ), 'tags' => array('type' => tag_item_exporter::read_properties_definition( ), 'description' => 'Tags.', 'multiple' => true, 'optional' => true, ), )
/mod/data/classes/external/get_mapping_information.php:871return new external_single_structure(['data' => new external_single_structure(['needsmapping' => new external_value(PARAM_BOOL, 'Whether the importing needs mapping or not'), 'presetname' => new external_value(PARAM_TEXT, 'Name of the applied preset'), 'fieldstocreate' => new external_value(PARAM_TEXT, 'List of field names to create'), 'fieldstoremove' => new external_value(PARAM_TEXT, 'List of field names to remove'), ], 'Information to import if everything went fine', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ])
/mod/data/tests/template_test.php:1241$entry = (object) ['id' => $entryid, 'approved' => $approved, 'timecreated' => 1657618639, 'timemodified' => 1657618650, 'userid' => $author->id, 'groupid' => 0, 'dataid' => $activity->id, 'picture' => 0, 'firstname' => $author->firstname, 'lastname' => $author->lastname, 'firstnamephonetic' => $author->firstnamephonetic, 'lastnamephonetic' => $author->lastnamephonetic, 'middlename' => $author->middlename, 'alternatename' => $author->alternatename, 'imagealt' => 'PIXEXAMPLE', 'email' => $author->email, ]
/mod/data/tests/preset_importer_test.php:611return ['Empty database / Empty importer' => ['currentfields' => [ ], 'newfields' => [ ], 'pluginname' => '', ], 'Empty database / Importer with fields' => ['currentfields' => [ ], 'newfields' => [$titlefield, $descfield, $imagefield], 'pluginname' => 'imagegallery', ], 'Database with fields / Empty importer' => ['currentfields' => [$titlefield, $descfield, $imagefield], 'newfields' => [ ], 'pluginname' => '', ], 'Same fields' => ['currentfields' => [$titlefield, $descfield, $imagefield], 'newfields' => [$titlefield, $descfield, $imagefield], 'pluginname' => 'imagegallery', ], 'Fields to create' => ['currentfields' => [$titlefield, $descfield], 'newfields' => [$titlefield, $descfield, $imagefield], 'pluginname' => 'imagegallery', ], 'Fields to remove' => ['currentfields' => [$titlefield, $descfield, $imagefield, $difffield], 'newfields' => [$titlefield, $descfield, $imagefield], 'pluginname' => 'imagegallery', ], 'Fields to update' => ['currentfields' => [$difffield, $descfield, $imagefield], 'newfields' => [$titlefield, $descfield, $imagefield], 'pluginname' => 'imagegallery', ], 'Fields to create, remove and update' => ['currentfields' => [$titlefield, $descfield, $imagefield, $difffield], 'newfields' => [$titlefield, $descfield, $newfield], 'pluginname' => '', ], ]
/mod/data/tests/template_test.php:8261$ratingoptions = (object) ['context' => $context, 'component' => 'mod_data', 'ratingarea' => 'entry', 'items' => $entries, 'aggregate' => RATING_AGGREGATE_AVERAGE, 'scaleid' => $activity->scale, 'userid' => $user->id, 'returnurl' => $CFG->wwwroot . '/mod/data/view.php', 'assesstimestart' => $activity->assesstimestart, 'assesstimefinish' => $activity->assesstimefinish, ]
/mod/data/tests/template_test.php:1491$replace = ['{authorfullname}' => fullname($author), '{timeadded}' => userdate($entry->timecreated, get_string('strftimedatemonthabbr', 'langconfig')), '{timemodified}' => userdate($entry->timemodified, get_string('strftimedatemonthabbr', 'langconfig')), '{fieldid}' => $field->field->id, '{fieldname}' => $field->field->name, '{fielddescription}' => $field->field->description, '{entryid}' => $entry->id, '{cmid}' => $cm->id, '{courseid}' => $course->id, '{authorid}' => $author->id]
/mod/data/tests/lib_test.php:7601return ['Return full dataset (no key/default)' => [[$database], $initialdata, ], 'Return full dataset (no default)' => [[$database, null], $initialdata, ], 'Return full dataset' => [[$database, null, null], $initialdata, ], 'Return requested key only, value true, no default' => [[$database, 'template_foo'], true, ], 'Return requested key only, value false, no default' => [[$database, 'template_bar'], false, ], 'Return requested key only, value null, no default' => [[$database, 'template_baz'], null, ], 'Return unknown key, value null, no default' => [[$database, 'template_bum'], null, ], 'Return requested key only, value true, default null' => [[$database, 'template_foo', null], true, ], 'Return requested key only, value false, default null' => [[$database, 'template_bar', null], false, ], 'Return requested key only, value null, default null' => [[$database, 'template_baz', null], null, ], 'Return unknown key, value null, default null' => [[$database, 'template_bum', null], null, ], 'Return requested key only, value true, default 42' => [[$database, 'template_foo', 42], true, ], 'Return requested key only, value false, default 42' => [[$database, 'template_bar', 42], false, ], 'Return requested key only, value null, default 42' => [[$database, 'template_baz', 42], null, ], 'Return unknown key, value null, default 42' => [[$database, 'template_bum', 42], 42, ], ]
/mod/data/tests/dates_test.php:531return ['without any dates' => [null, null, [ ]], 'only with opening time' => [$after, null, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeavailablefrom'], ]], 'only with closing time' => [null, $after, [['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeavailableto'], ]], 'with both times' => [$after, $later, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeavailablefrom'], ['label' => 'Closes:', 'timestamp' => $later, 'dataid' => 'timeavailableto'], ]], 'between the dates' => [$before, $after, [['label' => 'Opened:', 'timestamp' => $before, 'dataid' => 'timeavailablefrom'], ['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeavailableto'], ]], 'dates are past' => [$earlier, $before, [['label' => 'Opened:', 'timestamp' => $earlier, 'dataid' => 'timeavailablefrom'], ['label' => 'Closed:', 'timestamp' => $before, 'dataid' => 'timeavailableto'], ]], ]
/mod/data/tests/lib_test.php:16851$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => $data->id, 'eventtype' => DATA_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/lib_test.php:8501return ['Empty config, New value' => [$basevalue, 'etc', 'newvalue', true, json_encode((object) ['etc' => 'newvalue'])], 'Has config, New value' => [clone $withvalues, 'etc', 'newvalue', true, json_encode((object) array_merge($config, ['etc' => 'newvalue']))], 'Has config, Update value, string' => [clone $withvalues, 'template_foo', 'newvalue', true, json_encode((object) array_merge($config, ['template_foo' => 'newvalue']))], 'Has config, Update value, true' => [clone $withvalues, 'template_bar', true, true, json_encode((object) array_merge($config, ['template_bar' => true]))], 'Has config, Update value, false' => [clone $withvalues, 'template_foo', false, true, json_encode((object) array_merge($config, ['template_foo' => false]))], 'Has config, Update value, null' => [clone $withvalues, 'template_foo', null, true, json_encode((object) array_merge($config, ['template_foo' => null]))], 'Has config, No update, value true' => [clone $withvalues, 'template_foo', true, false, $withvalues->config, ], ]
/mod/data/tests/lib_test.php:17861$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => $data->id, 'eventtype' => DATA_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/data/tests/lib_test.php:17291$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'data', 'instance' => $data->id, 'eventtype' => DATA_EVENT_TYPE_OPEN, 'timestart' => $newtimeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/bigbluebuttonbn/classes/external/get_recordings_to_import.php:1811return new external_single_structure(['status' => new external_value(PARAM_BOOL, 'Whether the fetch was successful'), 'tabledata' => new external_single_structure(['activity' => new external_value(PARAM_ALPHANUMEXT), 'ping_interval' => new external_value(PARAM_INT), 'locale' => new external_value(PARAM_TEXT), 'profile_features' => new external_multiple_structure(new external_value(PARAM_TEXT)), 'columns' => new external_multiple_structure(new external_single_structure(['key' => new external_value(PARAM_ALPHA), 'label' => new external_value(PARAM_TEXT), 'width' => new external_value(PARAM_ALPHANUMEXT), 'type' => new external_value(PARAM_ALPHANUMEXT, 'Column type', VALUE_OPTIONAL), 'sortable' => new external_value(PARAM_BOOL, 'Whether this column is sortable', VALUE_OPTIONAL, false), 'allowHTML' => new external_value(PARAM_BOOL, 'Whether this column contains HTML', VALUE_OPTIONAL, false), ])), 'data' => new external_value(PARAM_RAW), ], '', VALUE_OPTIONAL), 'warnings' => new external_warnings( )])
/mod/bigbluebuttonbn/classes/external/get_recordings.php:1341return new external_single_structure(['status' => new external_value(PARAM_BOOL, 'Whether the fetch was successful'), 'tabledata' => new external_single_structure(['activity' => new external_value(PARAM_ALPHANUMEXT), 'ping_interval' => new external_value(PARAM_INT), 'locale' => new external_value(PARAM_TEXT), 'profile_features' => new external_multiple_structure(new external_value(PARAM_TEXT)), 'columns' => new external_multiple_structure(new external_single_structure(['key' => new external_value(PARAM_ALPHA), 'label' => new external_value(PARAM_TEXT), 'width' => new external_value(PARAM_ALPHANUMEXT), 'type' => new external_value(PARAM_ALPHANUMEXT, 'Column type', VALUE_OPTIONAL), 'sortable' => new external_value(PARAM_BOOL, 'Whether this column is sortable', VALUE_OPTIONAL, false), 'allowHTML' => new external_value(PARAM_BOOL, 'Whether this column contains HTML', VALUE_OPTIONAL, false), 'formatter' => new external_value(PARAM_ALPHANUMEXT, 'Formatter name', VALUE_OPTIONAL), ])), 'data' => new external_value(PARAM_RAW), ], '', VALUE_OPTIONAL), 'warnings' => new external_warnings( )])
/mod/bigbluebuttonbn/classes/external/get_bigbluebuttonbns_by_courses.php:1011return new external_single_structure(['bigbluebuttonbns' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['meetingid' => new external_value(PARAM_RAW, 'Meeting id'), 'timemodified' => new external_value(PARAM_INT, 'Last time the instance was modified'), ]))), 'warnings' => new external_warnings( ), ])
/mod/bigbluebuttonbn/classes/external/get_recordings_to_import.php:441return new external_function_parameters(['destinationinstanceid' => new external_value(PARAM_INT, 'Id of the other BBB we target for importing recordings into. The idea here is to remove already imported recordings.', VALUE_REQUIRED), 'sourcebigbluebuttonbnid' => new external_value(PARAM_INT, 'bigbluebuttonbn instance id', VALUE_DEFAULT, 0), 'sourcecourseid' => new external_value(PARAM_INT, 'source courseid to filter by', VALUE_DEFAULT, 0), 'tools' => new external_value(PARAM_RAW, 'a set of enabled tools', VALUE_DEFAULT, 'protect,unprotect,publish,unpublish,delete'), 'groupid' => new external_value(PARAM_INT, 'Group ID', VALUE_DEFAULT, null), ])
/mod/bigbluebuttonbn/classes/external/update_recording.php:1141return new external_function_parameters(['bigbluebuttonbnid' => new external_value(PARAM_INT, 'bigbluebuttonbn instance id, this might be a different one from the one set in recordingid in case of importing'), 'recordingid' => new external_value(PARAM_INT, 'The moodle internal recording ID'), 'action' => new external_value(PARAM_ALPHANUMEXT, 'The action to perform'), 'additionaloptions' => new external_value(PARAM_RAW, 'Additional options', VALUE_REQUIRED, null), ])
/mod/bigbluebuttonbn/classes/external/view_bigbluebuttonbn.php:701return ['status' => false, 'warnings' => [['item' => 'mod_bigbluebuttonbn', 'itemid' => 0, 'warningcode' => 'nosuchinstance', 'message' => get_string('nosuchinstance', 'mod_bigbluebuttonbn', (object) ['id' => $instanceid, 'entity' => 'bigbluebuttonbn'])]]]
/mod/bigbluebuttonbn/classes/task/send_guest_emails.php:791return ['course_fullname' => $this->get_instance( )->get_course( )->fullname, 'course_shortname' => $this->get_instance( )->get_course( )->shortname, 'name' => $this->get_instance( )->get_cm( )->name, 'guestjoinurl' => $this->get_instance( )->get_guest_access_url( )->out(false), 'guestpassword' => $this->get_instance( )->get_guest_access_password( ), 'sender' => fullname($sender)]
/mod/bigbluebuttonbn/classes/task/send_recording_ready_notification.php:761return ['course_fullname' => $this->instance->get_course( )->fullname, 'course_shortname' => $this->instance->get_course( )->shortname, 'name' => $this->instance->get_cm( )->name, 'link' => $this->instance->get_view_url( )->out( ), ]
/mod/bigbluebuttonbn/tests/generator/lib.php:601$defaults = ["type" => 0, "meetingid" => sha1(rand( )), "record" => true, "moderatorpass" => "mp", "viewerpass" => "ap", "participants" => "{}", "timecreated" => $now, "timemodified" => $now, "presentation" => null, "recordings_preview" => 0]
/mod/bigbluebuttonbn/tests/generator/lib.php:2461$mockdata = array_merge((array) $recordingdata, ['sequence' => 1, 'meta' => ['bn-presenter-name' => $data['presentername'] ?? 'Fake presenter', 'bn-recording-ready-url' => new moodle_url('/mod/bigbluebuttonbn/bbb_broker.php', ['action' => 'recording_ready', 'bigbluebuttonbn' => $instance->get_instance_id( )]), 'bbb-recording-description' => $data['description'] ?? '', 'bbb-recording-name' => $data['name'] ?? '', 'bbb-recording-tags' => $data['tags'] ?? '', ], ])
/mod/bigbluebuttonbn/tests/completion/completion_test.php:2841return ['simple' => ['customcompletionrules' => ['completionengagementtalks' => 1, 'completionengagementchats' => 1, ], 'events' => [(object) ['name' => 'talks'], (object) ['name' => 'chats']], 'expectedstate' => COMPLETION_COMPLETE], 'not right events' => ['customcompletionrules' => ['completionengagementchats' => 1, ], 'events' => [(object) ['name' => 'talks']], 'expectedstate' => COMPLETION_INCOMPLETE], 'attendance' => ['customcompletionrules' => ['completionattendance' => 1, ], 'events' => [(object) ['name' => 'talks'], (object) ['name' => 'attendance', 'data' => '70']], 'expectedstate' => COMPLETION_COMPLETE]]
/mod/bigbluebuttonbn/tests/local/extension_test.php:3161return ['simple' => ['customcompletionrules' => ['completionengagementtalks' => 1, 'completionextraisehandtwice' => 1, ], 'events' => [(object) ['name' => 'talks'], (object) ['name' => 'raisehand'], (object) ['name' => 'raisehand'], ], 'expectedstate' => COMPLETION_COMPLETE, ], 'not right events' => ['customcompletionrules' => ['completionextraisehandtwice' => 1, ], 'events' => [(object) ['name' => 'chats'], ], 'expectedstate' => COMPLETION_INCOMPLETE, ], 'not enough events' => ['customcompletionrules' => ['completionextraisehandtwice' => 1, ], 'events' => [(object) ['name' => 'raisehand'], ], 'expectedstate' => COMPLETION_INCOMPLETE, ], 'more events' => ['customcompletionrules' => ['completionengagementtalks' => 1, ], 'events' => [(object) ['name' => 'talks'], (object) ['name' => 'talks'], (object) ['name' => 'talks'], ], 'expectedstate' => COMPLETION_COMPLETE, ], 'basics are still working' => ['customcompletionrules' => ['completionengagementtalks' => 1, ], 'events' => [(object) ['name' => 'talks'], ], 'expectedstate' => COMPLETION_COMPLETE, ], ]
/mod/bigbluebuttonbn/tests/backup_restore_test.php:1251$bbactivity[$type] = $this->getDataGenerator( )->create_module('bigbluebuttonbn', ['course' => $this->get_course( )->id, 'type' => $type, 'name' => 'BBB Activity:' . $key], ['visible' => true])
/mod/bigbluebuttonbn/tests/output/recording_row_playback_test.php:1341return ['editingteacher user should see all' => ['role' => 'editingteacher', 'canview' => ['video', 'presentation', 'podcast', 'settings'], ], 'student can see only default' => ['role' => 'student', 'canview' => ['video', 'presentation'], ], 'student can see only default except when we add more format to all users' => ['role' => 'student', 'canview' => ['video', 'presentation', 'settings'], 'globalsettings' => (object) ['bigbluebuttonbn_recording_safe_formats' => 'video,presentation,settings']]]
/mod/bigbluebuttonbn/classes/external/meeting_info.php:1121return new external_single_structure(['cmid' => new external_value(PARAM_INT, 'CM id'), 'userlimit' => new external_value(PARAM_INT, 'User limit'), 'bigbluebuttonbnid' => new external_value(PARAM_RAW, 'bigbluebuttonbn instance id'), 'groupid' => new external_value(PARAM_INT, 'bigbluebuttonbn group id', VALUE_DEFAULT, 0), 'meetingid' => new external_value(PARAM_RAW, 'Meeting id'), 'openingtime' => new external_value(PARAM_INT, 'Opening time', VALUE_OPTIONAL), 'closingtime' => new external_value(PARAM_INT, 'Closing time', VALUE_OPTIONAL), 'statusrunning' => new external_value(PARAM_BOOL, 'Status running', VALUE_OPTIONAL), 'statusclosed' => new external_value(PARAM_BOOL, 'Status closed', VALUE_OPTIONAL), 'statusopen' => new external_value(PARAM_BOOL, 'Status open', VALUE_OPTIONAL), 'statusmessage' => new external_value(PARAM_TEXT, 'Status message', VALUE_OPTIONAL), 'startedat' => new external_value(PARAM_INT, 'Started at', VALUE_OPTIONAL), 'moderatorcount' => new external_value(PARAM_INT, 'Moderator count', VALUE_OPTIONAL), 'participantcount' => new external_value(PARAM_INT, 'Participant count', VALUE_OPTIONAL), 'moderatorplural' => new external_value(PARAM_BOOL, 'Several moderators ?', VALUE_OPTIONAL), 'participantplural' => new external_value(PARAM_BOOL, 'Several participants ?', VALUE_OPTIONAL), 'canjoin' => new external_value(PARAM_BOOL, 'Can join'), 'ismoderator' => new external_value(PARAM_BOOL, 'Is moderator'), 'presentations' => new external_multiple_structure(new external_single_structure(['url' => new external_value(PARAM_URL, 'presentation URL'), 'iconname' => new external_value(PARAM_RAW, 'icon name'), 'icondesc' => new external_value(PARAM_TEXT, 'icon text'), 'name' => new external_value(PARAM_TEXT, 'presentation name'), ])), 'joinurl' => new external_value(PARAM_URL, 'Join URL'), 'guestaccessenabled' => new external_value(PARAM_BOOL, 'Guest access enabled', VALUE_OPTIONAL), 'guestjoinurl' => new external_value(PARAM_URL, 'Guest URL', VALUE_OPTIONAL), 'guestpassword' => new external_value(PARAM_RAW, 'Guest join password', VALUE_OPTIONAL), 'features' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHA, 'Feature name.'), 'isenabled' => new external_value(PARAM_BOOL, 'Whether the feature is enabled.'), ]), 'List of features for the instance', VALUE_OPTIONAL), ])
/mod/bigbluebuttonbn/tests/instance_test.php:3181return ['No opening or closing time set: Is open' => [null, null, true], 'Opening time set in the past, no closing: Is open' => [-DAYSECS, null, true], 'Opening time set in the future, no closing: Is closed' => [+DAYSECS, null, false], 'Closing time set in the past, no opening: Is closed' => [null, -DAYSECS, false], 'Closing time set in the future, no opening: Is open' => [null, +DAYSECS, true], 'Opening and closing in the past: Is closed' => [-WEEKSECS, -DAYSECS, false], 'Opening and closing in the future: Is closed' => [+DAYSECS, +WEEKSECS, false], 'Opening in the past, Closing in the future: Is open' => [-DAYSECS, +DAYSECS, true], ]
/analytics/classes/dataset_manager.php:1271$filerecord = ['component' => 'analytics', 'filearea' => $this->filearea, 'itemid' => $this->modelid, 'contextid' => \context_system::instance( )->id, 'filepath' => '/analysable/' . $this->analysableid . '/' . \core_analytics\analysis::clean_time_splitting_id($this->timesplittingid) . '/', 'filename' => self::get_filename($this->evaluation)]
/analytics/classes/analysis.php:8721$predictsamplesrecord = (object) ['modelid' => $this->analyser->get_modelid( ), 'analysableid' => $timesplitting->get_analysable( )->get_id( ), 'timesplitting' => $timesplitting->get_id( ), 'rangeindex' => $rangeindex]
/analytics/classes/analysis.php:8191$params = array('modelid' => $this->analyser->get_modelid( ), 'analysableid' => $timesplitting->get_analysable( )->get_id( ), 'timesplitting' => $timesplitting->get_id( ), 'rangeindex' => $rangeindex)
/mod/bigbluebuttonbn/backup/moodle2/backup_bigbluebuttonbn_stepslib.php:461$bigbluebuttonbn = new backup_nested_element('bigbluebuttonbn', ['id'], ['type', 'course', 'name', 'intro', 'introformat', 'meetingid', 'moderatorpass', 'viewerpass', 'wait', 'record', 'recordallfromstart', 'recordhidebutton', 'welcome', 'voicebridge', 'openingtime', 'closingtime', 'timecreated', 'timemodified', 'presentation', 'participants', 'userlimit', 'recordings_html', 'recordings_deleted', 'recordings_imported', 'recordings_preview', 'clienttype', 'muteonstart', 'completionattendance', 'completionengagementchats', 'completionengagementtalks', 'completionengagementraisehand', 'completionengagementpollvotes', 'completionengagementemojis', 'guestallowed', 'mustapproveuser'])
/mod/bigbluebuttonbn/db/mobile.php:281$addons = ["mod_bigbluebuttonbn" => ["handlers" => ['coursebigbluebuttonbn' => ['displaydata' => ['title' => 'pluginname', 'icon' => $CFG->wwwroot . '/mod/bigbluebuttonbn/pix/monologo.svg', 'class' => '', ], 'delegate' => 'CoreCourseModuleDelegate', 'method' => 'mobile_course_view']], 'lang' => [['pluginname', 'bigbluebuttonbn'], ['view_conference_action_join', 'bigbluebuttonbn'], ['view_message_conference_room_ready', 'bigbluebuttonbn'], ['view_mobile_message_reload_page_creation_time_meeting', 'bigbluebuttonbn']]]]
/mod/bigbluebuttonbn/tests/task/send_recording_ready_notification_test.php:1052$students = [$generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), ]
/mod/bigbluebuttonbn/tests/task/send_recording_ready_notification_test.php:482$students = [$generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), $generator->create_and_enrol($course, 'student'), ]
/mod/bigbluebuttonbn/tests/generator/lib.php:3391$roomconfig = array_merge($data, ['meetingName' => $instance->get_meeting_name( ), 'attendeePW' => $instance->get_viewer_password( ), 'moderatorPW' => $instance->get_moderator_password( ), 'voiceBridge' => $instance->get_voice_bridge( ), 'meta' => ['bbb-context' => $instance->get_course( )->fullname, 'bbb-context-id' => $instance->get_course( )->id, 'bbb-context-label' => $instance->get_course( )->shortname, 'bbb-context-name' => $instance->get_course( )->fullname, 'bbb-origin' => 'Moodle', 'bbb-origin-tag' => 'moodle-mod_bigbluebuttonbn (TODO version)', 'bbb-recording-description' => $instance->get_meeting_description( ), 'bbb-recording-name' => $instance->get_meeting_name( ), ], ])
/analytics/tests/privacy/provider_test.php:2724$actualcontexts = [$this->u1->id => provider::get_contexts_for_userid($this->u1->id)->get_contextids( ), $this->u2->id => provider::get_contexts_for_userid($this->u2->id)->get_contextids( ), $this->u3->id => provider::get_contexts_for_userid($this->u3->id)->get_contextids( ), $this->u4->id => provider::get_contexts_for_userid($this->u4->id)->get_contextids( ), $this->u5->id => provider::get_contexts_for_userid($this->u5->id)->get_contextids( ), $this->u6->id => provider::get_contexts_for_userid($this->u6->id)->get_contextids( ), $this->u7->id => provider::get_contexts_for_userid($this->u7->id)->get_contextids( ), $this->u8->id => provider::get_contexts_for_userid($this->u8->id)->get_contextids( ), ]
/analytics/tests/privacy/provider_test.php:1691$expected = [$this->u1->id, $this->u2->id, $this->u3->id, $this->u4->id, $this->u5->id, $this->u6->id, $this->u7->id, $this->u8->id]
/analytics/tests/manager_test.php:2181return ['missing_target' => [$this->load_models_from_fixture_file('missing_target'), 'Missing target declaration', ], 'invalid_target' => [$this->load_models_from_fixture_file('invalid_target'), 'Invalid target classname', ], 'missing_indicators' => [$this->load_models_from_fixture_file('missing_indicators'), 'Missing indicators declaration', ], 'invalid_indicators' => [$this->load_models_from_fixture_file('invalid_indicators'), 'Invalid indicator classname', ], 'invalid_time_splitting' => [$this->load_models_from_fixture_file('invalid_time_splitting'), 'Invalid time splitting classname', ], 'invalid_time_splitting_fq' => [$this->load_models_from_fixture_file('invalid_time_splitting_fq'), 'Expecting fully qualified time splitting classname', ], 'invalid_enabled' => [$this->load_models_from_fixture_file('invalid_enabled'), 'Cannot enable a model without time splitting method specified', ], ]
/analytics/tests/community_of_inquiry_activities_completed_by.php:751$structure = (object) array('op' => '|', 'show' => true, 'c' => array((object) array('type' => 'date', 'd' => '<', 't' => $untiltime), (object) array('type' => 'date', 'd' => '>=', 't' => $fromtime)))
/analytics/classes/privacy/provider.php:3021$data = (object) ['target' => $models[$predictionaction->modelid]->get_target( )->get_name( )->out( ), 'context' => $context->get_context_name(true, true), 'action' => $predictionaction->actionname, 'timecreated' => transform::datetime($predictionaction->timecreated), ]
/analytics/classes/privacy/provider.php:2761$data = (object) ['indicator' => $indicator::get_name( )->out( ), 'context' => $context->get_context_name(true, true), 'calculation' => $indicator->get_display_value($calculation->value), 'starttime' => transform::datetime($calculation->starttime), 'endtime' => transform::datetime($calculation->endtime), 'timecreated' => transform::datetime($calculation->timecreated), ]
/analytics/classes/privacy/provider.php:2481$data = (object) ['target' => $model->get_target( )->get_name( )->out( ), 'context' => $context->get_context_name(true, true), 'prediction' => $model->get_target( )->get_display_value($prediction->prediction), 'timestart' => transform::datetime($prediction->timestart), 'timeend' => transform::datetime($prediction->timeend), 'timecreated' => transform::datetime($prediction->timecreated), ]
/analytics/classes/dataset_manager.php:3401$filerecord = ['component' => 'analytics', 'filearea' => $filearea, 'itemid' => $modelid, 'contextid' => \context_system::instance( )->id, 'filepath' => '/timesplitting/' . \core_analytics\analysis::clean_time_splitting_id($timesplittingid) . '/', 'filename' => self::get_filename($evaluation)]
/mod/bigbluebuttonbn/classes/setting_validator.php:1071return (!isset($CFG->bigbluebuttonbn['waitformoderator_default']) || !isset($CFG->bigbluebuttonbn['waitformoderator_editable']) || !isset($CFG->bigbluebuttonbn['waitformoderator_ping_interval']) || !isset($CFG->bigbluebuttonbn['waitformoderator_cache_ttl']))
/mod/bigbluebuttonbn/classes/setting_validator.php:2471return self::section_disablecam_shown( ) || self::section_disablemic_shown( ) || self::section_disablenote_shown( ) || self::section_disableprivatechat_shown( ) || self::section_disablepublicchat_shown( ) || self::section_disablenote_shown( ) || self::section_hideuserlist_shown( )
/mod/bigbluebuttonbn/classes/instance.php:10891return (object) ['origin' => 'Moodle', 'originVersion' => $CFG->release, 'originServerName' => $parsedurl['host'], 'originServerUrl' => $CFG->wwwroot, 'originServerCommonName' => '', 'originTag' => sprintf('moodle-mod_bigbluebuttonbn (%s)', get_config('mod_bigbluebuttonbn', 'version')), ]
/mod/bigbluebuttonbn/classes/meeting.php:1781$recording = new recording(0, (object) ['courseid' => $this->instance->get_course_id( ), 'bigbluebuttonbnid' => $this->instance->get_instance_id( ), 'recordingid' => $response['internalMeetingID'], 'groupid' => $this->instance->get_group_id( )])
/mod/bigbluebuttonbn/mod_form.php:2581$engagement['group'] = [$mform->createElement('advcheckbox', $completionengagementchatsel, '', $engagement['chatlabel'] . '&nbsp;&nbsp;'), $mform->createElement('advcheckbox', $completionengagementtalksel, '', $engagement['talklabel'] . '&nbsp;&nbsp;'), $mform->createElement('advcheckbox', $completionengagementraisehandel, '', $engagement['raisehand'] . '&nbsp;&nbsp;'), $mform->createElement('advcheckbox', $completionengagementpollvotesel, '', $engagement['pollvotes'] . '&nbsp;&nbsp;'), $mform->createElement('advcheckbox', $completionengagementemojisel, '', $engagement['emojis'] . '&nbsp;&nbsp;'), ]
/mod/bigbluebuttonbn/lib.php:6692$template = ['userpicture' => $userpicture, 'submissiontimestamp' => $activity->timestamp, 'modinfo' => $modinfo, 'userurl' => new moodle_url('/user/view.php', array('id' => $activity->user->id, 'course' => $courseid)), 'fullname' => $activity->user->fullname]
/mod/bigbluebuttonbn/classes/setting_validator.php:631return (!isset($CFG->bigbluebuttonbn['recording_default']) || !isset($CFG->bigbluebuttonbn['recording_editable']) || !isset($CFG->bigbluebuttonbn['recording_all_from_start_default']) || !isset($CFG->bigbluebuttonbn['recording_all_from_start_editable']) || !isset($CFG->bigbluebuttonbn['recording_hide_button_default']) || !isset($CFG->bigbluebuttonbn['recording_hide_button_editable']))
/mod/bigbluebuttonbn/classes/setting_validator.php:901return (!isset($CFG->bigbluebuttonbn['recordings_deleted_default']) || !isset($CFG->bigbluebuttonbn['recordings_deleted_editable']) || !isset($CFG->bigbluebuttonbn['recordings_imported_default']) || !isset($CFG->bigbluebuttonbn['recordings_imported_editable']) || !isset($CFG->bigbluebuttonbn['recordings_preview_default']) || !isset($CFG->bigbluebuttonbn['recordings_preview_editable']) || !isset($CFG->bigbluebuttonbn['recording_protect_editable']))
/mod/bigbluebuttonbn/classes/recording.php:8351$breakoutrecording = new recording(0, (object) ['courseid' => $recording->get('courseid'), 'bigbluebuttonbnid' => $recording->get('bigbluebuttonbnid'), 'groupid' => $recording->get('groupid'), 'recordingid' => $breakoutrecordingid], $breakoutmetadata)
/mod/bigbluebuttonbn/classes/form/text_with_copy_element.php:711$context = array('element' => $elementcontext, 'label' => $label, 'text' => $text, 'required' => $required, 'advanced' => $advanced, 'helpbutton' => $helpbutton, 'error' => $error, 'copylabel' => $this->_attributes['copylabel'] ?? get_string('copy', 'core_editor'))
/mod/bigbluebuttonbn/classes/output/index.php:691$table->head = [$sectionheading, get_string('index_heading_name', plugin::COMPONENT), get_string('index_heading_group', plugin::COMPONENT), get_string('index_heading_users', plugin::COMPONENT), get_string('index_heading_viewer', plugin::COMPONENT), get_string('index_heading_moderator', plugin::COMPONENT), get_string('index_heading_recording', plugin::COMPONENT), get_string('index_heading_actions', plugin::COMPONENT), ]
/mod/bigbluebuttonbn/classes/output/index.php:1431return [$sectionname, $joinurl, $instance->get_group_name( ), $this->get_room_usercount($meeting), $this->get_room_attendee_list($meeting, 'VIEWER'), $this->get_room_attendee_list($meeting, 'MODERATOR'), $this->get_room_record_info($output, $instance), $this->get_room_actions($output, $instance, $meeting), ]
/mod/bigbluebuttonbn/classes/meeting.php:2281$meetinginfo = (object) ['instanceid' => $instance->get_instance_id( ), 'bigbluebuttonbnid' => $instance->get_instance_id( ), 'groupid' => $instance->get_group_id( ), 'meetingid' => $instance->get_meeting_id( ), 'cmid' => $instance->get_cm_id( ), 'ismoderator' => $instance->is_moderator( ), 'joinurl' => $instance->get_join_url( )->out( ), 'userlimit' => $instance->get_user_limit( ), 'presentations' => [ ], ]
/mod/bigbluebuttonbn/classes/meeting.php:3841$data = ['meetingID' => $this->instance->get_meeting_id( ), 'name' => \mod_bigbluebuttonbn\plugin::html2text($this->instance->get_meeting_name( ), 64), 'attendeePW' => $this->instance->get_viewer_password( ), 'moderatorPW' => $this->instance->get_moderator_password( ), 'logoutURL' => $this->instance->get_logout_url( )->out(false), ]
/mod/bigbluebuttonbn/classes/meeting.php:4381$metadata = ['bbb-origin' => $origindata->origin, 'bbb-origin-version' => $origindata->originVersion, 'bbb-origin-server-name' => $origindata->originServerName, 'bbb-origin-server-common-name' => $origindata->originServerCommonName, 'bbb-origin-tag' => $origindata->originTag, 'bbb-context' => $this->instance->get_course( )->fullname, 'bbb-context-id' => $this->instance->get_course_id( ), 'bbb-context-name' => trim(html_to_text($this->instance->get_course( )->fullname, 0)), 'bbb-context-label' => trim(html_to_text($this->instance->get_course( )->shortname, 0)), 'bbb-recording-name' => plugin::html2text($this->instance->get_meeting_name( ), 64), 'bbb-recording-description' => plugin::html2text($this->instance->get_meeting_description( ), 64), 'bbb-recording-tags' => implode(',', core_tag_tag::get_item_tags_array('core', 'course_modules', $this->instance->get_cm_id( ))), ]
/mod/bigbluebuttonbn/classes/settings.php:3951$recordingsafeformat = ['notes' => get_string('view_recording_format_notes', 'mod_bigbluebuttonbn'), 'podcast' => get_string('view_recording_format_podcast', 'mod_bigbluebuttonbn'), 'presentation' => get_string('view_recording_format_presentation', 'mod_bigbluebuttonbn'), 'screenshare' => get_string('view_recording_format_screenshare', 'mod_bigbluebuttonbn'), 'statistics' => get_string('view_recording_format_statistics', 'mod_bigbluebuttonbn'), 'video' => get_string('view_recording_format_video', 'mod_bigbluebuttonbn'), ]
/mod/bigbluebuttonbn/classes/completion/custom_completion.php:1671$descriptions = ['completionengagementchats' => get_string('completionengagementchats_desc', 'mod_bigbluebuttonbn', $completionengagementchats), 'completionengagementtalks' => get_string('completionengagementtalks_desc', 'mod_bigbluebuttonbn', $completionengagementtalks), 'completionengagementraisehand' => get_string('completionengagementraisehand_desc', 'mod_bigbluebuttonbn', $completionengagementraisehand), 'completionengagementpollvotes' => get_string('completionengagementpollvotes_desc', 'mod_bigbluebuttonbn', $completionengagementpollvotes), 'completionengagementemojis' => get_string('completionengagementemojis_desc', 'mod_bigbluebuttonbn', $completionengagementemojis), 'completionattendance' => get_string('completionattendance_desc', 'mod_bigbluebuttonbn', $completionattendance), ]
/mod/bigbluebuttonbn/classes/output/recordings_session.php:581$context = (object) ['bbbid' => $this->instance->get_instance_id( ), 'groupid' => $this->instance->get_group_id( ), 'has_recordings' => $this->instance->is_recorded( ) && $isrecordedtype, 'searchbutton' => ['value' => '', ], ]
/mod/bigbluebuttonbn/classes/local/proxy/recording_proxy.php:3281$recordingarray = ['recordID' => (string) $recording->recordID, 'meetingID' => (string) $recording->meetingID, 'meetingName' => (string) $recording->name, 'published' => (string) $recording->published, 'state' => (string) $recording->state, 'startTime' => (string) $recording->startTime, 'endTime' => (string) $recording->endTime, 'playbacks' => $playbackarray]
/mod/bigbluebuttonbn/classes/local/config.php:1861return ['version_major' => self::get_moodle_version_major( ), 'voicebridge_editable' => self::get('voicebridge_editable'), 'importrecordings_enabled' => self::get('importrecordings_enabled'), 'importrecordings_from_deleted_enabled' => self::get('importrecordings_from_deleted_enabled'), 'waitformoderator_default' => self::get('waitformoderator_default'), 'waitformoderator_editable' => self::get('waitformoderator_editable'), 'userlimit_default' => self::get('userlimit_default'), 'userlimit_editable' => self::get('userlimit_editable'), 'preuploadpresentation_editable' => self::get('preuploadpresentation_editable'), 'recordings_enabled' => self::get('recordings_enabled'), 'meetingevents_enabled' => self::get('meetingevents_enabled'), 'recordings_deleted_default' => self::get('recordings_deleted_default'), 'recordings_deleted_editable' => self::get('recordings_deleted_editable'), 'recordings_imported_default' => self::get('recordings_imported_default'), 'recordings_imported_editable' => self::get('recordings_imported_editable'), 'recordings_preview_default' => self::get('recordings_preview_default'), 'recordings_preview_editable' => self::get('recordings_preview_editable'), 'recording_default' => self::get('recording_default'), 'recording_editable' => self::get('recording_editable'), 'recording_refresh_period' => self::get('recording_refresh_period'), 'recording_all_from_start_default' => self::get('recording_all_from_start_default'), 'recording_all_from_start_editable' => self::get('recording_all_from_start_editable'), 'recording_hide_button_default' => self::get('recording_hide_button_default'), 'recording_hide_button_editable' => self::get('recording_hide_button_editable'), 'recording_protect_editable' => self::get('recording_protect_editable'), 'general_warning_message' => self::get('general_warning_message'), 'general_warning_box_type' => self::get('general_warning_box_type'), 'general_warning_button_text' => self::get('general_warning_button_text'), 'general_warning_button_href' => self::get('general_warning_button_href'), 'general_warning_button_class' => self::get('general_warning_button_class'), 'muteonstart_editable' => self::get('muteonstart_editable'), 'muteonstart_default' => self::get('muteonstart_default'), 'disablecam_editable' => self::get('disablecam_editable'), 'disablecam_default' => self::get('disablecam_default'), 'disablemic_editable' => self::get('disablemic_editable'), 'disablemic_default' => self::get('disablemic_default'), 'disableprivatechat_editable' => self::get('disableprivatechat_editable'), 'disableprivatechat_default' => self::get('disableprivatechat_default'), 'disablepublicchat_editable' => self::get('disablepublicchat_editable'), 'disablepublicchat_default' => self::get('disablepublicchat_default'), 'disablenote_editable' => self::get('disablenote_editable'), 'disablenote_default' => self::get('disablenote_default'), 'hideuserlist_editable' => self::get('hideuserlist_editable'), 'hideuserlist_default' => self::get('hideuserlist_default'), 'welcome_default' => self::get('welcome_default'), 'welcome_editable' => self::get('welcome_editable'), 'poll_interval' => self::get('poll_interval'), 'guestaccess_enabled' => self::get('guestaccess_enabled'), ]
/mod/bigbluebuttonbn/classes/output/view_page.php:601$templatedata = (object) ['instanceid' => $this->instance->get_instance_id( ), 'pollinterval' => $pollinterval * 1000, 'groupselector' => $output->render_groups_selector($this->instance), 'meetingname' => $this->instance->get_meeting_name( ), 'description' => $this->instance->get_meeting_description(true), 'joinurl' => $this->instance->get_join_url( ), ]
/mod/bigbluebuttonbn/classes/output/instance_updated_message.php:691return (object) ['is_update' => $this->type === self::TYPE_UPDATED, 'is_create' => $this->type === self::TYPE_CREATED, 'name' => $this->instance->get_meeting_name( ), 'link' => $this->instance->get_view_url( )->out( ), 'description' => $this->instance->get_meeting_description( ), 'openingtime' => $this->instance->get_instance_var('openingtime'), 'closingtime' => $this->instance->get_instance_var('closingtime'), ]
/mod/bigbluebuttonbn/classes/output/recording_row_playback.php:691$context = (object) ['dataimported' => $this->recording->get('imported'), 'id' => 'playbacks-' . $this->recording->get('id'), 'recordingid' => $recordingid, 'additionaloptions' => '', 'playbacks' => [ ], ]
/mod/bigbluebuttonbn/classes/output/mobile.php:2151return ['templates' => [['id' => 'main', 'html' => $OUTPUT->render_from_template('mod_bigbluebuttonbn/mobile_view_notification', $data), ], ], 'javascript' => file_get_contents($CFG->dirroot . '/mod/bigbluebuttonbn/mobileapp/mobile.notification.js'), 'otherdata' => '', 'files' => '']
/mod/bigbluebuttonbn/classes/local/helpers/roles.php:3161return ['type_options' => ['all' => get_string('mod_form_field_participant_list_type_all', 'bigbluebuttonbn'), 'role' => get_string('mod_form_field_participant_list_type_role', 'bigbluebuttonbn'), 'user' => get_string('mod_form_field_participant_list_type_user', 'bigbluebuttonbn'), ], 'type_selected' => 'all', 'options' => ['all' => '---------------'], 'selected' => 'all', ]
/mod/bigbluebuttonbn/classes/local/bigbluebutton/recordings/recording_data.php:871$columns = [['key' => 'playback', 'label' => get_string('view_recording_playback', 'bigbluebuttonbn'), 'width' => '125px', 'type' => 'html', 'allowHTML' => true, ], ['key' => 'recording', 'label' => get_string('view_recording_name', 'bigbluebuttonbn'), 'width' => '125px', 'type' => 'html', 'allowHTML' => true, ], ['key' => 'description', 'label' => get_string('view_recording_description', 'bigbluebuttonbn'), 'sortable' => true, 'width' => '250px', 'type' => 'html', 'allowHTML' => true, ], ]
/mod/bigbluebuttonbn/classes/local/helpers/mod_helper.php:1651$event = (object) ['eventtype' => logger::EVENT_MEETING_START, 'type' => CALENDAR_EVENT_TYPE_ACTION, 'name' => get_string('calendarstarts', 'bigbluebuttonbn', $bigbluebuttonbn->name), 'description' => format_module_intro('bigbluebuttonbn', $bigbluebuttonbn, $bigbluebuttonbn->coursemodule, false), 'format' => FORMAT_HTML, 'courseid' => $bigbluebuttonbn->course, 'groupid' => 0, 'userid' => 0, 'modulename' => 'bigbluebuttonbn', 'instance' => $bigbluebuttonbn->id, 'timestart' => $bigbluebuttonbn->openingtime, 'timeduration' => 0, 'timesort' => $bigbluebuttonbn->openingtime, 'visible' => instance_is_visible('bigbluebuttonbn', $bigbluebuttonbn), 'priority' => null, ]
/mod/bigbluebuttonbn/classes/local/helpers/files.php:1981$url = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $withnonce ? $pnoncevalue : null, $file->get_filepath( ), $file->get_filename( ))
/mod/bigbluebuttonbn/classes/local/proxy/bigbluebutton_proxy.php:3161$instanceprofiles = [instance::TYPE_ALL => ['id' => instance::TYPE_ALL, 'name' => get_string('instance_type_default', 'bigbluebuttonbn'), 'features' => ['all']], instance::TYPE_ROOM_ONLY => ['id' => instance::TYPE_ROOM_ONLY, 'name' => get_string('instance_type_room_only', 'bigbluebuttonbn'), 'features' => ['showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit', 'recording', 'sendnotifications', 'lock', 'preuploadpresentation', 'permissions', 'schedule', 'groups', 'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection', 'completionattendance', 'completionengagement', 'availabilityconditionsheader']], instance::TYPE_RECORDING_ONLY => ['id' => instance::TYPE_RECORDING_ONLY, 'name' => get_string('instance_type_recording_only', 'bigbluebuttonbn'), 'features' => ['showrecordings', 'importrecordings', 'availabilityconditionsheader']], ]
/mod/bigbluebuttonbn/classes/local/proxy/bigbluebutton_proxy.php:1001$data = ['meetingID' => $instance->get_meeting_id( ), 'fullName' => $userfullname ?? $instance->get_user_fullname( ), 'password' => $instance->get_current_user_password( ), 'logoutURL' => $isguestjoin ? $instance->get_guest_access_url( )->out(false) : $instance->get_logout_url( )->out(false), 'role' => $instance->get_current_user_role( )]
/mod/bigbluebuttonbn/classes/local/bigbluebutton/recordings/recording_data.php:571$tabledata = ['activity' => empty($instance) ? '' : bigbluebutton_proxy::view_get_activity_status($instance), 'ping_interval' => (int) config::get('waitformoderator_ping_interval') * 1000, 'locale' => substr($locale, 0, strpos($locale, '_')), 'profile_features' => $typeprofile['features'], 'columns' => [ ], 'data' => '', ]
/mod/bigbluebuttonbn/classes/local/plugins/admin_plugin_manager.php:2231return $OUTPUT->action_icon(new moodle_url($this->pageurl, ['action' => $action, 'plugin' => $plugin, 'sesskey' => sesskey( )]), new pix_icon($icon, $alt, 'moodle', ['title' => $alt]), null, ['title' => $alt])
/analytics/tests/privacy/provider_test.php:3391$expectedcontexts = [$this->u1->id => [$course1context->id], $this->u2->id => [$systemcontext->id, $course1context->id], $this->u3->id => [$course1context->id], $this->u4->id => [$systemcontext->id, $course1context->id], $this->u5->id => [$systemcontext->id, $course1context->id], $this->u6->id => [$systemcontext->id, $course1context->id], $this->u7->id => [$systemcontext->id, $course1context->id], $this->u8->id => [$systemcontext->id, $course1context->id], ]
/analytics/tests/privacy/provider_test.php:3331$approveduserids = [$this->u1->id, $this->u2->id, $this->u3->id, $this->u4->id, $this->u5->id, $this->u6->id, $this->u7->id, $this->u8->id]
/analytics/tests/privacy/provider_test.php:3104$actualcontexts = [$this->u1->id => provider::get_contexts_for_userid($this->u1->id)->get_contextids( ), $this->u2->id => provider::get_contexts_for_userid($this->u2->id)->get_contextids( ), $this->u3->id => provider::get_contexts_for_userid($this->u3->id)->get_contextids( ), $this->u4->id => provider::get_contexts_for_userid($this->u4->id)->get_contextids( ), $this->u5->id => provider::get_contexts_for_userid($this->u5->id)->get_contextids( ), $this->u6->id => provider::get_contexts_for_userid($this->u6->id)->get_contextids( ), $this->u7->id => provider::get_contexts_for_userid($this->u7->id)->get_contextids( ), $this->u8->id => provider::get_contexts_for_userid($this->u8->id)->get_contextids( ), ]
/analytics/tests/privacy/provider_test.php:2991$expectedcontexts = [$this->u1->id => [$course1context->id, $course2context->id], $this->u2->id => [$systemcontext->id, $course1context->id, $course2context->id], $this->u3->id => [$course1context->id, $course2context->id], $this->u4->id => [$systemcontext->id, $course1context->id, $course2context->id], $this->u5->id => [$systemcontext->id, $course1context->id, $course2context->id], $this->u6->id => [$systemcontext->id, $course1context->id, $course2context->id], $this->u7->id => [$systemcontext->id, $course1context->id, $course2context->id], $this->u8->id => [$systemcontext->id, $course1context->id, $course2context->id], ]
/analytics/tests/privacy/provider_test.php:3884$actualcontexts = [$this->u1->id => provider::get_contexts_for_userid($this->u1->id)->get_contextids( ), $this->u2->id => provider::get_contexts_for_userid($this->u2->id)->get_contextids( ), $this->u3->id => provider::get_contexts_for_userid($this->u3->id)->get_contextids( ), $this->u4->id => provider::get_contexts_for_userid($this->u4->id)->get_contextids( ), $this->u5->id => provider::get_contexts_for_userid($this->u5->id)->get_contextids( ), $this->u6->id => provider::get_contexts_for_userid($this->u6->id)->get_contextids( ), $this->u7->id => provider::get_contexts_for_userid($this->u7->id)->get_contextids( ), $this->u8->id => provider::get_contexts_for_userid($this->u8->id)->get_contextids( ), ]
/analytics/tests/privacy/provider_test.php:3771$expectedcontexts = [$this->u1->id => [$course1context->id], $this->u2->id => [$systemcontext->id, $course1context->id], $this->u3->id => [ ], $this->u4->id => [$systemcontext->id, $course1context->id], $this->u5->id => [$systemcontext->id, $course1context->id], $this->u6->id => [$systemcontext->id, $course1context->id], $this->u7->id => [$systemcontext->id, $course1context->id], $this->u8->id => [$systemcontext->id, $course1context->id], ]
/analytics/tests/privacy/provider_test.php:3504$actualcontexts = [$this->u1->id => provider::get_contexts_for_userid($this->u1->id)->get_contextids( ), $this->u2->id => provider::get_contexts_for_userid($this->u2->id)->get_contextids( ), $this->u3->id => provider::get_contexts_for_userid($this->u3->id)->get_contextids( ), $this->u4->id => provider::get_contexts_for_userid($this->u4->id)->get_contextids( ), $this->u5->id => provider::get_contexts_for_userid($this->u5->id)->get_contextids( ), $this->u6->id => provider::get_contexts_for_userid($this->u6->id)->get_contextids( ), $this->u7->id => provider::get_contexts_for_userid($this->u7->id)->get_contextids( ), $this->u8->id => provider::get_contexts_for_userid($this->u8->id)->get_contextids( ), ]
/mod/quiz/classes/question/bank/qbank_helper.php:3191return $DB->get_records_sql(" SELECT qa.slot AS questionattemptslot, qa.id AS questionattemptid, slot.slot AS quizslot, slot.id AS quizslotid, qr.id AS questionreferenceid, currentqv.version AS currentversion, currentqv.questionid AS currentquestionid, newqv.version AS newversion, newqv.questionid AS newquestionid -- Start with the question currently used in the attempt. FROM {question_attempts} qa JOIN {question_versions} currentqv ON currentqv.questionid = qa.questionid -- Join in the question metadata which says if this is a qa from a 'Try another question like this one'. JOIN {question_attempt_steps} firststep ON firststep.questionattemptid = qa.id AND firststep.sequencenumber = 0 LEFT JOIN {question_attempt_step_data} otherslotinfo ON otherslotinfo.attemptstepid = firststep.id AND otherslotinfo.name = :otherslotmetadataname -- Join in the quiz slot information, and hence for non-random slots, the questino_reference. JOIN {quiz_slots} slot ON slot.quizid = :quizid AND slot.slot = COALESCE({$DB->sql_cast_char2int('otherslotinfo.value', true)}, qa.slot) LEFT JOIN {question_references} qr ON qr.usingcontextid = :quizcontextid AND qr.component = 'mod_quiz' AND qr.questionarea = 'slot' AND qr.itemid = slot.id -- Finally, get the new version for this slot. JOIN {question_versions} newqv ON newqv.questionbankentryid = currentqv.questionbankentryid AND newqv.version = COALESCE( -- If the quiz setting say use a particular version, use that. qr.version, -- Otherwise, we need the latest non-draft version of the current questions. (SELECT MAX(version) FROM {question_versions} WHERE questionbankentryid = currentqv.questionbankentryid AND status <> :draft), -- Otherwise, there is not a suitable other version, so stick with the current one. currentqv.version ) -- We want this for questions in the current attempt. WHERE qa.questionusageid = :questionusageid -- Order not essential, but fast and good for debugging. ORDER BY qa.slot ", ['otherslotmetadataname' => ':_originalslot', 'quizid' => $attempt->quiz, 'quizcontextid' => $quizcontext->id, 'draft' => question_version_status::QUESTION_STATUS_DRAFT, 'questionusageid' => $attempt->uniqueid, ])
/mod/quiz/classes/navigation/views/secondary.php:401$defaultmaping[self::TYPE_SETTING] = array_merge($defaultmaping[self::TYPE_SETTING], ['mod_quiz_edit' => 3, 'quiz_report' => 4, 'mod_quiz_useroverrides' => 6, 'roleassign' => 7, 'filtermanage' => 8, 'roleoverride' => 9, 'rolecheck' => 9.1, 'logreport' => 10, 'backup' => 11, 'restore' => 12, 'competencybreakdown' => 13, ])
/mod/quiz/classes/local/structure/slot_random.php:2211$event = \mod_quiz\event\slot_created::create(['context' => context_module::instance($cm->id), 'objectid' => $this->record->id, 'other' => ['quizid' => $quiz->id, 'slotnumber' => $this->record->slot, 'page' => $this->record->page]])
/mod/quiz/classes/question/bank/filter/custom_category_condition.php:401$values[] = (object) ['value' => strpos($key, ',') === false ? $key : substr($key, 0, strpos($key, ',')), 'title' => $value, 'selected' => ($key === $this->cat), ]
/mod/quiz/classes/local/reports/attempts_report_table.php:1941$display .= ' ' . html_writer::tag('button', get_string('reopenattempt', 'quiz'), ['type' => 'button', 'class' => 'btn btn-secondary', 'data-action' => 'reopen-attempt', 'data-attempt-id' => $attempt->attempt, 'data-after-action-url' => $this->reporturl->out_as_local_url(false), ])
/mod/quiz/classes/local/reports/attempts_report_table.php:1311$checkbox = new \core\output\checkbox_toggleall($this->togglegroup, false, ['id' => "attemptid_{$attempt->attempt}", 'name' => 'attemptid[]', 'value' => $attempt->attempt, 'label' => get_string('selectattempt', 'quiz'), 'labelclasses' => 'accesshide', ])
/mod/quiz/classes/local/reports/attempts_report_table.php:7011$deletebuttonparams = ['type' => 'submit', 'class' => 'btn btn-secondary mr-1', 'id' => 'deleteattemptsbutton', 'name' => 'delete', 'value' => get_string('deleteselected', 'quiz_overview'), 'data-action' => 'toggle', 'data-togglegroup' => $this->togglegroup, 'data-toggle' => 'action', 'disabled' => true, 'data-modal' => 'confirmation', 'data-modal-type' => 'delete', 'data-modal-content-str' => json_encode(['deleteattemptcheck', 'quiz']), ]
/mod/quiz/classes/local/reports/attempts_report_table.php:3151$output .= plagiarism_get_links(['context' => $this->context->id, 'component' => 'qtype_' . $this->questions[$slot]->qtype, 'cmid' => $this->context->instanceid, 'area' => $attempt->usageid, 'itemid' => $slot, 'userid' => $attempt->userid])
/mod/quiz/classes/output/edit_renderer.php:4231$editsectionheadingicon = html_writer::link(new \moodle_url('#'), $this->pix_icon('t/editstring', get_string('sectionheadingedit', 'quiz', $sectionheadingtext), 'moodle', ['class' => 'editicon visibleifjs']), ['class' => 'editing_section', 'data-action' => 'edit_section_title', 'role' => 'button'])
/mod/quiz/classes/output/edit_renderer.php:3391$formcontent = html_writer::tag('form', html_writer::div(html_writer::input_hidden_params($hiddenurl) . get_string('repaginate', 'quiz', $select) . html_writer::empty_tag('input', $buttonattributes)), ['action' => 'edit.php', 'method' => 'post'])
/mod/quiz/classes/output/edit_renderer.php:7001$actions['addasection'] = new \action_menu_link_secondary(new \moodle_url($pageurl, $params), new \pix_icon('t/add', $str->addasection, 'moodle', ['class' => 'iconsmall', 'title' => '']), $str->addasection, ['class' => 'cm-edit-action addasection', 'data-action' => 'addasection'])
/mod/quiz/classes/output/edit_renderer.php:6621$actions['addaquestion'] = new \action_menu_link_secondary(new \moodle_url('/question/bank/editquestion/addquestion.php', $params), new \pix_icon('t/add', $str->addaquestion, 'moodle', ['class' => 'iconsmall', 'title' => '']), $str->addaquestion, ['class' => 'cm-edit-action addquestion', 'data-action' => 'addquestion'])
/mod/quiz/classes/output/edit_renderer.php:8641return html_writer::link(new \moodle_url('#'), $this->pix_icon('i/dragdrop', get_string('move'), 'moodle', ['class' => 'iconsmall', 'title' => '']), ['class' => 'editing_move', 'data-action' => 'move'])
/mod/quiz/classes/output/edit_renderer.php:7631$data = ['slotid' => $slotid, 'canbeedited' => $structure->can_be_edited( ), 'checkbox' => $this->get_checkbox_render($structure, $slot), 'questionnumber' => $this->question_number($questionnumber, $structure->get_slot_by_number($slot)->defaultnumber), 'questionname' => $this->get_question_name_for_slot($structure, $slot, $pageurl), 'questionicons' => $this->get_action_icon($structure, $slot, $pageurl), 'questiondependencyicon' => ($structure->can_be_edited( ) ? $this->question_dependency_icon($structure, $slot) : ''), 'versionselection' => false, 'draftversion' => $structure->get_question_in_slot($slot)->status == question_version_status::QUESTION_STATUS_DRAFT, ]
/mod/quiz/classes/output/list_of_attempts.php:681$templatecontext['attempts'][] = (object) ['name' => get_string('attempt', 'mod_quiz', $attemptobj->get_attempt_number( )), 'summarydata' => attempt_summary_information::create_for_attempt($attemptobj, $displayoptions)->export_for_template($output), 'reviewlink' => $attemptobj->get_access_manager($this->timenow)->make_review_link($attemptobj->get_attempt( ), $displayoptions, $output), ]
/mod/quiz/classes/output/edit_renderer.php:11251$output .= html_writer::span(html_writer::link(new \moodle_url('#'), $this->pix_icon('t/editstring', '', 'moodle', ['class' => 'editicon visibleifjs', 'title' => '']), ['class' => 'editing_maxmark', 'data-action' => 'editmaxmark', 'title' => get_string('editmaxmark', 'quiz'), ]))
/mod/quiz/classes/event/slot_moved.php:601return "The user with id '$this->userid' has moved the slot with id '{$this->objectid}' " . "and slot number '{$this->other['previousslotnumber']}' to the new position $newposition " . "on page '{$this->other['page']}' belonging to the quiz with course module id '$this->contextinstanceid'."
/mod/quiz/classes/event/section_break_created.php:551return "The user with id '$this->userid' created a new section break with id '{$this->objectid}' " . "and title '{$this->other['title']}' before the slot with id '{$this->other['firstslotid']}' " . "and slot number '{$this->other['firstslotnumber']}' " . "belonging to the quiz with course module id '$this->contextinstanceid'."
/mod/quiz/tests/calendar_event_modified_test.php:761$defaultproperties = ['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $quiz->course, 'groupid' => 0, 'userid' => 2, 'modulename' => 'quiz', 'instance' => $quiz->id, 'eventtype' => QUIZ_EVENT_TYPE_OPEN, 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1]
/mod/quiz/tests/calendar_event_modified_test.php:4941$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $student->id, 'state' => 'inprogress', 'timestart' => $timeopen->getTimestamp( ), 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => 1])
/mod/quiz/tests/custom_completion_test.php:3441list($students, $quiz, $cm, $litecm) = $this->setup_quiz_for_testing_completion(['nbstudents' => 1, 'qtype' => 'numerical', 'nbquestions' => 2, 'sumgrades' => 100, 'questiondefaultmarks' => [20, 80], 'quizoptions' => ['completionusegrade' => 1, 'completionpassgrade' => 1, 'completionview' => 0, ]])
/mod/quiz/tests/attempts_test.php:7028$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:7528$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:8028$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/classes/local/reports/attempts_report_options_form.php:681$stategroup = [$mform->createElement('advcheckbox', 'stateinprogress', '', get_string('stateinprogress', 'quiz')), $mform->createElement('advcheckbox', 'stateoverdue', '', get_string('stateoverdue', 'quiz')), $mform->createElement('advcheckbox', 'statefinished', '', get_string('statefinished', 'quiz')), $mform->createElement('advcheckbox', 'stateabandoned', '', get_string('stateabandoned', 'quiz')), ]
/mod/quiz/classes/external/add_random_questions.php:491return new external_function_parameters(['cmid' => new external_value(PARAM_INT, 'The cmid of the quiz'), 'addonpage' => new external_value(PARAM_INT, 'The page where random questions will be added to'), 'randomcount' => new external_value(PARAM_INT, 'Number of random questions'), 'filtercondition' => new external_value(PARAM_TEXT, '(Optional) The filter condition used when adding random questions from an existing category. Not required if adding random questions from a new category.', VALUE_DEFAULT, '', ), 'newcategory' => new external_value(PARAM_TEXT, '(Optional) The name of a new question category to create and use for the random questions.', VALUE_DEFAULT, '', ), 'parentcategory' => new external_value(PARAM_TEXT, '(Optional) The parent of the new question category, if creating one.', VALUE_DEFAULT, 0, ), ])
/mod/quiz/classes/external/get_reopen_attempt_confirmation.php:851return html_writer::tag('p', get_string('reopenattemptareyousuremessage', 'quiz', ['attemptnumber' => $attemptobj->get_attempt_number( ), 'attemptuser' => s(fullname($user))])) . html_writer::tag('p', $expectedoutcome)
/mod/quiz/classes/event/slot_created.php:541return "The user with id '$this->userid' created a new slot with id '{$this->objectid}' " . "and slot number '{$this->other['slotnumber']}' " . "on page '{$this->other['page']}' " . "of the quiz with course module id '$this->contextinstanceid'."
/mod/quiz/classes/event/section_shuffle_updated.php:541return "The user with id '$this->userid' updated the section with id '{$this->objectid}' " . "before the slot number '{$this->other['firstslotnumber']}' " . "belonging to the quiz with course module id '$this->contextinstanceid'. " . "Its shuffle option was set to '{$this->other['shuffle']}'."
/mod/quiz/classes/event/section_break_deleted.php:541return "The user with id '$this->userid' deleted the section break with id '{$this->objectid}' " . "before the slot with id '{$this->other['firstslotid']}' and slot number '{$this->other['firstslotnumber']}' " . "belonging to the quiz with course module id '$this->contextinstanceid'."
/mod/quiz/classes/event/attempt_question_restarted.php:691return "The user with id '$this->userid' has restarted question at slot '{$this->other['slot']}' on page " . "'{$pagenumber}' of the attempt with id '$this->objectid' belonging to the user " . "with id '$this->relateduserid' for the quiz with course module id '$this->contextinstanceid', " . "and the new question id is '{$this->other['newquestionid']}'."
/mod/quiz/classes/event/slot_mark_updated.php:541return "The user with id '$this->userid' updated the slot with id '{$this->objectid}' " . "belonging to the quiz with course module id '$this->contextinstanceid'. " . "Its max mark was changed from '{$this->other['previousmaxmark']}' to '{$this->other['newmaxmark']}'."
/mod/quiz/tests/attempts_test.php:15928$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:14817$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:14528$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:13817$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:18628$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:17417$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:17128$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:16217$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:10628$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:9728$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:9028$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:8528$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:13528$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:12828$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:12128$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:11428$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:25117$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:26028$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:23717$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:24828$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:27517$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:28528$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:26317$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:27228$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:20117$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:21028$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:18917$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:19828$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:22517$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:23428$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:21317$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:22228$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/generator/lib.php:371$defaultquizsettings = ['timeopen' => 0, 'timeclose' => 0, 'preferredbehaviour' => 'deferredfeedback', 'attempts' => 0, 'attemptonlast' => 0, 'grademethod' => QUIZ_GRADEHIGHEST, 'decimalpoints' => 2, 'questiondecimalpoints' => -1, 'attemptduring' => 1, 'correctnessduring' => 1, 'maxmarksduring' => 1, 'marksduring' => 1, 'specificfeedbackduring' => 1, 'generalfeedbackduring' => 1, 'rightanswerduring' => 1, 'overallfeedbackduring' => 0, 'attemptimmediately' => 1, 'correctnessimmediately' => 1, 'maxmarksimmediately' => 1, 'marksimmediately' => 1, 'specificfeedbackimmediately' => 1, 'generalfeedbackimmediately' => 1, 'rightanswerimmediately' => 1, 'overallfeedbackimmediately' => 1, 'attemptopen' => 1, 'correctnessopen' => 1, 'maxmarksopen' => 1, 'marksopen' => 1, 'specificfeedbackopen' => 1, 'generalfeedbackopen' => 1, 'rightansweropen' => 1, 'overallfeedbackopen' => 1, 'attemptclosed' => 1, 'correctnessclosed' => 1, 'maxmarksclosed' => 1, 'marksclosed' => 1, 'specificfeedbackclosed' => 1, 'generalfeedbackclosed' => 1, 'rightanswerclosed' => 1, 'overallfeedbackclosed' => 1, 'questionsperpage' => 1, 'shuffleanswers' => 1, 'sumgrades' => 0, 'grade' => 100, 'timecreated' => time( ), 'timemodified' => time( ), 'timelimit' => 0, 'overduehandling' => 'autosubmit', 'graceperiod' => 86400, 'quizpassword' => '', 'subnet' => '', 'browsersecurity' => '', 'delay1' => 0, 'delay2' => 0, 'showuserpicture' => 0, 'showblocks' => 0, 'navmethod' => QUIZ_NAVMETHOD_FREE, ]
/mod/quiz/tests/dates_test.php:531return ['without any dates' => [null, null, null, null, null, null, [ ]], 'only with opening time' => [$after, null, null, null, null, null, [['label' => get_string('activitydate:opens', 'course'), 'timestamp' => $after, 'dataid' => 'timeopen'], ]], 'only with closing time' => [null, $after, null, null, null, null, [['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'with both times' => [$after, $later, null, null, null, null, [['label' => get_string('activitydate:opens', 'course'), 'timestamp' => $after, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'between the dates' => [$before, $after, null, null, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $before, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'dates are past' => [$earlier, $before, null, null, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closed', 'course'), 'timestamp' => $before, 'dataid' => 'timeclose'], ]], 'with user override' => [$before, $after, $earlier, $later, null, null, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'with group override' => [$before, $after, null, null, $earlier, $later, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'with both user and group overrides' => [$before, $after, $earlier, $later, $earlier - DAYSECS, $later + DAYSECS, [['label' => get_string('activitydate:opened', 'course'), 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => get_string('activitydate:closes', 'course'), 'timestamp' => $later, 'dataid' => 'timeclose'], ]], ]
/mod/quiz/tests/external/external_test.php:13632$data = [['name' => 'slots', 'value' => 1], ['name' => $prefix . ':sequencecheck', 'value' => $attemptobj->get_question_attempt(1)->get_sequence_check_count( )], ['name' => $prefix . 'answer', 'value' => 1], ]
/mod/quiz/tests/external/external_test.php:8611list($quiz, $context, $quizobj) = $this->create_quiz_with_questions(true, true, 'deferredfeedback', false, ['timeclose' => time( ) - HOURSECS, 'marksduring' => 0, 'maxmarksduring' => 0, 'marksimmediately' => 0, 'maxmarksimmediately' => 0, 'marksopen' => 0, 'maxmarksopen' => 0, 'marksclosed' => 1, 'maxmarksclosed' => 1, ])
/mod/quiz/tests/attempts_test.php:3442$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'overdue', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:33617$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:49928$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:3502$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'overdue', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:32128$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:31217$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:33328$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:32417$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:29728$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:28817$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/attempts_test.php:30928$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 100, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz)])
/mod/quiz/tests/attempts_test.php:30017$attemptid = $DB->insert_record('quiz_attempts', ['quiz' => $quiz->id, 'userid' => $user1->id, 'state' => 'inprogress', 'timestart' => 1000, 'timecheckstate' => 0, 'layout' => '', 'uniqueid' => $this->usage_id($quiz), 'attempt' => 1])
/mod/quiz/tests/event/events_test.php:10491$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'firstslotnumber' => 2, 'shuffle' => true]]
/mod/quiz/tests/event/events_test.php:10811$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'firstslotid' => 1, 'firstslotnumber' => 2, 'newtitle' => 'New title']]
/mod/quiz/tests/event/events_test.php:11151$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'slotnumber' => 1, 'page' => 1]]
/mod/quiz/tests/event/events_test.php:11781$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'previousmaxmark' => 1, 'newmaxmark' => 2, ]]
/mod/quiz/tests/event/events_test.php:7531$params = ['objectid' => 1, 'courseid' => $quizobj->get_courseid( ), 'context' => \context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'attemptid' => 2, 'slot' => 3]]
/mod/quiz/tests/event/events_test.php:8231$params = ['objectid' => $attemptobj->get_attemptid( ), 'relateduserid' => $attemptobj->get_userid( ), 'courseid' => $attemptobj->get_course( )->id, 'context' => \context_module::instance($attemptobj->get_cmid( )), 'other' => ['quizid' => $attemptobj->get_quizid( )]]
/mod/quiz/tests/event/events_test.php:9831$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'firstslotid' => 1, 'firstslotnumber' => 2, 'title' => 'New title']]
/mod/quiz/tests/event/events_test.php:10171$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'firstslotid' => 1, 'firstslotnumber' => 2]]
/mod/quiz/tests/event/events_test.php:2161$params = ['objectid' => 1, 'relateduserid' => 2, 'courseid' => $quizobj->get_courseid( ), 'context' => \context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'page' => 2, 'slot' => 3, 'newquestionid' => 2]]
/mod/quiz/tests/event/events_test.php:2512$params = ['objectid' => 1, 'relateduserid' => 2, 'courseid' => $quizobj->get_courseid( ), 'context' => \context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'page' => 0]]
/mod/quiz/tests/event/events_test.php:2842$params = ['objectid' => 1, 'relateduserid' => 2, 'courseid' => $quizobj->get_courseid( ), 'context' => \context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'page' => 0]]
/mod/quiz/tests/event/events_test.php:6951$params = ['objectid' => 1, 'relateduserid' => 2, 'courseid' => $course->id, 'context' => \context_module::instance($quiz->cmid), 'other' => ['quizid' => $quiz->id, 'page' => 0]]
/mod/quiz/tests/external/external_test.php:14001$data = [['name' => 'slots', 'value' => 2], ['name' => $prefix . ':sequencecheck', 'value' => $attemptobj->get_question_attempt(1)->get_sequence_check_count( )], ['name' => $prefix . 'answer', 'value' => 1], ]
/mod/quiz/tests/external/external_test.php:14382$data = [['name' => 'slots', 'value' => 1], ['name' => $prefix . ':sequencecheck', 'value' => $attemptobj->get_question_attempt(1)->get_sequence_check_count( )], ['name' => $prefix . 'answer', 'value' => 1], ]
/mod/quiz/tests/external/external_test.php:14751$data = [['name' => 'slots', 'value' => 2], ['name' => $prefix . ':sequencecheck', 'value' => $attemptobj->get_question_attempt(1)->get_sequence_check_count( )], ['name' => $prefix . 'answer', 'value' => 1], ['name' => $prefix . ':flagged', 'value' => 1], ]
/mod/quiz/tests/external/external_test.php:15121$data = [['name' => 'slots', 'value' => 3], ['name' => $prefix . ':sequencecheck', 'value' => $attemptobj->get_question_attempt(1)->get_sequence_check_count( )], ['name' => $prefix . 'answer', 'value' => 'Some test'], ['name' => $prefix . 'answerformat', 'value' => FORMAT_HTML], ['name' => $prefix . 'attachments', 'value' => $draftitemid], ]
/mod/quiz/accessrule/seb/tests/test_helper_trait.php:2841return (object) array_merge(['quizid' => 1, 'cmid' => 1, 'requiresafeexambrowser' => '1', 'showsebtaskbar' => '1', 'showwificontrol' => '0', 'showreloadbutton' => '1', 'showtime' => '0', 'showkeyboardlayout' => '1', 'allowuserquitseb' => '1', 'quitpassword' => 'test', 'linkquitseb' => '', 'userconfirmquit' => '1', 'enableaudiocontrol' => '1', 'muteonstartup' => '0', 'allowspellchecking' => '0', 'allowreloadinexam' => '1', 'activateurlfiltering' => '1', 'filterembeddedcontent' => '0', 'expressionsallowed' => 'test.com', 'regexallowed' => '', 'expressionsblocked' => '', 'regexblocked' => '', 'showsebdownloadlink' => '1', ], $settings)
/mod/quiz/accessrule/seb/classes/event/access_prevented.php:971$description = "The user with id '$this->userid' has been prevented from accessing quiz with id '$this->objectid' by the " . "Safe Exam Browser access plugin. The reason was '{$this->other['reason']}'. " . "Expected config key: '{$this->other['savedconfigkey']}'. " . "Received config key: '{$this->other['receivedconfigkey']}'. " . "Received browser exam key: '{$this->other['receivedbrowserexamkey']}'."
/mod/quiz/accessrule/seb/classes/event/access_prevented.php:641return self::create(['userid' => $USER->id, 'objectid' => $accessmanager->get_quiz( )->get_quizid( ), 'courseid' => $accessmanager->get_quiz( )->get_courseid( ), 'context' => $accessmanager->get_quiz( )->get_context( ), 'other' => $other, ])
/mod/quiz/accessrule/seb/classes/external/validate_quiz_keys.php:481return new external_function_parameters(['cmid' => new external_value(PARAM_INT, 'Course module ID', VALUE_REQUIRED, null, NULL_NOT_ALLOWED), 'url' => new external_value(PARAM_URL, 'Page URL to check', VALUE_REQUIRED, null, NULL_NOT_ALLOWED), 'configkey' => new external_value(PARAM_ALPHANUMEXT, 'SEB config key', VALUE_DEFAULT, null), 'browserexamkey' => new external_value(PARAM_ALPHANUMEXT, 'SEB browser exam key', VALUE_DEFAULT, null), ])
/mod/quiz/accessrule/seb/classes/local/table/template_list.php:1471$actions[] = helper::format_icon_link(new \moodle_url(template_controller::get_base_url( ), ['id' => $data->get('id'), 'action' => template_controller::ACTION_DELETE, 'sesskey' => sesskey( ), ]), 't/delete', get_string('delete'), null, ['data-action' => 'delete', 'data-id' => $data->get('id'), ])
/mod/quiz/accessrule/seb/classes/privacy/provider.php:2021$data = (object) ['templateid' => $templatesetting->id, 'quizid' => $templatesetting->quizid, 'usermodified' => $templatesetting->usermodified, 'timecreated' => transform::datetime($templatesetting->timecreated), 'timemodified' => transform::datetime($templatesetting->timemodified)]
/mod/quiz/accessrule/seb/classes/settings_provider.php:9841$hideifs['seb_quitpassword'] = [new hideif_rule('seb_quitpassword', 'seb_requiresafeexambrowser', 'eq', self::USE_SEB_NO), new hideif_rule('seb_quitpassword', 'seb_requiresafeexambrowser', 'eq', self::USE_SEB_CLIENT_CONFIG), new hideif_rule('seb_quitpassword', 'seb_requiresafeexambrowser', 'eq', self::USE_SEB_UPLOAD_CONFIG), new hideif_rule('seb_quitpassword', 'seb_allowuserquitseb', 'eq', 0), ]
/mod/quiz/accessrule/seb/classes/settings_provider.php:4381$url = \moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ), true)
/mod/quiz/report/overview/tests/report_test.php:1071$attempts = [[$quiz, $student1, 1, 0.0, quiz_attempt::FINISHED], [$quiz, $student1, 2, 5.0, quiz_attempt::FINISHED], [$quiz, $student1, 3, 8.0, quiz_attempt::FINISHED], [$quiz, $student1, 4, null, quiz_attempt::ABANDONED], [$quiz, $student1, 5, null, quiz_attempt::IN_PROGRESS], [$quiz, $student2, 1, null, quiz_attempt::ABANDONED], [$quiz, $student2, 2, null, quiz_attempt::ABANDONED], [$quiz, $student2, 3, 7.0, quiz_attempt::FINISHED], [$quiz, $student2, 4, null, quiz_attempt::ABANDONED], [$quiz, $student2, 5, null, quiz_attempt::ABANDONED], ]
/mod/quiz/report/overview/overview_table.php:1991return html_writer::tag('span', html_writer::tag('span', $average, ['class' => 'average']) . ' ' . html_writer::tag('span', '(' . $record->numaveraged . ')', ['class' => 'count']), ['class' => 'avgcell'])
/mod/quiz/report/responses/last_responses_table.php:1431return $DB->sql_order_by_text("{$alias}.questionsummary") . " AS question{$slot}, " . $DB->sql_order_by_text("{$alias}.rightanswer") . " AS right{$slot}, " . $DB->sql_order_by_text("{$alias}.responsesummary") . " AS response{$slot}"
/mod/quiz/report/grading/report.php:5931$params = ['objectid' => $attemptobj->get_question_attempt($assumedslotforevents)->get_question_id( ), 'courseid' => $attemptobj->get_courseid( ), 'context' => context_module::instance($attemptobj->get_cmid( )), 'other' => ['quizid' => $attemptobj->get_quizid( ), 'attemptid' => $attemptobj->get_attemptid( ), 'slot' => $assumedslotforevents, ], ]
/mod/quiz/report/statistics/classes/calculator.php:1031$k4 = $s * $s * ((($s + 1) * $m4) - (3 * ($s - 1) * $m2 * $m2)) / (($s - 1) * ($s - 2) * ($s - 3))
/mod/quiz/report/statistics/report.php:3351$labels = ['s' => get_string('attempts', 'quiz_statistics'), 'facility' => get_string('facility', 'quiz_statistics'), 'sd' => get_string('standarddeviationq', 'quiz_statistics'), 'random_guess_score' => get_string('random_guess_score', 'quiz_statistics'), 'intended_weight' => get_string('intended_weight', 'quiz_statistics'), 'effective_weight' => get_string('effective_weight', 'quiz_statistics'), 'discrimination_index' => get_string('discrimination_index', 'quiz_statistics'), 'discriminative_efficiency' => get_string('discriminative_efficiency', 'quiz_statistics')]
/mod/quiz/db/access.php:271$capabilities = ['mod/quiz:view' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['guest' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:addinstance' => ['riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW], 'clonepermissionsfrom' => 'moodle/course:manageactivities'], 'mod/quiz:attempt' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['student' => CAP_ALLOW]], 'mod/quiz:reviewmyattempts' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['student' => CAP_ALLOW], 'clonepermissionsfrom' => 'moodle/quiz:attempt'], 'mod/quiz:manage' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:manageoverrides' => ['captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:viewoverrides' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:preview' => ['captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:grade' => ['riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:regrade' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW], 'clonepermissionsfrom' => 'mod/quiz:grade'], 'mod/quiz:viewreports' => ['riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:deleteattempts' => ['riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:reopenattempts' => ['captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW]], 'mod/quiz:ignoretimelimits' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ]], 'mod/quiz:emailconfirmsubmission' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ]], 'mod/quiz:emailnotifysubmission' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ]], 'mod/quiz:emailwarnoverdue' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ]], 'mod/quiz:emailnotifyattemptgraded' => ['captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ]], ]
/mod/quiz/tests/event/events_test.php:12101$params = ['objectid' => 1, 'context' => context_module::instance($quizobj->get_cmid( )), 'other' => ['quizid' => $quizobj->get_quizid( ), 'previousslotnumber' => 1, 'afterslotnumber' => 2, 'page' => 1]]
/mod/wiki/renderer.php:1471$output .= $this->output->container($this->diff_paging_bar(1, $new->version - 1, $old->version, $CFG->wwwroot . '/mod/wiki/diff.php?pageid=' . $pageid . '&amp;comparewith=' . $new->version . '&amp;', 'compare', false, true), 'wiki_diff_oldpaging')
/mod/wiki/renderer.php:1481$output .= $this->output->container($this->diff_paging_bar($old->version + 1, $total, $new->version, $CFG->wwwroot . '/mod/wiki/diff.php?pageid=' . $pageid . '&amp;compare=' . $old->version . '&amp;', 'comparewith', false, true), 'wiki_diff_newpaging')
/mod/quiz/backup/moodle2/backup_quiz_stepslib.php:331$quiz = new backup_nested_element('quiz', ['id'], ['name', 'intro', 'introformat', 'timeopen', 'timeclose', 'timelimit', 'overduehandling', 'graceperiod', 'preferredbehaviour', 'canredoquestions', 'attempts_number', 'attemptonlast', 'grademethod', 'decimalpoints', 'questiondecimalpoints', 'reviewattempt', 'reviewcorrectness', 'reviewmaxmarks', 'reviewmarks', 'reviewspecificfeedback', 'reviewgeneralfeedback', 'reviewrightanswer', 'reviewoverallfeedback', 'questionsperpage', 'navmethod', 'shuffleanswers', 'sumgrades', 'grade', 'timecreated', 'timemodified', 'password', 'subnet', 'browsersecurity', 'delay1', 'delay2', 'showuserpicture', 'showblocks', 'completionattemptsexhausted', 'completionminattempts', 'allowofflineattempts'])
/mod/quiz/backup/moodle1/lib.php:531return [new convert_path('quiz', '/MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ', ['newfields' => ['showuserpicture' => 0, 'questiondecimalpoints' => -1, 'introformat' => 0, 'showblocks' => 0, ], ]), new convert_path('quiz_question_instances', '/MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ/QUESTION_INSTANCES'), new convert_path('quiz_question_instance', '/MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ/QUESTION_INSTANCES/QUESTION_INSTANCE', ['renamefields' => ['question' => 'questionid', 'grade' => 'maxmark', ], ]), new convert_path('quiz_feedbacks', '/MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ/FEEDBACKS'), new convert_path('quiz_feedback', '/MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ/FEEDBACKS/FEEDBACK', ['newfields' => ['feedbacktextformat' => FORMAT_HTML, ]])]
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:2211$data->reviewrightanswer = ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_ANSWERS ? display_options::DURING : 0) | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_ANSWERS ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_ANSWERS ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_ANSWERS ? display_options::AFTER_CLOSE : 0)
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:2311$data->reviewoverallfeedback = 0 | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_OVERALLFEEDBACK ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_OVERALLFEEDBACK ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_OVERALLFEEDBACK ? display_options::AFTER_CLOSE : 0)
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:2011$data->reviewspecificfeedback = ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_FEEDBACK ? display_options::DURING : 0) | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_FEEDBACK ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_FEEDBACK ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_FEEDBACK ? display_options::AFTER_CLOSE : 0)
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:2111$data->reviewgeneralfeedback = ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_GENERALFEEDBACK ? display_options::DURING : 0) | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_GENERALFEEDBACK ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_GENERALFEEDBACK ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_GENERALFEEDBACK ? display_options::AFTER_CLOSE : 0)
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:1831$data->reviewcorrectness = display_options::DURING | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_SCORES ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_SCORES ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_SCORES ? display_options::AFTER_CLOSE : 0)
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:1921$data->reviewmarks = display_options::DURING | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_SCORES ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_SCORES ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_SCORES ? display_options::AFTER_CLOSE : 0)
/mod/quiz/accessrule/seb/tests/external/validate_quiz_access_test.php:581return ['no params' => ['cmid' => null, 'url' => null, 'configkey' => null, '/Invalid parameter value detected \(Missing required key in single structure: cmid\)/'], 'no course module id' => ['cmid' => null, 'url' => 'https://www.example.com/moodle', 'configkey' => hash('sha256', 'configkey'), '/Invalid parameter value detected \(Missing required key in single structure: cmid\)/'], 'no url' => ['cmid' => 123, 'url' => null, 'configkey' => hash('sha256', 'configkey'), '/Invalid parameter value detected \(Missing required key in single structure: url\)/'], 'cmid is not an int' => ['cmid' => 'test', 'url' => 'https://www.example.com/moodle', 'configkey' => null, '/Invalid external api parameter: the value is "test", the server was expecting "int" type/'], 'url is not a url' => ['cmid' => 123, 'url' => 123, 'configkey' => hash('sha256', 'configkey'), '/Invalid external api parameter: the value is "123", the server was expecting "url" type/'], ]
/mod/quiz/backup/moodle2/restore_quiz_stepslib.php:1741$data->reviewattempt = display_options::DURING | ($oldreview & QUIZ_OLD_IMMEDIATELY & QUIZ_OLD_RESPONSES ? display_options::IMMEDIATELY_AFTER : 0) | ($oldreview & QUIZ_OLD_OPEN & QUIZ_OLD_RESPONSES ? display_options::LATER_WHILE_OPEN : 0) | ($oldreview & QUIZ_OLD_CLOSED & QUIZ_OLD_RESPONSES ? display_options::AFTER_CLOSE : 0)
/mod/quiz/accessrule/seb/tests/quiz_settings_test.php:5511return ['enabled simple expessions' => [(object) ['requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, 'quizid' => 1, 'cmid' => 1, 'expressionsallowed' => "test.com\r\nsecond.hello", 'regexallowed' => '', 'expressionsblocked' => '', 'regexblocked' => '', ], "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" . "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n" . "<plist version=\"1.0\"><dict><key>showTaskBar</key><true/>" . "<key>allowWlan</key><false/><key>showReloadButton</key>" . "<true/><key>showTime</key><true/><key>showInputLanguage</key><true/><key>allowQuit</key><true/>" . "<key>quitURLConfirm</key><true/><key>audioControlEnabled</key><false/><key>audioMute</key><false/>" . "<key>allowSpellCheck</key><false/><key>browserWindowAllowReload</key><true/><key>URLFilterEnable</key><false/>" . "<key>URLFilterEnableContentFilter</key><false/><key>URLFilterRules</key><array>" . "<dict><key>action</key><integer>1</integer><key>active</key><true/>" . "<key>expression</key><string>test.com</string>" . "<key>regex</key><false/></dict><dict><key>action</key><integer>1</integer>" . "<key>active</key><true/><key>expression</key>" . "<string>second.hello</string><key>regex</key><false/></dict></array>" . "<key>startURL</key><string>https://www.example.com/moodle/mod/quiz/view.php?id=1</string>" . "<key>sendBrowserExamKey</key><true/><key>browserWindowWebView</key><integer>3</integer>" . "<key>examSessionClearCookiesOnStart</key><false/>" . "<key>allowPreferencesWindow</key><false/></dict></plist>\n", ], 'blocked simple expessions' => [(object) ['requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, 'quizid' => 1, 'cmid' => 1, 'expressionsallowed' => '', 'regexallowed' => '', 'expressionsblocked' => "test.com\r\nsecond.hello", 'regexblocked' => '', ], "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" . "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n" . "<plist version=\"1.0\"><dict><key>showTaskBar</key><true/>" . "<key>allowWlan</key><false/><key>showReloadButton</key>" . "<true/><key>showTime</key><true/><key>showInputLanguage</key><true/><key>allowQuit</key><true/>" . "<key>quitURLConfirm</key><true/><key>audioControlEnabled</key><false/><key>audioMute</key><false/>" . "<key>allowSpellCheck</key><false/><key>browserWindowAllowReload</key><true/><key>URLFilterEnable</key><false/>" . "<key>URLFilterEnableContentFilter</key><false/><key>URLFilterRules</key><array>" . "<dict><key>action</key><integer>0</integer><key>active</key><true/>" . "<key>expression</key><string>test.com</string>" . "<key>regex</key><false/></dict><dict><key>action</key><integer>0</integer>" . "<key>active</key><true/><key>expression</key>" . "<string>second.hello</string><key>regex</key><false/></dict></array>" . "<key>startURL</key><string>https://www.example.com/moodle/mod/quiz/view.php?id=1</string>" . "<key>sendBrowserExamKey</key><true/><key>browserWindowWebView</key><integer>3</integer>" . "<key>examSessionClearCookiesOnStart</key><false/>" . "<key>allowPreferencesWindow</key><false/></dict></plist>\n", ], 'enabled regex expessions' => [(object) ['requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, 'quizid' => 1, 'cmid' => 1, 'expressionsallowed' => '', 'regexallowed' => "test.com\r\nsecond.hello", 'expressionsblocked' => '', 'regexblocked' => '', ], "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" . "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n" . "<plist version=\"1.0\"><dict><key>showTaskBar</key><true/>" . "<key>allowWlan</key><false/><key>showReloadButton</key>" . "<true/><key>showTime</key><true/><key>showInputLanguage</key><true/><key>allowQuit</key><true/>" . "<key>quitURLConfirm</key><true/><key>audioControlEnabled</key><false/><key>audioMute</key><false/>" . "<key>allowSpellCheck</key><false/><key>browserWindowAllowReload</key><true/><key>URLFilterEnable</key><false/>" . "<key>URLFilterEnableContentFilter</key><false/><key>URLFilterRules</key><array>" . "<dict><key>action</key><integer>1</integer><key>active</key><true/>" . "<key>expression</key><string>test.com</string>" . "<key>regex</key><true/></dict><dict><key>action</key><integer>1</integer>" . "<key>active</key><true/><key>expression</key>" . "<string>second.hello</string><key>regex</key><true/></dict></array>" . "<key>startURL</key><string>https://www.example.com/moodle/mod/quiz/view.php?id=1</string>" . "<key>sendBrowserExamKey</key><true/><key>browserWindowWebView</key><integer>3</integer>" . "<key>examSessionClearCookiesOnStart</key><false/>" . "<key>allowPreferencesWindow</key><false/></dict></plist>\n", ], 'blocked regex expessions' => [(object) ['requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, 'quizid' => 1, 'cmid' => 1, 'expressionsallowed' => '', 'regexallowed' => '', 'expressionsblocked' => '', 'regexblocked' => "test.com\r\nsecond.hello", ], "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" . "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n" . "<plist version=\"1.0\"><dict><key>showTaskBar</key><true/>" . "<key>allowWlan</key><false/><key>showReloadButton</key>" . "<true/><key>showTime</key><true/><key>showInputLanguage</key><true/><key>allowQuit</key><true/>" . "<key>quitURLConfirm</key><true/><key>audioControlEnabled</key><false/><key>audioMute</key><false/>" . "<key>allowSpellCheck</key><false/><key>browserWindowAllowReload</key><true/><key>URLFilterEnable</key><false/>" . "<key>URLFilterEnableContentFilter</key><false/><key>URLFilterRules</key><array>" . "<dict><key>action</key><integer>0</integer><key>active</key><true/>" . "<key>expression</key><string>test.com</string>" . "<key>regex</key><true/></dict><dict><key>action</key><integer>0</integer>" . "<key>active</key><true/><key>expression</key>" . "<string>second.hello</string><key>regex</key><true/></dict></array>" . "<key>startURL</key><string>https://www.example.com/moodle/mod/quiz/view.php?id=1</string>" . "<key>sendBrowserExamKey</key><true/><key>browserWindowWebView</key><integer>3</integer>" . "<key>examSessionClearCookiesOnStart</key><false/>" . "<key>allowPreferencesWindow</key><false/></dict></plist>\n", ], 'multiple simple expessions' => [(object) ['requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, 'quizid' => 1, 'cmid' => 1, 'expressionsallowed' => "*", 'regexallowed' => '', 'expressionsblocked' => '', 'regexblocked' => "test.com\r\nsecond.hello", ], "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" . "<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n" . "<plist version=\"1.0\"><dict><key>showTaskBar</key><true/>" . "<key>allowWlan</key><false/><key>showReloadButton</key>" . "<true/><key>showTime</key><true/><key>showInputLanguage</key><true/><key>allowQuit</key><true/>" . "<key>quitURLConfirm</key><true/><key>audioControlEnabled</key><false/><key>audioMute</key><false/>" . "<key>allowSpellCheck</key><false/><key>browserWindowAllowReload</key><true/><key>URLFilterEnable</key><false/>" . "<key>URLFilterEnableContentFilter</key><false/><key>URLFilterRules</key><array><dict><key>action</key>" . "<integer>1</integer><key>active</key><true/><key>expression</key><string>*</string>" . "<key>regex</key><false/></dict>" . "<dict><key>action</key><integer>0</integer><key>active</key><true/>" . "<key>expression</key><string>test.com</string>" . "<key>regex</key><true/></dict><dict><key>action</key><integer>0</integer>" . "<key>active</key><true/><key>expression</key>" . "<string>second.hello</string><key>regex</key><true/></dict></array>" . "<key>startURL</key><string>https://www.example.com/moodle/mod/quiz/view.php?id=1</string>" . "<key>sendBrowserExamKey</key><true/><key>browserWindowWebView</key><integer>3</integer>" . "<key>examSessionClearCookiesOnStart</key><false/>" . "<key>allowPreferencesWindow</key><false/></dict></plist>\n", ], ]
/mod/quiz/accessrule/seb/tests/property_list_test.php:3861return ['date' => ["<key>date</key><date>1940-10-09T22:13:56Z</date>", "{\"date\":\"1940-10-09T22:13:56+00:00\"}"], 'data' => ["<key>data</key><data>$base64data</data>", "{\"data\":\"$base64data\"}"], 'string' => ["<key>string</key><string>hello wörld</string>", "{\"string\":\"hello wörld\"}"], 'string with 1 backslash' => ["<key>string</key><string>ws:\localhost</string>", "{\"string\":\"ws:\localhost\"}"], 'string with 2 backslashes' => ["<key>string</key><string>ws:\\localhost</string>", '{"string":"ws:\\localhost"}'], 'string with 3 backslashes' => ["<key>string</key><string>ws:\\\localhost</string>", '{"string":"ws:\\\localhost"}'], 'string with 4 backslashes' => ["<key>string</key><string>ws:\\\\localhost</string>", '{"string":"ws:\\\\localhost"}'], 'string with 5 backslashes' => ["<key>string</key><string>ws:\\\\\localhost</string>", '{"string":"ws:\\\\\localhost"}'], 'bool' => ["<key>bool</key><true/>", "{\"bool\":true}"], 'array' => ["<key>array</key><array><key>arraybool</key><false/><key>arraybool2</key><true/></array>", "{\"array\":[false,true]}"], 'empty array' => ["<key>bool</key><true/><key>array</key><array/>", "{\"array\":[],\"bool\":true}"], 'dict' => ["<key>dict</key><dict><key>dictbool</key><false/><key>dictbool2</key><true/></dict>", "{\"dict\":{\"dictbool\":false,\"dictbool2\":true}}"], 'empty dict' => ["<key>bool</key><true/><key>emptydict</key><dict/>", "{\"bool\":true}"], 'unordered elements' => ["<key>testKey</key>" . "<string>testValue</string>" . "<key>allowWLAN</key>" . "<string>testValue2</string>" . "<key>allowWlan</key>" . "<string>testValue3</string>", "{\"allowWlan\":\"testValue3\",\"allowWLAN\":\"testValue2\",\"testKey\":\"testValue\"}"], 'url' => ["<key>url</key><string>http://test.com</string>", "{\"url\":\"http://test.com\"}"], 'assoc dict' => ["<key>dict</key><dict><key>banana</key><false/><key>apple</key><true/></dict>", "{\"dict\":{\"apple\":true,\"banana\":false}}"], 'seq array' => ["<key>array</key><array><key>1</key><false/><key>2</key><true/> <key>3</key><true/><key>4</key><true/><key>5</key><true/><key>6</key><true/> <key>7</key><true/><key>8</key><true/><key>9</key><true/><key>10</key><true/></array>", "{\"array\":[false,true,true,true,true,true,true,true,true,true]}"], ]
/mod/quiz/accessrule/seb/tests/rule_test.php:9121$errors = quizaccess_seb::validate_settings_form_fields([ ], ['instance' => $this->quiz->id, 'coursemodule' => $this->quiz->cmid, 'seb_requiresafeexambrowser' => settings_provider::USE_SEB_UPLOAD_CONFIG, 'filemanager_sebconfigfile' => 0, ], [ ], $form)
/mod/quiz/accessrule/seb/tests/rule_test.php:9591$errors = quizaccess_seb::validate_settings_form_fields([ ], ['instance' => $this->quiz->id, 'coursemodule' => $this->quiz->cmid, 'quizpassword' => 'set', 'seb_requiresafeexambrowser' => settings_provider::USE_SEB_CONFIG_MANUALLY, ], [ ], $form)
/mod/workshop/classes/external.php:8841return new external_single_structure(array('submissions' => new external_multiple_structure(submission_exporter::get_read_structure( )), 'totalcount' => new external_value(PARAM_INT, 'Total count of submissions.'), 'totalfilesize' => new external_value(PARAM_INT, 'Total size (bytes) of the files attached to all the submissions (even the ones not returned due to pagination).'), 'warnings' => new external_warnings( )))
/mod/workshop/classes/external.php:13091return new external_single_structure(array('dimenssionscount' => new external_value(PARAM_INT, 'The number of dimenssions used by the form.'), 'descriptionfiles' => new external_files('Files in the description text'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Option name.'), 'value' => new external_value(PARAM_NOTAGS, 'Option value.'))), 'The form options.'), 'fields' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Field name.'), 'value' => new external_value(PARAM_RAW, 'Field default value.'))), 'The form fields.'), 'current' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Field name.'), 'value' => new external_value(PARAM_RAW, 'Current field value.'))), 'The current field values.'), 'dimensionsinfo' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Dimension id.'), 'min' => new external_value(PARAM_FLOAT, 'Minimum grade for the dimension.'), 'max' => new external_value(PARAM_FLOAT, 'Maximum grade for the dimension.'), 'weight' => new external_value(PARAM_TEXT, 'The weight of the dimension.'), 'scale' => new external_value(PARAM_TEXT, 'Scale items (if used).', VALUE_OPTIONAL), )), 'The dimensions general information.'), 'warnings' => new external_warnings( )))
/mod/workshop/classes/external.php:14521return new external_function_parameters(array('assessmentid' => new external_value(PARAM_INT, 'Assessment id.'), 'data' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'The assessment data (use WS get_assessment_form_definition for obtaining the data to sent). Apart from that data, you can optionally send: feedbackauthor (str); the feedback for the submission author feedbackauthorformat (int); the format of the feedbackauthor feedbackauthorinlineattachmentsid (int); the draft file area for the editor attachments feedbackauthorattachmentsid (int); the draft file area id for the feedback attachments'), 'value' => new external_value(PARAM_RAW, 'The value of the option.'))), 'Assessment data')))
/mod/workshop/classes/external.php:16521return new external_single_structure(array('assessmentrawgrade' => new external_value(PARAM_FLOAT, 'The assessment raw (numeric) grade.', VALUE_OPTIONAL), 'assessmentlongstrgrade' => new external_value(PARAM_NOTAGS, 'The assessment string grade.', VALUE_OPTIONAL), 'assessmentgradehidden' => new external_value(PARAM_BOOL, 'Whether the grade is hidden or not.', VALUE_OPTIONAL), 'submissionrawgrade' => new external_value(PARAM_FLOAT, 'The submission raw (numeric) grade.', VALUE_OPTIONAL), 'submissionlongstrgrade' => new external_value(PARAM_NOTAGS, 'The submission string grade.', VALUE_OPTIONAL), 'submissiongradehidden' => new external_value(PARAM_BOOL, 'Whether the grade is hidden or not.', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/mod/workshop/classes/external.php:16721return new external_function_parameters(array('assessmentid' => new external_value(PARAM_INT, 'Assessment id.'), 'feedbacktext' => new external_value(PARAM_RAW, 'The feedback for the reviewer.', VALUE_DEFAULT, ''), 'feedbackformat' => new external_value(PARAM_INT, 'The feedback format for text.', VALUE_DEFAULT, FORMAT_MOODLE), 'weight' => new external_value(PARAM_INT, 'The new weight for the assessment.', VALUE_DEFAULT, 1), 'gradinggradeover' => new external_value(PARAM_ALPHANUMEXT, 'The new grading grade.', VALUE_DEFAULT, ''), ))
/mod/workshop/classes/external.php:17991return new external_function_parameters(array('workshopid' => new external_value(PARAM_INT, 'Workshop instance id.'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group.', VALUE_DEFAULT, 0), 'sortby' => new external_value(PARAM_ALPHA, 'sort by this element: lastname, firstname, submissiontitle, submissionmodified, submissiongrade, gradinggrade.', VALUE_DEFAULT, 'lastname'), 'sortdirection' => new external_value(PARAM_ALPHA, 'sort direction: ASC or DESC', VALUE_DEFAULT, 'ASC'), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page.', VALUE_DEFAULT, 0), ))
/mod/workshop/classes/external.php:19151$reviewstructure = new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The id of the user (0 when is configured to do not display names).'), 'assessmentid' => new external_value(PARAM_INT, 'The id of the assessment.'), 'submissionid' => new external_value(PARAM_INT, 'The id of the submission assessed.'), 'grade' => new external_value(PARAM_FLOAT, 'The grade for submission.'), 'gradinggrade' => new external_value(PARAM_FLOAT, 'The grade for assessment.'), 'gradinggradeover' => new external_value(PARAM_FLOAT, 'The aggregated grade overrided.'), 'weight' => new external_value(PARAM_INT, 'The weight of the assessment for aggregation.'), ))
/mod/workshop/classes/external.php:19271return new external_single_structure(array('report' => new external_single_structure(array('grades' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The id of the user being displayed in the report.'), 'submissionid' => new external_value(PARAM_INT, 'Submission id.'), 'submissiontitle' => new external_value(PARAM_RAW, 'Submission title.'), 'submissionmodified' => new external_value(PARAM_INT, 'Timestamp submission was updated.'), 'submissiongrade' => new external_value(PARAM_FLOAT, 'Aggregated grade for the submission.', VALUE_OPTIONAL), 'gradinggrade' => new external_value(PARAM_FLOAT, 'Computed grade for the assessment.', VALUE_OPTIONAL), 'submissiongradeover' => new external_value(PARAM_FLOAT, 'Grade for the assessment overrided by the teacher.', VALUE_OPTIONAL), 'submissiongradeoverby' => new external_value(PARAM_INT, 'The id of the user who overrided the grade.', VALUE_OPTIONAL), 'submissionpublished' => new external_value(PARAM_INT, 'Whether is a submission published.', VALUE_OPTIONAL), 'reviewedby' => new external_multiple_structure($reviewstructure, 'The users who reviewed the user submission.', VALUE_OPTIONAL), 'reviewerof' => new external_multiple_structure($reviewstructure, 'The assessments the user reviewed.', VALUE_OPTIONAL), ))), 'totalcount' => new external_value(PARAM_INT, 'Number of total submissions.'), )), 'warnings' => new external_warnings( )))
/mod/workshop/classes/external.php:20281return new external_function_parameters(array('submissionid' => new external_value(PARAM_INT, 'submission id.'), 'feedbacktext' => new external_value(PARAM_RAW, 'The feedback for the author.', VALUE_DEFAULT, ''), 'feedbackformat' => new external_value(PARAM_INT, 'The feedback format for text.', VALUE_DEFAULT, FORMAT_MOODLE), 'published' => new external_value(PARAM_BOOL, 'Publish the submission for others?.', VALUE_DEFAULT, false), 'gradeover' => new external_value(PARAM_ALPHANUMEXT, 'The new submission grade.', VALUE_DEFAULT, ''), ))
/mod/workshop/classes/portfolio_caller.php:3831$files[] = html_writer::tag('li', $this->exporter->get('format')->file_output($file, ['attributes' => ['style' => 'max-height:24px; max-width:24px']]) . ' ' . s($file->get_filename( )))
/mod/workshop/classes/privacy/provider.php:4161$data = (object) ['example' => transform::yesno($record->example), 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => $record->timemodified ? transform::datetime($record->timemodified) : null, 'title' => $record->title, 'content' => $writer->rewrite_pluginfile_urls($subcontext, 'mod_workshop', 'submission_content', $record->id, $record->content), 'contentformat' => $record->contentformat, 'grade' => $record->grade, 'gradeover' => $record->gradeover, 'feedbackauthor' => $record->feedbackauthor, 'feedbackauthorformat' => $record->feedbackauthorformat, 'published' => transform::yesno($record->published), 'late' => transform::yesno($record->late), ]
/mod/workshop/classes/privacy/provider.php:5171$data = (object) ['weight' => $record->weight, 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => $record->timemodified ? transform::datetime($record->timemodified) : null, 'grade' => $record->grade, 'gradinggrade' => $record->gradinggrade, 'gradinggradeover' => $record->gradinggradeover, 'feedbackauthor' => $writer->rewrite_pluginfile_urls($subcontext, 'mod_workshop', 'overallfeedback_content', $record->id, $record->feedbackauthor), 'feedbackauthorformat' => $record->feedbackauthorformat, 'feedbackreviewer' => $record->feedbackreviewer, 'feedbackreviewerformat' => $record->feedbackreviewerformat, ]
/mod/workshop/classes/privacy/provider.php:5311$submission = (object) ['myownsubmission' => transform::yesno($record->authorid == $user->id), 'example' => transform::yesno($record->example), 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => $record->timemodified ? transform::datetime($record->timemodified) : null, 'title' => $record->title, 'content' => $writer->rewrite_pluginfile_urls($subcontext, 'mod_workshop', 'submission_content', $record->submissionid, $record->content), 'contentformat' => $record->contentformat, ]
/mod/workshop/classes/task/cron_task.php:691$params = ['objectid' => $workshop->id, 'context' => $workshop->context, 'courseid' => $workshop->course->id, 'other' => ['targetworkshopphase' => $workshop->phase, 'previousworkshopphase' => \workshop::PHASE_SUBMISSION, ]]
/mod/workshop/classes/external/workshop_summary_exporter.php:2741return array('coursemodule' => array('type' => PARAM_INT), 'introfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true), 'instructauthorsfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), 'instructreviewersfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), 'conclusionfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), )
/mod/workshop/classes/external/submission_exporter.php:1551return array('contentfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), 'attachmentfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), )
/mod/workshop/tests/dates_test.php:551return ['without any dates' => [null, null, null, null, [ ]], 'only with start time for submissions' => [$after, null, null, null, [['label' => 'Submissions open:', 'timestamp' => $after, 'dataid' => 'submissionstart'], ]], 'only with end time for submissions' => [null, $after, null, null, [['label' => 'Submissions close:', 'timestamp' => $after, 'dataid' => 'submissionend'], ]], 'only with start time for assessments' => [null, null, $after, null, [['label' => 'Assessments open:', 'timestamp' => $after, 'dataid' => 'assessmentstart'], ]], 'only with end time for assessments' => [null, null, null, $after, [['label' => 'Assessments close:', 'timestamp' => $after, 'dataid' => 'assessmentend'], ]], 'all times in future' => [$after, $later, $latest, $latest + DAYSECS, [['label' => 'Submissions open:', 'timestamp' => $after, 'dataid' => 'submissionstart'], ['label' => 'Submissions close:', 'timestamp' => $later, 'dataid' => 'submissionend'], ['label' => 'Assessments open:', 'timestamp' => $latest, 'dataid' => 'assessmentstart'], ['label' => 'Assessments close:', 'timestamp' => $latest + DAYSECS, 'dataid' => 'assessmentend'], ]], 'all times in the past' => [$earliest - DAYSECS, $earliest, $earlier, $before, [['label' => 'Submissions opened:', 'timestamp' => $earliest - DAYSECS, 'dataid' => 'submissionstart'], ['label' => 'Submissions closed:', 'timestamp' => $earliest, 'dataid' => 'submissionend'], ['label' => 'Assessments opened:', 'timestamp' => $earlier, 'dataid' => 'assessmentstart'], ['label' => 'Assessments closed:', 'timestamp' => $before, 'dataid' => 'assessmentend'], ]], 'between submission and assessment' => [$earlier, $before, $after, $later, [['label' => 'Submissions opened:', 'timestamp' => $earlier, 'dataid' => 'submissionstart'], ['label' => 'Submissions closed:', 'timestamp' => $before, 'dataid' => 'submissionend'], ['label' => 'Assessments open:', 'timestamp' => $after, 'dataid' => 'assessmentstart'], ['label' => 'Assessments close:', 'timestamp' => $later, 'dataid' => 'assessmentend'], ]], ]
/mod/workshop/tests/locallib_test.php:4041$fakerawrecord = (object) array('id' => 38, 'submissionid' => 56, 'weight' => 1, 'timecreated' => time( ) - 100, 'timemodified' => time( ) - 50, 'grade' => 0.75000, 'gradinggrade' => 1.00000, 'gradinggradeover' => null, 'feedbackauthor' => null, 'feedbackauthorformat' => 0, 'feedbackauthorattachment' => 0, )
/mod/workshop/tests/locallib_test.php:5161$workshopitem = $this->getDataGenerator( )->create_module('workshop', array('course' => $courseid, 'availability' => json_encode(\core_availability\tree::get_root_json(array(\availability_grouping\condition::get_json($grouping->id)), \core_availability\tree::OP_AND, false))))
/mod/workshop/tests/locallib_test.php:3741$fakerawrecord = (object) array('id' => 42, 'submissionid' => 56, 'weight' => 0, 'timecreated' => time( ) - 10, 'timemodified' => time( ) - 5, 'grade' => null, 'gradinggrade' => null, 'gradinggradeover' => null, 'feedbackauthor' => null, 'feedbackauthorformat' => 0, 'feedbackauthorattachment' => 0, )
/mod/workshop/tests/lib_test.php:6201$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'workshop', 'instance' => 1, 'eventtype' => $eventtype, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/workshop/tests/lib_test.php:6661$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'workshop', 'instance' => $workshop->id, 'eventtype' => WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/workshop/tests/lib_test.php:5161$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'workshop', 'instance' => 1, 'eventtype' => WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/workshop/tests/lib_test.php:5461return ['Only with submissionstart' => [$submissionstart, 0, 0, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, null, null], 'Only with submissionend' => [0, $submissionend, 0, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, null, null], 'Only with assessmentstart' => [0, 0, $assessmentstart, 0, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, null, null], 'Only with assessmentend' => [0, 0, 0, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, null, null], 'Move submissionstart when with submissionend' => [$submissionstart, $submissionend, 0, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, null, $submissionend - 1], 'Move submissionend when with submissionstart' => [$submissionstart, $submissionend, 0, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, $submissionstart + 1, null], 'Move assessmentstart when with assessmentend' => [0, 0, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, null, $assessmentend - 1], 'Move assessmentend when with assessmentstart' => [0, 0, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, $assessmentstart + 1, null], 'Move submissionstart when with assessmentstart' => [$submissionstart, 0, $assessmentstart, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, null, $assessmentstart], 'Move submissionstart when with assessmentend' => [$submissionstart, 0, 0, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, null, $assessmentend], 'Move submissionend when with assessmentstart' => [0, $submissionend, $assessmentstart, 0, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, null, $assessmentstart], 'Move submissionend when with assessmentend' => [0, $submissionend, 0, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, null, $assessmentend], 'Move assessmentstart when with submissionstart' => [$submissionstart, 0, $assessmentstart, 0, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, $submissionstart, null], 'Move assessmentstart when with submissionend' => [0, $submissionend, $assessmentstart, 0, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, $submissionend, null], 'Move assessmentend when with submissionstart' => [$submissionstart, 0, 0, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, $submissionstart, null], 'Move assessmentend when with submissionend' => [0, $submissionend, 0, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, $submissionend, null], 'Move submissionstart when with others' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, null, $submissionend - 1], 'Move submissionend when with others' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, $submissionstart + 1, $assessmentstart], 'Move assessmentstart when with others' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, $submissionend, $assessmentend - 1], 'Move assessmentend when with others' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, $assessmentstart + 1, null], ]
/mod/workshop/tests/privacy/provider_test.php:1691$this->assessment2121 = $this->workshopgenerator->create_assessment($this->submission212, $this->student1->id, ['grade' => 68, 'gradinggradeover' => 80, 'gradinggradeoverby' => $this->teacher4->id, 'feedbackauthor' => 'This is what student 1 thinks about submission 212', 'feedbackreviewer' => 'This is what the teacher thinks about this assessment', ])
/mod/workshop/tests/generator/lib.php:451$record = (array) $record + array('strategy' => $workshopconfig->strategy, 'grade' => $workshopconfig->grade, 'gradinggrade' => $workshopconfig->gradinggrade, 'gradedecimals' => $workshopconfig->gradedecimals, 'nattachments' => 1, 'submissionfiletypes' => null, 'maxbytes' => $workshopconfig->maxbytes, 'latesubmissions' => 0, 'useselfassessment' => 0, 'overallfeedbackmode' => 1, 'overallfeedbackfiles' => 0, 'overallfeedbackfiletypes' => null, 'overallfeedbackmaxbytes' => $workshopconfig->maxbytes, 'useexamples' => 0, 'examplesmode' => $workshopconfig->examplesmode, 'submissionstart' => 0, 'submissionend' => 0, 'phaseswitchassessment' => 0, 'assessmentstart' => 0, 'assessmentend' => 0, )
/mod/workshop/tests/lib_test.php:7011return ['Move submissionstart' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_OPEN, 'submissionstart', $submissionstart + 50], 'Move submissionend' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_SUBMISSION_CLOSE, 'submissionend', $submissionend + 50], 'Move assessmentstart' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_OPEN, 'assessmentstart', $assessmentstart + 50], 'Move assessmentend' => [$submissionstart, $submissionend, $assessmentstart, $assessmentend, WORKSHOP_EVENT_TYPE_ASSESSMENT_CLOSE, 'assessmentend', $assessmentend + 50], ]
/mod/workshop/tests/lib_test.php:7471$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'workshop', 'instance' => $workshop->id, 'eventtype' => $eventtype, 'timestart' => $newtime, 'timeduration' => 86400, 'visible' => 1])
/mod/workshop/eval/best/tests/lib_test.php:2521$diminfo = array(1 => (object) array('min' => 0, 'max' => 1, 'weight' => 1), 2 => (object) array('min' => 0, 'max' => 1, 'weight' => 1), 3 => (object) array('min' => 0, 'max' => 1, 'weight' => 1), )
/mod/workshop/eval/best/tests/lib_test.php:2351$diminfo = array(1 => (object) array('min' => 0, 'max' => 2, 'weight' => 1, 'variance' => 625), 2 => (object) array('min' => 0, 'max' => 3, 'weight' => 1, 'variance' => 277.7778888889), )
/mod/workshop/eval/best/tests/lib_test.php:2081$diminfo = array(3 => (object) array('weight' => 1, 'min' => 0, 'max' => 100, 'variance' => 12.34567), 4 => (object) array('weight' => 1, 'min' => 1, 'max' => 5, 'variance' => 98.76543), )
/mod/workshop/tests/event/events_test.php:2081$event = \mod_workshop\event\submission_created::create(array('objectid' => $submissionid, 'context' => $this->context, 'courseid' => $this->course->id, 'relateduserid' => $user->id, 'other' => array('submissiontitle' => 'The submission title')))
/mod/workshop/allocation/random/tests/allocator_test.php:1662$assessments = array(23 => (object) array('authorid' => 3, 'reviewerid' => 3), 45 => (object) array('authorid' => 5, 'reviewerid' => 11), 12 => (object) array('authorid' => 6, 'reviewerid' => 3), )
/mod/workshop/allocation/random/tests/allocator_test.php:1512$assessments = array(23 => (object) array('authorid' => 3, 'reviewerid' => 3), 45 => (object) array('authorid' => 5, 'reviewerid' => 11), 12 => (object) array('authorid' => 6, 'reviewerid' => 3), )
/mod/workshop/backup/moodle2/backup_workshop_stepslib.php:511$workshop = new backup_nested_element('workshop', array('id'), array('name', 'intro', 'introformat', 'instructauthors', 'instructauthorsformat', 'instructreviewers', 'instructreviewersformat', 'timemodified', 'phase', 'useexamples', 'usepeerassessment', 'useselfassessment', 'grade', 'gradinggrade', 'strategy', 'evaluation', 'gradedecimals', 'submissiontypetext', 'submissiontypefile', 'nattachments', 'submissionfiletypes', 'latesubmissions', 'maxbytes', 'examplesmode', 'submissionstart', 'submissionend', 'assessmentstart', 'assessmentend', 'conclusion', 'conclusionformat', 'overallfeedbackmode', 'overallfeedbackfiles', 'overallfeedbackfiletypes', 'overallfeedbackmaxbytes'))
/mod/workshop/eval/best/tests/lib_test.php:2591$assessments = array(10 => (object) array('assessmentid' => 10, 'weight' => 0, 'reviewerid' => 56, 'gradinggrade' => null, 'submissionid' => 99, 'dimgrades' => array(1 => 0, 2 => 0, 3 => 0, ), ), 20 => (object) array('assessmentid' => 20, 'weight' => 1, 'reviewerid' => 76, 'gradinggrade' => null, 'submissionid' => 99, 'dimgrades' => array(1 => 1, 2 => 1, 3 => 1, ), ), 30 => (object) array('assessmentid' => 30, 'weight' => 1, 'reviewerid' => 97, 'gradinggrade' => null, 'submissionid' => 99, 'dimgrades' => array(1 => 1, 2 => 1, 3 => 1, ), ), )
/mod/page/classes/content/exporter.php:461$contentitems[] = new exportable_textarea($this->get_context( ), $this->get_component( ), get_string('content', 'mod_page'), $this->get_modname( ), 'content', $this->cm->instance, 'contentformat', 'content', 0, 0)
/mod/page/classes/external.php:1891return new external_single_structure(array('pages' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['content' => new external_value(PARAM_RAW, 'Page content'), 'contentformat' => new external_format_value('content'), 'contentfiles' => new external_files('Files in the content'), 'legacyfiles' => new external_value(PARAM_INT, 'Legacy files flag'), 'legacyfileslast' => new external_value(PARAM_INT, 'Legacy files last control flag'), 'display' => new external_value(PARAM_INT, 'How to display the page'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the page was modified'), ]))), 'warnings' => new external_warnings( ), ))
/mod/workshop/allocation/random/tests/allocator_test.php:2912$assessments = array(23 => (object) array('authorid' => 3, 'reviewerid' => 3), 45 => (object) array('authorid' => 5, 'reviewerid' => 11), 12 => (object) array('authorid' => 5, 'reviewerid' => 3), )
/mod/workshop/allocation/random/tests/allocator_test.php:1852$assessments = array(23 => (object) array('authorid' => 3, 'reviewerid' => 3), 45 => (object) array('authorid' => 5, 'reviewerid' => 11), 12 => (object) array('authorid' => 5, 'reviewerid' => 3), )
/mod/chat/classes/external.php:2171return new external_single_structure(array('users' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'user id'), 'fullname' => new external_value(PARAM_NOTAGS, 'user full name'), 'profileimageurl' => new external_value(PARAM_URL, 'user picture URL'), )), 'list of users'), 'warnings' => new external_warnings( )))
/mod/chat/gui_ajax/index.php:721$modulecfg = array('home' => $CFG->wwwroot . '/mod/chat/view.php?id=' . $cm->id, 'chaturl' => $CFG->wwwroot . '/mod/chat/gui_ajax/index.php?id=' . $id, 'theme' => $theme, 'userid' => $USER->id, 'sid' => $chatsid, 'timer' => 3000, 'chat_lasttime' => 0, 'chat_lastrow' => null, 'chatroom_name' => $courseshortname . ": " . format_string($chat->name, true) . $groupname)
/mod/chat/chatd.php:5621$this->sets_info[$sessionid] = array('lastinfocommit' => 0, 'lastmessageindex' => 0, 'course' => $course, 'courseid' => $course->id, 'chatuser' => $chatuser, 'chatid' => $chat->id, 'cm' => $cm, 'user' => $user, 'userid' => $user->id, 'groupid' => $chatuser->groupid, 'lang' => $chatuser->lang, 'quirks' => $customdata['quirks'])
/mod/imscp/classes/external.php:1841return new external_single_structure(array('imscps' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['revision' => new external_value(PARAM_INT, 'Revision', VALUE_OPTIONAL), 'keepold' => new external_value(PARAM_INT, 'Number of old IMSCP to keep', VALUE_OPTIONAL), 'structure' => new external_value(PARAM_RAW, 'IMSCP structure', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_RAW, 'Time of last modification', VALUE_OPTIONAL), ]), 'IMS content packages')), 'warnings' => new external_warnings( ), ))
/mod/chat/tests/dates_test.php:631return ['chattime in the past' => [$past, CHAT_SCHEDULE_NONE, [ ]], 'chattime in the past' => [$past, CHAT_SCHEDULE_SINGLE, [ ]], 'chattime in the future' => [$future, CHAT_SCHEDULE_SINGLE, [['label' => $label, 'timestamp' => $future, 'dataid' => 'chattime', ], ]], 'future chattime weekly' => [$future, CHAT_SCHEDULE_WEEKLY, [['label' => $label, 'timestamp' => $future, 'dataid' => 'chattime', ]]], 'future chattime daily' => [$future, CHAT_SCHEDULE_DAILY, [['label' => $label, 'timestamp' => $future, 'dataid' => 'chattime', ]]], 'past chattime daily' => [$past, CHAT_SCHEDULE_DAILY, [['label' => $label, 'timestamp' => $dailynextchattime, 'dataid' => 'chattime', ], ]], 'past chattime weekly' => [$past, CHAT_SCHEDULE_WEEKLY, [['label' => $label, 'timestamp' => $weeklynextchattime, 'dataid' => 'chattime', ], ]], ]
/mod/chat/tests/format_message_test.php:381return ['Beep everyone' => ['message' => 'beep all', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: " . get_string('messagebeepseveryone', 'chat', '__CURRENTUSER__') . ': /', 'refreshusers' => false, 'beep' => true, ], 'Beep the current user' => ['message' => 'beep __CURRENTUSER__', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: " . get_string('messagebeepsyou', 'chat', '__CURRENTUSER__') . ': /', 'refreshusers' => false, 'beep' => true, ], 'Beep another user' => ['message' => 'beep __OTHERUSER__', 'issystem' => false, 'willreturn' => false, 'expecttext' => null, 'refreshusers' => null, 'beep' => null, ], 'Malformed beep' => ['message' => 'beep', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp} __CURRENTUSER_FIRST__: beep$/", 'refreshusers' => false, 'beep' => false, ], '/me says' => ['message' => '/me writes a test', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: \*\*\* __CURRENTUSER_FIRST__ writes a test$/", 'refreshusers' => false, 'beep' => false, ], 'Invalid command' => ['message' => '/help', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp} __CURRENTUSER_FIRST__: \/help$/", 'refreshusers' => false, 'beep' => false, ], 'To user' => ['message' => 'To Bernard:I love tests', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: __CURRENTUSER_FIRST__ " . get_string('saidto', 'chat') . " Bernard: I love tests$/", 'refreshusers' => false, 'beep' => false, ], 'To user trimmed' => ['message' => 'To Bernard: I love tests', 'issystem' => false, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: __CURRENTUSER_FIRST__ " . get_string('saidto', 'chat') . " Bernard: I love tests$/", 'refreshusers' => false, 'beep' => false, ], 'System: enter' => ['message' => 'enter', 'issystem' => true, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: " . get_string('messageenter', 'chat', '__CURRENTUSER__') . "$/", 'refreshusers' => true, 'beep' => false, ], 'System: exit' => ['message' => 'exit', 'issystem' => true, 'willreturn' => true, 'expecttext' => "/^{$dateregexp}: " . get_string('messageexit', 'chat', '__CURRENTUSER__') . "$/", 'refreshusers' => true, 'beep' => false, ], ]
/mod/folder/renderer.php:1192$url = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $filename, false)
/mod/folder/renderer.php:1712$url = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $filename, false)
/mod/chat/classes/external.php:4231return new external_single_structure(array('messages' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'message id'), 'userid' => new external_value(PARAM_INT, 'user id'), 'system' => new external_value(PARAM_BOOL, 'true if is a system message (like user joined)'), 'message' => new external_value(PARAM_RAW, 'message text'), 'timestamp' => new external_value(PARAM_INT, 'timestamp for the message'), )), 'list of users'), 'chatnewlasttime' => new external_value(PARAM_INT, 'new last time'), 'warnings' => new external_warnings( )))
/mod/chat/classes/external.php:5861return new external_single_structure(array('chats' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['chatmethod' => new external_value(PARAM_PLUGIN, 'chat method (sockets, ajax, header_js)', VALUE_OPTIONAL), 'keepdays' => new external_value(PARAM_INT, 'keep days', VALUE_OPTIONAL), 'studentlogs' => new external_value(PARAM_INT, 'student logs visible to everyone', VALUE_OPTIONAL), 'chattime' => new external_value(PARAM_INT, 'chat time', VALUE_OPTIONAL), 'schedule' => new external_value(PARAM_INT, 'schedule type', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'time of last modification', VALUE_OPTIONAL), ]), 'Chats')), 'warnings' => new external_warnings( ), ))
/mod/chat/classes/external.php:7051return new external_single_structure(array('sessions' => new external_multiple_structure(new external_single_structure(array('sessionstart' => new external_value(PARAM_INT, 'Session start time.'), 'sessionend' => new external_value(PARAM_INT, 'Session end time.'), 'sessionusers' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'User id.'), 'messagecount' => new external_value(PARAM_INT, 'Number of messages in the session.'), )), 'Session users.'), 'iscomplete' => new external_value(PARAM_BOOL, 'Whether the session is completed or not.'), )), 'list of users'), 'warnings' => new external_warnings( )))
/mod/chat/classes/external.php:7371return new external_function_parameters(array('chatid' => new external_value(PARAM_INT, 'Chat instance id.'), 'sessionstart' => new external_value(PARAM_INT, 'The session start time (timestamp).'), 'sessionend' => new external_value(PARAM_INT, 'The session end time (timestamp).'), 'groupid' => new external_value(PARAM_INT, 'Get messages from users in this group. 0 means that the function will determine the user group', VALUE_DEFAULT, 0), ))
/mod/label/lib.php:3241$record = array('contextid' => $file->get_contextid( ), 'component' => $file->get_component( ), 'filearea' => $file->get_filearea( ), 'itemid' => $file->get_itemid( ), 'filepath' => '/', 'filename' => 's_' . $file->get_filename( ), )
/mod/label/classes/external.php:1151return new external_single_structure(array('labels' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['timemodified' => new external_value(PARAM_INT, 'Last time the label was modified'), ]))), 'warnings' => new external_warnings( ), ))
/mod/quiz/locallib.php:18671$event = \mod_quiz\event\slot_created::create(['context' => context_module::instance($cm->id), 'objectid' => $slotid, 'other' => ['quizid' => $quiz->id, 'slotnumber' => $slot->slot, 'page' => $slot->page]])
/mod/quiz/lib.php:12261$feedbacktext = file_save_draft_area_files((int) $quiz->feedbacktext[$i]['itemid'], $context->id, 'mod_quiz', 'feedback', $feedback->id, ['subdirs' => false, 'maxfiles' => -1, 'maxbytes' => 0], $quiz->feedbacktext[$i]['text'])
/mod/folder/lib.php:6061$tmpactivity = (object) ['type' => 'folder', 'cmid' => $cm->id, 'sectionnum' => $cm->sectionnum, 'timestamp' => $file->get_timemodified( ), 'user' => core_user::get_user($file->get_userid( )), ]
/mod/folder/lib.php:6141$url = moodle_url::make_pluginfile_url($file->get_contextid( ), 'mod_folder', 'content', $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ), !empty($instance->forcedownload))
/mod/folder/classes/external.php:1701return new external_single_structure(array('folders' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['revision' => new external_value(PARAM_INT, 'Incremented when after each file changes, to avoid cache'), 'timemodified' => new external_value(PARAM_INT, 'Last time the folder was modified'), 'display' => new external_value(PARAM_INT, 'Display type of folder contents on a separate page or inline'), 'showexpanded' => new external_value(PARAM_INT, '1 = expanded, 0 = collapsed for sub-folders'), 'showdownloadfolder' => new external_value(PARAM_INT, 'Whether to show the download folder button'), 'forcedownload' => new external_value(PARAM_INT, 'Whether file download is forced'), ]))), 'warnings' => new external_warnings( ), ))
/mod/folder/db/access.php:271$capabilities = array('mod/folder:addinstance' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:manageactivities'), 'mod/folder:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, )), 'mod/folder:managefiles' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW)))
/mod/quiz/classes/external.php:4371return new external_single_structure(['id' => new external_value(PARAM_INT, 'Attempt id.', VALUE_OPTIONAL), 'quiz' => new external_value(PARAM_INT, 'Foreign key reference to the quiz that was attempted.', VALUE_OPTIONAL), 'userid' => new external_value(PARAM_INT, 'Foreign key reference to the user whose attempt this is.', VALUE_OPTIONAL), 'attempt' => new external_value(PARAM_INT, 'Sequentially numbers this students attempts at this quiz.', VALUE_OPTIONAL), 'uniqueid' => new external_value(PARAM_INT, 'Foreign key reference to the question_usage that holds the details of the the question_attempts that make up this quiz attempt.', VALUE_OPTIONAL), 'layout' => new external_value(PARAM_RAW, 'Attempt layout.', VALUE_OPTIONAL), 'currentpage' => new external_value(PARAM_INT, 'Attempt current page.', VALUE_OPTIONAL), 'preview' => new external_value(PARAM_INT, 'Whether is a preview attempt or not.', VALUE_OPTIONAL), 'state' => new external_value(PARAM_ALPHA, 'The current state of the attempts. \'inprogress\', \'overdue\', \'finished\' or \'abandoned\'.', VALUE_OPTIONAL), 'timestart' => new external_value(PARAM_INT, 'Time when the attempt was started.', VALUE_OPTIONAL), 'timefinish' => new external_value(PARAM_INT, 'Time when the attempt was submitted. 0 if the attempt has not been submitted yet.', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Last modified time.', VALUE_OPTIONAL), 'timemodifiedoffline' => new external_value(PARAM_INT, 'Last modified time via webservices.', VALUE_OPTIONAL), 'timecheckstate' => new external_value(PARAM_INT, 'Next time quiz cron should check attempt for state changes. NULL means never check.', VALUE_OPTIONAL), 'sumgrades' => new external_value(PARAM_FLOAT, 'Total marks for this attempt.', VALUE_OPTIONAL), 'gradednotificationsenttime' => new external_value(PARAM_INT, 'Time when the student was notified that manual grading of their attempt was complete.', VALUE_OPTIONAL), ])
/mod/quiz/classes/external.php:3591return new external_function_parameters(['quizid' => new external_value(PARAM_INT, 'quiz instance id'), 'userid' => new external_value(PARAM_INT, 'user id, empty for current user', VALUE_DEFAULT, 0), 'status' => new external_value(PARAM_ALPHA, 'quiz status: all, finished or unfinished', VALUE_DEFAULT, 'finished'), 'includepreviews' => new external_value(PARAM_BOOL, 'whether to include previews or not', VALUE_DEFAULT, false), ])
/mod/quiz/classes/external.php:6701return new external_single_structure(['someoptions' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'option name'), 'value' => new external_value(PARAM_INT, 'option value'), ])), 'alloptions' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'option name'), 'value' => new external_value(PARAM_INT, 'option value'), ])), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/external.php:5801return new external_single_structure(['hasgrade' => new external_value(PARAM_BOOL, 'Whether the user has a grade on the given quiz.'), 'grade' => new external_value(PARAM_FLOAT, 'The grade (only if the user has a grade).', VALUE_OPTIONAL), 'gradetopass' => new external_value(PARAM_FLOAT, 'The grade to pass the quiz (only if set).', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ])
/mod/quiz/lib.php:19071$modulepagetype = ['mod-quiz-*' => get_string('page-mod-quiz-x', 'quiz'), 'mod-quiz-view' => get_string('page-mod-quiz-view', 'quiz'), 'mod-quiz-attempt' => get_string('page-mod-quiz-attempt', 'quiz'), 'mod-quiz-summary' => get_string('page-mod-quiz-summary', 'quiz'), 'mod-quiz-review' => get_string('page-mod-quiz-review', 'quiz'), 'mod-quiz-edit' => get_string('page-mod-quiz-edit', 'quiz'), 'mod-quiz-report' => get_string('page-mod-quiz-report', 'quiz'), ]
/mod/quiz/lib.php:17631$node = navigation_node::create(get_string('questions', 'quiz'), new moodle_url('/mod/quiz/edit.php', ['cmid' => $settings->get_page( )->cm->id]), navigation_node::TYPE_SETTING, null, 'mod_quiz_edit', new pix_icon('t/edit', ''))
/mod/quiz/classes/external.php:1721return new external_single_structure(['quizzes' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timeopen' => new external_value(PARAM_INT, 'The time when this quiz opens. (0 = no restriction.)', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'The time when this quiz closes. (0 = no restriction.)', VALUE_OPTIONAL), 'timelimit' => new external_value(PARAM_INT, 'The time limit for quiz attempts, in seconds.', VALUE_OPTIONAL), 'overduehandling' => new external_value(PARAM_ALPHA, 'The method used to handle overdue attempts. \'autosubmit\', \'graceperiod\' or \'autoabandon\'.', VALUE_OPTIONAL), 'graceperiod' => new external_value(PARAM_INT, 'The amount of time (in seconds) after the time limit runs out during which attempts can still be submitted, if overduehandling is set to allow it.', VALUE_OPTIONAL), 'preferredbehaviour' => new external_value(PARAM_ALPHANUMEXT, 'The behaviour to ask questions to use.', VALUE_OPTIONAL), 'canredoquestions' => new external_value(PARAM_INT, 'Allows students to redo any completed question within a quiz attempt.', VALUE_OPTIONAL), 'attempts' => new external_value(PARAM_INT, 'The maximum number of attempts a student is allowed.', VALUE_OPTIONAL), 'attemptonlast' => new external_value(PARAM_INT, 'Whether subsequent attempts start from the answer to the previous attempt (1) or start blank (0).', VALUE_OPTIONAL), 'grademethod' => new external_value(PARAM_INT, 'One of the values QUIZ_GRADEHIGHEST, QUIZ_GRADEAVERAGE, QUIZ_ATTEMPTFIRST or QUIZ_ATTEMPTLAST.', VALUE_OPTIONAL), 'decimalpoints' => new external_value(PARAM_INT, 'Number of decimal points to use when displaying grades.', VALUE_OPTIONAL), 'questiondecimalpoints' => new external_value(PARAM_INT, 'Number of decimal points to use when displaying question grades. (-1 means use decimalpoints.)', VALUE_OPTIONAL), 'reviewattempt' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. This is a bit field, decoded by the \mod_quiz\question\display_options class. It is formed by ORing together the constants defined there.', VALUE_OPTIONAL), 'reviewcorrectness' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times.A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewmaxmarks' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewmarks' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewspecificfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewgeneralfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewrightanswer' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'reviewoverallfeedback' => new external_value(PARAM_INT, 'Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.', VALUE_OPTIONAL), 'questionsperpage' => new external_value(PARAM_INT, 'How often to insert a page break when editing the quiz, or when shuffling the question order.', VALUE_OPTIONAL), 'navmethod' => new external_value(PARAM_ALPHA, 'Any constraints on how the user is allowed to navigate around the quiz. Currently recognised values are \'free\' and \'seq\'.', VALUE_OPTIONAL), 'shuffleanswers' => new external_value(PARAM_INT, 'Whether the parts of the question should be shuffled, in those question types that support it.', VALUE_OPTIONAL), 'sumgrades' => new external_value(PARAM_FLOAT, 'The total of all the question instance maxmarks.', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_FLOAT, 'The total that the quiz overall grade is scaled to be out of.', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'The time when the quiz was added to the course.', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Last modified time.', VALUE_OPTIONAL), 'password' => new external_value(PARAM_RAW, 'A password that the student must enter before starting or continuing a quiz attempt.', VALUE_OPTIONAL), 'subnet' => new external_value(PARAM_RAW, 'Used to restrict the IP addresses from which this quiz can be attempted. The format is as requried by the address_in_subnet function.', VALUE_OPTIONAL), 'browsersecurity' => new external_value(PARAM_ALPHANUMEXT, 'Restriciton on the browser the student must use. E.g. \'securewindow\'.', VALUE_OPTIONAL), 'delay1' => new external_value(PARAM_INT, 'Delay that must be left between the first and second attempt, in seconds.', VALUE_OPTIONAL), 'delay2' => new external_value(PARAM_INT, 'Delay that must be left between the second and subsequent attempt, in seconds.', VALUE_OPTIONAL), 'showuserpicture' => new external_value(PARAM_INT, 'Option to show the user\'s picture during the attempt and on the review page.', VALUE_OPTIONAL), 'showblocks' => new external_value(PARAM_INT, 'Whether blocks should be shown on the attempt.php and review.php pages.', VALUE_OPTIONAL), 'completionattemptsexhausted' => new external_value(PARAM_INT, 'Mark quiz complete when the student has exhausted the maximum number of attempts', VALUE_OPTIONAL), 'completionpass' => new external_value(PARAM_INT, 'Whether to require passing grade', VALUE_OPTIONAL), 'allowofflineattempts' => new external_value(PARAM_INT, 'Whether to allow the quiz to be attempted offline in the mobile app', VALUE_OPTIONAL), 'autosaveperiod' => new external_value(PARAM_INT, 'Auto-save delay', VALUE_OPTIONAL), 'hasfeedback' => new external_value(PARAM_INT, 'Whether the quiz has any non-blank feedback text', VALUE_OPTIONAL), 'hasquestions' => new external_value(PARAM_INT, 'Whether the quiz has questions', VALUE_OPTIONAL), ]))), 'warnings' => new external_warnings( ), ])
/mod/quiz/comment.php:831$params = ['objectid' => $attemptobj->get_question_attempt($slot)->get_question_id( ), 'courseid' => $attemptobj->get_courseid( ), 'context' => $attemptobj->get_quizobj( )->get_context( ), 'other' => ['quizid' => $attemptobj->get_quizid( ), 'attemptid' => $attemptobj->get_attemptid( ), 'slot' => $slot]]
/mod/quiz/classes/external.php:11251return new external_single_structure(['attempt' => self::attempt_structure( ), 'messages' => new external_multiple_structure(new external_value(PARAM_TEXT, 'access message'), 'access messages, will only be returned for users with mod/quiz:preview capability, for other users this method will throw an exception if there are messages'), 'nextpage' => new external_value(PARAM_INT, 'next page number'), 'questions' => new external_multiple_structure(self::question_structure( )), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/external.php:10592return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'page' => new external_value(PARAM_INT, 'page number'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:12171return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'data' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'the data to be saved'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:11462return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:9121return new external_single_structure(['slot' => new external_value(PARAM_INT, 'slot number'), 'type' => new external_value(PARAM_ALPHANUMEXT, 'question type, i.e: multichoice'), 'page' => new external_value(PARAM_INT, 'page of the quiz this question appears on'), 'questionnumber' => new external_value(PARAM_RAW, 'The question number to display for this question, e.g. "7", "i" or "Custom-B)".'), 'number' => new external_value(PARAM_INT, 'DO NOT USE. Use questionnumber. Only retained for backwards compatibility.', VALUE_OPTIONAL), 'html' => new external_value(PARAM_RAW, 'the question rendered'), 'responsefileareas' => new external_multiple_structure(new external_single_structure(['area' => new external_value(PARAM_NOTAGS, 'File area name'), 'files' => new external_files('Response files for the question', VALUE_OPTIONAL), ]), 'Response file areas including files', VALUE_OPTIONAL), 'sequencecheck' => new external_value(PARAM_INT, 'the number of real steps in this attempt', VALUE_OPTIONAL), 'lastactiontime' => new external_value(PARAM_INT, 'the timestamp of the most recent step in this question attempt', VALUE_OPTIONAL), 'hasautosavedstep' => new external_value(PARAM_BOOL, 'whether this question attempt has autosaved data', VALUE_OPTIONAL), 'flagged' => new external_value(PARAM_BOOL, 'whether the question is flagged or not'), 'state' => new external_value(PARAM_ALPHA, 'the state where the question is in terms of correctness. It will not be returned if the user cannot see it due to the quiz display correctness settings.', VALUE_OPTIONAL), 'stateclass' => new external_value(PARAM_NOTAGS, 'A machine-readable class name for the state that this question attempt is in, as returned by question_usage_by_activity::get_question_state_class(). Always returned.', VALUE_OPTIONAL), 'status' => new external_value(PARAM_RAW, 'Human readable state of the question.', VALUE_OPTIONAL), 'blockedbyprevious' => new external_value(PARAM_BOOL, 'whether the question is blocked by the previous question', VALUE_OPTIONAL), 'mark' => new external_value(PARAM_RAW, 'the mark awarded. It will be returned only if the user is allowed to see it.', VALUE_OPTIONAL), 'maxmark' => new external_value(PARAM_FLOAT, 'the maximum mark possible for this question attempt. It will be returned only if the user is allowed to see it.', VALUE_OPTIONAL), 'settings' => new external_value(PARAM_RAW, 'Question settings (JSON encoded).', VALUE_OPTIONAL), ], 'The question data. Some fields may not be returned depending on the quiz display settings.')
/mod/quiz/classes/external.php:7001return new external_function_parameters(['quizid' => new external_value(PARAM_INT, 'quiz instance id'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ]), 'forcenew' => new external_value(PARAM_BOOL, 'Whether to force a new attempt or not.', VALUE_DEFAULT, false), ])
/mod/quiz/classes/external.php:10311$responsefileareas[$area]['files'][] = ['filename' => $file->get_filename( ), 'fileurl' => $qattempt->get_response_file_url($file), 'filesize' => $file->get_filesize( ), 'filepath' => $file->get_filepath( ), 'mimetype' => $file->get_mimetype( ), 'timemodified' => $file->get_timemodified( ), ]
/mod/quiz/classes/external.php:9801$question = ['slot' => $slot, 'page' => $attemptobj->get_question_page($slot), 'questionnumber' => $attemptobj->get_question_number($slot), 'flagged' => $attemptobj->is_question_flagged($slot), 'sequencecheck' => $qattempt->get_sequence_check_count( ), 'lastactiontime' => $qattempt->get_last_step( )->get_timecreated( ), 'hasautosavedstep' => $qattempt->has_autosaved_step( ), ]
/mod/quiz/classes/external.php:19791return new external_single_structure(['endtime' => new external_value(PARAM_INT, 'When the attempt must be submitted (determined by rules).', VALUE_OPTIONAL), 'isfinished' => new external_value(PARAM_BOOL, 'Whether there is no way the user will ever be allowed to attempt.'), 'ispreflightcheckrequired' => new external_value(PARAM_BOOL, 'whether a check is required before the user starts/continues his attempt.', VALUE_OPTIONAL), 'preventnewattemptreasons' => new external_multiple_structure(new external_value(PARAM_TEXT, 'access restriction description'), 'list of reasons'), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/quiz_attempt.php:8811return $slot > 1 && isset($this->slots[$slot]) && $this->slots[$slot]->requireprevious && !$this->slots[$slot]->section->shufflequestions && !$this->slots[$slot - 1]->section->shufflequestions && $this->get_navigation_method( ) != QUIZ_NAVMETHOD_SEQ && !$this->get_question_state($slot - 1)->is_finished( ) && $this->quba->can_question_finish_during_attempt($slot - 1)
/mod/quiz/classes/external.php:17971return new external_single_structure(['feedbacktext' => new external_value(PARAM_RAW, 'the comment that corresponds to this grade (empty for none)'), 'feedbacktextformat' => new external_format_value('feedbacktext', VALUE_OPTIONAL), 'feedbackinlinefiles' => new external_files('feedback inline files', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/external.php:18691return new external_single_structure(['canattempt' => new external_value(PARAM_BOOL, 'Whether the user can do the quiz or not.'), 'canmanage' => new external_value(PARAM_BOOL, 'Whether the user can edit the quiz settings or not.'), 'canpreview' => new external_value(PARAM_BOOL, 'Whether the user can preview the quiz or not.'), 'canreviewmyattempts' => new external_value(PARAM_BOOL, 'Whether the users can review their previous attempts or not.'), 'canviewreports' => new external_value(PARAM_BOOL, 'Whether the user can view the quiz reports or not.'), 'accessrules' => new external_multiple_structure(new external_value(PARAM_TEXT, 'rule description'), 'list of rules'), 'activerulenames' => new external_multiple_structure(new external_value(PARAM_PLUGIN, 'rule plugin names'), 'list of active rules'), 'preventaccessreasons' => new external_multiple_structure(new external_value(PARAM_TEXT, 'access restriction description'), 'list of reasons'), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/external.php:15432return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'page' => new external_value(PARAM_INT, 'page number'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:16162return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:13101return new external_function_parameters(['attemptid' => new external_value(PARAM_INT, 'attempt id'), 'data' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'the data to be saved', VALUE_DEFAULT, [ ]), 'finishattempt' => new external_value(PARAM_BOOL, 'whether to finish or not the attempt', VALUE_DEFAULT, false), 'timeup' => new external_value(PARAM_BOOL, 'whether the WS was called by a timer when the time is up', VALUE_DEFAULT, false), 'preflightdata' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'data name'), 'value' => new external_value(PARAM_RAW, 'data value'), ]), 'Preflight required data (like passwords)', VALUE_DEFAULT, [ ])])
/mod/quiz/classes/external.php:15171return new external_single_structure(['grade' => new external_value(PARAM_RAW, 'grade for the quiz (or empty or "notyetgraded")'), 'attempt' => self::attempt_structure( ), 'additionaldata' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_ALPHANUMEXT, 'id of the data'), 'title' => new external_value(PARAM_TEXT, 'data title'), 'content' => new external_value(PARAM_RAW, 'data content'), ])), 'questions' => new external_multiple_structure(self::question_structure( )), 'warnings' => new external_warnings( ), ])
/mod/quiz/classes/quiz_attempt.php:22863$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( )]]
/mod/quiz/classes/quiz_attempt.php:23043$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( )]]
/mod/quiz/classes/quiz_attempt.php:22411$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( ), 'page' => $this->get_currentpage( ), 'slot' => $slot, 'newquestionid' => $newquestionid]]
/mod/quiz/classes/quiz_attempt.php:22653$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( )]]
/mod/quiz/classes/quiz_attempt.php:21973$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( ), 'page' => $this->get_currentpage( )]]
/mod/quiz/classes/quiz_attempt.php:22183$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( ), 'page' => $this->get_currentpage( )]]
/mod/quiz/classes/quiz_attempt.php:19121$params = ['context' => $this->get_quizobj( )->get_context( ), 'courseid' => $this->get_courseid( ), 'objectid' => $this->attempt->id, 'relateduserid' => $this->attempt->userid, 'other' => ['submitterid' => CLI_SCRIPT ? null : $USER->id, 'quizid' => $quizrecord->id, 'studentisonline' => $studentisonline]]
/mod/quiz/classes/quiz_attempt.php:21763$params = ['objectid' => $this->get_attemptid( ), 'relateduserid' => $this->get_userid( ), 'courseid' => $this->get_courseid( ), 'context' => $this->get_context( ), 'other' => ['quizid' => $this->get_quizid( ), 'page' => $this->get_currentpage( )]]
/mod/quiz/classes/structure.php:12941$event = \mod_quiz\event\section_title_updated::create(['context' => $this->quizobj->get_context( ), 'objectid' => $id, 'other' => ['quizid' => $this->get_quizid( ), 'firstslotid' => $firstslot ? $firstslot->id : null, 'firstslotnumber' => $firstslot ? $firstslot->slot : null, 'newtitle' => $newheading]])
/mod/quiz/classes/structure.php:12661$event = \mod_quiz\event\section_break_created::create(['context' => $this->quizobj->get_context( ), 'objectid' => $sectionid, 'other' => ['quizid' => $this->get_quizid( ), 'firstslotnumber' => $firstslot->slot, 'firstslotid' => $firstslot->id, 'title' => $section->heading, ]])
/mod/quiz/classes/structure.php:12311$event = \mod_quiz\event\page_break_created::create(['context' => $this->quizobj->get_context( ), 'objectid' => $slotid, 'other' => ['quizid' => $this->get_quizid( ), 'slotnumber' => $quizslots[$slotid]->slot]])
/mod/quiz/classes/structure.php:12201$event = \mod_quiz\event\page_break_deleted::create(['context' => $this->quizobj->get_context( ), 'objectid' => $slotid, 'other' => ['quizid' => $this->get_quizid( ), 'slotnumber' => $quizslots[$slotid]->slot]])
/mod/quiz/classes/structure.php:11621$event = \mod_quiz\event\slot_requireprevious_updated::create(['context' => $this->quizobj->get_context( ), 'objectid' => $slotid, 'other' => ['quizid' => $this->get_quizid( ), 'requireprevious' => $requireprevious ? 1 : 0]])
/mod/quiz/classes/structure.php:11381$event = \mod_quiz\event\slot_mark_updated::create(['context' => $this->quizobj->get_context( ), 'objectid' => $slot->id, 'other' => ['quizid' => $this->get_quizid( ), 'previousmaxmark' => $previousmaxmark + 0, 'newmaxmark' => $maxmark + 0]])
/mod/quiz/classes/structure.php:10841$event = \mod_quiz\event\slot_deleted::create(['context' => $this->quizobj->get_context( ), 'objectid' => $slot->id, 'other' => ['quizid' => $this->get_quizid( ), 'slotnumber' => $slotnumber, ]])
/mod/quiz/classes/structure.php:9621$event = \mod_quiz\event\slot_moved::create(['context' => $this->quizobj->get_context( ), 'objectid' => $idmove, 'other' => ['quizid' => $this->quizobj->get_quizid( ), 'previousslotnumber' => $movingslotnumber, 'afterslotnumber' => $moveafterslotnumber, 'page' => $page]])
/mod/quiz/classes/output/edit_renderer.php:1901$output .= html_writer::empty_tag('input', ['type' => 'text', 'id' => 'inputmaxgrade', 'name' => 'maxgrade', 'size' => ($structure->get_decimal_places_for_grades( ) + 2), 'value' => $structure->formatted_quiz_grade( ), 'class' => 'form-control'])
/mod/quiz/classes/output/renderer.php:14601return html_writer::tag('div', $warning, ['id' => 'connection-error', 'style' => 'display: none;', 'role' => 'alert']) . html_writer::tag('div', $ok, ['id' => 'connection-ok', 'style' => 'display: none;', 'role' => 'alert'])
/mod/quiz/classes/output/renderer.php:5621$output .= html_writer::start_tag('form', ['action' => new moodle_url($attemptobj->processattempt_url( ), ['cmid' => $attemptobj->get_cmid( )]), 'method' => 'post', 'enctype' => 'multipart/form-data', 'accept-charset' => 'utf-8', 'id' => 'responseform'])
/mod/quiz/classes/admin/review_setting.php:1051return [self::DURING => get_string('reviewduring', 'quiz'), self::IMMEDIATELY_AFTER => get_string('reviewimmediately', 'quiz'), self::LATER_WHILE_OPEN => get_string('reviewopen', 'quiz'), self::AFTER_CLOSE => get_string('reviewclosed', 'quiz'), ]
/mod/quiz/classes/admin/review_setting.php:631return ['attempt' => get_string('theattempt', 'quiz'), 'correctness' => get_string('whethercorrect', 'question'), 'maxmarks' => get_string('maxmarks', 'quiz'), 'marks' => get_string('marks', 'question'), 'specificfeedback' => get_string('specificfeedback', 'question'), 'generalfeedback' => get_string('generalfeedback', 'question'), 'rightanswer' => get_string('rightanswer', 'question'), 'overallfeedback' => get_string('overallfeedback', 'quiz'), ]
/mod/quiz/classes/form/edit_override_form.php:1561$users = $DB->get_records_sql(" SELECT DISTINCT $userfieldsql->selects FROM {user} u $enrolledjoin->joins $userfieldsql->joins LEFT JOIN {quiz_overrides} existingoverride ON existingoverride.userid = u.id AND existingoverride.quiz = :quizid WHERE existingoverride.id IS NULL AND $enrolledjoin->wheres ORDER BY $sort ", array_merge(['quizid' => $this->quiz->id], $userfieldsql->params, $enrolledjoin->params, $sortparams))
/mod/quiz/classes/structure.php:13451$event = \mod_quiz\event\section_break_deleted::create(['context' => $this->quizobj->get_context( ), 'objectid' => $sectionid, 'other' => ['quizid' => $this->get_quizid( ), 'firstslotid' => $firstslot->id, 'firstslotnumber' => $firstslot->slot]])
/mod/quiz/classes/structure.php:13191$event = \mod_quiz\event\section_shuffle_updated::create(['context' => $this->quizobj->get_context( ), 'objectid' => $id, 'other' => ['quizid' => $this->get_quizid( ), 'firstslotnumber' => $section->firstslot, 'shuffle' => $shuffle]])
/h5p/h5plib/v126/joubel/core/h5p.classes.php:54231$semantics = (object) array('name' => 'copyright', 'type' => 'group', 'label' => $this->h5pF->t('Copyright information'), 'fields' => array((object) array('name' => 'title', 'type' => 'text', 'label' => $this->h5pF->t('Title'), 'placeholder' => 'La Gioconda', 'optional' => TRUE), (object) array('name' => 'author', 'type' => 'text', 'label' => $this->h5pF->t('Author'), 'placeholder' => 'Leonardo da Vinci', 'optional' => TRUE), (object) array('name' => 'year', 'type' => 'text', 'label' => $this->h5pF->t('Year(s)'), 'placeholder' => '1503 - 1517', 'optional' => TRUE), (object) array('name' => 'source', 'type' => 'text', 'label' => $this->h5pF->t('Source'), 'placeholder' => 'http://en.wikipedia.org/wiki/Mona_Lisa', 'optional' => true, 'regexp' => (object) array('pattern' => '^http[s]?://.+', 'modifiers' => 'i')), (object) array('name' => 'license', 'type' => 'select', 'label' => $this->h5pF->t('License'), 'default' => 'U', 'options' => array((object) array('value' => 'U', 'label' => $this->h5pF->t('Undisclosed')), (object) array('value' => 'CC BY', 'label' => $this->h5pF->t('Attribution'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-SA', 'label' => $this->h5pF->t('Attribution-ShareAlike'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-ND', 'label' => $this->h5pF->t('Attribution-NoDerivs'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC', 'label' => $this->h5pF->t('Attribution-NonCommercial'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC-SA', 'label' => $this->h5pF->t('Attribution-NonCommercial-ShareAlike'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC-ND', 'label' => $this->h5pF->t('Attribution-NonCommercial-NoDerivs'), 'versions' => $cc_versions), (object) array('value' => 'GNU GPL', 'label' => $this->h5pF->t('General Public License'), 'versions' => array((object) array('value' => 'v3', 'label' => $this->h5pF->t('Version 3')), (object) array('value' => 'v2', 'label' => $this->h5pF->t('Version 2')), (object) array('value' => 'v1', 'label' => $this->h5pF->t('Version 1')))), (object) array('value' => 'PD', 'label' => $this->h5pF->t('Public Domain'), 'versions' => array((object) array('value' => '-', 'label' => '-'), (object) array('value' => 'CC0 1.0', 'label' => $this->h5pF->t('CC0 1.0 Universal')), (object) array('value' => 'CC PDM', 'label' => $this->h5pF->t('Public Domain Mark')))), (object) array('value' => 'C', 'label' => $this->h5pF->t('Copyright')))), (object) array('name' => 'version', 'type' => 'select', 'label' => $this->h5pF->t('License Version'), 'options' => array( ))))
/h5p/h5plib/v126/joubel/core/h5p-metadata.class.php:651return '{"title":' . (isset($content->title) ? json_encode($content->title) : 'null') . ',"a11yTitle":' . (isset($content->a11y_title) ? $content->a11y_title : 'null') . ',"authors":' . (isset($content->authors) ? $content->authors : 'null') . ',"source":' . (isset($content->source) ? '"' . $content->source . '"' : 'null') . ',"license":' . (isset($content->license) ? '"' . $content->license . '"' : 'null') . ',"licenseVersion":' . (isset($content->license_version) ? '"' . $content->license_version . '"' : 'null') . ',"licenseExtras":' . (isset($content->license_extras) ? json_encode($content->license_extras) : 'null') . ',"yearFrom":' . (isset($content->year_from) ? $content->year_from : 'null') . ',"yearTo":' . (isset($content->year_to) ? $content->year_to : 'null') . ',"changes":' . (isset($content->changes) ? $content->changes : 'null') . ',"defaultLanguage":' . (isset($content->default_language) ? '"' . $content->default_language . '"' : 'null') . ',"authorComments":' . (isset($content->author_comments) ? json_encode($content->author_comments) : 'null') . '}'
/h5p/h5plib/v126/joubel/core/h5p.classes.php:51771$semantics = array((object) array('name' => 'title', 'type' => 'text', 'label' => $this->h5pF->t('Title'), 'placeholder' => 'La Gioconda'), (object) array('name' => 'a11yTitle', 'type' => 'text', 'label' => $this->h5pF->t('Assistive Technologies label'), 'optional' => TRUE, ), (object) array('name' => 'license', 'type' => 'select', 'label' => $this->h5pF->t('License'), 'default' => 'U', 'options' => array((object) array('value' => 'U', 'label' => $this->h5pF->t('Undisclosed')), (object) array('type' => 'optgroup', 'label' => $this->h5pF->t('Creative Commons'), 'options' => array((object) array('value' => 'CC BY', 'label' => $this->h5pF->t('Attribution (CC BY)'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-SA', 'label' => $this->h5pF->t('Attribution-ShareAlike (CC BY-SA)'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-ND', 'label' => $this->h5pF->t('Attribution-NoDerivs (CC BY-ND)'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC', 'label' => $this->h5pF->t('Attribution-NonCommercial (CC BY-NC)'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC-SA', 'label' => $this->h5pF->t('Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)'), 'versions' => $cc_versions), (object) array('value' => 'CC BY-NC-ND', 'label' => $this->h5pF->t('Attribution-NonCommercial-NoDerivs (CC BY-NC-ND)'), 'versions' => $cc_versions), (object) array('value' => 'CC0 1.0', 'label' => $this->h5pF->t('Public Domain Dedication (CC0)')), (object) array('value' => 'CC PDM', 'label' => $this->h5pF->t('Public Domain Mark (PDM)')), )), (object) array('value' => 'GNU GPL', 'label' => $this->h5pF->t('General Public License v3')), (object) array('value' => 'PD', 'label' => $this->h5pF->t('Public Domain')), (object) array('value' => 'ODC PDDL', 'label' => $this->h5pF->t('Public Domain Dedication and Licence')), (object) array('value' => 'C', 'label' => $this->h5pF->t('Copyright')))), (object) array('name' => 'licenseVersion', 'type' => 'select', 'label' => $this->h5pF->t('License Version'), 'options' => $cc_versions, 'optional' => TRUE), (object) array('name' => 'yearFrom', 'type' => 'number', 'label' => $this->h5pF->t('Years (from)'), 'placeholder' => '1991', 'min' => '-9999', 'max' => '9999', 'optional' => TRUE), (object) array('name' => 'yearTo', 'type' => 'number', 'label' => $this->h5pF->t('Years (to)'), 'placeholder' => '1992', 'min' => '-9999', 'max' => '9999', 'optional' => TRUE), (object) array('name' => 'source', 'type' => 'text', 'label' => $this->h5pF->t('Source'), 'placeholder' => 'https://', 'optional' => TRUE), (object) array('name' => 'authors', 'type' => 'list', 'field' => (object) array('name' => 'author', 'type' => 'group', 'fields' => array((object) array('label' => $this->h5pF->t("Author's name"), 'name' => 'name', 'optional' => TRUE, 'type' => 'text'), (object) array('name' => 'role', 'type' => 'select', 'label' => $this->h5pF->t("Author's role"), 'default' => 'Author', 'options' => array((object) array('value' => 'Author', 'label' => $this->h5pF->t('Author')), (object) array('value' => 'Editor', 'label' => $this->h5pF->t('Editor')), (object) array('value' => 'Licensee', 'label' => $this->h5pF->t('Licensee')), (object) array('value' => 'Originator', 'label' => $this->h5pF->t('Originator'))))))), (object) array('name' => 'licenseExtras', 'type' => 'text', 'widget' => 'textarea', 'label' => $this->h5pF->t('License Extras'), 'optional' => TRUE, 'description' => $this->h5pF->t('Any additional information about the license')), (object) array('name' => 'changes', 'type' => 'list', 'field' => (object) array('name' => 'change', 'type' => 'group', 'label' => $this->h5pF->t('Changelog'), 'fields' => array((object) array('name' => 'date', 'type' => 'text', 'label' => $this->h5pF->t('Date'), 'optional' => TRUE), (object) array('name' => 'author', 'type' => 'text', 'label' => $this->h5pF->t('Changed by'), 'optional' => TRUE), (object) array('name' => 'log', 'type' => 'text', 'widget' => 'textarea', 'label' => $this->h5pF->t('Description of change'), 'placeholder' => $this->h5pF->t('Photo cropped, text changed, etc.'), 'optional' => TRUE)))), (object) array('name' => 'authorComments', 'type' => 'text', 'widget' => 'textarea', 'label' => $this->h5pF->t('Author comments'), 'description' => $this->h5pF->t('Comments for the editor of the content (This text will not be published as a part of copyright info)'), 'optional' => TRUE), (object) array('name' => 'contentType', 'type' => 'text', 'widget' => 'none'), (object) array('name' => 'defaultLanguage', 'type' => 'text', 'widget' => 'none'))
/h5p/h5plib/v126/joubel/core/h5p.classes.php:54002$cc_versions = array((object) array('value' => '4.0', 'label' => $this->h5pF->t('4.0 International')), (object) array('value' => '3.0', 'label' => $this->h5pF->t('3.0 Unported')), (object) array('value' => '2.5', 'label' => $this->h5pF->t('2.5 Generic')), (object) array('value' => '2.0', 'label' => $this->h5pF->t('2.0 Generic')), (object) array('value' => '1.0', 'label' => $this->h5pF->t('1.0 Generic')))
/h5p/h5plib/v126/joubel/editor/h5peditor.class.php:5651$lib = array('id' => intval($cached_library->id), 'machineName' => $cached_library->machine_name, 'majorVersion' => intval($cached_library->major_version), 'minorVersion' => intval($cached_library->minor_version), 'patchVersion' => intval($cached_library->patch_version), 'h5pMajorVersion' => intval($cached_library->h5p_major_version), 'h5pMinorVersion' => intval($cached_library->h5p_minor_version), 'title' => $cached_library->title, 'summary' => $cached_library->summary, 'description' => $cached_library->description, 'icon' => $cached_library->icon, 'createdAt' => intval($cached_library->created_at), 'updatedAt' => intval($cached_library->updated_at), 'isRecommended' => $cached_library->is_recommended != 0, 'popularity' => intval($cached_library->popularity), 'screenshots' => json_decode($cached_library->screenshots), 'license' => json_decode($cached_library->license), 'owner' => $cached_library->owner, 'installed' => FALSE, 'isUpToDate' => FALSE, 'restricted' => $restricted, 'canInstall' => !$restricted)
/h5p/h5plib/v126/joubel/editor/h5peditor.class.php:6891$local_only_lib = array('id' => (int) $local_lib->id, 'machineName' => $local_lib->machine_name, 'title' => $local_lib->title, 'description' => '', 'majorVersion' => (int) $local_lib->major_version, 'minorVersion' => (int) $local_lib->minor_version, 'patchVersion' => (int) $local_lib->patch_version, 'localMajorVersion' => (int) $local_lib->major_version, 'localMinorVersion' => (int) $local_lib->minor_version, 'localPatchVersion' => (int) $local_lib->patch_version, 'canInstall' => FALSE, 'installed' => TRUE, 'isUpToDate' => TRUE, 'owner' => '', 'restricted' => $can_create_restricted ? FALSE : ($local_lib->restricted ? TRUE : FALSE))
/h5p/h5plib/v126/joubel/editor/h5peditor-ajax.class.php:4951return array('outdated' => $cacheOutdated && $canUpdateOrInstall, 'libraries' => $this->editor->getLatestGlobalLibrariesData( ), 'recentlyUsed' => $this->editor->ajaxInterface->getAuthorsRecentlyUsedLibraries( ), 'apiVersion' => array('major' => H5PCore::$coreApi['majorVersion'], 'minor' => H5PCore::$coreApi['minorVersion']), 'details' => $this->core->h5pF->getMessages('info'))
/h5p/h5plib/v126/joubel/editor/h5peditor.class.php:1101$libraries[$i] = (object) array('uberName' => $lid, 'name' => $devLibs[$lid]['machineName'], 'title' => $devLibs[$lid]['title'], 'majorVersion' => $devLibs[$lid]['majorVersion'], 'minorVersion' => $devLibs[$lid]['minorVersion'], 'runnable' => $devLibs[$lid]['runnable'], 'restricted' => $libraries[$i]->restricted, 'tutorialUrl' => $libraries[$i]->tutorialUrl, 'metadataSettings' => $devLibs[$lid]['metadataSettings'], )
/h5p/h5plib/v126/joubel/core/h5p.classes.php:29481$registrationData = array('uuid' => $uuid, 'platform_name' => $platform['name'], 'platform_version' => $platform['version'], 'h5p_version' => $platform['h5pVersion'], 'disabled' => $fetchingDisabled ? 1 : 0, 'local_id' => hash('crc32', $this->fullPluginPath), 'type' => $this->h5pF->getOption('site_type', 'local'), 'core_api_version' => H5PCore::$coreApi['majorVersion'] . '.' . H5PCore::$coreApi['minorVersion'])
/h5p/h5plib/v126/joubel/core/h5p.classes.php:29941$siteData = array_merge($registrationData, array('num_authors' => $this->h5pF->getNumAuthors( ), 'libraries' => json_encode($this->combineArrayValues(array('patch' => $this->getLibrariesInstalled( ), 'content' => $this->h5pF->getLibraryContentCount( ), 'loaded' => $this->h5pF->getLibraryStats('library'), 'created' => $this->h5pF->getLibraryStats('content create'), 'createdUpload' => $this->h5pF->getLibraryStats('content create upload'), 'deleted' => $this->h5pF->getLibraryStats('content delete'), 'resultViews' => $this->h5pF->getLibraryStats('results content'), 'shortcodeInserts' => $this->h5pF->getLibraryStats('content shortcode insert'))))))
/h5p/h5plib/v126/joubel/core/h5p.classes.php:18591$h5pJson = array('title' => self::revertH5PEditorTextEscape($content['title']), 'language' => (isset($content['language']) && strlen(trim($content['language'])) !== 0) ? $content['language'] : 'und', 'mainLibrary' => $content['library']['name'], 'embedTypes' => $embedTypes)
/h5p/h5plib/v126/joubel/core/h5p.classes.php:22161$content['library'] = array('id' => $content['libraryId'], 'name' => $content['libraryName'], 'majorVersion' => $content['libraryMajorVersion'], 'minorVersion' => $content['libraryMinorVersion'], 'embedTypes' => $content['libraryEmbedTypes'], 'fullscreen' => $content['libraryFullscreen'], )
/h5p/h5plib/v126/joubel/core/h5p.classes.php:36251return array('fullscreen' => $this->h5pF->t('Fullscreen'), 'disableFullscreen' => $this->h5pF->t('Disable fullscreen'), 'download' => $this->h5pF->t('Download'), 'copyrights' => $this->h5pF->t('Rights of use'), 'embed' => $this->h5pF->t('Embed'), 'size' => $this->h5pF->t('Size'), 'showAdvanced' => $this->h5pF->t('Show advanced'), 'hideAdvanced' => $this->h5pF->t('Hide advanced'), 'advancedHelp' => $this->h5pF->t('Include this script on your website if you want dynamic sizing of the embedded content:'), 'copyrightInformation' => $this->h5pF->t('Rights of use'), 'close' => $this->h5pF->t('Close'), 'title' => $this->h5pF->t('Title'), 'author' => $this->h5pF->t('Author'), 'year' => $this->h5pF->t('Year'), 'source' => $this->h5pF->t('Source'), 'license' => $this->h5pF->t('License'), 'thumbnail' => $this->h5pF->t('Thumbnail'), 'noCopyrights' => $this->h5pF->t('No copyright information available for this content.'), 'reuse' => $this->h5pF->t('Reuse'), 'reuseContent' => $this->h5pF->t('Reuse Content'), 'reuseDescription' => $this->h5pF->t('Reuse this content.'), 'downloadDescription' => $this->h5pF->t('Download this content as a H5P file.'), 'copyrightsDescription' => $this->h5pF->t('View copyright information for this content.'), 'embedDescription' => $this->h5pF->t('View the embed code for this content.'), 'h5pDescription' => $this->h5pF->t('Visit H5P.org to check out more cool content.'), 'contentChanged' => $this->h5pF->t('This content has changed since you last used it.'), 'startingOver' => $this->h5pF->t("You'll be starting over."), 'by' => $this->h5pF->t('by'), 'showMore' => $this->h5pF->t('Show more'), 'showLess' => $this->h5pF->t('Show less'), 'subLevel' => $this->h5pF->t('Sublevel'), 'confirmDialogHeader' => $this->h5pF->t('Confirm action'), 'confirmDialogBody' => $this->h5pF->t('Please confirm that you wish to proceed. This action is not reversible.'), 'cancelLabel' => $this->h5pF->t('Cancel'), 'confirmLabel' => $this->h5pF->t('Confirm'), 'licenseU' => $this->h5pF->t('Undisclosed'), 'licenseCCBY' => $this->h5pF->t('Attribution'), 'licenseCCBYSA' => $this->h5pF->t('Attribution-ShareAlike'), 'licenseCCBYND' => $this->h5pF->t('Attribution-NoDerivs'), 'licenseCCBYNC' => $this->h5pF->t('Attribution-NonCommercial'), 'licenseCCBYNCSA' => $this->h5pF->t('Attribution-NonCommercial-ShareAlike'), 'licenseCCBYNCND' => $this->h5pF->t('Attribution-NonCommercial-NoDerivs'), 'licenseCC40' => $this->h5pF->t('4.0 International'), 'licenseCC30' => $this->h5pF->t('3.0 Unported'), 'licenseCC25' => $this->h5pF->t('2.5 Generic'), 'licenseCC20' => $this->h5pF->t('2.0 Generic'), 'licenseCC10' => $this->h5pF->t('1.0 Generic'), 'licenseGPL' => $this->h5pF->t('General Public License'), 'licenseV3' => $this->h5pF->t('Version 3'), 'licenseV2' => $this->h5pF->t('Version 2'), 'licenseV1' => $this->h5pF->t('Version 1'), 'licensePD' => $this->h5pF->t('Public Domain'), 'licenseCC010' => $this->h5pF->t('CC0 1.0 Universal (CC0 1.0) Public Domain Dedication'), 'licensePDM' => $this->h5pF->t('Public Domain Mark'), 'licenseC' => $this->h5pF->t('Copyright'), 'contentType' => $this->h5pF->t('Content Type'), 'licenseExtras' => $this->h5pF->t('License Extras'), 'changes' => $this->h5pF->t('Changelog'), 'contentCopied' => $this->h5pF->t('Content is copied to the clipboard'), 'connectionLost' => $this->h5pF->t('Connection lost. Results will be stored and sent when you regain connection.'), 'connectionReestablished' => $this->h5pF->t('Connection reestablished.'), 'resubmitScores' => $this->h5pF->t('Attempting to submit stored results.'), 'offlineDialogHeader' => $this->h5pF->t('Your connection to the server was lost'), 'offlineDialogBody' => $this->h5pF->t('We were unable to send information about your completion of this task. Please check your internet connection.'), 'offlineDialogRetryMessage' => $this->h5pF->t('Retrying in :num....'), 'offlineDialogRetryButtonLabel' => $this->h5pF->t('Retry now'), 'offlineSuccessfulSubmit' => $this->h5pF->t('Successfully submitted results.'), 'mainTitle' => $this->h5pF->t('Sharing <strong>:title</strong>'), 'editInfoTitle' => $this->h5pF->t('Edit info for <strong>:title</strong>'), 'cancel' => $this->h5pF->t('Cancel'), 'back' => $this->h5pF->t('Back'), 'next' => $this->h5pF->t('Next'), 'reviewInfo' => $this->h5pF->t('Review info'), 'share' => $this->h5pF->t('Share'), 'saveChanges' => $this->h5pF->t('Save changes'), 'registerOnHub' => $this->h5pF->t('Register on the H5P Hub'), 'updateRegistrationOnHub' => $this->h5pF->t('Save account settings'), 'requiredInfo' => $this->h5pF->t('Required Info'), 'optionalInfo' => $this->h5pF->t('Optional Info'), 'reviewAndShare' => $this->h5pF->t('Review & Share'), 'reviewAndSave' => $this->h5pF->t('Review & Save'), 'shared' => $this->h5pF->t('Shared'), 'currentStep' => $this->h5pF->t('Step :step of :total'), 'sharingNote' => $this->h5pF->t('All content details can be edited after sharing'), 'licenseDescription' => $this->h5pF->t('Select a license for your content'), 'licenseVersion' => $this->h5pF->t('License Version'), 'licenseVersionDescription' => $this->h5pF->t('Select a license version'), 'disciplineLabel' => $this->h5pF->t('Disciplines'), 'disciplineDescription' => $this->h5pF->t('You can select multiple disciplines'), 'disciplineLimitReachedMessage' => $this->h5pF->t('You can select up to :numDisciplines disciplines'), 'discipline' => array('searchPlaceholder' => $this->h5pF->t('Type to search for disciplines'), 'in' => $this->h5pF->t('in'), 'dropdownButton' => $this->h5pF->t('Dropdown button'), ), 'removeChip' => $this->h5pF->t('Remove :chip from the list'), 'keywordsPlaceholder' => $this->h5pF->t('Add keywords'), 'keywords' => $this->h5pF->t('Keywords'), 'keywordsDescription' => $this->h5pF->t('You can add multiple keywords separated by commas. Press "Enter" or "Add" to confirm keywords'), 'altText' => $this->h5pF->t('Alt text'), 'reviewMessage' => $this->h5pF->t('Please review the info below before you share'), 'subContentWarning' => $this->h5pF->t('Sub-content (images, questions etc.) will be shared under :license unless otherwise specified in the authoring tool'), 'disciplines' => $this->h5pF->t('Disciplines'), 'shortDescription' => $this->h5pF->t('Short description'), 'longDescription' => $this->h5pF->t('Long description'), 'icon' => $this->h5pF->t('Icon'), 'screenshots' => $this->h5pF->t('Screenshots'), 'helpChoosingLicense' => $this->h5pF->t('Help me choose a license'), 'shareFailed' => $this->h5pF->t('Share failed.'), 'editingFailed' => $this->h5pF->t('Editing failed.'), 'shareTryAgain' => $this->h5pF->t('Something went wrong, please try to share again.'), 'pleaseWait' => $this->h5pF->t('Please wait...'), 'language' => $this->h5pF->t('Language'), 'level' => $this->h5pF->t('Level'), 'shortDescriptionPlaceholder' => $this->h5pF->t('Short description of your content'), 'longDescriptionPlaceholder' => $this->h5pF->t('Long description of your content'), 'description' => $this->h5pF->t('Description'), 'iconDescription' => $this->h5pF->t('640x480px. If not selected content will use category icon'), 'screenshotsDescription' => $this->h5pF->t('Add up to five screenshots of your content'), 'submitted' => $this->h5pF->t('Submitted!'), 'isNowSubmitted' => $this->h5pF->t('Is now submitted to H5P Hub'), 'changeHasBeenSubmitted' => $this->h5pF->t('A change has been submited for'), 'contentAvailable' => $this->h5pF->t('Your content will normally be available in the Hub within one business day.'), 'contentUpdateSoon' => $this->h5pF->t('Your content will update soon'), 'contentLicenseTitle' => $this->h5pF->t('Content License Info'), 'licenseDialogDescription' => $this->h5pF->t('Click on a specific license to get info about proper usage'), 'publisherFieldTitle' => $this->h5pF->t('Publisher'), 'publisherFieldDescription' => $this->h5pF->t('This will display as the "Publisher name" on shared content'), 'emailAddress' => $this->h5pF->t('Email Address'), 'publisherDescription' => $this->h5pF->t('Publisher description'), 'publisherDescriptionText' => $this->h5pF->t('This will be displayed under "Publisher info" on shared content'), 'contactPerson' => $this->h5pF->t('Contact Person'), 'phone' => $this->h5pF->t('Phone'), 'address' => $this->h5pF->t('Address'), 'city' => $this->h5pF->t('City'), 'zip' => $this->h5pF->t('Zip'), 'country' => $this->h5pF->t('Country'), 'logoUploadText' => $this->h5pF->t('Organization logo or avatar'), 'acceptTerms' => $this->h5pF->t('I accept the <a href=":url" target="_blank">terms of use</a>'), 'successfullyRegistred' => $this->h5pF->t('You have successfully registered an account on the H5P Hub'), 'successfullyRegistredDescription' => $this->h5pF->t('You account details can be changed'), 'successfullyUpdated' => $this->h5pF->t('Your H5P Hub account settings have successfully been changed'), 'accountDetailsLinkText' => $this->h5pF->t('here'), 'registrationTitle' => $this->h5pF->t('H5P Hub Registration'), 'registrationFailed' => $this->h5pF->t('An error occurred'), 'registrationFailedDescription' => $this->h5pF->t('We were not able to create an account at this point. Something went wrong. Try again later.'), 'maxLength' => $this->h5pF->t(':length is the maximum number of characters'), 'keywordExists' => $this->h5pF->t('Keyword already exists!'), 'licenseDetails' => $this->h5pF->t('License details'), 'remove' => $this->h5pF->t('Remove'), 'removeImage' => $this->h5pF->t('Remove image'), 'cancelPublishConfirmationDialogTitle' => $this->h5pF->t('Cancel sharing'), 'cancelPublishConfirmationDialogDescription' => $this->h5pF->t('Are you sure you want to cancel the sharing process?'), 'cancelPublishConfirmationDialogCancelButtonText' => $this->h5pF->t('No'), 'cancelPublishConfirmationDialogConfirmButtonText' => $this->h5pF->t('Yes'), 'add' => $this->h5pF->t('Add'), 'age' => $this->h5pF->t('Typical age'), 'ageDescription' => $this->h5pF->t('The target audience of this content. Possible input formats separated by commas: "1,34-45,-50,59-".'), 'invalidAge' => $this->h5pF->t('Invalid input format for Typical age. Possible input formats separated by commas: "1, 34-45, -50, -59-".'), 'contactPersonDescription' => $this->h5pF->t('H5P will reach out to the contact person in case there are any issues with the content shared by the publisher. The contact person\'s name or other information will not be published or shared with third parties'), 'emailAddressDescription' => $this->h5pF->t('The email address will be used by H5P to reach out to the publisher in case of any issues with the content or in case the publisher needs to recover their account. It will not be published or shared with any third parties'), 'copyrightWarning' => $this->h5pF->t('Copyrighted material cannot be shared in the H5P Content Hub. If the content is licensed with a OER friendly license like Creative Commons, please choose the appropriate license. If not this content cannot be shared.'), 'keywordsExits' => $this->h5pF->t('Keywords already exists!'), 'someKeywordsExits' => $this->h5pF->t('Some of these keywords already exist'), 'width' => $this->h5pF->t('width'), 'height' => $this->h5pF->t('height'))
/h5p/h5plib/v126/joubel/core/h5p.classes.php:51542$cc_versions = array((object) array('value' => '4.0', 'label' => $this->h5pF->t('4.0 International')), (object) array('value' => '3.0', 'label' => $this->h5pF->t('3.0 Unported')), (object) array('value' => '2.5', 'label' => $this->h5pF->t('2.5 Generic')), (object) array('value' => '2.0', 'label' => $this->h5pF->t('2.0 Generic')), (object) array('value' => '1.0', 'label' => $this->h5pF->t('1.0 Generic')))
/h5p/h5plib/v126/joubel/core/h5p.classes.php:31731return array(self::DISPLAY_OPTION_FRAME => !($disable & H5PCore::DISABLE_FRAME), self::DISPLAY_OPTION_DOWNLOAD => !($disable & H5PCore::DISABLE_DOWNLOAD), self::DISPLAY_OPTION_EMBED => !($disable & H5PCore::DISABLE_EMBED), self::DISPLAY_OPTION_COPYRIGHT => !($disable & H5PCore::DISABLE_COPYRIGHT), self::DISPLAY_OPTION_ABOUT => !!$this->h5pF->getOption(self::DISPLAY_OPTION_ABOUT, TRUE), )
/h5p/h5plib/v126/joubel/core/h5p.classes.php:32151$input = str_replace(array('æ', 'ø', 'ö', 'ó', 'ô', 'Ò', 'Õ', 'Ý', 'ý', 'ÿ', 'ā', 'ă', 'ą', 'œ', 'å', 'ä', 'á', 'à', 'â', 'ã', 'ç', 'ć', 'ĉ', 'ċ', 'č', 'é', 'è', 'ê', 'ë', 'í', 'ì', 'î', 'ï', 'ú', 'ñ', 'ü', 'ù', 'û', 'ß', 'ď', 'đ', 'ē', 'ĕ', 'ė', 'ę', 'ě', 'ĝ', 'ğ', 'ġ', 'ģ', 'ĥ', 'ħ', 'ĩ', 'ī', 'ĭ', 'į', 'ı', 'ij', 'ĵ', 'ķ', 'ĺ', 'ļ', 'ľ', 'ŀ', 'ł', 'ń', 'ņ', 'ň', 'ʼn', 'ō', 'ŏ', 'ő', 'ŕ', 'ŗ', 'ř', 'ś', 'ŝ', 'ş', 'š', 'ţ', 'ť', 'ŧ', 'ũ', 'ū', 'ŭ', 'ů', 'ű', 'ų', 'ŵ', 'ŷ', 'ź', 'ż', 'ž', 'ſ', 'ƒ', 'ơ', 'ư', 'ǎ', 'ǐ', 'ǒ', 'ǔ', 'ǖ', 'ǘ', 'ǚ', 'ǜ', 'ǻ', 'ǽ', 'ǿ'), array('ae', 'oe', 'o', 'o', 'o', 'oe', 'o', 'o', 'y', 'y', 'y', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'c', 'c', 'c', 'c', 'c', 'e', 'e', 'e', 'e', 'i', 'i', 'i', 'i', 'u', 'n', 'u', 'u', 'u', 'es', 'd', 'd', 'e', 'e', 'e', 'e', 'e', 'g', 'g', 'g', 'g', 'h', 'h', 'i', 'i', 'i', 'i', 'i', 'ij', 'j', 'k', 'l', 'l', 'l', 'l', 'l', 'n', 'n', 'n', 'n', 'o', 'o', 'o', 'r', 'r', 'r', 's', 's', 's', 's', 't', 't', 't', 'u', 'u', 'u', 'u', 'u', 'u', 'w', 'y', 'z', 'z', 'z', 's', 'f', 'o', 'u', 'a', 'i', 'o', 'u', 'u', 'u', 'u', 'u', 'a', 'ae', 'oe'), $input)
/h5p/tests/generator/lib.php:2011return (object) ['h5pcontent' => (object) array('h5pid' => $h5p, 'contentdependencies' => array($mainlib, $lib1, $lib2, $lib3, $lib4)), 'mainlib' => (object) array('data' => $mainlib, 'dependencies' => array($lib1, $lib2, $lib3)), 'lib1' => (object) array('data' => $lib1, 'dependencies' => array($lib2, $lib3, $lib4)), 'lib2' => (object) array('data' => $lib2, 'dependencies' => array( )), 'lib3' => (object) array('data' => $lib3, 'dependencies' => array($lib5)), 'lib4' => (object) array('data' => $lib4, 'dependencies' => array( )), 'lib5' => (object) array('data' => $lib5, 'dependencies' => array( )), ]
/h5p/tests/generator/lib.php:1031$lib = ['title' => 'Test lib', 'description' => 'Test library description', 'majorVersion' => $majorversion, 'minorVersion' => $minorversion, 'patchVersion' => 2, 'machineName' => $machinename, 'preloadedJs' => [['path' => 'scripts' . '/' . 'testlib.min.js']], 'preloadedCss' => [['path' => 'styles' . '/' . 'testlib.min.css']], 'uploadDirectory' => $uploaddirectory, 'libraryId' => $libraryid]
/h5p/tests/api_test.php:10361$libraries = ['H5P.Lib1.1' => $generator->create_library_record('H5P.Lib1', 'Lib1', 1, 1, 0, '', null, null, null, false), 'H5P.Lib1.2' => $generator->create_library_record('H5P.Lib1', 'Lib1', 1, 2), 'H5P.Lib2.1' => $generator->create_library_record('H5P.Lib2', 'Lib2', 2, 1), 'H5P.Lib2.2' => $generator->create_library_record('H5P.Lib2', 'Lib2', 2, 2), 'H5P.Lib3.1' => $generator->create_library_record('H5P.Lib3', 'Lib3', 3, 1, 0, '', null, null, null, false), 'H5P.Lib3.2' => $generator->create_library_record('H5P.Lib3', 'Lib3', 3, 2, 0, '', null, null, null, false), 'H5P.Lib4.1' => $generator->create_library_record('H5P.Lib4', 'Lib4', 4, 1, 0, '', null, null, null, false), 'H5P.Lib5.1' => $generator->create_library_record('H5P.Lib5', 'Lib5', 5, 1), ]
/h5p/tests/api_test.php:3711$originalurl = \moodle_url::make_pluginfile_url($originalfile->get_contextid( ), $originalfile->get_component( ), $originalfile->get_filearea( ), $originalfile->get_itemid( ), $originalfile->get_filepath( ), $originalfile->get_filename( ))
/h5p/h5plib/v126/joubel/core/h5p-event-base.class.php:1511return array('created_at' => $this->time, 'type' => $this->type, 'sub_type' => empty($this->sub_type) ? '' : $this->sub_type, 'content_id' => empty($this->content_id) ? 0 : $this->content_id, 'content_title' => empty($this->content_title) ? '' : $this->content_title, 'library_name' => empty($this->library_name) ? '' : $this->library_name, 'library_version' => empty($this->library_version) ? '' : $this->library_version)
/h5p/tests/generator/lib.php:4251$library = ['machinename' => $contenttype->id, 'majorversion' => $contenttype->version->major, 'minorversion' => $contenttype->version->minor, 'patchversion' => $contenttype->version->patch, 'runnable' => 1, 'coremajor' => $contenttype->coreApiVersionNeeded->major, 'coreminor' => $contenttype->coreApiVersionNeeded->minor]
/h5p/tests/generator/lib.php:3361return $DB->insert_record('h5p', ['jsoncontent' => $jsoncontent, 'displayoptions' => 8, 'mainlibraryid' => $mainlibid, 'timecreated' => time( ), 'timemodified' => time( ), 'filtered' => $filtered, 'pathnamehash' => $pathnamehash, 'contenthash' => $contenthash, ])
/h5p/tests/generator/lib.php:2541$content = ['machinename' => $machinename, 'title' => $title, 'majorversion' => $majorversion, 'minorversion' => $minorversion, 'patchversion' => $patchversion, 'runnable' => $runnable, 'fullscreen' => 1, 'preloadedjs' => 'js/example.js', 'preloadedcss' => 'css/example.css', 'droplibrarycss' => '', 'semantics' => $semantics, 'addto' => $addto, 'tutorial' => $tutorial, 'example' => $example, 'enabled' => $enabled, ]
/h5p/tests/framework_test.php:18242$expected[$dependency->machinename] = array('libraryId' => $dependency->id, 'machineName' => $dependency->machinename, 'majorVersion' => $dependency->majorversion, 'minorVersion' => $dependency->minorversion, 'patchVersion' => $dependency->patchversion, 'preloadedCss' => $dependency->preloadedcss, 'preloadedJs' => $dependency->preloadedjs, 'dropCss' => '0', 'dependencyType' => 'preloaded')
/h5p/tests/framework_test.php:17701$expected = array('id' => $h5p->id, 'params' => $h5p->jsoncontent, 'embedType' => 'iframe', 'disable' => $h5p->displayoptions, 'title' => $mainlibrary->title, 'slug' => H5PCore::slugify($mainlibrary->title) . '-' . $h5p->id, 'filtered' => $h5p->filtered, 'libraryId' => $mainlibrary->id, 'libraryName' => $mainlibrary->machinename, 'libraryMajorVersion' => $mainlibrary->majorversion, 'libraryMinorVersion' => $mainlibrary->minorversion, 'libraryEmbedTypes' => $mainlibrary->embedtypes, 'libraryFullscreen' => $mainlibrary->fullscreen, 'metadata' => '', 'pathnamehash' => $h5p->pathnamehash)
/h5p/tests/framework_test.php:15711return ['Library with semantics' => [[['Library1', 'Lib1', 1, 1, 2, $semantics], ], ['machinename' => 'Library1', 'majorversion' => 1, 'minorversion' => 1], $semantics, ], 'Library without semantics' => [[['Library2', 'Lib2', 1, 2, 2, ''], ], ['machinename' => 'Library2', 'majorversion' => 1, 'minorversion' => 2], '', ]]
/h5p/tests/framework_test.php:14941$expected = array('libraryId' => $library1->id, 'title' => $library1->title, 'machineName' => $library1->machinename, 'majorVersion' => $library1->majorversion, 'minorVersion' => $library1->minorversion, 'patchVersion' => $library1->patchversion, 'runnable' => $library1->runnable, 'fullscreen' => $library1->fullscreen, 'embedTypes' => $library1->embedtypes, 'preloadedJs' => $library1->preloadedjs, 'preloadedCss' => $library1->preloadedcss, 'dropLibraryCss' => $library1->droplibrarycss, 'semantics' => $library1->semantics, 'preloadedDependencies' => $preloadeddependencies, 'dynamicDependencies' => $dynamicdependencies)
/h5p/tests/api_test.php:3551$originalfilerecord = ['contextid' => $originalfile->get_contextid( ), 'component' => $originalfile->get_component( ), 'filearea' => $originalfile->get_filearea( ), 'itemid' => $originalfile->get_itemid( ), 'filepath' => $originalfile->get_filepath( ), 'filename' => $originalfile->get_filename( ), ]
/h5p/tests/framework_test.php:19031$expected = array('Library5' => array('libraryId' => $library5->id, 'machineName' => $library5->machinename, 'majorVersion' => $library5->majorversion, 'minorVersion' => $library5->minorversion, 'patchVersion' => $library5->patchversion, 'preloadedCss' => $library5->preloadedcss, 'preloadedJs' => $library5->preloadedjs, 'dropCss' => '0', 'dependencyType' => 'dynamic'))
/h5p/tests/framework_test.php:18832$expected[$dependency->machinename] = array('libraryId' => $dependency->id, 'machineName' => $dependency->machinename, 'majorVersion' => $dependency->majorversion, 'minorVersion' => $dependency->minorversion, 'patchVersion' => $dependency->patchversion, 'preloadedCss' => $dependency->preloadedcss, 'preloadedJs' => $dependency->preloadedjs, 'dropCss' => '0', 'dependencyType' => 'preloaded')
/h5p/tests/framework_test.php:18371$expected = array_merge($expected, array('Library5' => array('libraryId' => $library5->id, 'machineName' => $library5->machinename, 'majorVersion' => $library5->majorversion, 'minorVersion' => $library5->minorversion, 'patchVersion' => $library5->patchversion, 'preloadedCss' => $library5->preloadedcss, 'preloadedJs' => $library5->preloadedjs, 'dropCss' => '0', 'dependencyType' => 'dynamic')))
/tag/classes/reportbuilder/local/entities/instance.php:1931$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$instancealias}.timecreated")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/tag/classes/reportbuilder/local/entities/instance.php:2051$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$instancealias}.timemodified")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/tag/classes/reportbuilder/local/entities/instance.php:2301$filters[] = (new filter(select::class, 'area', new lang_string('tagarea', 'core_tag'), $this->get_entity_name( ), $DB->sql_concat("{$instancealias}.component", "'/'", "{$instancealias}.itemtype")))->add_joins($this->get_joins( ))->set_options_callback(static function ( ) : array { /**/ } )
/tag/classes/reportbuilder/local/entities/instance.php:2521$filters[] = (new filter(date::class, 'timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( ), "{$instancealias}.timecreated"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/tag/classes/reportbuilder/local/entities/instance.php:2681$filters[] = (new filter(date::class, 'timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( ), "{$instancealias}.timemodified"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/tag/classes/reportbuilder/local/entities/tag.php:931$columns[] = (new column('name', new lang_string('name', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tagalias}.rawname, {$tagalias}.name")->set_is_sortable(true)->add_callback(static function ($rawname, stdClass $tag) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/tag.php:1101$columns[] = (new column('namewithlink', new lang_string('namewithlink', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tagalias}.rawname, {$tagalias}.name, {$tagalias}.tagcollid")->set_is_sortable(true)->add_callback(static function ($rawname, stdClass $tag) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/tag.php:1321$columns[] = (new column('description', new lang_string('tagdescription', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_fields("{$tagalias}.descriptionformat, {$tagalias}.id")->add_callback(static function (?string $description, stdClass $tag) : string { /**/ } )
/tag/classes/collection.php:1981$tagcoll = (object) array('name' => $data->name, 'isdefault' => 0, 'component' => !empty($data->component) ? $data->component : null, 'sortorder' => count($tagcolls), 'searchable' => isset($data->searchable) ? (int) (bool) $data->searchable : 1, 'customurl' => !empty($data->customurl) ? $data->customurl : null, )
/tag/classes/privacy/provider.php:2571$tag = (object) ['id' => $record->id, 'userid' => transform::user($record->userid), 'name' => $record->name, 'rawname' => $record->rawname, 'isstandard' => transform::yesno($record->isstandard), 'description' => writer::with_context($context)->rewrite_pluginfile_urls($subcontext, 'tag', 'description', $record->id, strval($record->description)), 'descriptionformat' => $record->descriptionformat, 'flag' => $record->flag, 'timemodified' => transform::datetime($record->timemodified), ]
/tag/classes/reportbuilder/local/entities/instance.php:951$columns[] = (new column('area', new lang_string('tagarea', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$instancealias}.component, {$instancealias}.itemtype")->set_is_sortable(true, ["{$instancealias}.component", "{$instancealias}.itemtype"])->add_callback(static function ($component, stdClass $area) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/instance.php:1131$columns[] = (new column('context', new lang_string('context'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_join("LEFT JOIN {context} {$contextalias} ON {$contextalias}.id = {$instancealias}.contextid")->add_fields("{$instancealias}.contextid, " . context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->set_is_deprecated('See \'context:name\' for replacement')->add_callback(static function ($contextid, stdClass $context) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/instance.php:1351$columns[] = (new column('contexturl', new lang_string('contexturl'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_join("LEFT JOIN {context} {$contextalias} ON {$contextalias}.id = {$instancealias}.contextid")->add_fields("{$instancealias}.contextid, " . context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->set_is_deprecated('See \'context:link\' for replacement')->add_callback(static function ($contextid, stdClass $context) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/instance.php:1591$columns[] = (new column('component', new lang_string('component', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$instancealias}.component")->set_is_sortable(true)
/tag/classes/reportbuilder/local/entities/instance.php:1701$columns[] = (new column('itemtype', new lang_string('itemtype', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$instancealias}.itemtype")->set_is_sortable(true)
/tag/classes/reportbuilder/local/entities/instance.php:1811$columns[] = (new column('itemid', new lang_string('itemid', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$instancealias}.itemid")->set_is_sortable(true)->set_disabled_aggregation_all( )
/tag/classes/tag.php:6831$sql = "SELECT ti.id AS taginstanceid, tg.id, tg.isstandard, tg.name, tg.rawname, tg.flag, tg.tagcollid, ti.ordering, ti.contextid AS taginstancecontextid, ti.itemid FROM {tag_instance} ti JOIN {tag} tg ON tg.id = ti.tagid WHERE ti.itemtype = :itemtype AND ti.itemid $idsql " . ($component ? "AND ti.component = :component " : "") . ($tiuserid ? "AND ti.tiuserid = :tiuserid " : "") . (($standardonly == self::STANDARD_ONLY) ? "AND tg.isstandard = 1 " : "") . (($standardonly == self::NOT_STANDARD_ONLY) ? "AND tg.isstandard = 0 " : "") . "ORDER BY ti.ordering ASC, ti.id"
/tag/classes/external.php:6591return new external_single_structure(array('tags' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TAG, 'Tag name.'), 'viewurl' => new external_value(PARAM_RAW, 'URL to view the tag index.'), 'flag' => new external_value(PARAM_BOOL, 'Whether the tag is flagged as inappropriate.', VALUE_OPTIONAL), 'isstandard' => new external_value(PARAM_BOOL, 'Whether is a standard tag or not.', VALUE_OPTIONAL), 'count' => new external_value(PARAM_INT, 'Number of tag instances.', VALUE_OPTIONAL), 'size' => new external_value(PARAM_INT, 'Proportional size to display the tag.', VALUE_OPTIONAL), ), 'Tags.')), 'tagscount' => new external_value(PARAM_INT, 'Number of tags returned.'), 'totalcount' => new external_value(PARAM_INT, 'Total count of tags.'), 'warnings' => new external_warnings( ), ))
/tag/classes/tag.php:11251$event = \core\event\tag_flagged::create(array('objectid' => $this->id, 'relateduserid' => $this->userid, 'context' => context_system::instance( ), 'other' => array('name' => $this->name, 'rawname' => $this->rawname)))
/tag/classes/tag.php:10981$event = \core\event\tag_updated::create(array('objectid' => $this->id, 'relateduserid' => $this->userid, 'context' => context_system::instance( ), 'other' => array('name' => $this->name, 'rawname' => $this->rawname)))
/tag/classes/tag.php:15771$event = \core\event\tag_deleted::create(array('objectid' => $tag->id, 'relateduserid' => $tag->userid, 'context' => $context, 'other' => array('name' => $tag->name, 'rawname' => $tag->rawname)))
/tag/classes/tag.php:11561$event = \core\event\tag_unflagged::create(array('objectid' => $this->id, 'relateduserid' => $this->userid, 'context' => context_system::instance( ), 'other' => array('name' => $this->name, 'rawname' => $this->rawname)))
/tag/classes/manage_table.php:2771$checkbox = new checkbox_toggleall('tags-manage', false, ['id' => 'tagselect' . $tag->id, 'name' => 'tagschecked[]', 'value' => $tag->id, 'checked' => false, 'label' => get_string('selecttag', 'tag', $tag->rawname), 'labelclasses' => 'accesshide', ])
/tag/classes/manage_table.php:681$tableheaders = array($OUTPUT->render($checkboxall), get_string('name', 'tag'), get_string('owner', 'tag'), get_string('count', 'tag'), get_string('flag', 'tag'), get_string('timemodified', 'tag'), get_string('standardtag', 'tag'), '')
/tag/classes/external.php:2361return new external_single_structure(array('tags' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'tag id'), 'tagcollid' => new external_value(PARAM_INT, 'tag collection id'), 'name' => new external_value(PARAM_TAG, 'name'), 'rawname' => new external_value(PARAM_RAW, 'tag raw name (may contain capital letters)'), 'description' => new external_value(PARAM_RAW, 'tag description'), 'descriptionformat' => new external_format_value('description'), 'flag' => new external_value(PARAM_INT, 'flag', VALUE_OPTIONAL), 'official' => new external_value(PARAM_INT, 'whether this flag is standard (deprecated, use isstandard)', VALUE_OPTIONAL), 'isstandard' => new external_value(PARAM_INT, 'whether this flag is standard', VALUE_OPTIONAL), 'viewurl' => new external_value(PARAM_URL, 'URL to view'), ), 'information about one tag')), 'warnings' => new external_warnings( )))
/tag/classes/external.php:401return new external_function_parameters(array('tags' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'tag id'), 'rawname' => new external_value(PARAM_RAW, 'tag raw name (may contain capital letters)', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'tag description', VALUE_OPTIONAL), 'descriptionformat' => new external_value(PARAM_INT, 'tag description format', VALUE_OPTIONAL), 'flag' => new external_value(PARAM_INT, 'flag', VALUE_OPTIONAL), 'official' => new external_value(PARAM_INT, '(deprecated, use isstandard) whether this flag is standard', VALUE_OPTIONAL), 'isstandard' => new external_value(PARAM_INT, 'whether this flag is standard', VALUE_OPTIONAL), )))))
/tag/classes/external.php:3161return new external_single_structure(array('tagid' => new external_value(PARAM_INT, 'tag id'), 'ta' => new external_value(PARAM_INT, 'tag area id'), 'component' => new external_value(PARAM_COMPONENT, 'component'), 'itemtype' => new external_value(PARAM_NOTAGS, 'itemtype'), 'nextpageurl' => new external_value(PARAM_URL, 'URL for the next page', VALUE_OPTIONAL), 'prevpageurl' => new external_value(PARAM_URL, 'URL for the next page', VALUE_OPTIONAL), 'exclusiveurl' => new external_value(PARAM_URL, 'URL for exclusive link', VALUE_OPTIONAL), 'exclusivetext' => new external_value(PARAM_TEXT, 'text for exclusive link', VALUE_OPTIONAL), 'title' => new external_value(PARAM_RAW, 'title'), 'content' => new external_value(PARAM_RAW, 'title'), 'hascontent' => new external_value(PARAM_INT, 'whether the content is present'), 'anchor' => new external_value(PARAM_TEXT, 'name of anchor', VALUE_OPTIONAL), ), 'tag index')
/tag/classes/external.php:2641return new external_function_parameters(array('tagindex' => new external_single_structure(array('tag' => new external_value(PARAM_TAG, 'tag name'), 'tc' => new external_value(PARAM_INT, 'tag collection id'), 'ta' => new external_value(PARAM_INT, 'tag area id'), 'excl' => new external_value(PARAM_BOOL, 'exlusive mode for this tag area', VALUE_OPTIONAL, 0), 'from' => new external_value(PARAM_INT, 'context id where the link was displayed', VALUE_OPTIONAL, 0), 'ctx' => new external_value(PARAM_INT, 'context id where to search for items', VALUE_OPTIONAL, 0), 'rec' => new external_value(PARAM_INT, 'search in the context recursive', VALUE_OPTIONAL, 1), 'page' => new external_value(PARAM_INT, 'page number (0-based)', VALUE_OPTIONAL, 0), ), 'parameters')))
/tag/classes/external.php:3711$params = $tagindex['tagindex'] + array('id' => 0, 'tag' => '', 'tc' => 0, 'ta' => 0, 'excl' => 0, 'from' => 0, 'ctx' => 0, 'rec' => 1, 'page' => 0, )
/tag/classes/external.php:3421return new external_function_parameters(array('tagindex' => new external_single_structure(array('id' => new external_value(PARAM_INT, 'tag id', VALUE_OPTIONAL, 0), 'tag' => new external_value(PARAM_TAG, 'tag name', VALUE_OPTIONAL, ''), 'tc' => new external_value(PARAM_INT, 'tag collection id', VALUE_OPTIONAL, 0), 'ta' => new external_value(PARAM_INT, 'tag area id', VALUE_OPTIONAL, 0), 'excl' => new external_value(PARAM_BOOL, 'exlusive mode for this tag area', VALUE_OPTIONAL, 0), 'from' => new external_value(PARAM_INT, 'context id where the link was displayed', VALUE_OPTIONAL, 0), 'ctx' => new external_value(PARAM_INT, 'context id where to search for items', VALUE_OPTIONAL, 0), 'rec' => new external_value(PARAM_INT, 'search in the context recursive', VALUE_OPTIONAL, 1), 'page' => new external_value(PARAM_INT, 'page number (0-based)', VALUE_OPTIONAL, 0), ), 'parameters')))
/tag/classes/external.php:6211$params = self::validate_parameters(self::get_tag_cloud_parameters( ), array('tagcollid' => $tagcollid, 'isstandard' => $isstandard, 'limit' => $limit, 'sort' => $sort, 'search' => $search, 'fromctx' => $fromctx, 'ctx' => $ctx, 'rec' => $rec, ))
/tag/classes/external.php:5851return new external_function_parameters(array('tagcollid' => new external_value(PARAM_INT, 'Tag collection id.', VALUE_DEFAULT, 0), 'isstandard' => new external_value(PARAM_BOOL, 'Whether to return only standard tags.', VALUE_DEFAULT, false), 'limit' => new external_value(PARAM_INT, 'Maximum number of tags to retrieve.', VALUE_DEFAULT, 150), 'sort' => new external_value(PARAM_ALPHA, 'Sort order for display (id, name, rawname, count, flag, isstandard, tagcollid).', VALUE_DEFAULT, 'name'), 'search' => new external_value(PARAM_RAW, 'Search string.', VALUE_DEFAULT, ''), 'fromctx' => new external_value(PARAM_INT, 'Context id where this tag cloud is displayed.', VALUE_DEFAULT, 0), 'ctx' => new external_value(PARAM_INT, 'Only retrieve tag instances in this context.', VALUE_DEFAULT, 0), 'rec' => new external_value(PARAM_INT, 'Retrieve tag instances in the $ctx context and it\'s children.', VALUE_DEFAULT, 1), ))
/badges/classes/reportbuilder/local/entities/badge.php:2431$columns[] = (new column('expiry', new lang_string('expirydate', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$badgealias}.expiredate, {$badgealias}.expireperiod, {$badgealias}.id")->set_is_sortable(true, ["{$badgealias}.expiredate", "{$badgealias}.expireperiod"])->set_disabled_aggregation_all( )->add_callback(static function (?int $expiredate, stdClass $badge) : string { /**/ } )
/badges/classes/reportbuilder/local/entities/badge.php:2671$columns[] = (new column($imageauthorfield, new lang_string($imageauthorfield, 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.{$imageauthorfield}")->set_is_sortable(true)
/badges/classes/reportbuilder/local/entities/badge.php:2141$columns[] = (new column('version', new lang_string('version', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.version")->set_is_sortable(true)
/badges/classes/reportbuilder/local/entities/badge.php:2251$columns[] = (new column('status', new lang_string('status', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.status")->set_is_sortable(true)->add_callback(static function ($status) : string { /**/ } )
/badges/classes/reportbuilder/local/entities/badge.php:1691$columns[] = (new column('image', new lang_string('badgeimage', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join("LEFT JOIN {context} {$contextalias} ON {$contextalias}.contextlevel = " . CONTEXT_COURSE . " AND {$contextalias}.instanceid = {$badgealias}.courseid")->set_type(column::TYPE_INTEGER)->add_fields("{$badgealias}.id, {$badgealias}.type, {$badgealias}.courseid")->add_field($DB->sql_cast_to_char("{$badgealias}.imagecaption"), 'imagecaption')->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_disabled_aggregation_all( )->add_callback(static function (?int $badgeid, stdClass $badge) : string { /**/ } )
/badges/classes/reportbuilder/local/entities/badge.php:1991$columns[] = (new column('language', new lang_string('language'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.language")->set_is_sortable(true)->add_callback(static function ($language) : string { /**/ } )
/badges/classes/reportbuilder/local/entities/badge.php:1381$columns[] = (new column('description', new lang_string('description', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')
/badges/classes/reportbuilder/local/entities/badge.php:1481$columns[] = (new column('criteria', new lang_string('bcriteria', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.id")->set_disabled_aggregation_all( )->add_callback(static function ($badgeid) : string { /**/ } )
/badges/classes/reportbuilder/local/entities/badge.php:1041$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$badgealias}.name")->set_is_sortable(true)
/badges/classes/reportbuilder/local/entities/badge.php:1151$columns[] = (new column('namewithlink', new lang_string('namewithlink', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$badgealias}.name, {$badgealias}.id")->set_is_sortable(true)->add_callback(static function (?string $value, stdClass $row) : string { /**/ } )
/badges/classes/privacy/provider.php:4531$carry = ['name' => $badge->name, 'version' => $badge->version, 'language' => $badge->language, 'imageauthorname' => $badge->imageauthorname, 'imageauthoremail' => $badge->imageauthoremail, 'imageauthorurl' => $badge->imageauthorurl, 'imagecaption' => $badge->imagecaption, 'issued' => null, 'manual_award' => null, 'criteria_met' => [ ], 'endorsement' => null, ]
/badges/classes/privacy/provider.php:4731$carry['endorsement'] = ['issuername' => $record->beissuername, 'issuerurl' => $record->beissuerurl, 'issueremail' => $record->beissueremail, 'claimid' => $record->beclaimid, 'claimcomment' => $record->beclaimcomment, 'dateissued' => $record->bedateissued ? transform::datetime($record->bedateissued) : null]
/badges/classes/external.php:571return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'Badges only for this user id, empty for current user', VALUE_DEFAULT, 0), 'courseid' => new external_value(PARAM_INT, 'Filter badges by course id, empty all the courses', VALUE_DEFAULT, 0), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page', VALUE_DEFAULT, 0), 'search' => new external_value(PARAM_RAW, 'A simple string to search for', VALUE_DEFAULT, ''), 'onlypublic' => new external_value(PARAM_BOOL, 'Whether to return only public badges', VALUE_DEFAULT, false), ))
/badges/classes/privacy/provider.php:3131$carry[] = ['name' => $record->name, 'created_on' => transform::datetime($record->timecreated), 'created_by_you' => transform::yesno($record->usercreated == $userid), 'modified_on' => transform::datetime($record->timemodified), 'modified_by_you' => transform::yesno($record->usermodified == $userid), ]
/badges/renderer.php:10181$delete = $this->output->action_icon(new moodle_url('/badges/alignment_action.php', ['id' => $currentbadge->id, 'alignmentid' => $item->id, 'sesskey' => sesskey( ), 'action' => 'remove']), new pix_icon('t/delete', get_string('delete')))
/badges/renderer.php:10271$edit = $this->output->action_icon(new moodle_url('alignment.php', array('id' => $currentbadge->id, 'alignmentid' => $item->id, 'action' => 'edit')), new pix_icon('t/edit', get_string('edit')))
/badges/renderer.php:9741$action = $this->output->action_icon(new moodle_url('/badges/related_action.php', ['badgeid' => $related->currentbadgeid, 'relatedid' => $badge->id, 'sesskey' => sesskey( ), 'action' => 'remove']), new pix_icon('t/delete', get_string('delete')))
/badges/renderer.php:6911$output .= $this->output->single_select(new moodle_url('/badges/criteria_settings.php', array('badgeid' => $badge->id, 'add' => true)), 'type', $select, '', array('' => 'choosedots'), null, array('label' => get_string('addbadgecriteria', 'badges')))
/badges/renderer.php:5831$action = $this->output->single_button(new moodle_url('/badges/action.php', array('id' => $badge->id, 'activate' => 1, 'sesskey' => sesskey( ), 'return' => $this->page->url->out_as_local_url(false))), get_string('activate', 'badges'), 'POST', array('class' => 'activatebadge'))
/badges/renderer.php:5781$action = $this->output->single_button(new moodle_url('/badges/action.php', array('id' => $badge->id, 'lock' => 1, 'sesskey' => sesskey( ), 'return' => $this->page->url->out_as_local_url(false))), get_string('deactivate', 'badges'), 'POST', array('class' => 'activatebadge'))
/tag/classes/output/taglist.php:1121return (object) array('tags' => array_values($this->tags), 'label' => $this->label, 'accesshidelabel' => $this->accesshidelabel, 'tagscount' => $cnt, 'overflow' => ($this->limit && $cnt > $this->limit) ? 1 : 0, 'classes' => $this->classes, )
/tag/classes/reportbuilder/local/entities/collection.php:1391$columns[] = (new column('customurl', new lang_string('url'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$collectionalias}.customurl")->set_is_sortable(true)
/tag/classes/reportbuilder/local/entities/collection.php:1271$columns[] = (new column('searchable', new lang_string('searchable', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$collectionalias}.searchable")->set_is_sortable(true)->add_callback([format::class, 'boolean_as_text'])
/tag/classes/reportbuilder/local/entities/collection.php:1161$columns[] = (new column('component', new lang_string('component', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$collectionalias}.component")->set_is_sortable(true)
/tag/classes/reportbuilder/local/entities/collection.php:1041$columns[] = (new column('default', new lang_string('defautltagcoll', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$collectionalias}.isdefault")->set_is_sortable(true)->add_callback([format::class, 'boolean_as_text'])
/tag/classes/reportbuilder/local/entities/collection.php:891$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$collectionalias}.name, {$collectionalias}.component, {$collectionalias}.isdefault, {$collectionalias}.id")->set_is_sortable(true)->add_callback(static function (?string $name, stdClass $collection) : string { /**/ } )
/tag/classes/reportbuilder/local/entities/tag.php:2551$filters[] = (new filter(date::class, 'timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( ), "{$tagalias}.timemodified"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/tag/classes/reportbuilder/local/entities/tag.php:2351$filters[] = (new filter(boolean_select::class, 'flagged', new lang_string('flagged', 'core_tag'), $this->get_entity_name( ), "CASE WHEN {$tagalias}.flag > 0 THEN 1 ELSE {$tagalias}.flag END"))->add_joins($this->get_joins( ))
/tag/classes/reportbuilder/local/entities/tag.php:1921$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$tagalias}.timemodified")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/tag/classes/reportbuilder/local/entities/tag.php:1811$columns[] = (new column('flagcount', new lang_string('flagcount', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$tagalias}.flag")->set_is_sortable(true)
/tag/classes/reportbuilder/local/entities/tag.php:1691$columns[] = (new column('flagged', new lang_string('flagged', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_field("CASE WHEN {$tagalias}.flag > 0 THEN 1 ELSE {$tagalias}.flag END", 'flag')->set_is_sortable(true, ["{$tagalias}.flag"])->add_callback([format::class, 'boolean_as_text'])
/tag/classes/reportbuilder/local/entities/tag.php:1571$columns[] = (new column('standard', new lang_string('standardtag', 'core_tag'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$tagalias}.isstandard")->set_is_sortable(true)->add_callback([format::class, 'boolean_as_text'])
/mod/workshop/classes/external.php:3331return new external_single_structure(array('userplan' => new external_single_structure(array('phases' => new external_multiple_structure(new external_single_structure(array('code' => new external_value(PARAM_INT, 'Phase code.'), 'title' => new external_value(PARAM_NOTAGS, 'Phase title.'), 'active' => new external_value(PARAM_BOOL, 'Whether is the active task.'), 'tasks' => new external_multiple_structure(new external_single_structure(array('code' => new external_value(PARAM_ALPHA, 'Task code.'), 'title' => new external_value(PARAM_RAW, 'Task title.'), 'link' => new external_value(PARAM_URL, 'Link to task.'), 'details' => new external_value(PARAM_RAW, 'Task details.', VALUE_OPTIONAL), 'completed' => new external_value(PARAM_NOTAGS, 'Completion information (maybe empty, maybe a boolean or generic info.'), ))), 'actions' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_ALPHA, 'Action type.', VALUE_OPTIONAL), 'label' => new external_value(PARAM_RAW, 'Action label.', VALUE_OPTIONAL), 'url' => new external_value(PARAM_URL, 'Link to action.'), 'method' => new external_value(PARAM_ALPHA, 'Get or post.', VALUE_OPTIONAL), ))), ))), 'examples' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Example submission id.'), 'title' => new external_value(PARAM_RAW, 'Example submission title.'), 'assessmentid' => new external_value(PARAM_INT, 'Example submission assessment id.'), 'grade' => new external_value(PARAM_FLOAT, 'The submission grade.'), 'gradinggrade' => new external_value(PARAM_FLOAT, 'The assessment grade.'), ))), )), 'warnings' => new external_warnings( ), ))
/mod/workshop/classes/external.php:4471return new external_function_parameters(array('workshopid' => new external_value(PARAM_INT, 'Workshop id'), 'title' => new external_value(PARAM_TEXT, 'Submission title'), 'content' => new external_value(PARAM_RAW, 'Submission text content', VALUE_DEFAULT, ''), 'contentformat' => new external_value(PARAM_INT, 'The format used for the content', VALUE_DEFAULT, FORMAT_MOODLE), 'inlineattachmentsid' => new external_value(PARAM_INT, 'The draft file area id for inline attachments in the content', VALUE_DEFAULT, 0), 'attachmentsid' => new external_value(PARAM_INT, 'The draft file area id for attachments', VALUE_DEFAULT, 0), ))
/mod/workshop/classes/external.php:5601return new external_function_parameters(array('submissionid' => new external_value(PARAM_INT, 'Submission id'), 'title' => new external_value(PARAM_TEXT, 'Submission title'), 'content' => new external_value(PARAM_RAW, 'Submission text content', VALUE_DEFAULT, ''), 'contentformat' => new external_value(PARAM_INT, 'The format used for the content', VALUE_DEFAULT, FORMAT_MOODLE), 'inlineattachmentsid' => new external_value(PARAM_INT, 'The draft file area id for inline attachments in the content', VALUE_DEFAULT, 0), 'attachmentsid' => new external_value(PARAM_INT, 'The draft file area id for attachments', VALUE_DEFAULT, 0), ))
/mod/workshop/classes/external.php:7821return new external_function_parameters(array('workshopid' => new external_value(PARAM_INT, 'Workshop instance id.'), 'userid' => new external_value(PARAM_INT, 'Get submissions done by this user. Use 0 or empty for the current user', VALUE_DEFAULT, 0), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group. It will return submissions done by users in the given group.', VALUE_DEFAULT, 0), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page.', VALUE_DEFAULT, 0), ))
/mod/workshop/form/numerrors/tests/privacy/provider_test.php:911$this->dim1 = $DB->insert_record('workshopform_numerrors', ['workshopid' => $this->workshop11->id, 'sort' => 1, 'description' => 'Assertion 1 description', 'descriptionformat' => FORMAT_MARKDOWN, 'descriptiontrust' => 0, 'grade0' => 'No', 'grade1' => 'Yes', 'weight' => 1, ])
/mod/workshop/form/numerrors/tests/privacy/provider_test.php:1021$this->dim2 = $DB->insert_record('workshopform_numerrors', ['workshopid' => $this->workshop11->id, 'sort' => 2, 'description' => 'Assertion 2 description', 'descriptionformat' => FORMAT_MARKDOWN, 'descriptiontrust' => 0, 'grade0' => 'Missing', 'grade1' => 'Present', 'weight' => 1, ])
/mod/workshop/form/rubric/classes/privacy/provider.php:921$criteria[$record->id] = (object) ['description' => $writer->rewrite_pluginfile_urls($subcontext, 'workshopform_rubric', 'description', $record->id, $record->description), 'descriptionformat' => $record->descriptionformat, 'grade' => $record->grade, 'levels' => [ ], ]
/mod/workshop/classes/external.php:2241$structure = array('creatingsubmissionallowed' => new external_value(PARAM_BOOL, 'Is the given user allowed to create their submission?'), 'modifyingsubmissionallowed' => new external_value(PARAM_BOOL, 'Is the user allowed to modify his existing submission?'), 'assessingallowed' => new external_value(PARAM_BOOL, 'Is the user allowed to create/edit his assessments?'), 'assessingexamplesallowed' => new external_value(PARAM_BOOL, 'Are reviewers allowed to create/edit their assessments of the example submissions?.'), 'examplesassessedbeforesubmission' => new external_value(PARAM_BOOL, 'Whether the given user has assessed all his required examples before submission (always true if there are not examples to assess or not configured to check before submission).'), 'examplesassessedbeforeassessment' => new external_value(PARAM_BOOL, 'Whether the given user has assessed all his required examples before assessment (always true if there are not examples to assessor not configured to check before assessment).'), 'warnings' => new external_warnings( ))
/mod/workshop/renderer.php:9401$outputfiles .= plagiarism_get_links(array('userid' => $file->get_userid( ), 'file' => $file, 'cmid' => $this->page->cm->id, 'course' => $this->page->course->id))
/mod/workshop/locallib.php:31921$params = array('objectid' => $submission->id, 'context' => $this->context, 'courseid' => $this->course->id, 'relateduserid' => $submission->authorid, 'other' => array('workshopid' => $this->id))
/mod/workshop/lib.php:22681return ['workshop-viewlet-allexamples-collapsed' => $preferencedefinition, 'workshop-viewlet-allsubmissions-collapsed' => $preferencedefinition, 'workshop-viewlet-assessmentform-collapsed' => $preferencedefinition, 'workshop-viewlet-assignedassessments-collapsed' => $preferencedefinition, 'workshop-viewlet-cleargrades-collapsed' => $preferencedefinition, 'workshop-viewlet-conclusion-collapsed' => $preferencedefinition, 'workshop-viewlet-examples-collapsed' => $preferencedefinition, 'workshop-viewlet-examplesfail-collapsed' => $preferencedefinition, 'workshop-viewlet-gradereport-collapsed' => $preferencedefinition, 'workshop-viewlet-instructauthors-collapsed' => $preferencedefinition, 'workshop-viewlet-instructreviewers-collapsed' => $preferencedefinition, 'workshop-viewlet-intro-collapsed' => $preferencedefinition, 'workshop-viewlet-ownsubmission-collapsed' => $preferencedefinition, 'workshop-viewlet-publicsubmissions-collapsed' => $preferencedefinition, 'workshop-viewlet-yourgrades-collapsed' => $preferencedefinition, ]
/mod/workshop/form/numerrors/tests/lib_test.php:2221$this->strategy->mappings = array(1 => (object) array('grade' => '90.00000'), 2 => (object) array('grade' => '80.00000'), 3 => (object) array('grade' => '70.00000'), 4 => (object) array('grade' => '60.00000'), 5 => (object) array('grade' => '30.00000'), 6 => (object) array('grade' => '5.00000'), 7 => (object) array('grade' => '0.00000'), )
/badges/tests/generator/lib.php:831$file = get_file_storage( )->create_file_from_pathname(['contextid' => context_user::instance($USER->id)->id, 'userid' => $USER->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => file_get_unused_draft_itemid( ), 'filepath' => '/', 'filename' => basename($badgeimage), ], "{$CFG->dirroot}/$badgeimage")
/login/tests/login_lib_test.php:2371return ['Both username and password supplied' => [['username' => 's1', 'email' => 's1@example.com'], ['username' => get_string('usernameoremail'), 'email' => get_string('usernameoremail'), ]], 'Valid username' => [['username' => 's1']], 'Valid username, different case' => [['username' => 'S1']], 'Valid username, different case, username protection off' => [['username' => 'S1'], [ ], ['protectusernames' => 0]], 'Non-existent username' => [['username' => 's2'], ], 'Non-existing username, username protection off' => [['username' => 's2'], ['username' => get_string('usernamenotfound')], ['protectusernames' => 0]], 'Valid username, unconfirmed username, username protection on' => [['username' => 's1'], [ ], ['confirmed' => 0]], 'Invalid email' => [['email' => 's1-example.com'], ['email' => get_string('invalidemail')]], 'Multiple accounts with the same email, username protection on' => [['email' => 's1@example.com'], [ ], ['allowaccountssameemail' => 1]], 'Multiple accounts with the same email, username protection off' => [['email' => 's1@example.com'], ['email' => get_string('forgottenduplicate')], ['allowaccountssameemail' => 1, 'protectusernames' => 0]], 'Multiple accounts with the same email but with different case, username protection is on' => [['email' => 'S1@EXAMPLE.COM'], [ ], ['allowaccountssameemail' => 1]], 'Multiple accounts with the same email but with different case, username protection is off' => [['email' => 'S1@EXAMPLE.COM'], ['email' => get_string('forgottenduplicate')], ['allowaccountssameemail' => 1, 'protectusernames' => 0]], 'Non-existent email, username protection on' => [['email' => 's2@example.com']], 'Non-existent email, username protection off' => [['email' => 's2@example.com'], ['email' => get_string('emailnotfound')], ['protectusernames' => 0]], 'Valid email' => [['email' => 's1@example.com']], 'Valid email, different case' => [['email' => 'S1@EXAMPLE.COM']], 'Valid email, unconfirmed user, username protection is on' => [['email' => 's1@example.com'], [ ], ['confirmed' => 0]], 'Valid email, unconfirmed user, username protection is off' => [['email' => 's1@example.com'], ['email' => get_string('confirmednot')], ['confirmed' => 0, 'protectusernames' => 0]], ]
/mod/workshop/renderer.php:8551$out .= html_writer::tag('div', html_writer::tag('div', get_string('submissiongrade', 'mod_workshop'), array('class' => 'gradetype')) . html_writer::tag('div', $grades->submissiongrade->str_long_grade, array('class' => 'gradevalue')), array('class' => $cssclass))
/mod/workshop/renderer.php:8681$out .= html_writer::tag('div', html_writer::tag('div', get_string('gradinggrade', 'mod_workshop'), array('class' => 'gradetype')) . html_writer::tag('div', $grades->assessmentgrade->str_long_grade, array('class' => 'gradevalue')), array('class' => $cssclass))
/badges/tests/privacy/provider_test.php:6781$record = (object) array_merge(['badgeid' => null, 'targetname' => "Alignment name" . $suffix, 'targeturl' => "http://issuer-url.domain.co.nz", 'targetdescription' => "Description" . $suffix, 'targetframework' => "Framework" . $suffix, 'targetcode' => "Code . $suffix"], $params)
/badges/tests/privacy/provider_test.php:6211$record = (object) array_merge(['name' => "Test badge with 'apostrophe' and other friends (<>&@#)", 'description' => "Testing badges", 'timecreated' => time( ), 'timemodified' => time( ), 'usercreated' => $USER->id, 'usermodified' => $USER->id, 'issuername' => "Test issuer", 'issuerurl' => "http://issuer-url.domain.co.nz", 'issuercontact' => "issuer@example.com", 'expiredate' => null, 'expireperiod' => null, 'type' => BADGE_TYPE_SITE, 'courseid' => null, 'messagesubject' => "Test message subject", 'message' => "Test message body", 'attachment' => 1, 'notification' => 0, 'status' => BADGE_STATUS_ACTIVE, 'version' => OPEN_BADGES_V2, 'language' => 'en', 'imageauthorname' => 'Image author', 'imageauthoremail' => 'author@example.com', 'imageauthorurl' => 'http://image.example.com/', 'imagecaption' => 'Image caption'], $params)
/badges/tests/generator/lib.php:511$record = (object) array_merge(['name' => 'Test badge', 'description' => 'Testing badges', 'timecreated' => time( ), 'timemodified' => time( ), 'usercreated' => $USER->id, 'usermodified' => $USER->id, 'issuername' => 'Test issuer', 'issuerurl' => 'http://issuer-url.domain.co.nz', 'issuercontact' => 'issuer@example.com', 'expiredate' => null, 'expireperiod' => null, 'type' => BADGE_TYPE_SITE, 'courseid' => null, 'messagesubject' => 'Test message subject', 'message' => 'Test message body', 'attachment' => 1, 'notification' => 0, 'status' => BADGE_STATUS_ACTIVE, 'version' => OPEN_BADGES_V2, 'language' => 'en', 'imageauthorname' => 'Image author', 'imageauthoremail' => 'author@example.com', 'imageauthorurl' => 'http://image.example.com/', 'imagecaption' => 'Image caption'], $record)
/badges/tests/privacy/provider_test.php:8041$record = (object) array_merge(['badgeid' => null, 'recipientid' => null, 'issuerid' => $USER->id, 'issuerrole' => $DB->get_field_select('role', 'id', 'shortname = ?', ['manager'], IGNORE_MULTIPLE), 'datemet' => time( )], $params)
/badges/classes/external/user_badge_exporter.php:2831$values = array('badgeurl' => moodle_url::make_webservice_pluginfile_url($context->id, 'badges', 'badgeimage', $this->data->id, '/', 'f3')->out(false), 'alignment' => array( ), 'relatedbadges' => array( ), )
/badges/classes/external/user_badge_exporter.php:2481return ['badgeurl' => ['type' => PARAM_URL, 'description' => 'Badge URL', ], 'endorsement' => ['type' => endorsement_exporter::read_properties_definition( ), 'description' => 'Badge endorsement', 'optional' => true, ], 'alignment' => ['type' => alignment_exporter::read_properties_definition( ), 'description' => 'Badge alignments', 'multiple' => true, ], 'relatedbadges' => ['type' => related_info_exporter::read_properties_definition( ), 'description' => 'Related badges', 'multiple' => true, ]]
/badges/tests/badgeslib_test.php:12591return ['Test without user and auth details. Check duplicates too' => ['data' => $data, 'adduser' => false, 'duplicates' => true, ], 'Test without user and auth details. No duplicates' => ['data' => $data, 'adduser' => false, 'duplicates' => false, ], 'Test with user and without auth details' => ['data' => $data, 'adduser' => true, 'duplicates' => false, ], 'Test with user and without auth details. Check duplicates too' => ['data' => $data, 'adduser' => true, 'duplicates' => true, ], 'Test with empty backpackemail, password and id' => ['data' => array_merge($data, ['backpackemail' => '', 'password' => '', 'id' => 0, ]), 'adduser' => false, 'duplicates' => false, ], 'Test with empty backpackemail, password and id but with user' => ['data' => array_merge($data, ['backpackemail' => '', 'password' => '', 'id' => 0, ]), 'adduser' => true, 'duplicates' => false, ], 'Test with auth details but without user' => ['data' => array_merge($data, ['backpackemail' => 'test@test.com', 'password' => 'test', ]), 'adduser' => false, 'duplicates' => false, ], 'Test with auth details and user' => ['data' => array_merge($data, ['backpackemail' => 'test@test.com', 'password' => 'test', ]), 'adduser' => true, 'duplicates' => false, ], ]
/badges/classes/external/badgeclass_exporter.php:1921return array('alignment' => array('type' => alignment_exporter::read_properties_definition( ), 'optional' => true, 'multiple' => true), 'criteriaUrl' => array('type' => PARAM_URL, 'optional' => true), 'criteriaNarrative' => array('type' => PARAM_TEXT, 'optional' => true))
/badges/classes/reportbuilder/local/entities/badge_issued.php:1111$columns[] = (new column('visible', new lang_string('visible', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$badgeissuedalias}.visible")->add_callback([format::class, 'boolean_as_text'])
/badges/classes/reportbuilder/local/entities/badge_issued.php:991$columns[] = (new column('expire', new lang_string('expirydate', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$badgeissuedalias}.dateexpire")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/badges/classes/external/assertion_exporter.php:951return array('badge' => array('type' => badgeclass_exporter::read_properties_definition( ), 'optional' => true), 'recipient' => array('type' => recipient_exporter::read_properties_definition( ), 'optional' => true), 'verification' => array('type' => verification_exporter::read_properties_definition( ), 'optional' => true))
/badges/classes/oauth2/client.php:1181$params = array_merge(['client_id' => $this->clientid, 'response_type' => 'code', 'redirect_uri' => $callbackurl->out(false), 'state' => $this->returnurl->out_as_local_url(false), 'scope' => $scopes, 'code_challenge' => $this->code_challenge( ), 'code_challenge_method' => BACKPACK_CHALLENGE_METHOD, ])
/badges/classes/reportbuilder/local/entities/badge.php:3301$filters[] = (new filter(date::class, 'expiry', new lang_string('expirydate', 'core_badges'), $this->get_entity_name( ), "CASE WHEN {$badgealias}.expiredate IS NULL AND {$badgealias}.expireperiod IS NULL THEN " . $DB->sql_cast_char2int(":{$parammaxint}") . " ELSE COALESCE({$badgealias}.expiredate, {$badgealias}.expireperiod + :{$paramtime}) END", [$parammaxint => 2147483647, $paramtime => time( )]))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_RANGE, date::DATE_LAST, date::DATE_CURRENT, date::DATE_NEXT, date::DATE_PAST, date::DATE_FUTURE, ])
/badges/classes/reportbuilder/local/entities/badge.php:3121$filters[] = (new filter(select::class, 'status', new lang_string('status', 'core_badges'), $this->get_entity_name( ), "{$badgealias}.status"))->add_joins($this->get_joins( ))->set_options([BADGE_STATUS_INACTIVE => new lang_string('badgestatus_0', 'core_badges'), BADGE_STATUS_ACTIVE => new lang_string('badgestatus_1', 'core_badges'), BADGE_STATUS_INACTIVE_LOCKED => new lang_string('badgestatus_2', 'core_badges'), BADGE_STATUS_ACTIVE_LOCKED => new lang_string('badgestatus_3', 'core_badges'), BADGE_STATUS_ARCHIVED => new lang_string('badgestatus_4', 'core_badges'), ])
/badges/classes/reportbuilder/local/entities/badge_issued.php:871$columns[] = (new column('issued', new lang_string('dateawarded', 'core_badges'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$badgeissuedalias}.dateissued")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/badges/classes/reportbuilder/local/entities/badge.php:3531$filters[] = (new filter(select::class, 'type', new lang_string('type', 'core_badges'), $this->get_entity_name( ), "{$badgealias}.type"))->add_joins($this->get_joins( ))->set_options([BADGE_TYPE_SITE => new lang_string('site'), BADGE_TYPE_COURSE => new lang_string('course'), ])
/backup/moodle2/backup_xml_transformer.class.php:1591$result = $matches[1] . (isset($matches[2]) ? str_replace($search, $replace, $matches[2]) : '') . (isset($matches[3]) ? str_replace($search, $replace, $matches[3]) : '')
/backup/moodle2/backup_xml_transformer.class.php:1051$search = array($CFG->wwwroot . '/file.php/' . $this->courseid, $CFG->wwwroot . '/file.php?file=/' . $this->courseid, $CFG->wwwroot . '/file.php?file=%2f' . $this->courseid, $CFG->wwwroot . '/file.php?file=%2F' . $this->courseid)
/backup/moodle2/backup_stepslib.php:27891$item = new backup_nested_element('grade_item', array('id'), array('categoryid', 'itemname', 'itemtype', 'itemmodule', 'iteminstance', 'itemnumber', 'iteminfo', 'idnumber', 'calculation', 'gradetype', 'grademax', 'grademin', 'scaleid', 'outcomeid', 'gradepass', 'multfactor', 'plusfactor', 'aggregationcoef', 'aggregationcoef2', 'weightoverride', 'sortorder', 'display', 'decimals', 'hidden', 'locked', 'locktime', 'needsupdate', 'timecreated', 'timemodified'))
/backup/moodle2/backup_stepslib.php:23141$items = grade_item::fetch_all(array('itemtype' => 'mod', 'itemmodule' => $this->task->get_modulename( ), 'iteminstance' => $this->task->get_activityid( ), 'courseid' => $this->task->get_courseid( )))
/backup/moodle2/restore_stepslib.php:27251$params = ['badgeid' => $this->get_new_parentid('badge'), 'issuername' => $data->issuername, 'issuerurl' => $data->issuerurl, 'issueremail' => $data->issueremail, 'claimid' => $data->claimid, 'claimcomment' => $data->claimcomment, 'dateissued' => $this->apply_date_offset($data->dateissued)]
/backup/moodle2/restore_stepslib.php:26821$params = array('name' => $data->name, 'description' => $data->description, 'timecreated' => $data->timecreated, 'timemodified' => $data->timemodified, 'usercreated' => $data->usercreated, 'usermodified' => $data->usermodified, 'issuername' => $data->issuername, 'issuerurl' => $data->issuerurl, 'issuercontact' => $data->issuercontact, 'expiredate' => $this->apply_date_offset($data->expiredate), 'expireperiod' => $data->expireperiod, 'type' => BADGE_TYPE_COURSE, 'courseid' => $courseid, 'message' => $data->message, 'messagesubject' => $data->messagesubject, 'attachment' => $data->attachment, 'notification' => $data->notification, 'status' => BADGE_STATUS_INACTIVE, 'nextcron' => $data->nextcron, 'version' => $data->version, 'language' => $data->language, 'imageauthorname' => $data->imageauthorname, 'imageauthoremail' => $data->imageauthoremail, 'imageauthorurl' => $data->imageauthorurl, 'imagecaption' => $data->imagecaption)
/backup/moodle2/restore_stepslib.php:16601$event = \core\event\course_section_updated::create(array('objectid' => $section->id, 'courseid' => $section->course, 'context' => context_course::instance($section->course), 'other' => array('sectionnum' => $section->section)))
/backup/moodle2/restore_stepslib.php:10531$iscomponent = ($data->component == 'user' || $data->component == 'group' || $data->component == 'badges' || $data->component == 'grouping' || $data->component == 'grade' || $data->component == 'question' || substr($data->component, 0, 5) == 'qtype')
/backup/moodle2/restore_stepslib.php:32031$params = array('course' => $data->course, 'criteriatype' => $data->criteriatype, 'enrolperiod' => $data->enrolperiod, 'courseinstance' => $data->courseinstance, 'module' => $data->module, 'moduleinstance' => $data->moduleinstance, 'timeend' => $data->timeend, 'gradepass' => $data->gradepass, 'role' => $data->role)
/backup/moodle2/restore_stepslib.php:28501$award = array('badgeid' => $this->get_new_parentid('badge'), 'recipientid' => $this->get_mappingid('user', $data->recipientid), 'issuerid' => $this->get_mappingid('user', $data->issuerid), 'issuerrole' => $role, 'datemet' => $this->apply_date_offset($data->datemet))
/backup/moodle2/restore_stepslib.php:27871$params = array('badgeid' => $this->get_new_parentid('badge'), 'criteriatype' => $data->criteriatype, 'method' => $data->method, 'description' => isset($data->description) ? $data->description : '', 'descriptionformat' => isset($data->descriptionformat) ? $data->descriptionformat : 0, )
/backup/moodle2/restore_stepslib.php:27701$params = array('badgeid' => $this->get_new_parentid('badge'), 'targetname' => $data->targetname, 'targeturl' => $data->targeturl, 'targetdescription' => $data->targetdescription, 'targetframework' => $data->targetframework, 'targetcode' => $data->targetcode)
/backup/moodle2/restore_stepslib.php:44281$params = array('blockname' => $data->blockname, 'parentcontextid' => $data->parentcontextid, 'showinsubcontexts' => $data->showinsubcontexts, 'pagetypepattern' => $data->pagetypepattern, 'subpagepattern' => $data->subpagepattern, 'defaultregion' => $data->defaultregion)
/backup/moodle2/restore_stepslib.php:43001$params = ['component' => $data->component, 'itemid' => $this->task->get_contextid( ), 'stateid' => 'restored', 'statedata' => $data->statedata, 'registration' => $data->registration, 'timecreated' => $data->timecreated, 'timemodified' => time( ), ]
/backup/moodle2/restore_stepslib.php:34391$values = array('course' => $this->get_courseid( ), 'course_module' => $this->task->get_moduleid( ), $this->task->get_modulename( ) => $this->task->get_activityid( ))
/backup/moodle2/restore_stepslib.php:32671$params = array('userid' => $data->userid, 'course' => $data->course, 'timeenrolled' => $data->timeenrolled, 'timestarted' => $data->timestarted, 'timecompleted' => $data->timecompleted, 'reaggregate' => $data->reaggregate)
/filter/classes/external/get_all_states.php:661$filterstates[] = ['contextlevel' => $classname::get_short_name( ), 'instanceid' => $context->instanceid, 'contextid' => $state->contextid, 'filter' => $state->filter, 'state' => $state->active, 'sortorder' => $state->sortorder, ]
/filter/classes/external/get_all_states.php:881return new external_single_structure(['filters' => new external_multiple_structure(new external_single_structure(['contextlevel' => new external_value(PARAM_ALPHA, 'The context level where the filters are: (coursecat, course, module).'), 'instanceid' => new external_value(PARAM_INT, 'The instance id of item associated with the context.'), 'contextid' => new external_value(PARAM_INT, 'The context id.'), 'filter' => new external_value(PARAM_PLUGIN, 'Filter plugin name.'), 'state' => new external_value(PARAM_INT, 'Filter state: 1 for on, -1 for off, -9999 if disabled.'), 'sortorder' => new external_value(PARAM_INT, 'Execution order.'), ]), 'All filters states'), 'warnings' => new external_warnings( ), ])
/communication/provider/matrix/classes/local/spec/features/matrix/get_room_powerlevels_from_sync_v3.php:451$filter = (object) ["account_data" => (object) ["not_types" => ['*'], ], "event_fields" => ["type", "content", ], "event_format" => "client", "presence" => (object) ["not_types" => ['*'], ], "room" => (object) ["rooms" => [$roomid, ], "state" => (object) ["types" => ["m.room.power_levels", ], ], "ephemeral" => (object) ["not_types" => ['*'], ], "timeline" => (object) ["not_types" => ['*'], ], ], ]
/filter/classes/external.php:1131return new external_single_structure(array('filters' => new external_multiple_structure(new external_single_structure(array('contextlevel' => new external_value(PARAM_ALPHA, 'The context level where the filters are: (coursecat, course, module).'), 'instanceid' => new external_value(PARAM_INT, 'The instance id of item associated with the context.'), 'contextid' => new external_value(PARAM_INT, 'The context id.'), 'filter' => new external_value(PARAM_PLUGIN, 'Filter plugin name.'), 'localstate' => new external_value(PARAM_INT, 'Filter state: 1 for on, -1 for off, 0 if inherit.'), 'inheritedstate' => new external_value(PARAM_INT, '1 or 0 to use when localstate is set to inherit.'), )), 'Available filters'), 'warnings' => new external_warnings( ), ))
/filter/displayh5p/tests/filter_test.php:781return [["http:://example.com", "#http:://example.com#"], ["http://google.es/h5p/embed/3425234", "#http://google.es/h5p/embed/3425234#"], ["https://moodle.h5p.com/content/1290729733828858779/embed", "#<iframe src=\"https://moodle.h5p.com/content/1290729733828858779/embed\"[^>]+?>#"], ["https://moodle.h5p.com/content/1290729733828858779", "#<iframe src=\"https://moodle.h5p.com/content/1290729733828858779/embed\"[^>]+?>#"], ["<a href=\"https://moodle.h5p.com/content/1290848995208939539/embed\">https://moodle.h5p.com/content/1290848995208939539/embed</a>", "#<iframe src=\"https://moodle.h5p.com/content/1290848995208939539/embed\"[^>]+?>#"], ["<a href=\"https://moodle.org\">https://moodle.h5p.com/content/1290848995208939539/embed</a>", "#^((?!iframe).)*$#"], ["<a href=\"https://moodle.h5p.com/content/1290848995208939539/embed\">link</a>", "#^((?!iframe).)*$#"], ["this is a text with an h5p url https://moodle.h5p.com/content/1290848995208939539/embed inside", "#this is a text with an h5p url <iframe src=\"https://moodle.h5p.com/content/1290848995208939539/embed\"(.|\n)*> inside#"], ["https://generic.wordpress.soton.ac.uk/altc/wp-admin/admin-ajax.php?action=h5p_embed&amp;id=13", "#<iframe src=\"https://generic.wordpress.soton.ac.uk/altc/wp-admin/admin-ajax.php\?action=h5p_embed\&amp\;id=13\"[^>]+?>#"], ["https://moodle.h5p.com/content/1290848995208939539/embed another content in the same page https://moodle.h5p.com/content/1290729733828858779/embed", "#<iframe src=\"https://moodle.h5p.com/content/1290848995208939539/embed\"[^>]+?>((?!<iframe).)*" . "<iframe src=\"https://moodle.h5p.com/content/1290729733828858779/embed\"[^>]+?>#"], [$CFG->wwwroot . "/pluginfile.php/5/user/private/interactive-video.h5p?export=1&embed=1", "#<iframe src=\"{$CFG->wwwroot}/h5p/embed.php\?url=" . rawurlencode("{$CFG->wwwroot}/pluginfile.php/5/user/private/interactive-video.h5p") . "&export=1&embed=1\"[^>]*?></iframe>#"], [$CFG->wwwroot . "/pluginfile.php/5/user/private/accordion-6-7138%20%281%29.h5p.h5p", "#<iframe src=\"{$CFG->wwwroot}/h5p/embed.php\?url=" . rawurlencode("{$CFG->wwwroot}/pluginfile.php/5/user/private/accordion-6-7138%20%281%29.h5p.h5p") . "\"[^>]*?></iframe>#"]]
/backup/externallib.php:1121return new external_multiple_structure(new external_single_structure(array('status' => new external_value(PARAM_INT, 'Backup Status'), 'progress' => new external_value(PARAM_FLOAT, 'Backup progress'), 'backupid' => new external_value(PARAM_ALPHANUM, 'Backup id'), 'operation' => new external_value(PARAM_ALPHANUM, 'operation type'), ), 'Backup completion status'), 'Backup data')
/filter/emoticon/tests/filter_test.php:1021return ['FORMAT_MOODLE is not filtered' => ['input' => $grr, 'format' => FORMAT_MOODLE, 'expected' => $grr, ], 'FORMAT_MARKDOWN is not filtered' => ['input' => $grr, 'format' => FORMAT_MARKDOWN, 'expected' => $grr, ], 'FORMAT_PLAIN is not filtered' => ['input' => $grr, 'format' => FORMAT_PLAIN, 'expected' => $grr, ], 'Script tag should not be processed' => ['input' => "<script language='javascript'>alert('{$grr}');</script>", 'format' => FORMAT_HTML, 'expected' => "<script language='javascript'>alert('{$grr}');</script>", ], 'Basic nolink should not be processed' => ['input' => '<span class="nolink">(n)</span>', 'format' => FORMAT_HTML, 'expected' => '<span class="nolink">(n)</span>', ], 'Nested nolink should not be processed' => ['input' => '<span class="nolink"><span>(n)</span>(n)</span>', 'format' => FORMAT_HTML, 'expected' => '<span class="nolink"><span>(n)</span>(n)</span>', ], 'Basic pre should not be processed' => ['input' => '<pre>(n)</pre>', 'format' => FORMAT_HTML, 'expected' => '<pre>(n)</pre>', ], 'Nested pre should not be processed' => ['input' => '<pre><pre>(n)</pre>(n)</pre>', 'format' => FORMAT_HTML, 'expected' => '<pre><pre>(n)</pre>(n)</pre>', ], ]
/filter/urltolink/tests/filter_test.php:431$texts = array('http://moodle.org - URL' => '<a href="http://moodle.org" class="_blanktarget">http://moodle.org</a> - URL', 'www.moodle.org - URL' => '<a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a> - URL', 'URL: http://moodle.org/s/i=1&j=2' => 'URL: <a href="http://moodle.org/s/i=1&j=2" class="_blanktarget">http://moodle.org/s/i=1&j=2</a>', 'URL: www.moodle.org/s/i=1&amp;j=2' => 'URL: <a href="http://www.moodle.org/s/i=1&amp;j=2" class="_blanktarget">www.moodle.org/s/i=1&amp;j=2</a>', 'URL: https://moodle.org/s/i=1&j=2' => 'URL: <a href="https://moodle.org/s/i=1&j=2" class="_blanktarget">https://moodle.org/s/i=1&j=2</a>', 'URL: http://moodle.org:8080/s/i=1' => 'URL: <a href="http://moodle.org:8080/s/i=1" class="_blanktarget">http://moodle.org:8080/s/i=1</a>', 'Most voted issues: https://tracker.moodle.org/browse/MDL#selectedTab=com.atlassian.jira.plugin.system.project%3Apopularissues-panel' => 'Most voted issues: <a href="https://tracker.moodle.org/browse/MDL#selectedTab=com.atlassian.jira.plugin.system.project%3Apopularissues-panel" class="_blanktarget">https://tracker.moodle.org/browse/MDL#selectedTab=com.atlassian.jira.plugin.system.project%3Apopularissues-panel</a>', 'URL: www.bbc.co.uk.' => 'URL: <a href="http://www.bbc.co.uk" class="_blanktarget">www.bbc.co.uk</a>.', '(http://moodle.org) - URL' => '(<a href="http://moodle.org" class="_blanktarget">http://moodle.org</a>) - URL', '(www.moodle.org) - URL' => '(<a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a>) - URL', '(http://example.com/index.html) - URL' => '(<a href="http://example.com/index.html" class="_blanktarget">http://example.com/index.html</a>) - URL', '(www.example.com/index.html) - URL' => '(<a href="http://www.example.com/index.html" class="_blanktarget">www.example.com/index.html</a>) - URL', '(http://moodle.org/main#anchor) - URL' => '(<a href="http://moodle.org/main#anchor" class="_blanktarget">http://moodle.org/main#anchor</a>) - URL', '(www.moodle.org/main#anchor) - URL' => '(<a href="http://www.moodle.org/main#anchor" class="_blanktarget">www.moodle.org/main#anchor</a>) - URL', '[http://moodle.org] - URL' => '[<a href="http://moodle.org" class="_blanktarget">http://moodle.org</a>] - URL', '[www.moodle.org] - URL' => '[<a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a>] - URL', '[http://example.com/index.html] - URL' => '[<a href="http://example.com/index.html" class="_blanktarget">http://example.com/index.html</a>] - URL', '[www.example.com/index.html] - URL' => '[<a href="http://www.example.com/index.html" class="_blanktarget">www.example.com/index.html</a>] - URL', '[http://moodle.org/main#anchor] - URL' => '[<a href="http://moodle.org/main#anchor" class="_blanktarget">http://moodle.org/main#anchor</a>] - URL', '[www.moodle.org/main#anchor] - URL' => '[<a href="http://www.moodle.org/main#anchor" class="_blanktarget">www.moodle.org/main#anchor</a>] - URL', 'URL: http://cc.org/url_(withpar)_go/?i=2' => 'URL: <a href="http://cc.org/url_(withpar)_go/?i=2" class="_blanktarget">http://cc.org/url_(withpar)_go/?i=2</a>', 'URL: www.cc.org/url_(withpar)_go/?i=2' => 'URL: <a href="http://www.cc.org/url_(withpar)_go/?i=2" class="_blanktarget">www.cc.org/url_(withpar)_go/?i=2</a>', 'URL: http://cc.org/url_(with)_(par)_go/?i=2' => 'URL: <a href="http://cc.org/url_(with)_(par)_go/?i=2" class="_blanktarget">http://cc.org/url_(with)_(par)_go/?i=2</a>', 'URL: www.cc.org/url_(with)_(par)_go/?i=2' => 'URL: <a href="http://www.cc.org/url_(with)_(par)_go/?i=2" class="_blanktarget">www.cc.org/url_(with)_(par)_go/?i=2</a>', 'http://en.wikipedia.org/wiki/%28#Parentheses_.28_.29 - URL' => '<a href="http://en.wikipedia.org/wiki/%28#Parentheses_.28_.29" class="_blanktarget">http://en.wikipedia.org/wiki/%28#Parentheses_.28_.29</a> - URL', 'http://en.wikipedia.org/wiki/(#Parentheses_.28_.29 - URL' => '<a href="http://en.wikipedia.org/wiki/(#Parentheses_.28_.29" class="_blanktarget">http://en.wikipedia.org/wiki/(#Parentheses_.28_.29</a> - URL', 'http://en.wikipedia.org/wiki/Slash_%28punctuation%29' => '<a href="http://en.wikipedia.org/wiki/Slash_%28punctuation%29" class="_blanktarget">http://en.wikipedia.org/wiki/Slash_%28punctuation%29</a>', 'URL: <a href="http://moodle.org">http://moodle.org</a>' => 'URL: <a href="http://moodle.org">http://moodle.org</a>', 'URL: <a href="http://moodle.org">www.moodle.org</a>' => 'URL: <a href="http://moodle.org">www.moodle.org</a>', 'URL: <a href="http://moodle.org"> http://moodle.org</a>' => 'URL: <a href="http://moodle.org"> http://moodle.org</a>', 'URL: <a href="http://moodle.org"> www.moodle.org</a>' => 'URL: <a href="http://moodle.org"> www.moodle.org</a>', 'URL: http://moodle.org/s/i=1&j=2.' => 'URL: <a href="http://moodle.org/s/i=1&j=2" class="_blanktarget">http://moodle.org/s/i=1&j=2</a>.', 'URL: www.moodle.org/s/i=1&amp;j=2.' => 'URL: <a href="http://www.moodle.org/s/i=1&amp;j=2" class="_blanktarget">www.moodle.org/s/i=1&amp;j=2</a>.', 'URL: http://moodle.org)<br />' => 'URL: <a href="http://moodle.org" class="_blanktarget">http://moodle.org</a>)<br />', 'URL: <p>text www.moodle.org&lt;/p> text' => 'URL: <p>text <a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a>&lt;/p> text', 'URL: www.moodle.org?u=1.23' => 'URL: <a href="http://www.moodle.org?u=1.23" class="_blanktarget">www.moodle.org?u=1.23</a>', 'URL: www.moodle.org?u=test+param&' => 'URL: <a href="http://www.moodle.org?u=test+param&" class="_blanktarget">www.moodle.org?u=test+param&</a>', 'URL: http://moodle.org www.moodle.org' => 'URL: <a href="http://moodle.org" class="_blanktarget">http://moodle.org</a> <a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a>', 'URL: <a href="http://moodle.org">http://moodle.org</a> www.moodle.org <a class="customclass" href="http://moodle.org">http://moodle.org</a>' => 'URL: <a href="http://moodle.org">http://moodle.org</a> <a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a> <a class="customclass" href="http://moodle.org">http://moodle.org</a>', 'http://subdomain.moodle.org - URL' => '<a href="http://subdomain.moodle.org" class="_blanktarget">http://subdomain.moodle.org</a> - URL', 'http://subdomain.subdomain.moodle.org - URL' => '<a href="http://subdomain.subdomain.moodle.org" class="_blanktarget">http://subdomain.subdomain.moodle.org</a> - URL', 'This contains http, http:// and www but no actual links.' => 'This contains http, http:// and www but no actual links.', 'This is a story about moodle.coming to a cinema near you.' => 'This is a story about moodle.coming to a cinema near you.', 'http://Iñtërnâtiônàlizætiøn.com?ô=nëø' => '<a href="http://Iñtërnâtiônàlizætiøn.com?ô=nëø" class="_blanktarget">http://Iñtërnâtiônàlizætiøn.com?ô=nëø</a>', 'www.Iñtërnâtiônàlizætiøn.com?ô=nëø' => '<a href="http://www.Iñtërnâtiônàlizætiøn.com?ô=nëø" class="_blanktarget">www.Iñtërnâtiônàlizætiøn.com?ô=nëø</a>', 'Iñtërnâtiônàlizætiøn is important to http://moodle.org' => 'Iñtërnâtiônàlizætiøn is important to <a href="http://moodle.org" class="_blanktarget">http://moodle.org</a>', 'moodle.org' => 'moodle.org', '<b>no link here</b>' => '<b>no link here</b>', '<b>a link here www.moodle.org</b>' => '<b>a link here <a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a></b>', '<br />This is some text. www.moodle.com then some more text<br />' => '<br />This is some text. <a href="http://www.moodle.com" class="_blanktarget">www.moodle.com</a> then some more text<br />', 'image<img src="http://moodle.org/logo/logo-240x60.gif" />' => 'image<img src="http://moodle.org/logo/logo-240x60.gif" />', 'image<img src="www.moodle.org/logo/logo-240x60.gif" />' => 'image<img src="www.moodle.org/logo/logo-240x60.gif" />', 'image<img src="http://www.example.com/logo.gif" />' => 'image<img src="http://www.example.com/logo.gif" />', '<td background="http://moodle.org">&nbsp;</td>' => '<td background="http://moodle.org">&nbsp;</td>', '<td background="www.moodle.org">&nbsp;</td>' => '<td background="www.moodle.org">&nbsp;</td>', '<form name="input" action="http://moodle.org/submit.asp" method="get">' => '<form name="input" action="http://moodle.org/submit.asp" method="get">', '<input type="submit" value="Go to http://moodle.org">' => '<input type="submit" value="Go to http://moodle.org">', '<td background="https://www.moodle.org">&nbsp;</td>' => '<td background="https://www.moodle.org">&nbsp;</td>', '<table style="background-image: url(\'http://moodle.org/pic.jpg\');">' => '<table style="background-image: url(\'http://moodle.org/pic.jpg\');">', '<table style="background-image: url(http://moodle.org/pic.jpg);">' => '<table style="background-image: url(http://moodle.org/pic.jpg);">', '<table style="background-image: url("http://moodle.org/pic.jpg");">' => '<table style="background-image: url("http://moodle.org/pic.jpg");">', '<table style="background-image: url( http://moodle.org/pic.jpg );">' => '<table style="background-image: url( http://moodle.org/pic.jpg );">', 'partially escaped img tag &lt;img src="http://moodle.org/logo/logo-240x60.gif" />' => 'partially escaped img tag &lt;img src="http://moodle.org/logo/logo-240x60.gif" />', 'One more link like http://www.moodle.org to test' => 'One more link like <a href="http://www.moodle.org" class="_blanktarget">http://www.moodle.org</a> to test', 'URL: http://127.0.0.1/one%28parenthesis%29/path?param=value' => 'URL: <a href="http://127.0.0.1/one%28parenthesis%29/path?param=value" class="_blanktarget">http://127.0.0.1/one%28parenthesis%29/path?param=value</a>', 'URL: www.localhost.com/one%28parenthesis%29/path?param=value' => 'URL: <a href="http://www.localhost.com/one%28parenthesis%29/path?param=value" class="_blanktarget">www.localhost.com/one%28parenthesis%29/path?param=value</a>', 'URL: http://127.0.0.1/path/to?param=value_with%28parenthesis%29&param2=1' => 'URL: <a href="http://127.0.0.1/path/to?param=value_with%28parenthesis%29&param2=1" class="_blanktarget">http://127.0.0.1/path/to?param=value_with%28parenthesis%29&param2=1</a>', 'URL: www.localhost.com/path/to?param=value_with%28parenthesis%29&param2=1' => 'URL: <a href="http://www.localhost.com/path/to?param=value_with%28parenthesis%29&param2=1" class="_blanktarget">www.localhost.com/path/to?param=value_with%28parenthesis%29&param2=1</a>', 'URL: ' . $superlong4095 => 'URL: <a href="' . $superlong4095 . '" class="_blanktarget">' . $superlong4095 . '</a>', 'URL: ' . $superlong4096 => 'URL: ' . $superlong4096, 'URL: <span style="kasd"> my link to http://google.com </span>' => 'URL: <span style="kasd"> my link to <a href="http://google.com" class="_blanktarget">http://google.com</a> </span>', '<b><i>www.google.com</i></b>' => '<b><i><a href="http://www.google.com" class="_blanktarget">www.google.com</a></i></b>', '<input type="submit" value="Go to http://moodle.org">' => '<input type="submit" value="Go to http://moodle.org">', '<p><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.3999996185303px;">Lorem ipsum amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut http://google.com aliquip ex ea <a href="http://google.com">commodo consequat</a>. Duis aute irure in reprehenderit in excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing mollit anim id est laborum.</span><br></p>' => '<p><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.3999996185303px;">Lorem ipsum amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut <a href="http://google.com" class="_blanktarget">http://google.com</a> aliquip ex ea <a href="http://google.com">commodo consequat</a>. Duis aute irure in reprehenderit in excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia <a href="https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing" class="_blanktarget">https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing</a> <a href="https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing" class="_blanktarget">https://docs.google.com/document/d/BrokenLinkPleaseAyacDHc_Ov8aoskoSVQsfmLHP_jYAkRMk/edit?usp=sharing</a> mollit anim id est laborum.</span><br></p>', '5 < 10 www.google.com <a href="hi.com">im a link</a>' => '5 < 10 <a href="http://www.google.com" class="_blanktarget">www.google.com</a> <a href="hi.com">im a link</a>', 'h3 (www.styles.com/h3) < h1 (www.styles.com/h1)' => 'h3 (<a href="http://www.styles.com/h3" class="_blanktarget">www.styles.com/h3</a>) < h1 (<a href="http://www.styles.com/h1" class="_blanktarget">www.styles.com/h1</a>)', '<p>text www.moodle.org&lt;/p> text' => '<p>text <a href="http://www.moodle.org" class="_blanktarget">www.moodle.org</a>&lt;/p> text', '<link rel="search" type="application/opensearchdescription+xml" href="/osd.jsp" title="Peer review - Moodle Tracker"/>' => '<link rel="search" type="application/opensearchdescription+xml" href="/osd.jsp" title="Peer review - Moodle Tracker"/>', '<a href="https://moodledev.io"></a><span>www.google.com</span><span class="placeholder"></span>' => '<a href="https://moodledev.io"></a><span><a href="http://www.google.com" class="_blanktarget">www.google.com</a>' . '</span><span class="placeholder"></span>', 'http://nolandforzombies.com <a href="zombiesFTW.com">Zombies FTW</a> http://aliens.org' => '<a href="http://nolandforzombies.com" class="_blanktarget">http://nolandforzombies.com</a> <a href="zombiesFTW.com">Zombies FTW</a> <a href="http://aliens.org" class="_blanktarget">http://aliens.org</a>', 'URL: <span class="nolink">http://moodle.org</span>' => 'URL: <span class="nolink">http://moodle.org</span>', '<span class="nolink">URL: http://moodle.org</span>' => '<span class="nolink">URL: http://moodle.org</span>', )
/backup/externallib.php:3431return new external_multiple_structure(new external_single_structure(array('status' => new external_value(PARAM_INT, 'Copy Status'), 'progress' => new external_value(PARAM_FLOAT, 'Copy progress'), 'backupid' => new external_value(PARAM_ALPHANUM, 'Copy id'), 'operation' => new external_value(PARAM_ALPHANUM, 'Operation type'), ), 'Copy completion status'), 'Copy data')
/backup/moodle2/backup_stepslib.php:1111$activityarr = array((object) array('id' => $this->task->get_activityid( ), 'moduleid' => $this->task->get_moduleid( ), 'modulename' => $this->task->get_modulename( ), 'contextid' => $this->task->get_contextid( )))
/backup/externallib.php:1311return new external_function_parameters(array('filename' => new external_value(PARAM_FILE, 'Backup filename', VALUE_REQUIRED, null, NULL_NOT_ALLOWED), 'contextid' => new external_value(PARAM_INT, 'Context id', VALUE_REQUIRED, null, NULL_NOT_ALLOWED), 'backupid' => new external_value(PARAM_ALPHANUMEXT, 'Backup id', VALUE_REQUIRED, null, NULL_NOT_ALLOWED), ))
/backup/externallib.php:2731return new external_function_parameters(array('copies' => new external_multiple_structure(new external_single_structure(array('backupid' => new external_value(PARAM_ALPHANUM, 'Backup id'), 'restoreid' => new external_value(PARAM_ALPHANUM, 'Restore id'), 'operation' => new external_value(PARAM_ALPHANUM, 'Operation type'), ), 'Copy data'), 'Copy data'), ))
/backup/moodle2/backup_stepslib.php:9181$badge = new backup_nested_element('badge', array('id'), array('name', 'description', 'timecreated', 'timemodified', 'usercreated', 'usermodified', 'issuername', 'issuerurl', 'issuercontact', 'expiredate', 'expireperiod', 'type', 'courseid', 'message', 'messagesubject', 'attachment', 'notification', 'status', 'nextcron', 'version', 'language', 'imageauthorname', 'imageauthoremail', 'imageauthorurl', 'imagecaption'))
/backup/moodle2/backup_stepslib.php:11131$grade_item = new backup_nested_element('grade_item', array('id'), array('categoryid', 'itemname', 'itemtype', 'itemmodule', 'iteminstance', 'itemnumber', 'iteminfo', 'idnumber', 'calculation', 'gradetype', 'grademax', 'grademin', 'scaleid', 'outcomeid', 'gradepass', 'multfactor', 'plusfactor', 'aggregationcoef', 'aggregationcoef2', 'weightoverride', 'sortorder', 'display', 'decimals', 'hidden', 'locked', 'locktime', 'needsupdate', 'timecreated', 'timemodified'))
/backup/moodle2/backup_stepslib.php:4571$course = new backup_nested_element('course', array('id', 'contextid'), array('shortname', 'fullname', 'idnumber', 'summary', 'summaryformat', 'format', 'showgrades', 'newsitems', 'startdate', 'enddate', 'marker', 'maxbytes', 'legacyfiles', 'showreports', 'visible', 'groupmode', 'groupmodeforce', 'defaultgroupingid', 'lang', 'theme', 'timecreated', 'timemodified', 'requested', 'showactivitydates', 'showcompletionconditions', 'pdfexportfont', 'enablecompletion', 'completionstartonenrol', 'completionnotify'))
/backup/moodle2/backup_stepslib.php:6081$enrol = new backup_nested_element('enrol', array('id'), array('enrol', 'status', 'name', 'enrolperiod', 'enrolstartdate', 'enrolenddate', 'expirynotify', 'expirythreshold', 'notifyall', 'password', 'cost', 'currency', 'roleid', 'customint1', 'customint2', 'customint3', 'customint4', 'customint5', 'customint6', 'customint7', 'customint8', 'customchar1', 'customchar2', 'customchar3', 'customdec1', 'customdec2', 'customtext1', 'customtext2', 'customtext3', 'customtext4', 'timecreated', 'timemodified'))
/backup/util/ui/renderer.php:1361$html .= $this->backup_detail_pair(get_string('moodleversion', 'backup'), html_writer::tag('span', $details->moodle_release, array('class' => 'moodle_release')) . html_writer::tag('span', '[' . $details->moodle_version . ']', array('class' => 'moodle_version sub-detail')))
/backup/converter/moodle1/lib.php:13821$defaultrecord = array('contenthash' => file_storage::hash_from_string(''), 'contextid' => $this->contextid, 'component' => $this->component, 'filearea' => $this->filearea, 'itemid' => $this->itemid, 'filepath' => null, 'filename' => null, 'filesize' => 0, 'userid' => $this->userid, 'mimetype' => null, 'status' => 0, 'timecreated' => $now = time( ), 'timemodified' => $now, 'source' => null, 'author' => null, 'license' => null, 'sortorder' => 0, )
/backup/util/ui/renderer.php:1421$html .= $this->backup_detail_pair(get_string('originalwwwroot', 'backup'), html_writer::tag('span', $details->original_wwwroot, array('class' => 'originalwwwroot')) . html_writer::tag('span', '[' . $details->original_site_identifier_hash . ']', array('class' => 'sitehash sub-detail')))
/backup/util/ui/renderer.php:1391$html .= $this->backup_detail_pair(get_string('backupversion', 'backup'), html_writer::tag('span', $details->backup_release, array('class' => 'moodle_release')) . html_writer::tag('span', '[' . $details->backup_version . ']', array('class' => 'moodle_version sub-detail')))
/backup/util/ui/renderer.php:7072$fileurl = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), null, $file->get_filepath( ), $file->get_filename( ), true)
/backup/util/ui/renderer.php:4671return $this->backup_detail_pair(html_writer::label($label, $id), html_writer::empty_tag('input', $attributes + ['id' => $id, 'name' => $name, 'type' => $type, 'value' => $value]) . $description)
/backup/util/ui/renderer.php:8101$row->cells = [html_writer::empty_tag('input', $attrs), html_writer::label(format_string($course->shortname, true, ['context' => context_course::instance($course->id)]), $id, true, ['class' => 'd-block']), format_string($course->fullname, true, ['context' => context_course::instance($course->id)])]
/backup/util/ui/renderer.php:7691$html .= $this->output->single_button(new moodle_url('/backup/backupfilesedit.php', array('currentcontext' => $viewer->currentcontext->id, 'contextid' => $viewer->filecontext->id, 'filearea' => $viewer->filearea, 'component' => $viewer->component, 'returnurl' => $this->page->url->out( ))), $button, 'post')
/backup/util/ui/renderer.php:9121$row->cells = [html_writer::empty_tag('input', ['type' => 'radio', 'name' => 'importid', 'value' => $course->id, 'id' => $id]), html_writer::label(format_string($course->shortname, true, ['context' => context_course::instance($course->id)]), $id, true, ['class' => 'd-block']), format_string($course->fullname, true, ['context' => context_course::instance($course->id)])]
/backup/util/ui/renderer.php:8411$data = ['inform' => true, 'extraclasses' => 'rcs-search mb-3 w-25', 'inputname' => restore_course_search::$VAR_SEARCH, 'searchstring' => get_string('searchcourses'), 'buttonattributes' => [(object) ['key' => 'name', 'value' => 'searchcourses'], (object) ['key' => 'value', 'value' => 1], ], 'query' => $component->get_search( ), ]
/backup/util/ui/renderer.php:10141$data = ['inform' => true, 'extraclasses' => 'rcs-search mb-3 w-25', 'inputname' => restore_category_search::$VAR_SEARCH, 'searchstring' => get_string('searchcoursecategories'), 'buttonattributes' => [(object) ['key' => 'name', 'value' => 'searchcourses'], (object) ['key' => 'value', 'value' => 1], ], 'query' => $component->get_search( ), ]
/backup/util/ui/renderer.php:9811$row->cells = [html_writer::empty_tag('input', ['type' => 'radio', 'name' => 'targetid', 'value' => $category->id, 'id' => $id]), html_writer::label(format_string($category->name, true, ['context' => context_coursecat::instance($category->id)]), $id, true, ['class' => 'd-block']), format_text(file_rewrite_pluginfile_urls($category->description, 'pluginfile.php', $context->id, 'coursecat', 'description', null), $category->descriptionformat, ['overflowdiv' => true])]
/backup/util/ui/base_moodleform.class.php:1671$buttonarray[] = $this->_form->createElement('submit', 'submitbutton', get_string($this->uistage->get_ui( )->get_name( ) . 'stage' . $this->uistage->get_stage( ) . 'action', 'backup'), array('class' => 'proceedbutton'))
/backup/util/ui/renderer.php:10951$tablerow = array(html_writer::link($sourceurl, $copy->source), $copy->destination, userdate($copy->timecreated), get_string($copy->operation), $this->get_status_display($copy->status, $copy->backupid, $copy->restoreid, $copy->operation))
/backup/util/ui/backup_ui_stage.class.php:1551$filename = backup_plan_dbops::get_default_backup_filename($this->ui->get_format( ), $this->ui->get_type( ), $this->ui->get_controller_id( ), $this->ui->get_setting_value('users'), $this->ui->get_setting_value('anonymize'), false, (bool) $this->ui->get_setting_value('files'))
/backup/util/ui/backup_ui_setting.class.php:5511return $this->apply_options(array('element' => 'radio', 'name' => self::NAME_PREFIX . $this->name, 'label' => $label, 'text' => $this->text, 'value' => $this->value, 'attributes' => $this->attributes))
/backup/moodle2/restore_stepslib.php:56321$candidates = $DB->get_recordset('backup_files_temp', array('backupid' => $this->get_restoreid( ), 'contextid' => $reference['contextid'], 'component' => $reference['component'], 'filearea' => $reference['filearea'], 'itemid' => $reference['itemid'], ), '', 'info, newcontextid, newitemid')
/backup/moodle2/tests/moodle2_test.php:961$newavailability = str_replace('"grouping","id":' . $grouping->id, '"grouping","id":' . $newgroupingid, str_replace('"grade","id":' . $item->id, '"grade","id":' . $newitem->id, str_replace('"cm":' . $forum2->cmid, '"cm":' . $forums[1]->id, $availability)))
/backup/moodle2/tests/moodle2_test.php:11293$attemptinfo = ['userid' => $user->id, 'h5pactivityid' => $activity->id, 'attempt' => 1, 'interactiontype' => 'compound', 'rawscore' => 2, 'maxscore' => 2, 'duration' => 1, 'completion' => 1, 'success' => 0, ]
/backup/moodle2/tests/moodle2_test.php:11433$filerecord = ['contextid' => \context_module::instance($activity->cmid)->id, 'component' => 'mod_h5pactivity', 'filearea' => 'package', 'itemid' => 0, 'filepath' => '/', 'filepath' => '/', 'filename' => 'dummy.h5p', 'addxapistate' => true, ]
/backup/moodle2/tests/restore_stepslib_date_test.php:1731$event = ['name' => 'Start of assignment', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => $USER->id, 'modulename' => 0, 'instance' => 0, 'eventtype' => 'course', 'timestart' => $starttime, 'timeduration' => 86400, 'visible' => 1]
/backup/moodle2/tests/fixtures/format_test_cs_options.php:671return array('numdaystocomplete' => array('type' => PARAM_INT, 'label' => 'Test days', 'element_type' => 'text', 'default' => 0, ), 'secondparameter' => array('type' => PARAM_INT, 'label' => 'Test Parmater', 'element_type' => 'text', 'default' => 0, ), ) + parent::section_format_options($foreditform)
/backup/converter/imscc11/backuplib.php:842$fr = array('contextid' => $ctxid, 'component' => $component, 'filearea' => $filearea, 'itemid' => $itemid, 'filepath' => '/', 'filename' => $filename, 'userid' => $userid, 'timecreated' => time( ), 'timemodified' => time( ))
/backup/converter/moodle1/handlerlib.php:471$handlers = array(new moodle1_root_handler($converter), new moodle1_info_handler($converter), new moodle1_course_header_handler($converter), new moodle1_course_outline_handler($converter), new moodle1_roles_definition_handler($converter), new moodle1_question_bank_handler($converter), new moodle1_scales_handler($converter), new moodle1_outcomes_handler($converter), new moodle1_gradebook_handler($converter), )
/backup/converter/moodle1/handlerlib.php:3931$activitysettings[] = array('level' => 'activity', 'activity' => $activity['modulename'] . '_' . $activity['cmid'], 'name' => $activity['modulename'] . '_' . $activity['cmid'] . '_included', 'value' => (($modinfo['included'] === 'true' and $modinstance['included'] === 'true') ? 1 : 0))
/backup/converter/moodle1/handlerlib.php:4421$rootsettings = array('filename' => $backupinfo['name'], 'users' => 0, 'anonymize' => 0, 'role_assignments' => 0, 'activities' => 1, 'blocks' => 1, 'filters' => 0, 'comments' => 0, 'userscompletion' => 0, 'logs' => 0, 'grade_histories' => 0, )
/backup/converter/moodle1/handlerlib.php:6731return array(new convert_path('course_header', '/MOODLE_BACKUP/COURSE/HEADER', array('newfields' => array('summaryformat' => 1, 'legacyfiles' => 2, 'requested' => 0, 'restrictmodules' => 0, 'enablecompletion' => 0, 'completionstartonenrol' => 0, 'completionnotify' => 0, 'tags' => array( ), 'allowed_modules' => array( ), ), 'dropfields' => array('roles_overrides', 'roles_assignments', 'cost', 'currancy', 'defaultrole', 'enrol', 'enrolenddate', 'enrollable', 'enrolperiod', 'enrolstartdate', 'expirynotify', 'expirythreshold', 'guest', 'notifystudents', 'password', 'student', 'students', 'teacher', 'teachers', 'metacourse', ))), new convert_path('course_header_category', '/MOODLE_BACKUP/COURSE/HEADER/CATEGORY', array('newfields' => array('description' => null, ))), )
/backup/converter/moodle1/handlerlib.php:7421$info = array('original_course_id' => $this->course['id'], 'original_course_fullname' => $this->course['fullname'], 'original_course_shortname' => $this->course['shortname'], 'original_course_startdate' => $this->course['startdate'], 'original_course_contextid' => $contextid)
/backup/converter/moodle1/handlerlib.php:7821return array(new convert_path('course_sections', '/MOODLE_BACKUP/COURSE/SECTIONS'), new convert_path('course_section', '/MOODLE_BACKUP/COURSE/SECTIONS/SECTION', array('newfields' => array('name' => null, 'summaryformat' => 1, 'sequence' => null, ), )), new convert_path('course_module', '/MOODLE_BACKUP/COURSE/SECTIONS/SECTION/MODS/MOD', array('newfields' => array('completion' => 0, 'completiongradeitemnumber' => null, 'completionview' => 0, 'completionexpected' => 0, 'availability' => null, 'visibleold' => 1, 'showdescription' => 0, ), 'dropfields' => array('instance', 'roles_overrides', 'roles_assignments', ), 'renamefields' => array('type' => 'modulename', ), )), new convert_path('course_modules', '/MOODLE_BACKUP/COURSE/MODULES'), )
/backup/converter/moodle1/handlerlib.php:10671$paths = array(new convert_path('question_categories', '/MOODLE_BACKUP/COURSE/QUESTION_CATEGORIES'), new convert_path('question_category', '/MOODLE_BACKUP/COURSE/QUESTION_CATEGORIES/QUESTION_CATEGORY', array('newfields' => array('infoformat' => 0))), new convert_path('question_category_context', '/MOODLE_BACKUP/COURSE/QUESTION_CATEGORIES/QUESTION_CATEGORY/CONTEXT'), new convert_path('questions', '/MOODLE_BACKUP/COURSE/QUESTION_CATEGORIES/QUESTION_CATEGORY/QUESTIONS'), new convert_path('question', '/MOODLE_BACKUP/COURSE/QUESTION_CATEGORIES/QUESTION_CATEGORY/QUESTIONS/QUESTION', array( ), true), )
/backup/converter/moodle1/handlerlib.php:15111return array(new convert_path('gradebook', '/MOODLE_BACKUP/COURSE/GRADEBOOK'), new convert_path('gradebook_grade_letter', '/MOODLE_BACKUP/COURSE/GRADEBOOK/GRADE_LETTERS/GRADE_LETTER'), new convert_path('gradebook_grade_category', '/MOODLE_BACKUP/COURSE/GRADEBOOK/GRADE_CATEGORIES/GRADE_CATEGORY', array('addfields' => array('hidden' => 0, ), )), new convert_path('gradebook_grade_item', '/MOODLE_BACKUP/COURSE/GRADEBOOK/GRADE_ITEMS/GRADE_ITEM'), new convert_path('gradebook_grade_item_grades', '/MOODLE_BACKUP/COURSE/GRADEBOOK/GRADE_ITEMS/GRADE_ITEM/GRADE_GRADES'), )
/backup/converter/moodle1/lib.php:13251$fileids[] = $this->migrate_file(substr($item->getPathname( ), strlen($this->basepath . '/')), $relpath, $item->getFilename( ), 0, $item->getCTime( ), $item->getMTime( ))
/backup/tests/privacy/provider_test.php:2003$bcdata2 = (object) ['backupid' => 2, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user2->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:1793$bcdata1 = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user1->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:1301$bcdata3 = (object) ['backupid' => 3, 'operation' => 'backup', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user1->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ) + DAYSECS, 'timemodified' => time( ) + DAYSECS, 'controller' => '']
/backup/tests/privacy/provider_test.php:1103$bcdata2 = (object) ['backupid' => 2, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user2->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:893$bcdata1 = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user1->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:512$bcdata = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/util/helper/tests/copy_helper_test.php:1221$discussion = $generator->get_plugin_generator('mod_forum')->create_discussion(['course' => $course->id, 'forum' => $forum->id, 'userid' => $user1->id, 'timemodified' => time( ), 'name' => 'Frog'])
/backup/util/helper/async_helper.class.php:2642$fileurl = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), null, $file->get_filepath( ), $file->get_filename( ), true)
/backup/controller/restore_controller.class.php:2631$tempchecksum = md5('tempdir-' . $this->tempdir . 'restoreid-' . $this->restoreid . 'courseid-' . $this->courseid . 'type-' . $this->type . 'format-' . $this->format . 'interactive-' . $this->interactive . 'mode-' . $this->mode . 'userid-' . $this->userid . 'target-' . $this->target . 'samesite-' . $this->samesite . 'operation-' . $this->operation . 'status-' . $this->status . 'precheck-' . backup_general_helper::array_checksum_recursive(array($this->precheck)) . 'execution-' . $this->execution . 'plan-' . backup_general_helper::array_checksum_recursive(array($this->plan)) . 'info-' . backup_general_helper::array_checksum_recursive(array($this->info)) . 'logger-' . backup_general_helper::array_checksum_recursive(array($this->logger)))
/backup/tests/privacy/provider_test.php:4611$bcdata3 = (object) ['backupid' => 3, 'operation' => 'restore', 'type' => 'activity', 'itemid' => $activity->cmid, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user3->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:4411$bcdata2 = (object) ['backupid' => 2, 'operation' => 'backup', 'type' => 'course', 'itemid' => $course1->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user2->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:4211$bcdata1 = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course1->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user1->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:3591$bcdata = (object) ['backupid' => 2, 'operation' => 'restore', 'type' => 'activity', 'itemid' => $activity->cmid, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user2->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:3302$bcdata = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:2653$bcdata2 = (object) ['backupid' => 2, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user2->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/tests/privacy/provider_test.php:2443$bcdata1 = (object) ['backupid' => 1, 'operation' => 'restore', 'type' => 'course', 'itemid' => $course->id, 'format' => 'moodle2', 'interactive' => 1, 'purpose' => 10, 'userid' => $user1->id, 'status' => 1000, 'execution' => 1, 'executiontime' => 0, 'checksum' => 'checksumyolo', 'timecreated' => time( ), 'timemodified' => time( ), 'controller' => '']
/backup/util/dbops/tests/restore_dbops_test.php:1651return ['samesite match existing (1A)' => ['dbuser' => $baseuserarr, 'backupuser' => $baseuserarr, 'samesite' => true, 'outcome' => 'match'], 'samesite match existing anon (1B)' => ['dbuser' => array_merge($baseuserarr, ['username' => 'anon01']), 'backupuser' => array_merge($baseuserarr, ['id' => -1, 'username' => 'anon01', 'firstname' => 'anonfirstname01', 'lastname' => 'anonlastname01', 'email' => 'anon01@doesntexist.invalid']), 'samesite' => true, 'outcome' => 'match'], 'samesite match existing deleted in db, alive in backup, by db username (1C)' => ['dbuser' => array_merge($baseuserarr, ['deleted' => 1]), 'backupuser' => array_merge($baseuserarr, ['username' => 'this_wont_match']), 'samesite' => true, 'outcome' => 'match'], 'samesite match existing deleted in db, alive in backup, by db email (1C)' => ['dbuser' => array_merge($baseuserarr, ['deleted' => 1]), 'backupuser' => array_merge($baseuserarr, ['email' => 'this_wont_match']), 'samesite' => true, 'outcome' => 'match'], 'samesite match existing alive in db, deleted in backup (1D)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['deleted' => 1]), 'samesite' => true, 'outcome' => 'match'], 'samesite conflict (1E)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['id' => -1]), 'samesite' => true, 'outcome' => false], 'samesite create user (1F)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['username' => 'newusername']), 'samesite' => false, 'outcome' => true], 'no samesite match existing, by db email (2A1)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['firstaccess' => 0]), 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing, by db firstaccess (2A1)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['email' => 'this_wont_match@example.con']), 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing anon (2A1 too)' => ['dbuser' => array_merge($baseuserarr, ['username' => 'anon01']), 'backupuser' => array_merge($baseuserarr, ['id' => -1, 'username' => 'anon01', 'firstname' => 'anonfirstname01', 'lastname' => 'anonlastname01', 'email' => 'anon01@doesntexist.invalid']), 'samesite' => false, 'outcome' => 'match'], 'no samesite match dupe admin (2A2)' => ['dbuser' => array_merge($baseuserarr, ['username' => 'admin_old_site_id', 'forceduplicateadminallowed' => true]), 'backupuser' => array_merge($baseuserarr, ['username' => 'admin']), 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing deleted in db, alive in backup, by db username (2B1)' => ['dbuser' => array_merge($baseuserarr, ['deleted' => 1]), 'backupuser' => array_merge($baseuserarr, ['firstaccess' => 0]), 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing deleted in db, alive in backup, by db firstaccess (2B1)' => ['dbuser' => array_merge($baseuserarr, ['deleted' => 1]), 'backupuser' => array_merge($baseuserarr, ['mail' => 'this_wont_match']), 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing deleted in db, alive in backup (2B2)' => ['dbuser' => array_merge($baseuserarr, ['deleted' => 1, 'forceemailcleanup' => true]), 'backupuser' => $baseuserarr, 'samesite' => false, 'outcome' => 'match'], 'no samesite match existing alive in db, deleted in backup (2C)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['deleted' => 1]), 'samesite' => false, 'outcome' => 'match'], 'no samesite conflict (2D)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['email' => 'anotheruser@example.com', 'firstaccess' => 0]), 'samesite' => false, 'outcome' => false], 'no samesite create user (2E)' => ['dbuser' => $baseuserarr, 'backupuser' => array_merge($baseuserarr, ['username' => 'newusername']), 'samesite' => false, 'outcome' => true], ]
/backup/util/structure/tests/structure_test.php:861$f1_forum_data = (object) array('contenthash' => 'testf1', 'contextid' => $this->contextid, 'component' => 'mod_forum', 'filearea' => 'intro', 'filename' => 'tf1', 'itemid' => 0, 'filesize' => 123, 'timecreated' => 0, 'timemodified' => 0, 'pathnamehash' => 'testf1')
/backup/util/dbops/backup_controller_dbops.class.php:2321$contentinfo = array('moduleid' => $task->get_moduleid( ), 'sectionid' => $task->get_sectionid( ), 'modulename' => $task->get_modulename( ), 'title' => $task->get_name( ), 'directory' => 'activities/' . $task->get_modulename( ) . '_' . $task->get_moduleid( ))
/backup/util/dbops/restore_dbops.class.php:10231$file_record = array('contextid' => $newcontextid, 'component' => $component, 'filearea' => $filearea, 'itemid' => $rec->newitemid, 'filepath' => $file->filepath, 'filename' => $file->filename, 'timecreated' => $time, 'timemodified' => $time, 'userid' => $mappeduserid, 'source' => $file->source, 'author' => $file->author, 'license' => $file->license, 'sortorder' => $file->sortorder)
/backup/util/plan/restore_plan.class.php:1891$event = \core\event\course_restored::create(array('objectid' => $this->get_courseid( ), 'userid' => $this->get_userid( ), 'context' => context_course::instance($this->get_courseid( )), 'other' => $otherarray))
/backup/util/plan/backup_plan.class.php:1501$otherarray = array('format' => $this->controller->get_format( ), 'mode' => $this->controller->get_mode( ), 'interactive' => $this->controller->get_interactive( ), 'type' => $this->controller->get_type( ), 'backupid' => $this->controller->get_backupid( ))
/backup/util/ui/classes/privacy/provider.php:2091$carry[] = ['operation' => $record->operation, 'type' => $record->type, 'itemid' => $record->itemid, 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => transform::datetime($record->timemodified), ]
/backup/util/plan/restore_plan.class.php:1771$otherarray = array('type' => $this->controller->get_type( ), 'target' => $this->controller->get_target( ), 'mode' => $this->controller->get_mode( ), 'operation' => $this->controller->get_operation( ), 'samesite' => $issamesite)
/backup/util/helper/backup_helper.class.php:3432$fr = array('contextid' => $ctxid, 'component' => $component, 'filearea' => $filearea, 'itemid' => $itemid, 'filepath' => '/', 'filename' => $filename, 'userid' => $userid, 'timecreated' => time( ), 'timemodified' => time( ))
/backup/util/helper/async_helper.class.php:1221$options = array('operation' => $this->get_operation_description( ), 'backupid' => $this->backupid, 'user_username' => $this->user->username, 'user_email' => $this->user->email, 'user_firstname' => $this->user->firstname, 'user_lastname' => $this->user->lastname, 'link' => $this->get_resource_link( ), )
/backup/util/structure/tests/structure_test.php:1371$rating2 = (object) array('contextid' => $this->contextid, 'userid' => 105, 'itemid' => $this->postid1, 'rating' => 3, 'scaleid' => -1, 'timecreated' => time( ), 'timemodified' => time( ))
/backup/util/structure/tests/structure_test.php:1561$forum = new backup_nested_element('forum', array('id'), array('type', 'name', 'intro', 'introformat', 'assessed', 'assesstimestart', 'assesstimefinish', 'scale', 'maxbytes', 'maxattachments', 'forcesubscribe', 'trackingtype', 'rsstype', 'rssarticles', 'timemodified', 'warnafter', 'blockafter', new backup_final_element('blockperiod'), new \mock_skip_final_element('completiondiscussions'), new \mock_modify_final_element('completionreplies'), new \mock_final_element_interceptor('completionposts')))
/backup/util/structure/tests/structure_test.php:1241$f1_post2 = (object) array('contenthash' => 'testp2', 'contextid' => $this->contextid, 'component' => 'mod_forum', 'filearea' => 'attachment', 'filename' => 'tp2', 'itemid' => $this->postid2, 'filesize' => 123, 'timecreated' => 0, 'timemodified' => 0, 'pathnamehash' => 'testp2')
/backup/util/structure/tests/structure_test.php:1331$rating1 = (object) array('contextid' => $this->contextid, 'userid' => 104, 'itemid' => $this->postid1, 'rating' => 2, 'scaleid' => -1, 'timecreated' => time( ), 'timemodified' => time( ))
/backup/util/structure/tests/structure_test.php:931$f2_forum_data = (object) array('contenthash' => 'tesft2', 'contextid' => $this->contextid, 'component' => 'mod_forum', 'filearea' => 'intro', 'filename' => 'tf2', 'itemid' => 0, 'filesize' => 123, 'timecreated' => 0, 'timemodified' => 0, 'pathnamehash' => 'testf2')
/backup/util/structure/tests/structure_test.php:1171$f1_post1 = (object) array('contenthash' => 'testp1', 'contextid' => $this->contextid, 'component' => 'mod_forum', 'filearea' => 'post', 'filename' => 'tp1', 'itemid' => $this->postid1, 'filesize' => 123, 'timecreated' => 0, 'timemodified' => 0, 'pathnamehash' => 'testp1')
/h5p/classes/player.php:2371$contentsettings = ['library' => core::libraryToString($this->content['library']), 'fullScreen' => $this->content['library']['fullscreen'], 'exportUrl' => ($exporturl instanceof \moodle_url) ? $exporturl->out(false) : '', 'embedCode' => $this->get_embed_code($this->url->out( ), $displayoptions[core::DISPLAY_OPTION_EMBED]), 'resizeCode' => self::get_resize_code( ), 'title' => $this->content['slug'], 'displayOptions' => $displayoptions, 'url' => $xapiobject->get_data( )->id, 'contentUrl' => $contenturl->out( ), 'metadata' => $this->content['metadata'], 'contentUserData' => [0 => ['state' => $this->get_state_data($xapiobject)]], ]
/h5p/classes/core.php:2521$file = $fs->create_file_from_url((object) ['component' => 'core_h5p', 'filearea' => 'library_sources', 'itemid' => 0, 'contextid' => (\context_system::instance( ))->id, 'filepath' => '/', 'filename' => $library['machineName'], ], $this->get_api_endpoint($library['machineName']), null, true)
/h5p/tests/generator_test.php:1202$expected = (object) ['h5pcontent' => (object) array('h5pid' => $h5p->id, 'contentdependencies' => array($mainlib, $lib1, $lib2, $lib3, $lib4)), 'mainlib' => (object) array('data' => $mainlib, 'dependencies' => array($lib1, $lib2, $lib3)), 'lib1' => (object) array('data' => $lib1, 'dependencies' => array($lib2, $lib3, $lib4)), 'lib2' => (object) array('data' => $lib2, 'dependencies' => array( )), 'lib3' => (object) array('data' => $lib3, 'dependencies' => array($lib5)), 'lib4' => (object) array('data' => $lib4, 'dependencies' => array( )), 'lib5' => (object) array('data' => $lib5, 'dependencies' => array( )), ]
/h5p/tests/generator_test.php:642$expected = (object) ['h5pcontent' => (object) array('h5pid' => $h5p->id, 'contentdependencies' => array($mainlib, $lib1, $lib2, $lib3, $lib4)), 'mainlib' => (object) array('data' => $mainlib, 'dependencies' => array($lib1, $lib2, $lib3)), 'lib1' => (object) array('data' => $lib1, 'dependencies' => array($lib2, $lib3, $lib4)), 'lib2' => (object) array('data' => $lib2, 'dependencies' => array( )), 'lib3' => (object) array('data' => $lib3, 'dependencies' => array($lib5)), 'lib4' => (object) array('data' => $lib4, 'dependencies' => array( )), 'lib5' => (object) array('data' => $lib5, 'dependencies' => array( )), ]
/h5p/classes/framework.php:8211$library = (object) array('title' => $librarydata['title'], 'machinename' => $librarydata['machineName'], 'majorversion' => $librarydata['majorVersion'], 'minorversion' => $librarydata['minorVersion'], 'patchversion' => $librarydata['patchVersion'], 'runnable' => $librarydata['runnable'], 'fullscreen' => $librarydata['fullscreen'], 'embedtypes' => $embedtypes, 'preloadedjs' => $preloadedjs, 'preloadedcss' => $preloadedcss, 'droplibrarycss' => $droplibrarycss, 'semantics' => $librarydata['semantics'], 'addto' => isset($librarydata['addTo']) ? json_encode($librarydata['addTo']) : null, 'coremajor' => isset($librarydata['coreApi']['majorVersion']) ? $librarydata['coreApi']['majorVersion'] : null, 'coreminor' => isset($librarydata['coreApi']['majorVersion']) ? $librarydata['coreApi']['minorVersion'] : null, 'metadatasettings' => isset($librarydata['metadataSettings']) ? $librarydata['metadataSettings'] : null, )
/h5p/classes/helper.php:3711$settings = array('baseUrl' => $basepath, 'url' => "{$basepath}pluginfile.php/{$systemcontext->instanceid}/core_h5p", 'urlLibraries' => "{$basepath}pluginfile.php/{$systemcontext->id}/core_h5p/libraries", 'postUserStatistics' => false, 'ajax' => $ajaxpaths, 'saveFreq' => $savefreq, 'siteUrl' => $CFG->wwwroot, 'l10n' => array('H5P' => $core->getLocalization( )), 'user' => $usersettings, 'hubIsEnabled' => false, 'reportingIsEnabled' => false, 'crossorigin' => !empty($CFG->h5pcrossorigin) ? $CFG->h5pcrossorigin : null, 'libraryConfig' => $core->h5pF->getLibraryConfig( ), 'pluginCacheBuster' => self::get_cache_buster( ), 'libraryUrl' => autoloader::get_h5p_core_library_url('js')->out( ), )
/h5p/classes/framework.php:13271$content = array('id' => $data->id, 'params' => $data->jsoncontent, 'embedType' => 'iframe', 'disable' => $data->displayoptions, 'title' => $data->title, 'slug' => H5PCore::slugify($data->title) . '-' . $data->id, 'filtered' => $data->filtered, 'libraryId' => $data->libraryid, 'libraryName' => $data->machinename, 'libraryMajorVersion' => $data->majorversion, 'libraryMinorVersion' => $data->minorversion, 'libraryEmbedTypes' => $data->embedtypes, 'libraryFullscreen' => $data->fullscreen, 'metadata' => '', 'pathnamehash' => $data->pathnamehash)
/h5p/classes/framework.php:11671$librarydata = array('libraryId' => $library->id, 'title' => $library->title, 'machineName' => $library->machinename, 'majorVersion' => $library->majorversion, 'minorVersion' => $library->minorversion, 'patchVersion' => $library->patchversion, 'runnable' => $library->runnable, 'fullscreen' => $library->fullscreen, 'embedTypes' => $library->embedtypes, 'preloadedJs' => $library->preloadedjs, 'preloadedCss' => $library->preloadedcss, 'dropLibraryCss' => $library->droplibrarycss, 'semantics' => $library->semantics)
/h5p/tests/framework_test.php:9511$librarydata = array('libraryId' => $library->id, 'title' => 'Test1', 'machineName' => 'TestLibrary', 'majorVersion' => '1', 'minorVersion' => '2', 'patchVersion' => '2', 'runnable' => 1, 'fullscreen' => 1, 'preloadedJs' => array(array('path' => 'js/name.min.js')), 'preloadedCss' => array(array('path' => 'css/name.css')), 'dropLibraryCss' => array(array('machineName' => 'Name2')))
/h5p/tests/generator_test.php:5761return ['Create h5p library dependency with set dependency type' => [[1, 1, 'dynamic'], (object) array('libraryid' => '1', 'requiredlibraryid' => '1', 'dependencytype' => 'dynamic')], 'Create h5p library dependency with default dependency type' => [[1, 1], (object) array('libraryid' => '1', 'requiredlibraryid' => '1', 'dependencytype' => 'preloaded')]]
/h5p/tests/framework_test.php:13471$dependencies = array(array('library' => array('libraryId' => $dependency1->id, 'machineName' => $dependency1->machinename, 'dropLibraryCss' => $dependency1->droplibrarycss), 'type' => 'preloaded', 'weight' => 1), array('library' => array('libraryId' => $dependency2->id, 'machineName' => $dependency2->machinename, 'dropLibraryCss' => $dependency2->droplibrarycss), 'type' => 'preloaded', 'weight' => 2), )
/h5p/tests/framework_test.php:11671$dependencies = array(array('machineName' => $dependency1->machinename, 'majorVersion' => $dependency1->majorversion, 'minorVersion' => $dependency1->minorversion), array('machineName' => $dependency2->machinename, 'majorVersion' => $dependency2->majorversion, 'minorVersion' => $dependency2->minorversion), )
/h5p/tests/generator_test.php:3391$expected = (object) ['machinename' => 'Library', 'title' => 'Lib', 'majorversion' => '1', 'minorversion' => '2', 'patchversion' => '3', 'runnable' => '1', 'fullscreen' => '1', 'embedtypes' => '', 'preloadedjs' => 'js/example.js', 'preloadedcss' => 'css/example.css', 'droplibrarycss' => '', 'semantics' => 'Semantics example', 'addto' => '/regex11/', 'tutorial' => 'http://tutorial.org/', 'example' => 'http://example.org/', 'coremajor' => null, 'coreminor' => null, 'metadatasettings' => null, 'enabled' => 1, ]
/h5p/tests/generator_test.php:2511$expected = (object) ['h5pcontent' => (object) ['h5pid' => $h5p->id, 'contentdependencies' => [$mainlib, $lib1, $lib2, $lib3, $lib4], ], 'mainlib' => (object) ['data' => $mainlib, 'dependencies' => [$lib1, $lib2, $lib3], ], 'lib1' => (object) ['data' => $lib1, 'dependencies' => [$lib2, $lib3, $lib4], ], 'lib2' => (object) ['data' => $lib2, 'dependencies' => [ ], ], 'lib3' => (object) ['data' => $lib3, 'dependencies' => [$lib5], ], 'lib4' => (object) ['data' => $lib4, 'dependencies' => [ ], ], 'lib5' => (object) ['data' => $lib5, 'dependencies' => [ ], ], ]
/h5p/tests/generator_test.php:5161return ['Create h5p content library with set dependency type' => [[1, 1, 'dynamic'], (object) array('h5pid' => '1', 'libraryid' => '1', 'dependencytype' => 'dynamic', 'dropcss' => '0', 'weight' => '1')], 'Create h5p content library with a default dependency type' => [[1, 1], (object) array('h5pid' => '1', 'libraryid' => '1', 'dependencytype' => 'preloaded', 'dropcss' => '0', 'weight' => '1')]]
/h5p/tests/generator_test.php:4231return ['Create h5p content record with set json content and set filtered content' => [[1, $createdjsoncontent, $createdfilteredcontent], (object) array('jsoncontent' => $createdjsoncontent, 'mainlibraryid' => '1', 'displayoptions' => '8', 'pathnamehash' => sha1('pathname'), 'contenthash' => sha1('content'), 'filtered' => $createdfilteredcontent, )], 'Create h5p content record with set json content and default filtered content' => [[1, $createdjsoncontent, null], (object) array('jsoncontent' => $createdjsoncontent, 'mainlibraryid' => '1', 'displayoptions' => '8', 'pathnamehash' => sha1('pathname'), 'contenthash' => sha1('content'), 'filtered' => $defaultfilteredcontent, )], 'Create h5p content record with default json content and set filtered content' => [[1, null, $createdfilteredcontent], (object) array('jsoncontent' => $defaultjsoncontent, 'mainlibraryid' => '1', 'displayoptions' => '8', 'pathnamehash' => sha1('pathname'), 'contenthash' => sha1('content'), 'filtered' => $createdfilteredcontent, )], 'Create h5p content record with default json content and default filtered content' => [[1, null, null], (object) array('jsoncontent' => $defaultjsoncontent, 'mainlibraryid' => '1', 'displayoptions' => '8', 'pathnamehash' => sha1('pathname'), 'contenthash' => sha1('content'), 'filtered' => $defaultfilteredcontent, )]]
/backup/cc/entity11.quiz.class.php:3081$replace_values = array($question['id'], $questionname, self::safexml($question['title']), $question_moodle_type, self::safexml($question['feedback']), $question['defaultgrade'], time( ), $question_type_node, $quiz_stamp, $quiz_version, $USER->id)
/backup/cc/entity.quiz.class.php:1482$replace_values = array($instance['id'], self::safexml($instance['title']), self::safexml($instance['title']), self::safexml($quiz_stamp), self::safexml($questions_strings), time( ), $instance['options']['max_attempts'], $instance['options']['timelimit'], $node_course_modules_quiz_question_instances, $node_course_modules_quiz_feedback)
/backup/cc/entity.quiz.class.php:3201$replace_values = array($question['id'], self::safexml($this->truncate_text($question['title'], 255, true)), self::safexml($question['title']), $question_moodle_type, self::safexml($question['feedback']), $question['defaultgrade'], time( ), $question_type_node, $quiz_stamp, $quiz_version, $USER->id)
/backup/cc/cc_lib/cc_organization.php:872return is_null($ns) ? ($nod->hasAttribute($name) ? $nod->getAttribute($name) : null) : ($nod->hasAttributeNS($ns, $name) ? $nod->getAttributeNS($ns, $name) : null)
/backup/controller/restore_controller.class.php:6001$this->restoreid = md5(time( ) . '-' . $this->tempdir . '-' . $this->courseid . '-' . $this->interactive . '-' . $this->mode . '-' . $this->userid . '-' . $this->target . '-' . $this->operation . '-' . random_string(20))
/backup/controller/backup_controller.class.php:3251$tempchecksum = md5('backupid-' . $this->backupid . 'type-' . $this->type . 'id-' . $this->id . 'format-' . $this->format . 'interactive-' . $this->interactive . 'mode-' . $this->mode . 'userid-' . $this->userid . 'operation-' . $this->operation . 'status-' . $this->status . 'execution-' . $this->execution . 'plan-' . backup_general_helper::array_checksum_recursive(array($this->plan)) . 'destination-' . backup_general_helper::array_checksum_recursive(array($this->destination)) . 'logger-' . backup_general_helper::array_checksum_recursive(array($this->logger)))
/backup/controller/backup_controller.class.php:6171$this->backupid = md5(time( ) . '-' . $this->type . '-' . $this->id . '-' . $this->format . '-' . $this->interactive . '-' . $this->mode . '-' . $this->userid . '-' . $this->operation . '-' . random_string(20))
/backup/cc/entity11.quiz.class.php:1422$replace_values = array($instance['id'], self::safexml($instance['title']), self::safexml($instance['title']), self::safexml($quiz_stamp), self::safexml($questions_strings), time( ), $instance['options']['max_attempts'], $instance['options']['timelimit'], $node_course_modules_quiz_question_instances, $node_course_modules_quiz_feedback)
/h5p/classes/file_storage.php:8621$record = array('contextid' => $this->context->id, 'component' => $contentid > 0 ? self::COMPONENT : 'user', 'filearea' => $contentid > 0 ? self::CONTENT_FILEAREA : 'draft', 'itemid' => $contentid > 0 ? $contentid : 0, 'filepath' => '/' . $foldername . '/', 'filename' => $filename)
/h5p/classes/file_storage.php:9561return ['contextid' => \context_system::instance( )->id, 'component' => self::COMPONENT, 'filearea' => self::CSS_FILEAREA, 'itemid' => 0, 'filepath' => '/', 'filename' => self::CUSTOM_CSS_FILENAME, ]
/h5p/classes/editor.php:3921$settings['editor'] = ['filesPath' => $filespathbase->out( ), 'fileIcon' => ['path' => $url . 'images/binary-file.png', 'width' => 50, 'height' => 50, ], 'ajaxPath' => $CFG->wwwroot . "/h5p/ajax.php?sesskey={$sesskey}&token={$editorajaxtoken}&action=", 'libraryUrl' => $url, 'copyrightSemantics' => $contentvalidator->getCopyrightSemantics( ), 'metadataSemantics' => $contentvalidator->getMetadataSemantics( ), 'assets' => $assets, 'apiVersion' => H5PCore::$coreApi, 'language' => $language, ]
/h5p/classes/helper.php:3181return ['tool' => get_string($tool, 'h5p'), 'tool_description' => get_string($tool . '_description', 'h5p'), 'link' => $link, 'status' => $statuschoices[$status], 'status_class' => $statusclasses[$status], 'status_action' => $statusaction, ]
/backup/cc/cc_lib/cc_organization.php:1712return is_null($ns) ? ($nod->hasAttribute($name) ? $nod->getAttribute($name) : null) : ($nod->hasAttributeNS($ns, $name) ? $nod->getAttributeNS($ns, $name) : null)
/h5p/classes/external.php:411return new external_function_parameters(['url' => new external_value(PARAM_URL, 'H5P file url.', VALUE_REQUIRED), 'frame' => new external_value(PARAM_INT, 'The frame allow to show the bar options below the content', VALUE_DEFAULT, 0), 'export' => new external_value(PARAM_INT, 'The export allow to download the package', VALUE_DEFAULT, 0), 'embed' => new external_value(PARAM_INT, 'The embed allow to copy the code to your site', VALUE_DEFAULT, 0), 'copyright' => new external_value(PARAM_INT, 'The copyright option', VALUE_DEFAULT, 0)])
/h5p/classes/file_storage.php:841$options = ['contextid' => $this->context->id, 'component' => self::COMPONENT, 'filearea' => self::LIBRARY_FILEAREA, 'filepath' => '/' . H5PCore::libraryToFolderName($library) . '/', 'itemid' => $library['libraryId'], ]
/h5p/classes/file_storage.php:1931$filerecord = ['contextid' => $this->context->id, 'component' => self::COMPONENT, 'filearea' => self::EXPORT_FILEAREA, 'itemid' => 0, 'filepath' => '/', 'filename' => $filename, 'userid' => $USER->id]
/mod/assign/feedback/file/locallib.php:6521$header = new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('uploadzip', 'assignfeedback_file'))
/mod/assign/feedback/file/locallib.php:6411$header = new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('confirmuploadzip', 'assignfeedback_file'))
/mod/assign/feedback/file/locallib.php:5481$header = new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('batchuploadfiles', 'assignfeedback_file'))
/mod/assign/feedback/file/locallib.php:4741$usersummary = new assign_user_summary($user, $this->assignment->get_course( )->id, has_capability('moodle/site:viewfullnames', $this->assignment->get_course_context( )), $this->assignment->is_blind_marking( ), $this->assignment->get_uniqueid_for_user($user->id), \core_user\fields::get_identity_fields($this->assignment->get_context( ), false))
/mod/assign/tests/event/events_test.php:5711$data = array('grademodified_' . $student->id => time( ), 'gradeattempt_' . $student->id => '', 'quickgrade_' . $student->id => '60.0', 'quickgrade_' . $student->id . '_workflowstate' => 'inmarking')
/mod/assign/tests/backup/restore_date_test.php:931$record = ['course' => $course->id, 'name' => random_string( ), 'intro' => random_string( ), 'introformat' => FORMAT_MARKDOWN, 'alwaysshowdescription' => 1, 'submissiondrafts' => 1, 'sendnotifications' => 1, 'sendlatenotifications' => 1, 'sendstudentnotifications' => 0, 'duedate' => time( ) + 1, 'cutoffdate' => time( ), 'gradingduedate' => time( ) + 2, 'allowsubmissionsfromdate' => time( ) - 1, 'grade' => 10, 'timemodified' => 100, 'completionsubmit' => 1, 'requiresubmissionstatement' => 1, 'teamsubmission' => 1, 'requireallteammemberssubmit' => 1, 'teamsubmissiongroupingid' => $generator->create_grouping(['courseid' => $course->id])->id, 'blindmarking' => 1, 'hidegrader' => 1, 'revealidentities' => 1, 'attemptreopenmethod' => 'manual', 'maxattempts' => 2, 'markingworkflow' => 1, 'markingallocation' => 1, 'markinganonymous' => 1, 'preventsubmissionnotingroup' => 1, 'activityeditor' => ['text' => random_string( ), 'format' => FORMAT_MARKDOWN, ], 'timelimit' => DAYSECS, 'submissionattachments' => 1, ]
/mod/assign/tests/privacy/provider_test.php:7122$comment = (object) ['contextid' => $context->id, 'component' => 'assignsubmission_comments', 'commentarea' => 'submission_comments', 'itemid' => 5, 'content' => 'A comment by user 1', 'format' => 0, 'userid' => $user1->id, 'timecreated' => time( )]
/mod/assign/tests/privacy/provider_test.php:1892$comment = (object) ['contextid' => $context->id, 'component' => 'assignsubmission_comments', 'commentarea' => 'submission_comments', 'itemid' => 5, 'content' => 'A comment by user 1', 'format' => 0, 'userid' => $user1->id, 'timecreated' => time( )]
/mod/assign/tests/externallib_test.php:27761return ['Student whose enrolment starts after the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 6 * DAYSECS]], 'Student whose enrolment starts before the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 12 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], ]
/mod/assign/tests/externallib_test.php:13931$rubricdefinition = array('areaid' => $areaid, 'method' => 'rubric', 'name' => 'test', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $teacher->id, 'timemodified' => 1, 'usermodified' => $teacher->id, 'timecopied' => 0)
/mod/assign/tests/externallib_test.php:1831$assign1 = self::getDataGenerator( )->create_module('assign', array('course' => $course1->id, 'name' => '<span lang="en" class="multilang">English</span><span lang="es" class="multilang">Español</span>', 'intro' => 'the assignment intro text here <a href="@@PLUGINFILE@@/intro.txt">link</a>', 'introformat' => FORMAT_HTML, 'markingworkflow' => 1, 'markingallocation' => 1, 'blindmarking' => 1, 'markinganonymous' => 1, 'activityeditor' => ['text' => 'Test activity', 'format' => 1, ], ))
/mod/assign/tests/downloader_test.php:2181return [$prefix . ' All users without groups' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => null, 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample02.txt', 'STUDENT2_STUDENT2.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT2_STUDENT2.ID_assignsubmission_file/submissionsample02.txt', 'STUDENT3_STUDENT3.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT3_STUDENT3.ID_assignsubmission_file/submissionsample02.txt', 'STUDENT4_STUDENT4.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT4_STUDENT4.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtered users' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => ['student1', 'student2'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample02.txt', 'STUDENT2_STUDENT2.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT2_STUDENT2.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtering users without submissions' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => ['student1', 'student5'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample01.txt', 'STUDENT1_STUDENT1.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Asking only for users without submissions' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => ['student5'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => [ ], ], $prefix . ' All users with all users in groups' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1'], 'group2' => ['student2', 'student3'], 'group3' => ['student4', 'student5'], ], 'filterusers' => null, 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'GROUP2_GROUP2.ID_assignsubmission_file/submissionsample01.txt', 'GROUP2_GROUP2.ID_assignsubmission_file/submissionsample02.txt', 'GROUP3_GROUP3.ID_assignsubmission_file/submissionsample01.txt', 'GROUP3_GROUP3.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtering users with disjoined groups' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1'], 'group2' => ['student2', 'student3'], 'group3' => ['student4', 'student5'], ], 'filterusers' => ['student1', 'student2'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'GROUP2_GROUP2.ID_assignsubmission_file/submissionsample01.txt', 'GROUP2_GROUP2.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtering users with default teams who does not do a submission' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1'], 'group2' => ['student2', 'student3'], 'group3' => ['student4', 'student5'], ], 'filterusers' => ['student1', 'student5'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'GROUP3_GROUP3.ID_assignsubmission_file/submissionsample01.txt', 'GROUP3_GROUP3.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtering users without submission but member of a group' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1'], 'group2' => ['student2', 'student3'], 'group3' => ['student4', 'student5'], ], 'filterusers' => ['student5'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP3_GROUP3.ID_assignsubmission_file/submissionsample01.txt', 'GROUP3_GROUP3.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' All users with users in the default team' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1', 'student2'], ], 'filterusers' => null, 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample01.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtered users in groups with users in the default team' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1', 'student2'], ], 'filterusers' => ['student1', 'student2'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtered users without groups with users in the default team' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1', 'student2'], ], 'filterusers' => ['student3', 'student4'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['DEFAULTTEAM_assignsubmission_file/submissionsample01.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtered users with some users in the default team' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1', 'student2'], ], 'filterusers' => ['student1', 'student3'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample01.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtering users with joined groups' => ['teamsubmission' => true, 'groupmembers' => ['group1' => ['student1', 'student2'], 'group2' => ['student2', 'student3'], ], 'filterusers' => ['student1', 'student2'], 'blindmarking' => false, 'downloadasfolder' => true, 'expected' => ['GROUP1_GROUP1.ID_assignsubmission_file/submissionsample01.txt', 'GROUP1_GROUP1.ID_assignsubmission_file/submissionsample02.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample01.txt', 'DEFAULTTEAM_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' All users without groups and blindmarking' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => null, 'blindmarking' => true, 'downloadasfolder' => true, 'expected' => ['PARTICIPANT_STUDENT1.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT1.ID_assignsubmission_file/submissionsample02.txt', 'PARTICIPANT_STUDENT2.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT2.ID_assignsubmission_file/submissionsample02.txt', 'PARTICIPANT_STUDENT3.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT3.ID_assignsubmission_file/submissionsample02.txt', 'PARTICIPANT_STUDENT4.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT4.ID_assignsubmission_file/submissionsample02.txt', ], ], $prefix . ' Filtered users without groups and blindmarking' => ['teamsubmission' => false, 'groupmembers' => [ ], 'filterusers' => ['student1', 'student2'], 'blindmarking' => true, 'downloadasfolder' => true, 'expected' => ['PARTICIPANT_STUDENT1.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT1.ID_assignsubmission_file/submissionsample02.txt', 'PARTICIPANT_STUDENT2.ID_assignsubmission_file/submissionsample01.txt', 'PARTICIPANT_STUDENT2.ID_assignsubmission_file/submissionsample02.txt', ], ], ]
/mod/assign/tests/downloader_test.php:711$users = ['student1' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student2' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student3' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student4' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student5' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), ]
/mod/assign/tests/lib_test.php:12581$event = new \calendar_event((object) ['courseid' => $instance->course, 'modulename' => 'assign', 'instance' => $instance->id, 'userid' => $student->id, 'eventtype' => ASSIGN_EVENT_TYPE_DUE, 'timestart' => $duedate + 1])
/mod/assign/tests/locallib_test.php:44891$params = array_merge(array('course' => $course->id, 'assignsubmission_file_maxfiles' => 1, 'assignsubmission_file_maxsizebytes' => 1024 * 1024, 'assignsubmission_onlinetext_enabled' => 1, 'assignsubmission_file_enabled' => 1, 'submissiondrafts' => 1, 'assignfeedback_file_enabled' => 1, 'assignfeedback_comments_enabled' => 1, 'attemptreopenmethod' => ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL, 'sendnotifications' => 0), $params)
/mod/assign/tests/locallib_test.php:42151return ['Teacher whose enrolment starts after the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Teacher whose enrolment starts before the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 12 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Teacher whose enrolment starts after the course start date, relative dates mode disabled' => ['courseconfig' => ['relativedatesmode' => false, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Student whose enrolment starts after the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], ]
/mod/assign/feedback/offline/locallib.php:3481$filename = clean_filename(get_string('offlinegradingworksheet', 'assignfeedback_offline') . '-' . $this->assignment->get_course( )->shortname . '-' . $this->assignment->get_instance( )->name . '-' . $groupname . $this->assignment->get_course_module( )->id)
/mod/assign/db/access.php:251$capabilities = array('mod/assign:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('guest' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:submit' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('student' => CAP_ALLOW)), 'mod/assign:grade' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:exportownsubmission' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, 'student' => CAP_ALLOW, )), 'mod/assign:addinstance' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:manageactivities'), 'mod/assign:editothersubmission' => array('riskbitmask' => RISK_MANAGETRUST | RISK_DATALOSS | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE), 'mod/assign:grantextension' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'gradereport/grader:view'), 'mod/assign:revealidentities' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:reviewgrades' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/grade:manage'), 'mod/assign:releasegrades' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/grade:manage'), 'mod/assign:managegrades' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/grade:manage'), 'mod/assign:manageallocations' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/grade:manage'), 'mod/assign:viewgrades' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW)), 'mod/assign:viewblinddetails' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW)), 'mod/assign:receivegradernotifications' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:manageoverrides' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:showhiddengrader' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/assign:viewownsubmissionsummary' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('student' => CAP_ALLOW)), )
/mod/assign/feedback/offline/locallib.php:2881$o .= $renderer->render(new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('confirmimport', 'assignfeedback_offline')))
/mod/assign/feedback/offline/locallib.php:3171$o .= $renderer->render(new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('uploadgrades', 'assignfeedback_offline')))
/mod/assign/feedback/editpdf/fpdi/PdfReader/Page.php:3631$normalizedRect = Rectangle::byVectors($gs->toUserSpace(new Vector($rect->getLlx( ), $rect->getLly( ))), $gs->toUserSpace(new Vector($rect->getUrx( ), $rect->getUry( ))))
/mod/assign/feedback/offline/locallib.php:2231$o .= $renderer->render(new assign_header($this->assignment->get_instance( ), $this->assignment->get_context( ), false, $this->assignment->get_course_module( )->id, get_string('importgrades', 'assignfeedback_offline')))
/mod/assign/feedback/editpdf/fpdi/PdfParser/Filter/Ascii85.php:901$r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + ($chn[2] + 1) * 85 * 85
/mod/assign/feedback/editpdf/fpdi/PdfParser/Filter/Ascii85.php:941$r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + $chn[2] * 85 * 85 + ($chn[3] + 1) * 85
/mod/assign/feedback/editpdf/fpdi/FpdiTrait.php:3531$dict->value['Matrix'] = PdfArray::create([PdfNumeric::create($a), PdfNumeric::create($b), PdfNumeric::create($c), PdfNumeric::create($d), PdfNumeric::create($e), PdfNumeric::create($f)])
/mod/assign/feedback/editpdf/fpdi/FpdiTrait.php:4111$this->importedPages[$pageId] = ['objectNumber' => null, 'readerId' => $this->currentReaderId, 'id' => 'TPL' . $this->getNextTemplateId( ), 'width' => $width / $this->k, 'height' => $height / $this->k, 'stream' => $stream, 'externalLinks' => $externalLinks]
/mod/assign/feedback/editpdf/tests/feedback_test.php:661$filerecord = (object) array('contextid' => $assign->get_context( )->id, 'component' => 'assignsubmission_file', 'filearea' => ASSIGNSUBMISSION_FILE_FILEAREA, 'itemid' => $submission->id, 'filepath' => '/', 'filename' => $textfile ? 'submission.txt' : 'submission.pdf')
/mod/assign/feedback/editpdf/fpdi/FpdfTplTrait.php:2211$this->templates[$templateId] = ['objectNumber' => null, 'id' => 'TPL' . $templateId, 'buffer' => $buffer, 'width' => $width, 'height' => $height, 'groupXObject' => $groupXObject, 'state' => ['x' => $this->x, 'y' => $this->y, 'AutoPageBreak' => $this->AutoPageBreak, 'bMargin' => $this->bMargin, 'tMargin' => $this->tMargin, 'lMargin' => $this->lMargin, 'rMargin' => $this->rMargin, 'h' => $this->h, 'hPt' => $this->hPt, 'w' => $this->w, 'wPt' => $this->wPt, 'FontFamily' => $this->FontFamily, 'FontStyle' => $this->FontStyle, 'FontSizePt' => $this->FontSizePt, 'FontSize' => $this->FontSize, 'underline' => $this->underline, 'TextColor' => $this->TextColor, 'DrawColor' => $this->DrawColor, 'FillColor' => $this->FillColor, 'ColorFlag' => $this->ColorFlag]]
/mod/assign/feedback/editpdf/classes/renderer.php:2361$editorparams = array(array('header' => $header, 'body' => $body, 'footer' => $footer, 'linkid' => $linkid, 'assignmentid' => $widget->assignment, 'userid' => $widget->userid, 'attemptnumber' => $widget->attemptnumber, 'stampfiles' => $widget->stampfiles, 'readonly' => $widget->readonly, ))
/mod/assign/feedback/editpdf/classes/task/bump_submission_for_stale_conversions.php:551return ['sql' => $c['sql'] . ($c['sql'] ? ' OR ' : '') . $DB->sql_like('f1.filename', ':' . $ext), 'params' => $c['params'] + [$ext => '%.' . $ext]]
/mod/assign/feedback/editpdf/locallib.php:1421$url = moodle_url::make_pluginfile_url($gradestamp->get_contextid( ), $gradestamp->get_component( ), $gradestamp->get_filearea( ), null, $gradestamp->get_filepath( ), $gradestamp->get_filename( ), false)
/mod/assign/feedback/editpdf/locallib.php:4461return [document_services::FINAL_PDF_FILEAREA => $this->get_name( ), document_services::COMBINED_PDF_FILEAREA => $this->get_name( ), document_services::PARTIAL_PDF_FILEAREA => $this->get_name( ), document_services::IMPORT_HTML_FILEAREA => $this->get_name( ), document_services::PAGE_IMAGE_FILEAREA => $this->get_name( ), document_services::PAGE_IMAGE_READONLY_FILEAREA => $this->get_name( ), document_services::STAMPS_FILEAREA => $this->get_name( ), document_services::TMP_JPG_TO_PDF_FILEAREA => $this->get_name( ), document_services::TMP_ROTATED_JPG_FILEAREA => $this->get_name( )]
/mod/assign/externallib.php:27861$otherkeys = ['groups' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'group id'), 'name' => new external_value(PARAM_RAW, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description'), ]), 'user groups', VALUE_OPTIONAL), 'roles' => new external_multiple_structure(new external_single_structure(['roleid' => new external_value(PARAM_INT, 'role id'), 'name' => new external_value(PARAM_RAW, 'role name'), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'role shortname'), 'sortorder' => new external_value(PARAM_INT, 'role sortorder')]), 'user roles', VALUE_OPTIONAL), 'enrolledcourses' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Id of the course'), 'fullname' => new external_value(PARAM_RAW, 'Fullname of the course'), 'shortname' => new external_value(PARAM_RAW, 'Shortname of the course')]), 'Courses where the user is enrolled - limited by which courses the user is able to see', VALUE_OPTIONAL), 'submitted' => new external_value(PARAM_BOOL, 'have they submitted their assignment'), 'requiregrading' => new external_value(PARAM_BOOL, 'is their submission waiting for grading'), 'grantedextension' => new external_value(PARAM_BOOL, 'have they been granted an extension'), 'submissionstatus' => new external_value(PARAM_ALPHA, 'The submission status (new, draft, reopened or submitted). Empty when not submitted.', VALUE_OPTIONAL), 'groupid' => new external_value(PARAM_INT, 'for group assignments this is the group id', VALUE_OPTIONAL), 'groupname' => new external_value(PARAM_TEXT, 'for group assignments this is the group name', VALUE_OPTIONAL), ]
/mod/assign/externallib.php:26661$params = self::validate_parameters(self::list_participants_parameters( ), array('assignid' => $assignid, 'groupid' => $groupid, 'filter' => $filter, 'skip' => $skip, 'limit' => $limit, 'onlyids' => $onlyids, 'includeenrolments' => $includeenrolments, 'tablesort' => $tablesort))
/mod/assign/externallib.php:29321return new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the user'), 'fullname' => new external_value(PARAM_NOTAGS, 'The fullname of the user'), 'submitted' => new external_value(PARAM_BOOL, 'have they submitted their assignment'), 'requiregrading' => new external_value(PARAM_BOOL, 'is their submission waiting for grading'), 'grantedextension' => new external_value(PARAM_BOOL, 'have they been granted an extension'), 'blindmarking' => new external_value(PARAM_BOOL, 'is blind marking enabled for this assignment'), 'allowsubmissionsfromdate' => new external_value(PARAM_INT, 'allowsubmissionsfromdate for the user'), 'duedate' => new external_value(PARAM_INT, 'duedate for the user'), 'cutoffdate' => new external_value(PARAM_INT, 'cutoffdate for the user'), 'duedatestr' => new external_value(PARAM_TEXT, 'duedate for the user'), 'groupid' => new external_value(PARAM_INT, 'for group assignments this is the group id', VALUE_OPTIONAL), 'groupname' => new external_value(PARAM_TEXT, 'for group assignments this is the group name', VALUE_OPTIONAL), 'submissionstatus' => new external_value(PARAM_ALPHA, 'The submission status (new, draft, reopened or submitted). Empty when not submitted.', VALUE_OPTIONAL), 'user' => $userdescription, ))
/mod/assign/externallib.php:28871$return = array('id' => $participant->id, 'fullname' => $participant->fullname, 'submitted' => $participant->submitted, 'requiregrading' => $participant->requiregrading, 'grantedextension' => $participant->grantedextension, 'submissionstatus' => $participant->submissionstatus, 'blindmarking' => $assign->is_blind_marking( ), 'allowsubmissionsfromdate' => $assign->get_instance($userid)->allowsubmissionsfromdate, 'duedate' => $assign->get_instance($userid)->duedate, 'cutoffdate' => $assign->get_instance($userid)->cutoffdate, 'duedatestr' => userdate($assign->get_instance($userid)->duedate, get_string('strftimedatetime', 'langconfig')), )
/mod/assign/externallib.php:20521return new external_function_parameters(array('assignmentid' => new external_value(PARAM_INT, 'The assignment id to operate on'), 'applytoall' => new external_value(PARAM_BOOL, 'If true, this grade will be applied ' . 'to all members ' . 'of the group (for group assignments).'), 'grades' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The student id to operate on'), 'grade' => new external_value(PARAM_FLOAT, 'The new grade for this user. ' . 'Ignored if advanced grading used'), 'attemptnumber' => new external_value(PARAM_INT, 'The attempt number (-1 means latest attempt)'), 'addattempt' => new external_value(PARAM_BOOL, 'Allow another attempt if manual attempt reopen method'), 'workflowstate' => new external_value(PARAM_ALPHA, 'The next marking workflow state'), 'plugindata' => new external_single_structure($pluginfeedbackparams, 'plugin data', VALUE_DEFAULT, array( )), 'advancedgradingdata' => new external_single_structure($advancedgradingdata, 'advanced grading data', VALUE_DEFAULT, array( )))))))
/mod/assign/externallib.php:19601$params = self::validate_parameters(self::save_grade_parameters( ), array('assignmentid' => $assignmentid, 'userid' => $userid, 'grade' => $grade, 'attemptnumber' => $attemptnumber, 'workflowstate' => $workflowstate, 'addattempt' => $addattempt, 'applytoall' => $applytoall, 'plugindata' => $plugindata, 'advancedgradingdata' => $advancedgradingdata))
/mod/assign/externallib.php:26281return new external_function_parameters(array('assignid' => new external_value(PARAM_INT, 'assign instance id'), 'groupid' => new external_value(PARAM_INT, 'group id'), 'filter' => new external_value(PARAM_RAW, 'search string to filter the results'), 'skip' => new external_value(PARAM_INT, 'number of records to skip', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'maximum number of records to return', VALUE_DEFAULT, 0), 'onlyids' => new external_value(PARAM_BOOL, 'Do not return all user fields', VALUE_DEFAULT, false), 'includeenrolments' => new external_value(PARAM_BOOL, 'Do return courses where the user is enrolled', VALUE_DEFAULT, true), 'tablesort' => new external_value(PARAM_BOOL, 'Apply current user table sorting preferences.', VALUE_DEFAULT, false)))
/mod/assign/externallib.php:25471return new external_single_structure(array('gradingsummary' => new external_single_structure(array('participantcount' => new external_value(PARAM_INT, 'Number of users who can submit.'), 'submissiondraftscount' => new external_value(PARAM_INT, 'Number of submissions in draft status.'), 'submissiondraftscount' => new external_value(PARAM_INT, 'Number of submissions in draft status.'), 'submissionsenabled' => new external_value(PARAM_BOOL, 'Whether submissions are enabled or not.'), 'submissionssubmittedcount' => new external_value(PARAM_INT, 'Number of submissions in submitted status.'), 'submissionsneedgradingcount' => new external_value(PARAM_INT, 'Number of submissions that need grading.'), 'warnofungroupedusers' => new external_value(PARAM_ALPHA, 'Whether we need to warn people that there are users without groups (\'warningrequired\'), warn people there are users who will submit in the default group (\'warningoptional\') or no warning (\'\').'), ), 'Grading information.', VALUE_OPTIONAL), 'lastattempt' => new external_single_structure(array('submission' => self::get_submission_structure(VALUE_OPTIONAL), 'teamsubmission' => self::get_submission_structure(VALUE_OPTIONAL), 'submissiongroup' => new external_value(PARAM_INT, 'The submission group id (for group submissions only).', VALUE_OPTIONAL), 'submissiongroupmemberswhoneedtosubmit' => new external_multiple_structure(new external_value(PARAM_INT, 'USER id.'), 'List of users who still need to submit (for group submissions only).', VALUE_OPTIONAL), 'submissionsenabled' => new external_value(PARAM_BOOL, 'Whether submissions are enabled or not.'), 'locked' => new external_value(PARAM_BOOL, 'Whether new submissions are locked.'), 'graded' => new external_value(PARAM_BOOL, 'Whether the submission is graded.'), 'canedit' => new external_value(PARAM_BOOL, 'Whether the user can edit the current submission.'), 'caneditowner' => new external_value(PARAM_BOOL, 'Whether the owner of the submission can edit it.'), 'cansubmit' => new external_value(PARAM_BOOL, 'Whether the user can submit.'), 'extensionduedate' => new external_value(PARAM_INT, 'Extension due date.'), 'timelimit' => new external_value(PARAM_INT, 'Time limit for submission.', VALUE_OPTIONAL), 'blindmarking' => new external_value(PARAM_BOOL, 'Whether blind marking is enabled.'), 'gradingstatus' => new external_value(PARAM_ALPHANUMEXT, 'Grading status.'), 'usergroups' => new external_multiple_structure(new external_value(PARAM_INT, 'Group id.'), 'User groups in the course.'), ), 'Last attempt information.', VALUE_OPTIONAL), 'feedback' => new external_single_structure(array('grade' => self::get_grade_structure(VALUE_OPTIONAL), 'gradefordisplay' => new external_value(PARAM_RAW, 'Grade rendered into a format suitable for display.'), 'gradeddate' => new external_value(PARAM_INT, 'The date the user was graded.'), 'plugins' => new external_multiple_structure(self::get_plugin_structure( ), 'Plugins info.', VALUE_OPTIONAL), ), 'Feedback for the last attempt.', VALUE_OPTIONAL), 'previousattempts' => new external_multiple_structure(new external_single_structure(array('attemptnumber' => new external_value(PARAM_INT, 'Attempt number.'), 'submission' => self::get_submission_structure(VALUE_OPTIONAL), 'grade' => self::get_grade_structure(VALUE_OPTIONAL), 'feedbackplugins' => new external_multiple_structure(self::get_plugin_structure( ), 'Feedback info.', VALUE_OPTIONAL), )), 'List all the previous attempts did by the user.', VALUE_OPTIONAL), 'assignmentdata' => new external_single_structure(['attachments' => new external_single_structure(['intro' => new external_files('Intro attachments files', VALUE_OPTIONAL), 'activity' => new external_files('Activity attachments files', VALUE_OPTIONAL), ], 'Intro and activity attachments', VALUE_OPTIONAL), 'activity' => new external_value(PARAM_RAW, 'Text of activity', VALUE_OPTIONAL), 'activityformat' => new external_format_value('activity', VALUE_OPTIONAL), ], 'Extra information about assignment', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/mod/assign/externallib.php:13341return new external_single_structure(array('assignmentid' => new external_value(PARAM_INT, 'assignment id'), 'mappings' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'user mapping id'), 'userid' => new external_value(PARAM_INT, 'student id'))))))
/mod/assign/externallib.php:11861return new external_single_structure(array('assignmentid' => new external_value(PARAM_INT, 'assignment id'), 'userflags' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'user flag id'), 'userid' => new external_value(PARAM_INT, 'student id'), 'locked' => new external_value(PARAM_INT, 'locked'), 'mailed' => new external_value(PARAM_INT, 'mailed'), 'extensionduedate' => new external_value(PARAM_INT, 'extension due date'), 'workflowstate' => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL), 'allocatedmarker' => new external_value(PARAM_INT, 'allocated marker'))))))
/mod/assign/externallib.php:19161return new external_function_parameters(array('assignmentid' => new external_value(PARAM_INT, 'The assignment id to operate on'), 'userid' => new external_value(PARAM_INT, 'The student id to operate on'), 'grade' => new external_value(PARAM_FLOAT, 'The new grade for this user. Ignored if advanced grading used'), 'attemptnumber' => new external_value(PARAM_INT, 'The attempt number (-1 means latest attempt)'), 'addattempt' => new external_value(PARAM_BOOL, 'Allow another attempt if the attempt reopen method is manual'), 'workflowstate' => new external_value(PARAM_ALPHA, 'The next marking workflow state'), 'applytoall' => new external_value(PARAM_BOOL, 'If true, this grade will be applied ' . 'to all members ' . 'of the group (for group assignments).'), 'plugindata' => new external_single_structure($pluginfeedbackparams, 'plugin data', VALUE_DEFAULT, array( )), 'advancedgradingdata' => new external_single_structure($advancedgradingdata, 'advanced grading data', VALUE_DEFAULT, array( ))))
/mod/assign/externallib.php:16831return new external_function_parameters(array('assignmentid' => new external_value(PARAM_INT, 'The assignment id to operate on'), 'userids' => new external_multiple_structure(new external_value(PARAM_INT, 'user id'), '1 or more user ids', VALUE_REQUIRED), 'dates' => new external_multiple_structure(new external_value(PARAM_INT, 'dates'), '1 or more extension dates (timestamp)', VALUE_REQUIRED), ))
/mod/assign/externallib.php:8471return new external_single_structure(array('type' => new external_value(PARAM_TEXT, 'submission plugin type'), 'name' => new external_value(PARAM_TEXT, 'submission plugin name'), 'fileareas' => new external_multiple_structure(new external_single_structure(array('area' => new external_value(PARAM_TEXT, 'file area'), 'files' => new external_files('files', VALUE_OPTIONAL), )), 'fileareas', VALUE_OPTIONAL), 'editorfields' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TEXT, 'field name'), 'description' => new external_value(PARAM_RAW, 'field description'), 'text' => new external_value(PARAM_RAW, 'field value'), 'format' => new external_format_value('text'))), 'editorfields', VALUE_OPTIONAL)))
/mod/assign/externallib.php:7971$submission = array('id' => $submissionrecord->id, 'userid' => $submissionrecord->userid, 'timecreated' => $submissionrecord->timecreated, 'timemodified' => $submissionrecord->timemodified, 'timestarted' => $submissionrecord->timestarted, 'status' => $submissionrecord->status, 'attemptnumber' => $submissionrecord->attemptnumber, 'groupid' => $submissionrecord->groupid, 'plugins' => self::get_plugins_data($assign, $submissionplugins, $submissionrecord), 'gradingstatus' => $assign->get_grading_status($submissionrecord->userid))
/mod/assign/externallib.php:9341return new external_function_parameters(array('assignmentid' => new external_value(PARAM_INT, 'assignment id'), 'userflags' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'student id'), 'locked' => new external_value(PARAM_INT, 'locked', VALUE_OPTIONAL), 'mailed' => new external_value(PARAM_INT, 'mailed', VALUE_OPTIONAL), 'extensionduedate' => new external_value(PARAM_INT, 'extension due date', VALUE_OPTIONAL), 'workflowstate' => new external_value(PARAM_ALPHA, 'marking workflow state', VALUE_OPTIONAL), 'allocatedmarker' => new external_value(PARAM_INT, 'allocated marker', VALUE_OPTIONAL))))))
/mod/assign/externallib.php:8801return new external_single_structure(array('id' => new external_value(PARAM_INT, 'submission id'), 'userid' => new external_value(PARAM_INT, 'student id'), 'attemptnumber' => new external_value(PARAM_INT, 'attempt number'), 'timecreated' => new external_value(PARAM_INT, 'submission creation time'), 'timemodified' => new external_value(PARAM_INT, 'submission last modified time'), 'timestarted' => new external_value(PARAM_INT, 'submission start time', VALUE_OPTIONAL), 'status' => new external_value(PARAM_TEXT, 'submission status'), 'groupid' => new external_value(PARAM_INT, 'group id'), 'assignment' => new external_value(PARAM_INT, 'assignment id', VALUE_OPTIONAL), 'latest' => new external_value(PARAM_INT, 'latest attempt', VALUE_OPTIONAL), 'plugins' => new external_multiple_structure(self::get_plugin_structure( ), 'plugins', VALUE_OPTIONAL), 'gradingstatus' => new external_value(PARAM_ALPHANUMEXT, 'Grading status.', VALUE_OPTIONAL), ), 'submission info', $required)
/mod/assign/tests/externallib_advanced_testcase.php:521$params = array_merge(['course' => $course->id, 'assignsubmission_file_maxfiles' => 1, 'assignsubmission_file_maxsizebytes' => 1024 * 1024, 'assignsubmission_onlinetext_enabled' => 1, 'assignsubmission_file_enabled' => 1, 'submissiondrafts' => 1, 'assignfeedback_file_enabled' => 1, 'assignfeedback_comments_enabled' => 1, 'attemptreopenmethod' => ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL, 'sendnotifications' => 0], $params)
/mod/assign/tests/dates_test.php:531return ['without any dates' => [null, null, null, null, null, null, [ ]], 'only with opening time' => [$after, null, null, null, null, null, [['label' => get_string('activitydate:submissionsopen', 'mod_assign'), 'timestamp' => $after, 'dataid' => 'allowsubmissionsfromdate'], ]], 'only with closing time' => [null, $after, null, null, null, null, [['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $after, 'dataid' => 'duedate'], ]], 'with both times' => [$after, $later, null, null, null, null, [['label' => get_string('activitydate:submissionsopen', 'mod_assign'), 'timestamp' => $after, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $later, 'dataid' => 'duedate'], ]], 'between the dates' => [$before, $after, null, null, null, null, [['label' => get_string('activitydate:submissionsopened', 'mod_assign'), 'timestamp' => $before, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $after, 'dataid' => 'duedate'], ]], 'dates are past' => [$earlier, $before, null, null, null, null, [['label' => get_string('activitydate:submissionsopened', 'mod_assign'), 'timestamp' => $earlier, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $before, 'dataid' => 'duedate'], ]], 'with user override' => [$before, $after, $earlier, $later, null, null, [['label' => get_string('activitydate:submissionsopened', 'mod_assign'), 'timestamp' => $earlier, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $later, 'dataid' => 'duedate'], ]], 'with group override' => [$before, $after, null, null, $earlier, $later, [['label' => get_string('activitydate:submissionsopened', 'mod_assign'), 'timestamp' => $earlier, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $later, 'dataid' => 'duedate'], ]], 'with both user and group overrides' => [$before, $after, $earlier, $later, $earlier - DAYSECS, $later + DAYSECS, [['label' => get_string('activitydate:submissionsopened', 'mod_assign'), 'timestamp' => $earlier, 'dataid' => 'allowsubmissionsfromdate'], ['label' => get_string('activitydate:submissionsdue', 'mod_assign'), 'timestamp' => $later, 'dataid' => 'duedate'], ]], ]
/mod/assign/tests/locallib_test.php:36781$overrides = [(object) ['assignid' => $instance->id, 'groupid' => $group1->id, 'userid' => null, 'sortorder' => 1, 'allowsubmissionsfromdate' => 1, 'duedate' => 2, 'cutoffdate' => 3, 'timelimit' => null], (object) ['assignid' => $instance->id, 'groupid' => $group2->id, 'userid' => null, 'sortorder' => 2, 'allowsubmissionsfromdate' => 5, 'duedate' => 6, 'cutoffdate' => 6, 'timelimit' => null], (object) ['assignid' => $instance->id, 'groupid' => null, 'userid' => $student3->id, 'sortorder' => null, 'allowsubmissionsfromdate' => 7, 'duedate' => 8, 'cutoffdate' => 9, 'timelimit' => null], ]
/mod/assign/tests/locallib_test.php:41341return ['Teacher whose enrolment starts after the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 6 * DAYSECS]], 'Teacher whose enrolment starts before the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 12 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Teacher whose enrolment starts after the course start date, relative dates mode disabled' => ['courseconfig' => ['relativedatesmode' => false, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'teacher', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Student whose enrolment starts after the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 6 * DAYSECS]], 'Student whose enrolment starts before the course start date, relative dates mode enabled' => ['courseconfig' => ['relativedatesmode' => true, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 12 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], 'Student whose enrolment starts after the course start date, relative dates mode disabled' => ['courseconfig' => ['relativedatesmode' => false, 'startdate' => $timenow - 10 * DAYSECS], 'assignconfig' => ['duedate' => $timenow + 4 * DAYSECS], 'enrolconfig' => ['shortname' => 'student', 'userparams' => null, 'method' => 'manual', 'startdate' => $timenow - 8 * DAYSECS], 'expectedproperties' => ['duedate' => $timenow + 4 * DAYSECS]], ]
/mod/assign/classes/output/actionmenu.php:591return ['submissionlink' => (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid, 'action' => 'grading']))->out(false), 'gradelink' => (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid, 'action' => 'grader']))->out(false)]
/mod/assign/classes/navigation/views/secondary.php:341$defaultmaping[self::TYPE_SETTING] = array_merge($defaultmaping[self::TYPE_SETTING], ['modedit' => 1, "mod_{$this->page->activityname}_useroverrides" => 2, "mod_{$this->page->activityname}_groupoverrides" => 3, ])
/mod/assign/classes/event/submission_status_updated.php:541$data = array('context' => $assign->get_context( ), 'objectid' => $submission->id, 'relateduserid' => ($assign->get_instance( )->teamsubmission) ? null : $submission->userid, 'other' => array('newstatus' => $submission->status))
/mod/assign/classes/event/submission_removed.php:571$data = ['context' => $assign->get_context( ), 'objectid' => $submission->id, 'relateduserid' => $assign->get_instance( )->teamsubmission ? null : $submission->userid, 'anonymous' => $assign->is_blind_marking( ) ? 1 : 0, 'other' => ['submissionid' => $submission->id, 'submissionattempt' => $submission->attemptnumber, 'submissionstatus' => $submission->status, 'groupid' => $groupid, 'groupname' => $groupname]]
/mod/assign/classes/output/renderer.php:9711$urlparams = array('id' => $history->coursemoduleid, 'rownum' => $history->rownum, 'useridlistid' => $history->useridlistid, 'attemptnumber' => $grade->attemptnumber, 'action' => 'grade', 'returnaction' => $history->returnaction, 'returnparams' => $returnparams)
/mod/assign/classes/output/renderer.php:10831$urlparams = array('id' => $submissionplugin->coursemoduleid, 'sid' => $submissionplugin->submission->id, 'plugin' => $submissionplugin->plugin->get_type( ), 'action' => $action, 'returnaction' => $submissionplugin->returnaction, 'returnparams' => $returnparams)
/mod/assign/classes/output/renderer.php:11961$urlparams = array('id' => $feedbackplugin->coursemoduleid, 'gid' => $feedbackplugin->grade->id, 'plugin' => $feedbackplugin->plugin->get_type( ), 'action' => 'viewplugin' . $feedbackplugin->plugin->get_subtype( ), 'returnaction' => $feedbackplugin->returnaction, 'returnparams' => http_build_query($feedbackplugin->returnparams))
/mod/assign/classes/output/renderer.php:14041$result .= '<li yuiConfig=\'' . json_encode($yuiconfig) . '\'>' . '<div>' . '<div class="fileuploadsubmission">' . $image . ' ' . html_writer::link($tree->get_file_url($file), $file->get_filename( ), ['target' => '_blank', ]) . ' ' . $plagiarismlinks . ' ' . $this->get_portfolio_button($tree, $file) . ' ' . '</div>' . '<div class="fileuploadsubmissiontime">' . $tree->get_modified_time($file) . '</div>' . '</div>' . '</li>'
/mod/assign/classes/privacy/provider.php:5201$datatypes = ['locked' => get_string('locksubmissions', 'mod_assign'), 'mailed' => get_string('privacy:metadata:mailed', 'mod_assign'), 'extensionduedate' => get_string('extensionduedate', 'mod_assign'), 'workflowstate' => get_string('markingworkflowstate', 'mod_assign'), 'allocatedmarker' => get_string('allocatedmarker_help', 'mod_assign')]
/mod/assign/classes/privacy/provider.php:5481$gradedata = (object) ['timecreated' => transform::datetime($grade->timecreated), 'timemodified' => transform::datetime($grade->timemodified), 'grader' => transform::user($grade->grader), 'grade' => $grade->grade, 'attemptnumber' => ($grade->attemptnumber + 1)]
/mod/assign/classes/privacy/provider.php:5671$submissiondata = (object) ['timecreated' => transform::datetime($submission->timecreated), 'timemodified' => transform::datetime($submission->timemodified), 'timestarted' => transform::datetime($submission->timestarted), 'status' => get_string('submissionstatus_' . $submission->status, 'mod_assign'), 'groupid' => $submission->groupid, 'attemptnumber' => ($submission->attemptnumber + 1), 'latest' => transform::yesno($submission->latest)]
/mod/assign/classes/privacy/provider.php:5871$assignpreferences = ['assign_perpage' => ['string' => get_string('privacy:metadata:assignperpage', 'mod_assign'), 'bool' => false], 'assign_filter' => ['string' => get_string('privacy:metadata:assignfilter', 'mod_assign'), 'bool' => false], 'assign_markerfilter' => ['string' => get_string('privacy:metadata:assignmarkerfilter', 'mod_assign'), 'bool' => true], 'assign_workflowfilter' => ['string' => get_string('privacy:metadata:assignworkflowfilter', 'mod_assign'), 'bool' => true], 'assign_quickgrading' => ['string' => get_string('privacy:metadata:assignquickgrading', 'mod_assign'), 'bool' => true], 'assign_downloadasfolders' => ['string' => get_string('privacy:metadata:assigndownloadasfolders', 'mod_assign'), 'bool' => true]]
/mod/h5pactivity/tests/generator/lib.php:2571$record = (object) ['h5pactivityid' => $attemptinfo['h5pactivityid'], 'userid' => $attemptinfo['userid'], 'timecreated' => time( ), 'timemodified' => time( ), 'attempt' => $attemptinfo['attempt'], 'rawscore' => $attemptinfo['rawscore'], 'maxscore' => $attemptinfo['maxscore'], 'duration' => $attemptinfo['duration'], 'completion' => $attemptinfo['completion'], 'success' => $attemptinfo['success'], ]
/mod/h5pactivity/tests/generator/lib.php:1351$result = (object) ['attemptid' => $attempt->id, 'subcontent' => '', 'timecreated' => $currenttime, 'interactiontype' => 'compound', 'description' => 'description for ' . $userid, 'correctpattern' => '', 'response' => '', 'additionals' => '{"extensions":{"http:\/\/h5p.org\/x-api\/h5p-local-content-id":' . $cmid . '},"contextExtensions":{}}', 'rawscore' => 3, 'maxscore' => 5, 'completion' => 1, 'success' => 1, 'scaled' => 0.6, ]
/mod/h5pactivity/tests/generator/lib.php:1201$attempt = (object) ['h5pactivityid' => $instance->id, 'userid' => $userid, 'timecreated' => $currenttime, 'timemodified' => $currenttime, 'attempt' => $attemptnum, 'rawscore' => 3, 'maxscore' => 5, 'completion' => 1, 'success' => 1, 'scaled' => 0.6, ]
/mod/h5pactivity/tests/local/manager_test.php:11781$attempt = (object) ['h5pactivityid' => $activity->id, 'userid' => $user->id, 'timecreated' => ($basescore + 60), 'timemodified' => ($basescore + 60), 'attempt' => 4, 'rawscore' => $basescore, 'maxscore' => $basescore, 'duration' => $basescore, ]
/mod/h5pactivity/tests/generator/lib.php:3991$additionals = (object) ["source" => [(object) ["id" => "0", "description" => (object) ["en-US" => "Drop item A\n", ], ], (object) ["id" => "1", "description" => (object) ["en-US" => "Drop item B\n", ], ], ], "target" => [(object) ["id" => "0", "description" => (object) ["en-US" => "Drop zone A\n", ], ], (object) ["id" => "1", "description" => (object) ["en-US" => "Drop zone B\n", ], ], ], "extensions" => ["http://h5p.org/x-api/h5p-local-content-id" => 1, "http://h5p.org/x-api/h5p-subContentId" => "682f1c74-c819-4e9d-8c36-12d9dc5fcdbc", ], "contextExtensions" => (object) [ ], ]
/mod/h5pactivity/tests/generator/lib.php:3461$additionals = (object) ["choices" => [(object) ["id" => "3", "description" => (object) ["en-US" => "Another wrong answer\n", ], ], (object) ["id" => "2", "description" => (object) ["en-US" => "Wrong answer\n", ], ], (object) ["id" => "1", "description" => (object) ["en-US" => "This is also a correct answer\n", ], ], (object) ["id" => "0", "description" => (object) ["en-US" => "This is a correct answer\n", ], ], ], "extensions" => (object) ["http://h5p.org/x-api/h5p-local-content-id" => 1, "http://h5p.org/x-api/h5p-subContentId" => "4367a919-ec47-43c9-b521-c22d9c0c0d8d", ], "contextExtensions" => (object) [ ], ]
/mod/h5pactivity/tests/generator/lib.php:3001$attempt = (object) ['id' => $attemptinfo['attemptid'], 'rawscore' => $record['rawscore'], 'maxscore' => $record['maxscore'], 'duration' => $record['duration'], 'completion' => $record['completion'], 'success' => $record['success'], ]
/mod/h5pactivity/tests/generator/lib.php:2881$record = $statement + ['attemptid' => $attemptinfo['attemptid'], 'interactiontype' => $attemptinfo['interactiontype'] ?? 'compound', 'timecreated' => time( ), 'rawscore' => $attemptinfo['rawscore'], 'maxscore' => $attemptinfo['maxscore'], 'duration' => $attemptinfo['duration'], 'completion' => $attemptinfo['completion'], 'success' => $attemptinfo['success'], ]
/mod/h5pactivity/tests/local/grader_test.php:3441$attempt = (object) ['h5pactivityid' => $activity->id, 'userid' => $user->id, 'timecreated' => 10, 'timemodified' => 20, 'attempt' => 1, 'rawscore' => $rawscore, 'maxscore' => $maxscore, 'duration' => 2, 'completion' => $completion, 'success' => 0, ]
/mod/h5pactivity/tests/output/result/result_test.php:1941$resultdata = ['attemptid' => $attempt->id, 'subcontent' => '', 'timecreated' => time( ), 'completion' => true, 'success' => true, 'score' => (object) ['min' => 0, 'max' => 2, 'raw' => 2, 'scaled' => 1], 'duration' => 'PT25S', ]
/mod/h5pactivity/tests/output/result/result_test.php:371return ['fill-in with case sensitive' => ['result' => ['interactiontype' => 'fill-in', 'description' => '<p>Fill in the missing words</p> <p>Meow .... this is a __________</p> <p>Bark... this is a __________</p>', 'correctpattern' => '["{case_matters=true}cat[,]dog"]', 'response' => 'Cat[,]dog', 'additionals' => '{"extensions":{"http:\\/\\/h5p.org\\/x-api\\/h5p-local-content-id":31,' . '"https:\\/\\/h5p.org\\/x-api\\/case-sensitivity":true,' . '"https:\\/\\/h5p.org\\/x-api\\/alternatives":[["cat"],["dog"]]},"contextExtensions":{}}', ], 'useranswers' => ['Gap #1 - cat' => (object) ['answer' => 'Cat', 'incorrect' => true], 'Gap #2 - dog' => (object) ['answer' => 'dog', 'correct' => true], ], ], 'fill-in with case insensitive' => ['result' => ['interactiontype' => 'fill-in', 'description' => '<p>Fill in the missing words</p> <p>Meow .... this is a __________</p> <p>Bark... this is a __________</p>', 'correctpattern' => '["{case_matters=false}cat[,]dog"]', 'response' => 'Cat[,]dog', 'additionals' => '{"extensions":{"http:\\/\\/h5p.org\\/x-api\\/h5p-local-content-id":31,' . '"https:\\/\\/h5p.org\\/x-api\\/case-sensitivity":false,' . '"https:\\/\\/h5p.org\\/x-api\\/alternatives":[["cat"],["dog"]]},"contextExtensions":{}}', ], 'useranswers' => ['Gap #1 - cat' => (object) ['answer' => 'Cat', 'correct' => true], 'Gap #2 - dog' => (object) ['answer' => 'dog', 'correct' => true], ], ], 'drag and drop' => ['result' => ['interactiontype' => 'matching', 'description' => 'Drag and Drop Test', 'correctpattern' => '["0[.]0[,]0[.]2[,]1[.]1[,]1[.]0"]', 'response' => '0[.]0[,]1[.]1[,]0[.]2[,]0[.]3', 'additionals' => '{"source":[{"id":"0","description":{"en-US":"Answer 1 (DZ1 and DZ2)\n"}},' . '{"id":"1","description":{"en-US":"Anwser 2 (DZ2)\n"}},' . '{"id":"2","description":{"en-US":"Anwser 3 (DZ1)\n"}},' . '{"id":"3","description":{"en-US":"Anwser 4 (neither)\n"}}],' . '"target":[{"id":"0","description":{"en-US":"Dropzone 1\n"}},' . '{"id":"1","description":{"en-US":"Dropzone 2\n"}}],' . '"extensions":{"http:\/\/h5p.org\/x-api\/h5p-local-content-id":41,' . '"http:\/\/h5p.org\/x-api\/h5p-subContentId":"59590246-f16e-4855-8dd6-c80e892ef96b"},' . '"contextExtensions":{}}', ], 'useranswers' => ['Answer 1 (DZ1 and DZ2) - Dropzone 1, Dropzone 2' => (object) ['answer' => 'Dropzone 1', 'correct' => true], 'Anwser 2 (DZ2) - Dropzone 2' => (object) ['answer' => 'Dropzone 2', 'correct' => true], 'Anwser 3 (DZ1) - Dropzone 1' => (object) ['answer' => 'Dropzone 1', 'correct' => true], 'Anwser 4 (neither) - ' => (object) ['answer' => 'Dropzone 1', 'incorrect' => true], ], ], 'drag and drop with no answer' => ['result' => ['interactiontype' => 'matching', 'description' => 'Drag and Drop Test', 'correctpattern' => '["0[.]0[,]0[.]2[,]1[.]1[,]1[.]0"]', 'response' => '1[.]0[,]1[.]1', 'additionals' => '{"source":[{"id":"0","description":{"en-US":"Answer 1 (DZ1 and DZ2)\n"}},' . '{"id":"1","description":{"en-US":"Anwser 2 (DZ2)\n"}},' . '{"id":"2","description":{"en-US":"Anwser 3 (DZ1)\n"}},' . '{"id":"3","description":{"en-US":"Anwser 4 (neither)\n"}}],' . '"target":[{"id":"0","description":{"en-US":"Dropzone 1\n"}},' . '{"id":"1","description":{"en-US":"Dropzone 2\n"}}],' . '"extensions":{"http:\/\/h5p.org\/x-api\/h5p-local-content-id":41,' . '"http:\/\/h5p.org\/x-api\/h5p-subContentId":"59590246-f16e-4855-8dd6-c80e892ef96b"},' . '"contextExtensions":{}}', ], 'useranswers' => ['Answer 1 (DZ1 and DZ2) - Dropzone 1, Dropzone 2' => (object) ['answer' => 'Dropzone 2', 'correct' => true], 'Anwser 2 (DZ2) - Dropzone 2' => (object) ['answer' => 'Dropzone 2', 'correct' => true], 'Anwser 3 (DZ1) - Dropzone 1' => (object) ['answer' => 'None', 'incorrect' => true], 'Anwser 4 (neither) - ' => (object) ['answer' => 'None', 'correct' => true], ], ], 'sort the paragraph text' => ['result' => ['interactiontype' => 'sequencing', 'description' => 'SortParagraphs', 'correctpattern' => '["0[,]1[,]2[,]3[,]4"]', 'response' => '0[,]1[,]3[,]2[,]4', 'additionals' => '{"choices":[{"id":0,"description":{"en":"First I wake up at 7.30 am\\n",' . '"en-US":"First I wake up at 7.30 am\\n"}}' . ',{"id":1,"description":{"en":"Next I get dressed\\n","en-US":"Next I get dressed\\n"}},' . '{"id":2,"description":{"en":"Afterward I have breakfast\\n","en-US":"Afterward I have breakfast\\n"}},' . '{"id":3,"description":{"en":"I brush my teeth\\n","en-US":"I brush my teeth\\n"}},' . '{"id":4,"description":{"en":"Finally I go school\\n","en-US":"Finally I go school\\n"}}],' . '"extensions":{"http:\\/\\/h5p.org\\/x-api\\/h5p-local-content-id":39,' . '"https:\\/\\/h5p.org\\/x-api\\/duplicates-interchangeable":1},"contextExtensions":{}}', ], 'useranswers' => ['#1 - First I wake up at 7.30 am' => (object) ['answer' => 'Correct answer', 'pass' => true], '#2 - Next I get dressed' => (object) ['answer' => 'Correct answer', 'pass' => true], '#3 - Afterward I have breakfast' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#4 - I brush my teeth' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#5 - Finally I go school' => (object) ['answer' => 'Correct answer', 'pass' => true], ], ], 'sequencing images' => ['result' => ['interactiontype' => 'sequencing', 'description' => 'Order the planets from smallest to largest', 'correctpattern' => '["item_3[,]item_0[,]item_7[,]item_1[,]item_5[,]item_2[,]item_4[,]item_6"]', 'response' => 'item_0[,]item_1[,]item_3[,]item_2[,]item_5[,]item_4[,]item_6[,]item_7', 'additionals' => '{"choices":[{"id":"item_3","description":{"en-US":"Mercury"}},' . '{"id":"item_0","description":{"en-US":"Mars"}},{"id":"item_7","description":{"en-US":"Earth"}},' . '{"id":"item_1","description":{"en-US":"Venus"}},{"id":"item_5","description":{"en-US":"Uranus"}},' . '{"id":"item_2","description":{"en-US":"Neptune"}},{"id":"item_4","description":{"en-US":"Saturn"}},' . '{"id":"item_6","description":{"en-US":"Jupiter"}}],"extensions":' . '{"http:\/\/h5p.org\/x-api\/h5p-local-content-id":43},"contextExtensions":{}}', ], 'useranswers' => ['#1 - Mercury' => (object) ['answer' => 'Correct answer', 'pass' => true], '#2 - Mars' => (object) ['answer' => 'Correct answer', 'pass' => true], '#3 - Earth' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#4 - Venus' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#5 - Uranus' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#6 - Neptune' => (object) ['answer' => 'Incorrect answer', 'fail' => true], '#7 - Saturn' => (object) ['answer' => 'Correct answer', 'pass' => true], '#8 - Jupiter' => (object) ['answer' => 'Correct answer', 'pass' => true], ], ], ]
/mod/h5pactivity/tests/generator_test.php:1341$attemptinfo = ['userid' => $user->id, 'h5pactivityid' => $activity->id, 'attempt' => $track['attempt'], 'interactiontype' => $track['interactiontype'], 'rawscore' => $track['rawscore'], 'maxscore' => $track['maxscore'], 'duration' => $track['duration'], 'completion' => $track['completion'], 'success' => $track['success'], ]
/mod/h5pactivity/tests/local/manager_test.php:11621$attempt = (object) ['h5pactivityid' => $activity->id, 'userid' => $user->id, 'timecreated' => ($basescore + 40), 'timemodified' => ($basescore + 50), 'attempt' => 3, 'rawscore' => $basescore, 'maxscore' => ($basescore + $basescore + 1), 'duration' => $basescore, 'completion' => 1, 'success' => 0, ]
/mod/h5pactivity/tests/local/manager_test.php:11471$attempt = (object) ['h5pactivityid' => $activity->id, 'userid' => $user->id, 'timecreated' => ($basescore + 20), 'timemodified' => ($basescore + 30), 'attempt' => 2, 'rawscore' => $basescore, 'maxscore' => ($basescore + $basescore - 1), 'duration' => $basescore, 'completion' => 1, 'success' => 1, ]
/mod/h5pactivity/tests/local/manager_test.php:11321$attempt = (object) ['h5pactivityid' => $activity->id, 'userid' => $user->id, 'timecreated' => $basescore, 'timemodified' => ($basescore + 10), 'attempt' => 1, 'rawscore' => $basescore, 'maxscore' => ($basescore + $basescore), 'duration' => $basescore, 'completion' => 1, 'success' => 1, ]
/mod/h5pactivity/tests/local/manager_test.php:8451$users = ['editingteacher' => $this->getDataGenerator( )->create_and_enrol($course, 'editingteacher'), 'student' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'otheruser' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), ]
/mod/book/locallib.php:3251$toc .= html_writer::link(new moodle_url('show.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'sesskey' => $USER->sesskey)), $OUTPUT->pix_icon('t/hide', get_string('hidechapter', 'mod_book', $title)), array('title' => get_string('hidechapter', 'mod_book', $titleunescaped)))
/mod/book/locallib.php:3311$toc .= html_writer::link(new moodle_url('edit.php', array('cmid' => $cm->id, 'pagenum' => $ch->pagenum, 'subchapter' => $ch->subchapter)), $OUTPUT->pix_icon('add', $buttontitle, 'mod_book'), array('title' => $buttontitle))
/mod/book/locallib.php:3081$toc .= $OUTPUT->action_icon(new moodle_url('delete.php', ['id' => $cm->id, 'chapterid' => $ch->id, 'sesskey' => sesskey( ), 'confirm' => 1, ]), new pix_icon('t/delete', get_string('deletechapter', 'mod_book', $title)), $deleteaction, ['title' => get_string('deletechapter', 'mod_book', $titleunescaped)])
/mod/book/locallib.php:3211$toc .= html_writer::link(new moodle_url('show.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'sesskey' => $USER->sesskey)), $OUTPUT->pix_icon('t/show', get_string('showchapter', 'mod_book', $title)), array('title' => get_string('showchapter', 'mod_book', $titleunescaped)))
/mod/book/backup/moodle1/lib.php:531return array(new convert_path('book', '/MOODLE_BACKUP/COURSE/MODULES/MOD/BOOK', array('renamefields' => array('summary' => 'intro', ), 'newfields' => array('introformat' => FORMAT_MOODLE, ), 'dropfields' => array('disableprinting'), )), new convert_path('book_chapters', '/MOODLE_BACKUP/COURSE/MODULES/MOD/BOOK/CHAPTERS/CHAPTER', array('newfields' => array('contentformat' => FORMAT_HTML, ), )), )
/mod/book/tool/exportimscp/locallib.php:1321$imsmanifest .= '<?xml version="1.0" encoding="UTF-8"?> <!-- This package has been created with Moodle ' . $moodle_release . ' (' . $moodle_version . ') http://moodle.org/, Book module version ' . $book_version . ' - https://github.com/skodak/moodle-mod_book --> <!-- One idea and implementation by Eloy Lafuente (stronk7) and Antonio Vicent (C) 2001-3001 --> <manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="MANIFEST-' . md5($CFG->wwwroot . '-' . $book->course . '-' . $book->id) . '" xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd"> <organizations default="MOODLE-' . $book->course . '-' . $book->id . '"> <organization identifier="MOODLE-' . $book->course . '-' . $book->id . '" structure="hierarchical"> <title>' . htmlspecialchars($bookname, ENT_COMPAT) . '</title>'
/mod/book/lib.php:5561$thischapter = array("title" => format_string($chapter->title, true, array('context' => $context)), "href" => $chapter->id . "/index.html", "level" => 0, "hidden" => $chapter->hidden, "subitems" => array( ))
/mod/book/classes/external.php:2271return new external_single_structure(array('books' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['numbering' => new external_value(PARAM_INT, 'Book numbering configuration'), 'navstyle' => new external_value(PARAM_INT, 'Book navigation style configuration'), 'customtitles' => new external_value(PARAM_INT, 'Book custom titles type'), 'revision' => new external_value(PARAM_INT, 'Book revision', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ]), 'Books')), 'warnings' => new external_warnings( ), ))
/mod/h5pactivity/tests/external/get_attempts_test.php:4021$countattempts = [$users['editingteacher']->id => 0, $users['student1']->id => 1, $users['student2']->id => 2, $users['noattempts']->id => 0, $users['noenrolled']->id => 0, ]
/mod/h5pactivity/tests/external/get_results_test.php:731$users = ['editingteacher' => $this->getDataGenerator( )->create_and_enrol($course, 'editingteacher'), 'student' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'other' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), ]
/mod/h5pactivity/tests/external/get_attempts_test.php:711$users = ['editingteacher' => $this->getDataGenerator( )->create_and_enrol($course, 'editingteacher'), 'student' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'other' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'noenrolled' => $this->getDataGenerator( )->create_user( ), ]
/mod/h5pactivity/tests/external/get_attempts_test.php:3821$users = ['editingteacher' => $this->getDataGenerator( )->create_and_enrol($course, 'editingteacher'), 'student1' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student2' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'noattempts' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'noenrolled' => $this->getDataGenerator( )->create_user( ), ]
/mod/book/locallib.php:2991$toc .= html_writer::link(new moodle_url('move.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'up' => '0', 'sesskey' => $USER->sesskey)), $OUTPUT->pix_icon('t/down', get_string('movechapterdown', 'mod_book', $title)), array('title' => get_string('movechapterdown', 'mod_book', $titleunescaped)))
/mod/book/locallib.php:3031$toc .= html_writer::link(new moodle_url('edit.php', array('cmid' => $cm->id, 'id' => $ch->id)), $OUTPUT->pix_icon('t/edit', get_string('editchapter', 'mod_book', $title)), array('title' => get_string('editchapter', 'mod_book', $titleunescaped)))
/mod/h5pactivity/tests/external/get_results_test.php:2071$users = ['editingteacher' => $this->getDataGenerator( )->create_and_enrol($course, 'editingteacher'), 'student1' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), 'student2' => $this->getDataGenerator( )->create_and_enrol($course, 'student'), ]
/mod/book/locallib.php:2941$toc .= html_writer::link(new moodle_url('move.php', array('id' => $cm->id, 'chapterid' => $ch->id, 'up' => '1', 'sesskey' => $USER->sesskey)), $OUTPUT->pix_icon('t/up', get_string('movechapterup', 'mod_book', $title)), array('title' => get_string('movechapterup', 'mod_book', $titleunescaped)))
/mod/h5pactivity/classes/privacy/provider.php:1941$alldata[$track->contextid][$track->attempt][] = (object) ['description' => $track->description, 'response' => $track->response, 'interactiontype' => $track->interactiontype, 'additionals' => $track->additionals, 'rawscore' => $track->rawscore, 'maxscore' => $track->maxscore, 'duration' => $track->duration, 'timecreated' => transform::datetime($track->timecreated), ]
/mod/h5pactivity/view.php:571$fileurl = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ), false)
/mod/h5pactivity/classes/output/attempt.php:761$data = (object) ['id' => $attempt->get_id( ), 'h5pactivityid' => $attempt->get_h5pactivityid( ), 'userid' => $attempt->get_userid( ), 'timecreated' => $attempt->get_timecreated( ), 'timemodified' => $attempt->get_timemodified( ), 'attempt' => $attempt->get_attempt( ), 'rawscore' => $attempt->get_rawscore( ), 'maxscore' => $attempt->get_maxscore( ), 'duration' => '-', 'durationcompact' => '-', 'completion' => $attempt->get_completion( ), 'completionicon' => $this->completion_icon($output, $attempt->get_completion( )), 'completiontext' => $this->completion_icon($output, $attempt->get_completion( ), true), 'success' => $attempt->get_success( ), 'successicon' => $this->success_icon($output, $attempt->get_success( )), 'successtext' => $this->success_icon($output, $attempt->get_success( ), true), 'scaled' => $attempt->get_scaled( ), 'reporturl' => new moodle_url('/mod/h5pactivity/report.php', ['a' => $attempt->get_h5pactivityid( ), 'attemptid' => $attempt->get_id( )]), ]
/mod/h5pactivity/classes/output/result.php:1471$data = (object) ['id' => $result->id, 'attemptid' => $result->attemptid, 'subcontent' => $result->subcontent, 'timecreated' => $result->timecreated, 'interactiontype' => $result->interactiontype, 'description' => strip_tags($result->description), 'rawscore' => $result->rawscore, 'maxscore' => $result->maxscore, 'duration' => $result->duration, 'completion' => $result->completion, 'success' => $result->success, ]
/mod/h5pactivity/classes/local/manager.php:1381$types = [self::GRADEHIGHESTATTEMPT => get_string('attempt_highest', 'mod_h5pactivity'), self::GRADEAVERAGEATTEMPT => get_string('attempt_average', 'mod_h5pactivity'), self::GRADELASTATTEMPT => get_string('attempt_last', 'mod_h5pactivity'), self::GRADEFIRSTATTEMPT => get_string('attempt_first', 'mod_h5pactivity'), self::GRADEMANUAL => get_string('attempt_none', 'mod_h5pactivity'), ]
/mod/h5pactivity/classes/local/manager.php:1241return [self::GRADEHIGHESTATTEMPT => get_string('grade_highest_attempt', 'mod_h5pactivity'), self::GRADEAVERAGEATTEMPT => get_string('grade_average_attempt', 'mod_h5pactivity'), self::GRADELASTATTEMPT => get_string('grade_last_attempt', 'mod_h5pactivity'), self::GRADEFIRSTATTEMPT => get_string('grade_first_attempt', 'mod_h5pactivity'), self::GRADEMANUAL => get_string('grade_manual', 'mod_h5pactivity'), ]
/mod/h5pactivity/classes/external/get_attempts.php:1971$structure = ['userid' => new external_value(PARAM_INT, 'The user id'), 'attempts' => new external_multiple_structure(self::get_attempt_returns( ), 'The complete attempts list'), 'scored' => new external_single_structure(['title' => new external_value(PARAM_NOTAGS, 'Scored attempts title'), 'grademethod' => new external_value(PARAM_NOTAGS, 'Scored attempts title'), 'attempts' => new external_multiple_structure(self::get_attempt_returns( ), 'List of the grading attempts'), ], 'Attempts used to grade the activity', VALUE_OPTIONAL), ]
/mod/h5pactivity/classes/external/get_attempts.php:1552$result = (object) ['id' => $attempt->get_id( ), 'h5pactivityid' => $attempt->get_h5pactivityid( ), 'userid' => $attempt->get_userid( ), 'timecreated' => $attempt->get_timecreated( ), 'timemodified' => $attempt->get_timemodified( ), 'attempt' => $attempt->get_attempt( ), 'rawscore' => $attempt->get_rawscore( ), 'maxscore' => $attempt->get_maxscore( ), 'duration' => $attempt->get_duration( ), 'scaled' => $attempt->get_scaled( ), ]
/mod/assign/submission/file/locallib.php:1471$fileoptions = array('subdirs' => 1, 'maxbytes' => $this->get_config('maxsubmissionsizebytes'), 'maxfiles' => $this->get_config('maxfilesubmissions'), 'accepted_types' => $this->get_configured_typesets( ), 'return_types' => (FILE_INTERNAL | FILE_CONTROLLED_LINK))
/mod/assign/backup/moodle2/backup_assign_stepslib.php:671$assign = new backup_nested_element('assign', array('id'), array('name', 'intro', 'introformat', 'alwaysshowdescription', 'submissiondrafts', 'sendnotifications', 'sendlatenotifications', 'sendstudentnotifications', 'duedate', 'cutoffdate', 'gradingduedate', 'allowsubmissionsfromdate', 'grade', 'timemodified', 'completionsubmit', 'requiresubmissionstatement', 'teamsubmission', 'requireallteammemberssubmit', 'teamsubmissiongroupingid', 'blindmarking', 'hidegrader', 'revealidentities', 'attemptreopenmethod', 'maxattempts', 'markingworkflow', 'markingallocation', 'markinganonymous', 'preventsubmissionnotingroup', 'activity', 'activityformat', 'timelimit', 'submissionattachments'))
/mod/assign/submission/onlinetext/locallib.php:1941$editoroptions = array('noclean' => false, 'maxfiles' => EDITOR_UNLIMITED_FILES, 'maxbytes' => $this->assignment->get_course( )->maxbytes, 'context' => $this->assignment->get_context( ), 'return_types' => (FILE_INTERNAL | FILE_EXTERNAL | FILE_CONTROLLED_LINK), 'removeorphaneddrafts' => true)
/mod/assign/submission/file/locallib.php:2431$params = array('context' => context_module::instance($this->assignment->get_course_module( )->id), 'courseid' => $this->assignment->get_course( )->id, 'objectid' => $submission->id, 'other' => array('content' => '', 'pathnamehashes' => array_keys($files)))
/mod/assign/submission/onlinetext/locallib.php:3921$plagiarismlinks .= plagiarism_get_links(array('userid' => $submission->userid, 'content' => $onlinetext, 'cmid' => $this->assignment->get_course_module( )->id, 'course' => $this->assignment->get_course( )->id, 'assignment' => $submission->assignment))
/mod/assign/submission/onlinetext/locallib.php:2441$params = array('context' => context_module::instance($this->assignment->get_course_module( )->id), 'courseid' => $this->assignment->get_course( )->id, 'objectid' => $submission->id, 'other' => array('pathnamehashes' => array_keys($files), 'content' => trim($data->onlinetext), 'format' => $data->onlinetext_editor['format']))
/mod/h5pactivity/lib.php:7522$template = ['userpicture' => $userpicture, 'submissiontimestamp' => $activity->timestamp, 'modinfo' => $modinfo, 'userurl' => new moodle_url('/user/view.php', array('id' => $activity->user->id, 'course' => $courseid)), 'fullname' => $activity->user->fullname]
/mod/assign/submission/onlinetext/locallib.php:4771$plagiarismlinks .= plagiarism_get_links(array('userid' => $submission->userid, 'content' => trim($onlinetextsubmission->onlinetext), 'cmid' => $this->assignment->get_course_module( )->id, 'course' => $this->assignment->get_course( )->id, 'assignment' => $submission->assignment))
/mod/h5pactivity/classes/external/get_results.php:2151$result = new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the context'), 'h5pactivityid' => new external_value(PARAM_INT, 'ID of the H5P activity'), 'userid' => new external_value(PARAM_INT, 'ID of the user'), 'timecreated' => new external_value(PARAM_INT, 'Attempt creation'), 'timemodified' => new external_value(PARAM_INT, 'Attempt modified'), 'attempt' => new external_value(PARAM_INT, 'Attempt number'), 'rawscore' => new external_value(PARAM_INT, 'Attempt score value'), 'maxscore' => new external_value(PARAM_INT, 'Attempt max score'), 'duration' => new external_value(PARAM_INT, 'Attempt duration in seconds'), 'completion' => new external_value(PARAM_INT, 'Attempt completion', VALUE_OPTIONAL), 'success' => new external_value(PARAM_INT, 'Attempt success', VALUE_OPTIONAL), 'scaled' => new external_value(PARAM_FLOAT, 'Attempt scaled'), 'results' => new external_multiple_structure(self::get_result_returns( ), 'The results of the attempt', VALUE_OPTIONAL), ], 'The attempt general information')
/mod/h5pactivity/classes/external/get_results.php:2421$result = new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the context'), 'attemptid' => new external_value(PARAM_INT, 'ID of the H5P attempt'), 'subcontent' => new external_value(PARAM_NOTAGS, 'Subcontent identifier'), 'timecreated' => new external_value(PARAM_INT, 'Result creation'), 'interactiontype' => new external_value(PARAM_NOTAGS, 'Interaction type'), 'description' => new external_value(PARAM_RAW, 'Result description'), 'content' => new external_value(PARAM_RAW, 'Result extra content', VALUE_OPTIONAL), 'rawscore' => new external_value(PARAM_INT, 'Result score value'), 'maxscore' => new external_value(PARAM_INT, 'Result max score'), 'duration' => new external_value(PARAM_INT, 'Result duration in seconds', VALUE_OPTIONAL, 0), 'completion' => new external_value(PARAM_INT, 'Result completion', VALUE_OPTIONAL), 'success' => new external_value(PARAM_INT, 'Result success', VALUE_OPTIONAL), 'optionslabel' => new external_value(PARAM_NOTAGS, 'Label used for result options', VALUE_OPTIONAL), 'correctlabel' => new external_value(PARAM_NOTAGS, 'Label used for correct answers', VALUE_OPTIONAL), 'answerlabel' => new external_value(PARAM_NOTAGS, 'Label used for user answers', VALUE_OPTIONAL), 'track' => new external_value(PARAM_BOOL, 'If the result has valid track information', VALUE_OPTIONAL), 'options' => new external_multiple_structure(new external_single_structure(['description' => new external_value(PARAM_RAW, 'Option description', VALUE_OPTIONAL), 'id' => new external_value(PARAM_TEXT, 'Option string identifier', VALUE_OPTIONAL), 'correctanswer' => self::get_answer_returns('The option correct answer', VALUE_OPTIONAL), 'useranswer' => self::get_answer_returns('The option user answer', VALUE_OPTIONAL), ]), 'The statement options', VALUE_OPTIONAL), ], 'A single result statement tracking information')
/mod/h5pactivity/classes/external/get_results.php:2811$result = new external_single_structure(['answer' => new external_value(PARAM_NOTAGS, 'Option text value', VALUE_OPTIONAL), 'correct' => new external_value(PARAM_BOOL, 'If has to be displayed as correct', VALUE_OPTIONAL), 'incorrect' => new external_value(PARAM_BOOL, 'If has to be displayed as incorrect', VALUE_OPTIONAL), 'text' => new external_value(PARAM_BOOL, 'If has to be displayed as simple text', VALUE_OPTIONAL), 'checked' => new external_value(PARAM_BOOL, 'If has to be displayed as a checked option', VALUE_OPTIONAL), 'unchecked' => new external_value(PARAM_BOOL, 'If has to be displayed as a unchecked option', VALUE_OPTIONAL), 'pass' => new external_value(PARAM_BOOL, 'If has to be displayed as passed', VALUE_OPTIONAL), 'fail' => new external_value(PARAM_BOOL, 'If has to be displayed as failed', VALUE_OPTIONAL), ], $description, $required)
/mod/h5pactivity/classes/external/h5pactivity_summary_exporter.php:1301return ['coursemodule' => ['type' => PARAM_INT], 'context' => ['type' => PARAM_INT], 'introfiles' => ['type' => external_files::get_properties_for_exporter( ), 'multiple' => true], 'package' => ['type' => external_files::get_properties_for_exporter( ), 'multiple' => true], 'deployedfile' => ['optional' => true, 'description' => 'H5P file deployed.', 'type' => ['filename' => array('type' => PARAM_FILE, 'description' => 'File name.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, ), 'filepath' => array('type' => PARAM_PATH, 'description' => 'File path.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, ), 'filesize' => array('type' => PARAM_INT, 'description' => 'File size.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, ), 'fileurl' => array('type' => PARAM_URL, 'description' => 'Downloadable file url.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, ), 'timemodified' => array('type' => PARAM_INT, 'description' => 'Time modified.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, ), 'mimetype' => array('type' => PARAM_RAW, 'description' => 'File mime type.', 'optional' => true, 'null' => NULL_NOT_ALLOWED, )]], ]
/mod/h5pactivity/tests/lib_test.php:623$attemptinfo = ['userid' => $user->id, 'h5pactivityid' => $activity->id, 'attempt' => 1, 'interactiontype' => 'compound', 'rawscore' => 2, 'maxscore' => 2, 'duration' => 1, 'completion' => 1, 'success' => 0, ]
/mod/h5pactivity/tests/lib_test.php:763$filerecord = ['contextid' => \context_module::instance($activity->cmid)->id, 'component' => 'mod_h5pactivity', 'filearea' => 'package', 'itemid' => 0, 'filepath' => '/', 'filepath' => '/', 'filename' => 'dummy.h5p', 'addxapistate' => true, ]
/mod/h5pactivity/tests/lib_test.php:3563$attemptinfo = ['userid' => $user->id, 'h5pactivityid' => $activity->id, 'attempt' => 1, 'interactiontype' => 'compound', 'rawscore' => 2, 'maxscore' => 2, 'duration' => 1, 'completion' => 1, 'success' => 0, ]
/mod/h5pactivity/tests/lib_test.php:3703$filerecord = ['contextid' => \context_module::instance($activity->cmid)->id, 'component' => 'mod_h5pactivity', 'filearea' => 'package', 'itemid' => 0, 'filepath' => '/', 'filepath' => '/', 'filename' => 'dummy.h5p', 'addxapistate' => true, ]
/mod/h5pactivity/classes/external/get_attempts.php:2162$result = new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the context'), 'h5pactivityid' => new external_value(PARAM_INT, 'ID of the H5P activity'), 'userid' => new external_value(PARAM_INT, 'ID of the user'), 'timecreated' => new external_value(PARAM_INT, 'Attempt creation'), 'timemodified' => new external_value(PARAM_INT, 'Attempt modified'), 'attempt' => new external_value(PARAM_INT, 'Attempt number'), 'rawscore' => new external_value(PARAM_INT, 'Attempt score value'), 'maxscore' => new external_value(PARAM_INT, 'Attempt max score'), 'duration' => new external_value(PARAM_INT, 'Attempt duration in seconds'), 'completion' => new external_value(PARAM_INT, 'Attempt completion', VALUE_OPTIONAL), 'success' => new external_value(PARAM_INT, 'Attempt success', VALUE_OPTIONAL), 'scaled' => new external_value(PARAM_FLOAT, 'Attempt scaled'), ])
/mod/h5pactivity/classes/external/get_h5pactivities_by_courses.php:1211return new external_single_structure(['h5pactivities' => new external_multiple_structure(h5pactivity_summary_exporter::get_read_structure( )), 'h5pglobalsettings' => new external_single_structure(['enablesavestate' => new external_value(PARAM_BOOL, 'Whether saving state is enabled.'), 'savestatefreq' => new external_value(PARAM_INT, 'How often (in seconds) state is saved.', VALUE_OPTIONAL), ], 'H5P global settings', VALUE_OPTIONAL, ), 'warnings' => new external_warnings( ), ])
/mod/h5pactivity/classes/external/get_user_attempts.php:491return new external_function_parameters(['h5pactivityid' => new external_value(PARAM_INT, 'h5p activity instance id'), 'sortorder' => new external_value(PARAM_TEXT, 'sort by either user id, firstname or lastname (with optional asc/desc)', VALUE_DEFAULT, 'id ASC'), 'page' => new external_value(PARAM_INT, 'current page', VALUE_DEFAULT, -1), 'perpage' => new external_value(PARAM_INT, 'items per page', VALUE_DEFAULT, 0), 'firstinitial' => new external_value(PARAM_TEXT, 'Users whose first name ' . 'starts with $firstinitial', VALUE_DEFAULT, ''), 'lastinitial' => new external_value(PARAM_TEXT, 'Users whose last name ' . 'starts with $lastinitial', VALUE_DEFAULT, ''), ])
/mod/h5pactivity/classes/external/get_user_attempts.php:2262$result = (object) ['id' => $attempt->get_id( ), 'h5pactivityid' => $attempt->get_h5pactivityid( ), 'userid' => $attempt->get_userid( ), 'timecreated' => $attempt->get_timecreated( ), 'timemodified' => $attempt->get_timemodified( ), 'attempt' => $attempt->get_attempt( ), 'rawscore' => $attempt->get_rawscore( ), 'maxscore' => $attempt->get_maxscore( ), 'duration' => $attempt->get_duration( ), 'scaled' => $attempt->get_scaled( ), ]
/mod/h5pactivity/classes/external/get_user_attempts.php:2681$structure = ['userid' => new external_value(PARAM_INT, 'The user id'), 'attempts' => new external_multiple_structure(self::get_user_attempt_returns( ), 'The complete attempts list'), 'scored' => new external_single_structure(['title' => new external_value(PARAM_NOTAGS, 'Scored attempts title'), 'grademethod' => new external_value(PARAM_NOTAGS, 'Grading method'), 'attempts' => new external_multiple_structure(self::get_user_attempt_returns( ), 'List of the grading attempts'), ], 'Attempts used to grade the activity', VALUE_OPTIONAL), ]
/mod/h5pactivity/classes/external/get_user_attempts.php:2862$result = new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the context'), 'h5pactivityid' => new external_value(PARAM_INT, 'ID of the H5P activity'), 'userid' => new external_value(PARAM_INT, 'ID of the user'), 'timecreated' => new external_value(PARAM_INT, 'Attempt creation'), 'timemodified' => new external_value(PARAM_INT, 'Attempt modified'), 'attempt' => new external_value(PARAM_INT, 'Attempt number'), 'rawscore' => new external_value(PARAM_INT, 'Attempt score value'), 'maxscore' => new external_value(PARAM_INT, 'Attempt max score'), 'duration' => new external_value(PARAM_INT, 'Attempt duration in seconds'), 'completion' => new external_value(PARAM_INT, 'Attempt completion', VALUE_OPTIONAL), 'success' => new external_value(PARAM_INT, 'Attempt success', VALUE_OPTIONAL), 'scaled' => new external_value(PARAM_FLOAT, 'Attempt scaled'), ])
/mod/h5pactivity/classes/external/get_results.php:1321$attempt = (object) ['id' => $attemptdata->id, 'h5pactivityid' => $attemptdata->h5pactivityid, 'userid' => $attemptdata->userid, 'timecreated' => $attemptdata->timecreated, 'timemodified' => $attemptdata->timemodified, 'attempt' => $attemptdata->attempt, 'rawscore' => $attemptdata->rawscore, 'maxscore' => $attemptdata->maxscore, 'duration' => (empty($attemptdata->durationvalue)) ? 0 : $attemptdata->durationvalue, 'scaled' => (empty($attemptdata->scaled)) ? 0 : $attemptdata->scaled, 'results' => [ ], ]
/mod/h5pactivity/classes/external/get_results.php:1641$result = (object) ['id' => $data->id, 'attemptid' => $data->attemptid, 'subcontent' => $data->subcontent, 'timecreated' => $data->timecreated, 'interactiontype' => $data->interactiontype, 'description' => $data->description, 'rawscore' => $data->rawscore, 'maxscore' => $data->maxscore, 'duration' => $data->duration, 'optionslabel' => $data->optionslabel ?? get_string('choice', 'mod_h5pactivity'), 'correctlabel' => $data->correctlabel ?? get_string('correct_answer', 'mod_h5pactivity'), 'answerlabel' => $data->answerlabel ?? get_string('attempt_answer', 'mod_h5pactivity'), 'track' => $data->track ?? false, ]
/mod/forum/report/summary/classes/summary_table.php:7421$sql = "SELECT {$selectfields} FROM {$this->sql->basefromjoins} {$this->sql->filterfromjoins} WHERE {$this->sql->basewhere} {$this->sql->filterwhere} {$groupby} {$orderby}"
/mod/forum/report/summary/classes/output/filters.php:2521$this->datesdata = ['from' => ['day' => $fromdate['mday'], 'month' => $fromdate['mon'], 'year' => $fromdate['year'], 'timestamp' => $fromtimestamp, 'enabled' => $fromenabled, ], 'to' => ['day' => $todate['mday'], 'month' => $todate['mon'], 'year' => $todate['year'], 'timestamp' => $totimestamp, 'enabled' => $toenabled, ], ]
/mod/forum/db/log.php:311$logs = array(array('module' => 'forum', 'action' => 'add', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'update', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'add discussion', 'mtable' => 'forum_discussions', 'field' => 'name'), array('module' => 'forum', 'action' => 'add post', 'mtable' => 'forum_posts', 'field' => 'subject'), array('module' => 'forum', 'action' => 'update post', 'mtable' => 'forum_posts', 'field' => 'subject'), array('module' => 'forum', 'action' => 'user report', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'forum', 'action' => 'move discussion', 'mtable' => 'forum_discussions', 'field' => 'name'), array('module' => 'forum', 'action' => 'view subscribers', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'view discussion', 'mtable' => 'forum_discussions', 'field' => 'name'), array('module' => 'forum', 'action' => 'view forum', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'subscribe', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'unsubscribe', 'mtable' => 'forum', 'field' => 'name'), array('module' => 'forum', 'action' => 'pin discussion', 'mtable' => 'forum_discussions', 'field' => 'name'), array('module' => 'forum', 'action' => 'unpin discussion', 'mtable' => 'forum_discussions', 'field' => 'name'), )
/mod/forum/report/summary/classes/summary_table.php:2531$checkbox = new \core\output\checkbox_toggleall('summaryreport-table', false, ['classes' => 'usercheckbox m-1', 'id' => 'user' . $data->userid, 'name' => 'user' . $data->userid, 'checked' => false, 'label' => get_string('selectitem', 'moodle', fullname($data)), 'labelclasses' => 'accesshide', ])
/mod/forum/tests/event/events_test.php:20132$params = array('context' => \context_course::instance($course->id), 'objectid' => $subscription->id, 'relateduserid' => $user->id, 'other' => array('forumid' => $forum->id, 'discussion' => $discussion->id, ))
/mod/forum/tests/event/events_test.php:23642$params = array('context' => \context_course::instance($course->id), 'objectid' => $subscription->id, 'relateduserid' => $user->id, 'other' => array('forumid' => $forum->id, 'discussion' => $discussion->id, ))
/mod/forum/tests/event/events_test.php:14903$params = array('context' => \context_system::instance( ), 'objectid' => $post->id, 'other' => array('discussionid' => $discussion->id, 'forumid' => $forum->id, 'forumtype' => $forum->type))
/mod/forum/tests/event/events_test.php:17493$params = array('context' => \context_system::instance( ), 'objectid' => $post->id, 'other' => array('discussionid' => $discussion->id, 'forumid' => $forum->id, 'forumtype' => $forum->type))
/mod/lti/locallib.php:43001return array('id' => $type->id, 'name' => $name, 'description' => $description, 'urls' => get_tool_type_urls($type), 'state' => get_tool_type_state_info($type), 'platformid' => $CFG->wwwroot, 'clientid' => $type->clientid, 'deploymentid' => $type->id, 'hascapabilitygroups' => !empty($capabilitygroups), 'capabilitygroups' => $capabilitygroups, 'courseid' => $type->course == 1 ? 0 : $type->course, 'instanceids' => $instanceids, 'instancecount' => count($instanceids))
/mod/lti/typessettings.php:1301$form = new mod_lti_edit_types_form($pageurl, (object) ['isadmin' => true, 'istool' => false, 'id' => $id, 'clientid' => $type->lti_clientid, 'coursecategories' => $type->lti_coursecategories, 'iscoursetool' => !empty($id) && $type->course !== get_site( )->id])
/mod/lti/locallib.php:1341$mapping = array_merge($mapping, ['accept_copy_advice' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_copy_advice', 'isarray' => false, 'type' => 'boolean'], 'accept_media_types' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_media_types', 'isarray' => true], 'accept_multiple' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_multiple', 'isarray' => false, 'type' => 'boolean'], 'accept_presentation_document_targets' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_presentation_document_targets', 'isarray' => true], 'accept_types' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_types', 'isarray' => true], 'accept_unsigned' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'accept_unsigned', 'isarray' => false, 'type' => 'boolean'], 'auto_create' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'auto_create', 'isarray' => false, 'type' => 'boolean'], 'can_confirm' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'can_confirm', 'isarray' => false, 'type' => 'boolean'], 'content_item_return_url' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'deep_link_return_url', 'isarray' => false], 'content_items' => ['suffix' => 'dl', 'group' => '', 'claim' => 'content_items', 'isarray' => true], 'data' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'data', 'isarray' => false], 'text' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'text', 'isarray' => false], 'title' => ['suffix' => 'dl', 'group' => 'deep_linking_settings', 'claim' => 'title', 'isarray' => false], 'lti_msg' => ['suffix' => 'dl', 'group' => '', 'claim' => 'msg', 'isarray' => false], 'lti_log' => ['suffix' => 'dl', 'group' => '', 'claim' => 'log', 'isarray' => false], 'lti_errormsg' => ['suffix' => 'dl', 'group' => '', 'claim' => 'errormsg', 'isarray' => false], 'lti_errorlog' => ['suffix' => 'dl', 'group' => '', 'claim' => 'errorlog', 'isarray' => false], 'context_id' => ['suffix' => '', 'group' => 'context', 'claim' => 'id', 'isarray' => false], 'context_label' => ['suffix' => '', 'group' => 'context', 'claim' => 'label', 'isarray' => false], 'context_title' => ['suffix' => '', 'group' => 'context', 'claim' => 'title', 'isarray' => false], 'context_type' => ['suffix' => '', 'group' => 'context', 'claim' => 'type', 'isarray' => true], 'for_user_id' => ['suffix' => '', 'group' => 'for_user', 'claim' => 'user_id', 'isarray' => false], 'lis_course_offering_sourcedid' => ['suffix' => '', 'group' => 'lis', 'claim' => 'course_offering_sourcedid', 'isarray' => false], 'lis_course_section_sourcedid' => ['suffix' => '', 'group' => 'lis', 'claim' => 'course_section_sourcedid', 'isarray' => false], 'launch_presentation_css_url' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'css_url', 'isarray' => false], 'launch_presentation_document_target' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'document_target', 'isarray' => false], 'launch_presentation_height' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'height', 'isarray' => false], 'launch_presentation_locale' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'locale', 'isarray' => false], 'launch_presentation_return_url' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'return_url', 'isarray' => false], 'launch_presentation_width' => ['suffix' => '', 'group' => 'launch_presentation', 'claim' => 'width', 'isarray' => false], 'lis_person_contact_email_primary' => ['suffix' => '', 'group' => null, 'claim' => 'email', 'isarray' => false], 'lis_person_name_family' => ['suffix' => '', 'group' => null, 'claim' => 'family_name', 'isarray' => false], 'lis_person_name_full' => ['suffix' => '', 'group' => null, 'claim' => 'name', 'isarray' => false], 'lis_person_name_given' => ['suffix' => '', 'group' => null, 'claim' => 'given_name', 'isarray' => false], 'lis_person_sourcedid' => ['suffix' => '', 'group' => 'lis', 'claim' => 'person_sourcedid', 'isarray' => false], 'user_id' => ['suffix' => '', 'group' => null, 'claim' => 'sub', 'isarray' => false], 'user_image' => ['suffix' => '', 'group' => null, 'claim' => 'picture', 'isarray' => false], 'roles' => ['suffix' => '', 'group' => '', 'claim' => 'roles', 'isarray' => true], 'role_scope_mentor' => ['suffix' => '', 'group' => '', 'claim' => 'role_scope_mentor', 'isarray' => false], 'deployment_id' => ['suffix' => '', 'group' => '', 'claim' => 'deployment_id', 'isarray' => false], 'lti_message_type' => ['suffix' => '', 'group' => '', 'claim' => 'message_type', 'isarray' => false], 'lti_version' => ['suffix' => '', 'group' => '', 'claim' => 'version', 'isarray' => false], 'resource_link_description' => ['suffix' => '', 'group' => 'resource_link', 'claim' => 'description', 'isarray' => false], 'resource_link_id' => ['suffix' => '', 'group' => 'resource_link', 'claim' => 'id', 'isarray' => false], 'resource_link_title' => ['suffix' => '', 'group' => 'resource_link', 'claim' => 'title', 'isarray' => false], 'tool_consumer_info_product_family_code' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'product_family_code', 'isarray' => false], 'tool_consumer_info_version' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'version', 'isarray' => false], 'tool_consumer_instance_contact_email' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'contact_email', 'isarray' => false], 'tool_consumer_instance_description' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'description', 'isarray' => false], 'tool_consumer_instance_guid' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'guid', 'isarray' => false], 'tool_consumer_instance_name' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'name', 'isarray' => false], 'tool_consumer_instance_url' => ['suffix' => '', 'group' => 'tool_platform', 'claim' => 'url', 'isarray' => false]])
/mod/lti/locallib.php:8041$requestparams = array('user_id' => $USER->id, 'lis_person_sourcedid' => $USER->idnumber, 'roles' => $role, 'context_id' => $course->id, 'context_label' => trim(html_to_text($course->shortname, 0)), 'context_title' => trim(html_to_text($course->fullname, 0)), )
/mod/lti/mod_form.php:2241$launchoptions = [LTI_LAUNCH_CONTAINER_DEFAULT => get_string('default', 'lti'), LTI_LAUNCH_CONTAINER_EMBED => get_string('embed', 'lti'), LTI_LAUNCH_CONTAINER_EMBED_NO_BLOCKS => get_string('embed_no_blocks', 'lti'), LTI_LAUNCH_CONTAINER_REPLACE_MOODLE_WINDOW => get_string('existing_window', 'lti'), LTI_LAUNCH_CONTAINER_WINDOW => get_string('new_window', 'lti')]
/mod/lti/mod_form.php:3671$iscontentitem = !empty($this->current->id) && (!empty($this->current->toolurl) || !empty($this->current->instructorcustomparameters) || !empty($this->current->secureicon) || !empty($this->current->icon))
/mod/forum/backup/moodle2/backup_forum_stepslib.php:411$forum = new backup_nested_element('forum', array('id'), array('type', 'name', 'intro', 'introformat', 'duedate', 'cutoffdate', 'assessed', 'assesstimestart', 'assesstimefinish', 'scale', 'maxbytes', 'maxattachments', 'forcesubscribe', 'trackingtype', 'rsstype', 'rssarticles', 'timemodified', 'warnafter', 'blockafter', 'blockperiod', 'completiondiscussions', 'completionreplies', 'completionposts', 'displaywordcount', 'lockdiscussionafter', 'grade_forum'))
/mod/forum/backup/moodle1/lib.php:531return array(new convert_path('forum', '/MOODLE_BACKUP/COURSE/MODULES/MOD/FORUM', array('renamefields' => array('format' => 'messageformat', ), 'newfields' => array('completiondiscussions' => 0, 'completionreplies' => 0, 'completionpost' => 0, 'maxattachments' => 1, 'introformat' => 0, ), )), )
/mod/lti/classes/external.php:3481return new external_single_structure(array('ltis' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timecreated' => new external_value(PARAM_INT, 'Time of creation', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), 'typeid' => new external_value(PARAM_INT, 'Type id', VALUE_OPTIONAL), 'toolurl' => new external_value(PARAM_URL, 'Tool url', VALUE_OPTIONAL), 'securetoolurl' => new external_value(PARAM_RAW, 'Secure tool url', VALUE_OPTIONAL), 'instructorchoicesendname' => new external_value(PARAM_TEXT, 'Instructor choice send name', VALUE_OPTIONAL), 'instructorchoicesendemailaddr' => new external_value(PARAM_INT, 'instructor choice send mail address', VALUE_OPTIONAL), 'instructorchoiceallowroster' => new external_value(PARAM_INT, 'Instructor choice allow roster', VALUE_OPTIONAL), 'instructorchoiceallowsetting' => new external_value(PARAM_INT, 'Instructor choice allow setting', VALUE_OPTIONAL), 'instructorcustomparameters' => new external_value(PARAM_RAW, 'instructor custom parameters', VALUE_OPTIONAL), 'instructorchoiceacceptgrades' => new external_value(PARAM_INT, 'instructor choice accept grades', VALUE_OPTIONAL), 'grade' => new external_value(PARAM_INT, 'Enable grades', VALUE_OPTIONAL), 'launchcontainer' => new external_value(PARAM_INT, 'Launch container mode', VALUE_OPTIONAL), 'resourcekey' => new external_value(PARAM_RAW, 'Resource key', VALUE_OPTIONAL), 'password' => new external_value(PARAM_RAW, 'Shared secret', VALUE_OPTIONAL), 'debuglaunch' => new external_value(PARAM_INT, 'Debug launch', VALUE_OPTIONAL), 'showtitlelaunch' => new external_value(PARAM_INT, 'Show title launch', VALUE_OPTIONAL), 'showdescriptionlaunch' => new external_value(PARAM_INT, 'Show description launch', VALUE_OPTIONAL), 'servicesalt' => new external_value(PARAM_RAW, 'Service salt', VALUE_OPTIONAL), 'icon' => new external_value(PARAM_URL, 'Alternative icon URL', VALUE_OPTIONAL), 'secureicon' => new external_value(PARAM_URL, 'Secure icon URL', VALUE_OPTIONAL), ]), 'Tool')), 'warnings' => new external_warnings( ), ))
/mod/lti/classes/external.php:2411return new external_single_structure(array('endpoint' => new external_value(PARAM_RAW, 'Endpoint URL'), 'parameters' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_NOTAGS, 'Parameter name'), 'value' => new external_value(PARAM_RAW, 'Parameter value')))), 'warnings' => new external_warnings( )))
/mod/lti/classes/external.php:1081return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Tool proxy id'), 'name' => new external_value(PARAM_TEXT, 'Tool proxy name'), 'regurl' => new external_value(PARAM_URL, 'Tool proxy registration URL'), 'state' => new external_value(PARAM_INT, 'Tool proxy state'), 'guid' => new external_value(PARAM_TEXT, 'Tool proxy globally unique identifier'), 'secret' => new external_value(PARAM_TEXT, 'Tool proxy shared secret'), 'vendorcode' => new external_value(PARAM_TEXT, 'Tool proxy consumer code'), 'capabilityoffered' => new external_value(PARAM_TEXT, 'Tool proxy capabilities offered'), 'serviceoffered' => new external_value(PARAM_TEXT, 'Tool proxy services offered'), 'toolproxy' => new external_value(PARAM_TEXT, 'Tool proxy'), 'timecreated' => new external_value(PARAM_INT, 'Tool proxy time created'), 'timemodified' => new external_value(PARAM_INT, 'Tool proxy modified'), ))
/mod/lti/classes/external.php:591return new external_single_structure(array('id' => new external_value(PARAM_INT, 'Tool type id'), 'name' => new external_value(PARAM_NOTAGS, 'Tool type name'), 'description' => new external_value(PARAM_NOTAGS, 'Tool type description'), 'platformid' => new external_value(PARAM_TEXT, 'Platform ID'), 'clientid' => new external_value(PARAM_TEXT, 'Client ID'), 'deploymentid' => new external_value(PARAM_INT, 'Deployment ID'), 'urls' => new external_single_structure(array('icon' => new external_value(PARAM_URL, 'Tool type icon URL'), 'edit' => new external_value(PARAM_URL, 'Tool type edit URL'), 'course' => new external_value(PARAM_URL, 'Tool type edit URL', VALUE_OPTIONAL), 'publickeyset' => new external_value(PARAM_URL, 'Public Keyset URL'), 'accesstoken' => new external_value(PARAM_URL, 'Access Token URL'), 'authrequest' => new external_value(PARAM_URL, 'Authorisation Request URL'), )), 'state' => new external_single_structure(array('text' => new external_value(PARAM_TEXT, 'Tool type state name string'), 'pending' => new external_value(PARAM_BOOL, 'Is the state pending'), 'configured' => new external_value(PARAM_BOOL, 'Is the state configured'), 'rejected' => new external_value(PARAM_BOOL, 'Is the state rejected'), 'unknown' => new external_value(PARAM_BOOL, 'Is the state unknown'), )), 'hascapabilitygroups' => new external_value(PARAM_BOOL, 'Indicate if capabilitygroups is populated'), 'capabilitygroups' => new external_multiple_structure(new external_value(PARAM_TEXT, 'Tool type capability groups enabled'), 'Array of capability groups', VALUE_DEFAULT, array( )), 'courseid' => new external_value(PARAM_INT, 'Tool type course', VALUE_DEFAULT, 0), 'instanceids' => new external_multiple_structure(new external_value(PARAM_INT, 'LTI instance ID'), 'IDs for the LTI instances using this type', VALUE_DEFAULT, array( )), 'instancecount' => new external_value(PARAM_INT, 'The number of times this tool is being used')), 'Tool')
/mod/lti/toolproxies.php:931$template = <<< EOD <div id="tp_tabs" class="yui-navset"> <ul id="tp_tab_heading" class="yui-nav" style="display:none"> <li {$configuredselected}> <a href="#tab1"> <em>$configured</em> </a> </li> <li {$pendingselected}> <a href="#tab2"> <em>$pending</em> </a> </li> <li {$acceptedselected}> <a href="#tab3"> <em>$accepted</em> </a> </li> <li {$rejectedselected}> <a href="#tab4"> <em>$rejected</em> </a> </li> </ul> <div class="yui-content"> <div> <div><a style="margin-top:.25em" href="{$registertypeurl}">{$registertype}</a></div> $configuredtoolproxieshtml </div> <div> $pendingtoolproxieshtml </div> <div> $acceptedtoolproxieshtml </div> <div> $rejectedtoolproxieshtml </div> </div> </div> <script type="text/javascript"> //<![CDATA[ YUI().use('yui2-tabview', 'yui2-datatable', function(Y) { //If javascript is disabled, they will just see the three tabs one after another var tp_tab_heading = document.getElementById('tp_tab_heading'); tp_tab_heading.style.display = ''; new Y.YUI2.widget.TabView('tp_tabs'); var setupTools = function(id, sort){ var tp_tool_proxies = Y.YUI2.util.Dom.get(id); if(tp_tool_proxies){ var dataSource = new Y.YUI2.util.DataSource(tp_tool_proxies); var configuredColumns = [ {key:'name', label:'$name', sortable:true}, {key:'url', label:'$url', sortable:true}, {key:'timecreated', label:'$createdon', sortable:true}, {key:'action', label:'$action'} ]; dataSource.responseType = Y.YUI2.util.DataSource.TYPE_HTMLTABLE; dataSource.responseSchema = { fields: [ {key:'name'}, {key:'url'}, {key:'timecreated'}, {key:'action'} ] }; new Y.YUI2.widget.DataTable(id + '_container', configuredColumns, dataSource, { sortedBy: sort } ); } }; setupTools('tp_configured_tool_proxies', {key:'name', dir:'asc'}); setupTools('tp_pending_tool_proxies', {key:'timecreated', dir:'desc'}); setupTools('tp_accepted_tool_proxies', {key:'timecreated', dir:'desc'}); setupTools('tp_rejected_tool_proxies', {key:'timecreated', dir:'desc'}); }); //]] </script> EOD
/mod/lti/lib.php:3191$types[] = new \core_course\local\entity\content_item($type->id + 1, $type->name, new \core_course\local\entity\string_title($type->title), $type->link, $type->icon, $type->help, $defaultmodulecontentitem->get_archetype( ), $defaultmodulecontentitem->get_component_name( ), $defaultmodulecontentitem->get_purpose( ))
/mod/lti/lib.php:2651$types[] = new \core_course\local\entity\content_item($preconfiguredtool->id + 1, $preconfiguredtool->name, new \core_course\local\entity\string_title($preconfiguredtool->title), $preconfiguredtool->link, $preconfiguredtool->icon, $preconfiguredtool->help, $defaultmodulecontentitem->get_archetype( ), $defaultmodulecontentitem->get_component_name( ), $defaultmodulecontentitem->get_purpose( ))
/mod/lti/openid-configuration.php:381$conf = ['issuer' => $CFG->wwwroot, 'token_endpoint' => (new moodle_url('/mod/lti/token.php'))->out(false), 'token_endpoint_auth_methods_supported' => ['private_key_jwt'], 'token_endpoint_auth_signing_alg_values_supported' => ['RS256'], 'jwks_uri' => (new moodle_url('/mod/lti/certs.php'))->out(false), 'authorization_endpoint' => (new moodle_url('/mod/lti/auth.php'))->out(false), 'registration_endpoint' => (new moodle_url('/mod/lti/openid-registration.php'))->out(false), 'scopes_supported' => $scopes, 'response_types_supported' => ['id_token'], 'subject_types_supported' => ['public', 'pairwise'], 'id_token_signing_alg_values_supported' => ['RS256'], 'claims_supported' => ['sub', 'iss', 'name', 'given_name', 'family_name', 'email'], 'https://purl.imsglobal.org/spec/lti-platform-configuration' => ['product_family_code' => 'moodle', 'version' => $CFG->release, 'messages_supported' => [['type' => 'LtiResourceLinkRequest'], ['type' => 'LtiDeepLinkingRequest', 'placements' => ['ContentArea']]], 'variables' => array_keys(lti_get_capabilities( ))]]
/mod/lti/classes/reportbuilder/local/entities/tool_types.php:861$columns[] = (new column('name', new lang_string('name', 'core'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.name, {$tablealias}.icon")->set_is_sortable(true)->add_callback(static function (string $name, \stdClass $data) { /**/ } )
/mod/lti/classes/reportbuilder/local/systemreports/course_external_tools_list.php:1681$attributes = [['name' => 'id', 'value' => $row->id], ['name' => 'courseid', 'value' => $courseid], ['name' => 'action', 'value' => 'showinactivitychooser-toggle'], ['name' => 'state', 'value' => $coursevisible], ]
/mod/lti/classes/privacy/provider.php:4001$data[] = ['name' => format_string($ltiproxy->name, true, ['context' => $systemcontext]), 'createdby' => transform::user($ltiproxy->createdby), 'timecreated' => transform::datetime($ltiproxy->timecreated), 'timemodified' => transform::datetime($ltiproxy->timemodified)]
/mod/lti/classes/privacy/provider.php:3621$carry[] = ['name' => format_string($record->name, true, $options), 'createdby' => transform::user($record->createdby), 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => transform::datetime($record->timemodified)]
/mod/lti/classes/external.php:8031return new external_function_parameters(array('id' => new external_value(PARAM_INT, 'Tool type id'), 'name' => new external_value(PARAM_RAW, 'Tool type name', VALUE_DEFAULT, null), 'description' => new external_value(PARAM_RAW, 'Tool type description', VALUE_DEFAULT, null), 'state' => new external_value(PARAM_INT, 'Tool type state', VALUE_DEFAULT, null)))
/mod/lti/classes/external.php:7161return new external_function_parameters(array('cartridgeurl' => new external_value(PARAM_URL, 'URL to cardridge to load tool information', VALUE_DEFAULT, ''), 'key' => new external_value(PARAM_TEXT, 'Consumer key', VALUE_DEFAULT, ''), 'secret' => new external_value(PARAM_TEXT, 'Shared secret', VALUE_DEFAULT, ''), ))
/mod/lti/classes/external.php:6391return new external_function_parameters(array('lti_message_type' => new external_value(PARAM_ALPHANUMEXT, 'LTI message type'), 'lti_version' => new external_value(PARAM_ALPHANUMEXT, 'LTI version'), 'reg_key' => new external_value(PARAM_TEXT, 'Tool proxy registration key'), 'reg_password' => new external_value(PARAM_TEXT, 'Tool proxy registration password'), 'reg_url' => new external_value(PARAM_TEXT, 'Tool proxy registration url'), 'tc_profile_url' => new external_value(PARAM_URL, 'Tool consumers profile URL'), 'launch_presentation_return_url' => new external_value(PARAM_URL, 'URL to redirect on registration completion'), ))
/mod/lti/classes/external.php:4591return new external_function_parameters(array('name' => new external_value(PARAM_TEXT, 'Tool proxy name', VALUE_DEFAULT, ''), 'regurl' => new external_value(PARAM_URL, 'Tool proxy registration URL'), 'capabilityoffered' => new external_multiple_structure(new external_value(PARAM_TEXT, 'Tool proxy capabilities offered'), 'Array of capabilities', VALUE_DEFAULT, array( )), 'serviceoffered' => new external_multiple_structure(new external_value(PARAM_TEXT, 'Tool proxy services offered'), 'Array of services', VALUE_DEFAULT, array( ))))
/mod/forum/tests/lib_test.php:34371$reply = $generator->create_post((object) ['course' => $course->id, 'userid' => $student->id, 'forum' => $forum->id, 'discussion' => $discussion->id, 'parent' => $discussion->firstpost, ])
/mod/forum/tests/lib_test.php:39141$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'forum', 'instance' => 1, 'eventtype' => FORUM_EVENT_TYPE_DUE . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/forum/tests/lib_test.php:39502$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'forum', 'instance' => 1, 'eventtype' => FORUM_EVENT_TYPE_DUE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/forum/tests/lib_test.php:39882$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'forum', 'instance' => 1, 'eventtype' => FORUM_EVENT_TYPE_DUE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/forum/tests/mail_group_test.php:2122$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 0, ], 'otheruser' => (object) ['userid' => $otheruser->id, 'messages' => 0, ], 'teacher' => (object) ['userid' => $teacher->id, 'messages' => 0, ], 'editingteacher' => (object) ['userid' => $editingteacher->id, 'messages' => 1, ], ]
/mod/forum/tests/lib_test.php:32731return ['Unlocked: lockdiscussionafter is false' => [['lockdiscussionafter' => false], [ ], false], 'Unlocked: lockdiscussionafter is set; forum is of type single; post is recent' => [['lockdiscussionafter' => DAYSECS, 'type' => 'single'], ['timemodified' => time( )], false], 'Unlocked: lockdiscussionafter is set; forum is of type single; post is old' => [['lockdiscussionafter' => MINSECS, 'type' => 'single'], ['timemodified' => time( ) - DAYSECS], false], 'Unlocked: lockdiscussionafter is set; forum is of type eachuser; post is recent' => [['lockdiscussionafter' => DAYSECS, 'type' => 'eachuser'], ['timemodified' => time( )], false], 'Locked: lockdiscussionafter is set; forum is of type eachuser; post is old' => [['lockdiscussionafter' => MINSECS, 'type' => 'eachuser'], ['timemodified' => time( ) - DAYSECS], true], ]
/mod/forum/tests/lib_test.php:33281return ['cutoffdate is unset' => [[ ], false], 'cutoffdate is 0' => [['cutoffdate' => 0], false], 'cutoffdate is set and is in future' => [['cutoffdate' => $now + 86400], false], 'cutoffdate is set and is in past' => [['cutoffdate' => $now - 86400], true], ]
/mod/forum/tests/lib_test.php:33761return ['duedate is unset' => [[ ], false], 'duedate is 0' => [['duedate' => 0], false], 'duedate is set and is in future' => [['duedate' => $now + 86400], false], 'duedate is set and is in past' => [['duedate' => $now - 86400], true], ]
/mod/forum/tests/entities_forum_test.php:941$forum = new forum_entity($context, $coursemodule, $course, $effectivegroupmode, $id, $courseid, $type, $name, $intro, $introformat, $assessed, $assesstimestart, $assesstimefinish, $scale, $gradeforum, $sendnotification, $maxbytes, $maxattachments, $forcesubscribe, $trackingtype, $rsstype, $rssarticles, $timemodified, $warnafter, $blockafter, $blockperiod, $completiondiscussions, $completionreplies, $completionposts, $displaywordcount, $lockdiscussionafter, $duedate, $cutoffdate)
/mod/forum/tests/exporters_forum_test.php:501$exporter = new forum_exporter($forum, ['legacydatamapperfactory' => \mod_forum\local\container::get_legacy_data_mapper_factory( ), 'urlfactory' => \mod_forum\local\container::get_url_factory( ), 'capabilitymanager' => (\mod_forum\local\container::get_manager_factory( ))->get_capability_manager($forum), 'user' => $user, 'currentgroup' => null, 'vaultfactory' => \mod_forum\local\container::get_vault_factory( )])
/mod/forum/tests/externallib_test.php:692$url = \moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/mod/forum/tests/externallib_test.php:801return array_merge(['contextid' => $file->get_contextid( ), 'component' => $file->get_component( ), 'filearea' => $file->get_filearea( ), 'itemid' => $file->get_itemid( ), 'filepath' => $file->get_filepath( ), 'filename' => $file->get_filename( ), 'isdir' => $file->is_directory( ), 'isimage' => $file->is_valid_image( ), 'timemodified' => $file->get_timemodified( ), 'timecreated' => $file->get_timecreated( ), 'filesize' => $file->get_filesize( ), 'author' => $file->get_author( ), 'license' => $file->get_license( ), 'filenameshort' => $file->get_filename( ), 'filesizeformatted' => display_size((int) $file->get_filesize( )), 'icon' => $file->is_directory( ) ? file_folder_icon( ) : file_file_icon($file), 'timecreatedformatted' => userdate($file->get_timecreated( )), 'timemodifiedformatted' => userdate($file->get_timemodified( )), 'url' => $url->out( ), ], $values)
/mod/forum/tests/lib_test.php:40291$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'forum', 'instance' => $forum->id, 'eventtype' => FORUM_EVENT_TYPE_DUE . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/forum/tests/lib_test.php:40721$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'forum', 'instance' => $forum->id, 'eventtype' => FORUM_EVENT_TYPE_DUE, 'timestart' => $newduedate, 'timeduration' => 86400, 'visible' => 1])
/mod/forum/tests/lib_test.php:41221return ['Empty blockafter' => [(object) ['id' => 1, 'course' => SITEID, 'blockafter' => 0]], 'Empty blockperiod' => [(object) ['id' => 1, 'course' => SITEID, 'blockafter' => DAYSECS, 'blockperiod' => 0]], ]
/mod/forum/tests/output_email_test.php:1481$discussion = $this->getDataGenerator( )->get_plugin_generator('mod_forum')->create_discussion((object) array_merge($discussionconfig, array('course' => $course->id, 'forum' => $forum->id, 'userid' => $user->id, )))
/mod/forum/tests/externallib_test.php:5461$expectedposts['posts'][] = array('id' => $discussion1reply1->id, 'discussionid' => $discussion1reply1->discussion, 'parentid' => $discussion1reply1->parent, 'hasparent' => true, 'timecreated' => $discussion1reply1->created, 'timemodified' => $discussion1reply1->modified, 'subject' => $discussion1reply1->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion1reply1->subject}", 'message' => $message, 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => true, 'wordcount' => count_words($message), 'charcount' => count_letters($message), 'author' => $exporteduser2, 'attachments' => [ ], 'messageinlinefiles' => [0 => $this->get_expected_attachment($file)], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser2, $discussion1reply1->created)], 'capabilities' => ['view' => 1, 'edit' => 0, 'delete' => 0, 'split' => 0, 'reply' => 1, 'export' => 0, 'controlreadstatus' => 0, 'canreplyprivately' => 0, 'selfenrol' => 0], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion1reply1->discussion, $discussion1reply1->id), 'viewisolated' => $isolatedurl->out(false), 'viewparent' => $urlfactory->get_view_post_url_from_post_id($discussion1reply1->discussion, $discussion1reply1->parent), 'edit' => null, 'delete' => null, 'split' => null, 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion1reply1->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion1reply1->discussion), ], )
/mod/forum/tests/externallib_test.php:4871$expectedposts['posts'][] = array('id' => $discussion1reply2->id, 'discussionid' => $discussion1reply2->discussion, 'parentid' => $discussion1reply2->parent, 'hasparent' => true, 'timecreated' => $discussion1reply2->created, 'timemodified' => $discussion1reply2->modified, 'subject' => $discussion1reply2->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion1reply2->subject}", 'message' => $message, 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => true, 'wordcount' => count_words($message), 'charcount' => count_letters($message), 'author' => $exporteduser3, 'attachments' => [ ], 'messageinlinefiles' => [ ], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser3, $discussion1reply2->created)], 'capabilities' => ['view' => 1, 'edit' => 0, 'delete' => 0, 'split' => 0, 'reply' => 1, 'export' => 0, 'controlreadstatus' => 0, 'canreplyprivately' => 0, 'selfenrol' => 0], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion1reply2->discussion, $discussion1reply2->id), 'viewisolated' => $isolatedurl->out(false), 'viewparent' => $urlfactory->get_view_post_url_from_post_id($discussion1reply2->discussion, $discussion1reply2->parent), 'edit' => null, 'delete' => null, 'split' => null, 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion1reply2->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion1reply2->discussion), ], )
/mod/forum/tests/externallib_test.php:9641$expecteddiscussions = array('id' => $discussion1->firstpost, 'name' => $discussion1->name, 'groupid' => (int) $discussion1->groupid, 'timemodified' => (int) $discussion1reply3->created, 'usermodified' => (int) $discussion1reply3->userid, 'timestart' => (int) $discussion1->timestart, 'timeend' => (int) $discussion1->timeend, 'discussion' => (int) $discussion1->id, 'parent' => 0, 'userid' => (int) $discussion1->userid, 'created' => (int) $post1->created, 'modified' => (int) $post1->modified, 'mailed' => (int) $post1->mailed, 'subject' => $post1->subject, 'message' => $post1->message, 'messageformat' => (int) $post1->messageformat, 'messagetrust' => (int) $post1->messagetrust, 'attachment' => $post1->attachment, 'totalscore' => (int) $post1->totalscore, 'mailnow' => (int) $post1->mailnow, 'userfullname' => fullname($user1), 'usermodifiedfullname' => fullname($user4), 'userpictureurl' => '', 'usermodifiedpictureurl' => '', 'numreplies' => 3, 'numunread' => 0, 'pinned' => (bool) FORUM_DISCUSSION_UNPINNED, 'locked' => false, 'canreply' => false, 'canlock' => false, 'starred' => false, 'canfavourite' => true)
/mod/forum/tests/externallib_test.php:7091$discussionreply2 = $generator->create_post((object) ['discussion' => $discussion->id, 'parent' => $discussionreply1->id, 'userid' => $user2->id, 'subject' => '', 'message' => '', 'messageformat' => FORMAT_PLAIN, 'deleted' => 1, ])
/mod/forum/tests/externallib_test.php:3701$exporteduser3 = ['id' => (int) $user3->id, 'fullname' => fullname($user3), 'groups' => [ ], 'isdeleted' => false, 'urls' => ['profile' => $urlfactory->get_author_profile_url($user3entity, $course1->id)->out(false), 'profileimage' => $urlfactory->get_author_profile_image_url($user3entity), ]]
/mod/forum/tests/externallib_test.php:3561$exporteduser2 = ['id' => (int) $user2->id, 'fullname' => fullname($user2), 'isdeleted' => false, 'groups' => [ ], 'urls' => ['profile' => $urlfactory->get_author_profile_url($user2entity, $course1->id)->out(false), 'profileimage' => $urlfactory->get_author_profile_image_url($user2entity), ]]
/mod/forum/tests/externallib_test.php:4661$expectedposts = array('posts' => array( ), 'courseid' => $course1->id, 'forumid' => $forum1->id, 'ratinginfo' => array('contextid' => $forum1context->id, 'component' => 'mod_forum', 'ratingarea' => 'post', 'canviewall' => null, 'canviewany' => null, 'scales' => array( ), 'ratings' => array( ), ), 'warnings' => array( ), )
/mod/forum/tests/externallib_test.php:4541$exporteduser3 = ['id' => (int) $user3->id, 'fullname' => get_string('deleteduser', 'mod_forum'), 'groups' => [ ], 'isdeleted' => true, 'urls' => ['profile' => $urlfactory->get_author_profile_url($user3entity, $course1->id)->out(false), 'profileimage' => $urlfactory->get_author_profile_image_url($user3entity), ]]
/mod/forum/tests/externallib_test.php:31712$discussion = $this->getDataGenerator( )->get_plugin_generator('mod_forum')->create_discussion((object) ['userid' => $USER->id, 'course' => $course->id, 'forum' => $forum->id, 'message' => 'Test discussion message', 'messageformat' => FORMAT_HTML, ])
/mod/forum/tests/externallib_test.php:31391$discussion = $this->getDataGenerator( )->get_plugin_generator('mod_forum')->create_discussion((object) ['userid' => $USER->id, 'course' => $course->id, 'forum' => $forum->id, 'name' => 'Test discussion subject', ])
/mod/forum/tests/event/events_test.php:12393$params = array('context' => \context_system::instance( ), 'objectid' => $post->id, 'other' => array('discussionid' => $discussion->id, 'forumid' => $forum->id, 'forumtype' => $forum->type))
/mod/forum/tests/externallib_test.php:32042$discussion = $this->getDataGenerator( )->get_plugin_generator('mod_forum')->create_discussion((object) ['userid' => $USER->id, 'course' => $course->id, 'forum' => $forum->id, 'message' => 'Test discussion message', 'messageformat' => FORMAT_HTML, ])
/mod/forum/tests/externallib_test.php:23471$exporteduser2 = ['id' => (int) $user2->id, 'fullname' => fullname($user2), 'groups' => [ ], 'urls' => ['profile' => $urlfactory->get_author_profile_url($user2entity, $course1->id)->out(false), 'profileimage' => $urlfactory->get_author_profile_image_url($user2entity), ], 'isdeleted' => false, ]
/mod/forum/tests/externallib_test.php:23341$exporteduser1 = ['id' => (int) $user1->id, 'fullname' => fullname($user1), 'groups' => [ ], 'urls' => ['profile' => $urlfactory->get_author_profile_url($user1entity, $course1->id)->out(false), 'profileimage' => $urlfactory->get_author_profile_image_url($user1entity), ], 'isdeleted' => false, ]
/mod/forum/tests/externallib_test.php:25991$expectedposts['discussions'][1] = ['name' => $discussion2->name, 'id' => $discussion2->id, 'timecreated' => $discussion2firstpost->get_time_created( ), 'authorfullname' => $user1entity->get_full_name( ), 'posts' => ['userposts' => [['id' => $discussion2reply1->id, 'discussionid' => $discussion2reply1->discussion, 'parentid' => $discussion2reply1->parent, 'hasparent' => true, 'timecreated' => $discussion2reply1->created, 'timemodified' => $discussion2reply1->modified, 'subject' => $discussion2reply1->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion2reply1->subject}", 'message' => file_rewrite_pluginfile_urls($discussion2reply1->message, 'pluginfile.php', $forum1context->id, 'mod_forum', 'post', $discussion2reply1->id), 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => false, 'wordcount' => null, 'author' => $exporteduser2, 'attachments' => [ ], 'messageinlinefiles' => [ ], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser2, $discussion2reply1->created)], 'charcount' => null, 'capabilities' => ['view' => true, 'edit' => true, 'delete' => true, 'split' => true, 'reply' => true, 'export' => false, 'controlreadstatus' => false, 'canreplyprivately' => true, 'selfenrol' => false], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion2reply1->discussion, $discussion2reply1->id)->out(false), 'viewisolated' => $isolatedurluser->out(false), 'viewparent' => $urlfactory->get_view_post_url_from_post_id($discussion2reply1->discussion, $discussion2reply1->parent)->out(false), 'edit' => (new \moodle_url('/mod/forum/post.php', ['edit' => $discussion2reply1->id]))->out(false), 'delete' => (new \moodle_url('/mod/forum/post.php', ['delete' => $discussion2reply1->id]))->out(false), 'split' => (new \moodle_url('/mod/forum/post.php', ['prune' => $discussion2reply1->id]))->out(false), 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion2reply1->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion2reply1->discussion)->out(false), ], ]], 'parentposts' => [['id' => $discussion2firstpostobject->id, 'discussionid' => $discussion2firstpostobject->discussion, 'parentid' => null, 'hasparent' => false, 'timecreated' => $discussion2firstpostobject->created, 'timemodified' => $discussion2firstpostobject->modified, 'subject' => $discussion2firstpostobject->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion2firstpostobject->subject}", 'message' => file_rewrite_pluginfile_urls($discussion2firstpostobject->message, 'pluginfile.php', $forum1context->id, 'mod_forum', 'post', $discussion2firstpostobject->id), 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => false, 'wordcount' => null, 'author' => $exporteduser1, 'attachments' => [ ], 'messageinlinefiles' => [ ], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser1, $discussion2firstpostobject->created)], 'charcount' => null, 'capabilities' => ['view' => true, 'edit' => true, 'delete' => true, 'split' => false, 'reply' => true, 'export' => false, 'controlreadstatus' => false, 'canreplyprivately' => true, 'selfenrol' => false], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion2firstpostobject->discussion, $discussion2firstpostobject->id)->out(false), 'viewisolated' => $isolatedurlparent->out(false), 'viewparent' => null, 'edit' => (new \moodle_url('/mod/forum/post.php', ['edit' => $discussion2firstpostobject->id]))->out(false), 'delete' => (new \moodle_url('/mod/forum/post.php', ['delete' => $discussion2firstpostobject->id]))->out(false), 'split' => null, 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion2firstpostobject->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion2firstpostobject->discussion)->out(false), ]], ]], ]
/mod/forum/tests/externallib_test.php:24561$expectedposts['discussions'][0] = ['name' => $discussion1->name, 'id' => $discussion1->id, 'timecreated' => $discussion1firstpost->get_time_created( ), 'authorfullname' => $user1entity->get_full_name( ), 'posts' => ['userposts' => [['id' => $discussion1reply1->id, 'discussionid' => $discussion1reply1->discussion, 'parentid' => $discussion1reply1->parent, 'hasparent' => true, 'timecreated' => $discussion1reply1->created, 'timemodified' => $discussion1reply1->modified, 'subject' => $discussion1reply1->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion1reply1->subject}", 'message' => file_rewrite_pluginfile_urls($discussion1reply1->message, 'pluginfile.php', $forum1context->id, 'mod_forum', 'post', $discussion1reply1->id), 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => false, 'wordcount' => null, 'author' => $exporteduser2, 'attachments' => [ ], 'messageinlinefiles' => [ ], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser2, $discussion1reply1->created)], 'charcount' => null, 'capabilities' => ['view' => true, 'edit' => true, 'delete' => true, 'split' => true, 'reply' => true, 'export' => false, 'controlreadstatus' => false, 'canreplyprivately' => true, 'selfenrol' => false], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion1reply1->discussion, $discussion1reply1->id)->out(false), 'viewisolated' => $isolatedurluser->out(false), 'viewparent' => $urlfactory->get_view_post_url_from_post_id($discussion1reply1->discussion, $discussion1reply1->parent)->out(false), 'edit' => (new \moodle_url('/mod/forum/post.php', ['edit' => $discussion1reply1->id]))->out(false), 'delete' => (new \moodle_url('/mod/forum/post.php', ['delete' => $discussion1reply1->id]))->out(false), 'split' => (new \moodle_url('/mod/forum/post.php', ['prune' => $discussion1reply1->id]))->out(false), 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion1reply1->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion1reply1->discussion)->out(false), ], ]], 'parentposts' => [['id' => $discussion1firstpostobject->id, 'discussionid' => $discussion1firstpostobject->discussion, 'parentid' => null, 'hasparent' => false, 'timecreated' => $discussion1firstpostobject->created, 'timemodified' => $discussion1firstpostobject->modified, 'subject' => $discussion1firstpostobject->subject, 'replysubject' => get_string('re', 'mod_forum') . " {$discussion1firstpostobject->subject}", 'message' => file_rewrite_pluginfile_urls($discussion1firstpostobject->message, 'pluginfile.php', $forum1context->id, 'mod_forum', 'post', $discussion1firstpostobject->id), 'messageformat' => 1, 'unread' => null, 'isdeleted' => false, 'isprivatereply' => false, 'haswordcount' => false, 'wordcount' => null, 'author' => $exporteduser1, 'attachments' => [ ], 'messageinlinefiles' => [ ], 'tags' => [ ], 'html' => ['rating' => null, 'taglist' => null, 'authorsubheading' => $forumgenerator->get_author_subheading_html((object) $exporteduser1, $discussion1firstpostobject->created)], 'charcount' => null, 'capabilities' => ['view' => true, 'edit' => true, 'delete' => true, 'split' => false, 'reply' => true, 'export' => false, 'controlreadstatus' => false, 'canreplyprivately' => true, 'selfenrol' => false], 'urls' => ['view' => $urlfactory->get_view_post_url_from_post_id($discussion1firstpostobject->discussion, $discussion1firstpostobject->id)->out(false), 'viewisolated' => $isolatedurlparent->out(false), 'viewparent' => null, 'edit' => (new \moodle_url('/mod/forum/post.php', ['edit' => $discussion1firstpostobject->id]))->out(false), 'delete' => (new \moodle_url('/mod/forum/post.php', ['delete' => $discussion1firstpostobject->id]))->out(false), 'split' => null, 'reply' => (new \moodle_url('/mod/forum/post.php#mformforum', ['reply' => $discussion1firstpostobject->id]))->out(false), 'export' => null, 'markasread' => null, 'markasunread' => null, 'discuss' => $urlfactory->get_discussion_view_url_from_discussion_id($discussion1firstpostobject->discussion)->out(false), ], ]], ], ]
/mod/assign/locallib.php:35801$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, get_string('quickgradingresult', 'assign')))
/mod/assign/locallib.php:40161$submissionstatus = new assign_submission_status_compact($instance->allowsubmissionsfromdate, $instance->alwaysshowdescription, $submission, $instance->teamsubmission, $teamsubmission, $submissiongroup, $notsubmitted, $this->is_any_submission_plugin_enabled( ), $submissionlocked, $this->is_graded($userid), $instance->duedate, $instance->cutoffdate, $this->get_submission_plugins( ), $this->get_return_action( ), $this->get_return_params( ), $this->get_course_module( )->id, $this->get_course( )->id, assign_submission_status::GRADER_VIEW, $showedit, false, $viewfullnames, $extensionduedate, $this->get_context( ), $this->is_blind_marking( ), '', $instance->attemptreopenmethod, $instance->maxattempts, $this->get_grading_status($userid), $instance->preventsubmissionnotingroup, $usergroups, $instance->timelimit)
/mod/assign/locallib.php:34301$o .= $this->get_renderer( )->render(new assign_feedback_plugin_feedback($plugin, $item, assign_feedback_plugin_feedback::FULL, $this->get_course_module( )->id, $this->get_return_action( ), $this->get_return_params( )))
/mod/assign/locallib.php:35601$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, get_string('savegradingresult', 'assign')))
/mod/assign/locallib.php:42911$history = new assign_attempt_history($allsubmissions, $allgrades, $this->get_submission_plugins( ), $this->get_feedback_plugins( ), $this->get_course_module( )->id, $this->get_return_action( ), $this->get_return_params( ), true, $useridlistid, $rownum)
/mod/assign/locallib.php:45001$gradingoptionsformparams = array('cm' => $cmid, 'contextid' => $this->context->id, 'userid' => $USER->id, 'submissionsenabled' => $this->is_any_submission_plugin_enabled( ), 'showquickgrading' => $showquickgrading, 'quickgrading' => $quickgrading, 'markingworkflowopt' => $markingworkflowoptions, 'markingallocationopt' => $markingallocationoptions, 'showonlyactiveenrolopt' => $showonlyactiveenrolopt, 'showonlyactiveenrol' => $this->show_only_active_users( ), 'downloadasfolders' => $downloadasfolders)
/mod/assign/locallib.php:41741$usersummary = new assign_user_summary($user, $this->get_course( )->id, $viewfullnames, $this->is_blind_marking( ), $this->get_uniqueid_for_user($user->id), \core_user\fields::get_identity_fields($this->get_context( ), false), !$this->is_active_user($userid))
/mod/assign/locallib.php:42111$submissionstatus = new assign_submission_status($instance->allowsubmissionsfromdate, $instance->alwaysshowdescription, $submission, $instance->teamsubmission, $teamsubmission, $submissiongroup, $notsubmitted, $this->is_any_submission_plugin_enabled( ), $submissionlocked, $this->is_graded($userid), $instance->duedate, $instance->cutoffdate, $this->get_submission_plugins( ), $this->get_return_action( ), $this->get_return_params( ), $this->get_course_module( )->id, $this->get_course( )->id, assign_submission_status::GRADER_VIEW, $showedit, false, $viewfullnames, $extensionduedate, $this->get_context( ), $this->is_blind_marking( ), '', $instance->attemptreopenmethod, $instance->maxattempts, $this->get_grading_status($userid), $instance->preventsubmissionnotingroup, $usergroups, $instance->timelimit)
/mod/assign/locallib.php:50001$batchformparams = array('cm' => $this->get_course_module( )->id, 'submissiondrafts' => $this->get_instance( )->submissiondrafts, 'duedate' => $this->get_instance( )->duedate, 'attemptreopenmethod' => $this->get_instance( )->attemptreopenmethod, 'feedbackplugins' => $this->get_feedback_plugins( ), 'context' => $this->get_context( ), 'markingworkflow' => $this->get_instance( )->markingworkflow, 'markingallocation' => $markingallocation)
/mod/assign/locallib.php:51052$usershtml .= $this->get_renderer( )->render(new assign_user_summary($user, $this->get_course( )->id, $viewfullnames, $this->is_blind_marking( ), $this->get_uniqueid_for_user($user->id), $extrauserfields, !$this->is_active_user($userid)))
/mod/assign/locallib.php:45191$batchformparams = array('cm' => $cmid, 'submissiondrafts' => $this->get_instance( )->submissiondrafts, 'duedate' => $this->get_instance( )->duedate, 'attemptreopenmethod' => $this->get_instance( )->attemptreopenmethod, 'feedbackplugins' => $this->get_feedback_plugins( ), 'context' => $this->get_context( ), 'markingworkflow' => $markingworkflow, 'markingallocation' => $markingallocation)
/mod/assign/locallib.php:48411$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, $title, '', $postfix, null, true))
/mod/assign/locallib.php:53421$submissionstatus = new assign_submission_status($instance->allowsubmissionsfromdate, $instance->alwaysshowdescription, $submission, $instance->teamsubmission, $teamsubmission, $submissiongroup, $notsubmitted, $this->is_any_submission_plugin_enabled( ), $submissionlocked, $this->is_graded($user->id), $instance->duedate, $instance->cutoffdate, $this->get_submission_plugins( ), $this->get_return_action( ), $this->get_return_params( ), $this->get_course_module( )->id, $this->get_course( )->id, assign_submission_status::STUDENT_VIEW, $showedit, $showsubmit, $viewfullnames, $extensionduedate, $this->get_context( ), $this->is_blind_marking( ), $gradingcontrollerpreview, $instance->attemptreopenmethod, $instance->maxattempts, $gradingstatus, $instance->preventsubmissionnotingroup, $usergroups, $instance->timelimit)
/mod/assign/locallib.php:54771$feedbackstatus = new assign_feedback_status($gradefordisplay, $gradeddate, $grader, $this->get_feedback_plugins( ), $grade, $this->get_course_module( )->id, $this->get_return_action( ), $this->get_return_params( ), $viewfullnames, $gradingcontrollergrade)
/mod/assign/locallib.php:51702$usershtml .= $this->get_renderer( )->render(new assign_user_summary($user, $this->get_course( )->id, $viewfullnames, $this->is_blind_marking( ), $this->get_uniqueid_for_user($user->id), $extrauserfields, !$this->is_active_user($userid)))
/mod/assign/locallib.php:52721$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, get_string('confirmsubmissionheading', 'assign')))
/mod/assign/locallib.php:58821$o .= $this->get_renderer( )->render(new assign_header($instance, $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, '', '', $postfix))
/mod/assign/locallib.php:57621$summary = new assign_grading_summary($countparticipants, $instance->submissiondrafts, $this->count_submissions_with_status($draft, $activitygroup), $this->is_any_submission_plugin_enabled( ), $this->count_submissions_with_status($submitted, $activitygroup), $this->get_cutoffdate($activitygroup), $this->get_duedate($activitygroup), $this->get_timelimit($activitygroup), $this->get_course_module( )->id, $this->count_submissions_need_grading($activitygroup), $instance->teamsubmission, assign_grading_summary::WARN_GROUPS_NO, $course->relativedatesmode, $course->startdate, $this->can_grade( ), $isvisible, $this->get_course_module( ))
/mod/assign/locallib.php:57401$summary = new assign_grading_summary($this->count_teams($activitygroup), $instance->submissiondrafts, $this->count_submissions_with_status($draft, $activitygroup), $this->is_any_submission_plugin_enabled( ), $this->count_submissions_with_status($submitted, $activitygroup), $this->get_cutoffdate($activitygroup), $this->get_duedate($activitygroup), $this->get_timelimit($activitygroup), $this->get_course_module( )->id, $this->count_submissions_need_grading($activitygroup), $instance->teamsubmission, $warnofungroupedusers, $course->relativedatesmode, $course->startdate, $this->can_grade( ), $isvisible, $this->get_course_module( ))
/mod/assign/locallib.php:55061$history = new assign_attempt_history($allsubmissions, $allgrades, $this->get_submission_plugins( ), $this->get_feedback_plugins( ), $this->get_course_module( )->id, $this->get_return_action( ), $this->get_return_params( ), false, 0, 0)
/mod/assign/adminlib.php:1601return $OUTPUT->action_icon(new moodle_url($url, array('action' => $action, 'plugin' => $plugin, 'sesskey' => sesskey( ))), new pix_icon($icon, $alt, 'moodle', array('title' => $alt)), null, array('title' => $alt)) . ' '
/mod/assign/locallib.php:73301$gradingoptionsparams = array('cm' => $this->get_course_module( )->id, 'contextid' => $this->context->id, 'userid' => $USER->id, 'submissionsenabled' => $this->is_any_submission_plugin_enabled( ), 'showquickgrading' => $showquickgrading, 'quickgrading' => false, 'markingworkflowopt' => $markingworkflowoptions, 'markingallocationopt' => $markingallocationoptions, 'showonlyactiveenrolopt' => $showonlyactiveenrolopt, 'showonlyactiveenrol' => $this->show_only_active_users( ), 'downloadasfolders' => get_user_preferences('assign_downloadasfolders', 1))
/mod/assign/locallib.php:71161$markingallocationchanged = $this->get_instance( )->markingworkflow && $this->get_instance( )->markingallocation && ($modified->allocatedmarker !== false) && ($current->allocatedmarker != $modified->allocatedmarker)
/mod/assign/locallib.php:64831$posthtml = '<p><font face="sans-serif">' . '<a href="' . $CFG->wwwroot . '/course/view.php?id=' . $course->id . '">' . format_string($course->shortname, true, $formatparams) . '</a> ->' . '<a href="' . $CFG->wwwroot . '/mod/assign/index.php?id=' . $course->id . '">' . $modulename . '</a> ->' . '<a href="' . $CFG->wwwroot . '/mod/assign/view.php?id=' . $coursemodule->id . '">' . format_string($assignmentname, true, $formatparams) . '</a></font></p>'
/mod/assign/externallib.php:5071$coursearray[] = array('id' => $courses[$id]->id, 'fullname' => \core_external\util::format_string($courses[$id]->fullname, $course->contextid), 'shortname' => \core_external\util::format_string($courses[$id]->shortname, $course->contextid), 'timemodified' => $courses[$id]->timemodified, 'assignments' => $assignmentarray)
/mod/assign/externallib.php:4121$assignment = array('id' => $module->assignmentid, 'cmid' => $module->id, 'course' => $module->course, 'name' => \core_external\util::format_string($module->name, $context), 'nosubmissions' => $module->nosubmissions, 'submissiondrafts' => $module->submissiondrafts, 'sendnotifications' => $module->sendnotifications, 'sendlatenotifications' => $module->sendlatenotifications, 'sendstudentnotifications' => $module->sendstudentnotifications, 'duedate' => $assign->get_instance( )->duedate, 'allowsubmissionsfromdate' => $assign->get_instance( )->allowsubmissionsfromdate, 'grade' => $module->grade, 'timemodified' => $module->timemodified, 'completionsubmit' => $module->completionsubmit, 'cutoffdate' => $assign->get_instance( )->cutoffdate, 'gradingduedate' => $assign->get_instance( )->gradingduedate, 'teamsubmission' => $module->teamsubmission, 'requireallteammemberssubmit' => $module->requireallteammemberssubmit, 'teamsubmissiongroupingid' => $module->teamsubmissiongroupingid, 'blindmarking' => $module->blindmarking, 'hidegrader' => $module->hidegrader, 'revealidentities' => $module->revealidentities, 'attemptreopenmethod' => $module->attemptreopenmethod, 'maxattempts' => $module->maxattempts, 'markingworkflow' => $module->markingworkflow, 'markingallocation' => $module->markingallocation, 'markinganonymous' => $module->markinganonymous, 'requiresubmissionstatement' => $module->requiresubmissionstatement, 'preventsubmissionnotingroup' => $module->preventsubmissionnotingroup, 'timelimit' => $module->timelimit, 'submissionattachments' => $module->submissionattachments, 'configs' => $configarray)
/mod/assign/externallib.php:2361return new external_function_parameters(array('courseids' => new external_multiple_structure(new external_value(PARAM_INT, 'course id, empty for retrieving all the courses where the user is enroled in'), '0 or more course ids', VALUE_DEFAULT, array( )), 'capabilities' => new external_multiple_structure(new external_value(PARAM_CAPABILITY, 'capability'), 'list of capabilities used to filter courses', VALUE_DEFAULT, array( )), 'includenotenrolledcourses' => new external_value(PARAM_BOOL, 'whether to return courses that the user can see even if is not enroled in. This requires the parameter courseids to not be empty.', VALUE_DEFAULT, false)))
/mod/assign/externallib.php:1831return new external_single_structure(array('id' => new external_value(PARAM_INT, 'grade id'), 'assignment' => new external_value(PARAM_INT, 'assignment id', VALUE_OPTIONAL), 'userid' => new external_value(PARAM_INT, 'student id'), 'attemptnumber' => new external_value(PARAM_INT, 'attempt number'), 'timecreated' => new external_value(PARAM_INT, 'grade creation time'), 'timemodified' => new external_value(PARAM_INT, 'grade last modified time'), 'grader' => new external_value(PARAM_INT, 'grader, -1 if grader is hidden'), 'grade' => new external_value(PARAM_TEXT, 'grade'), 'gradefordisplay' => new external_value(PARAM_RAW, 'grade rendered into a format suitable for display', VALUE_OPTIONAL), ), 'grade information', $required)
/mod/assign/externallib.php:7031return new external_function_parameters(array('assignmentids' => new external_multiple_structure(new external_value(PARAM_INT, 'assignment id'), '1 or more assignment ids', VALUE_REQUIRED), 'status' => new external_value(PARAM_ALPHA, 'status', VALUE_DEFAULT, ''), 'since' => new external_value(PARAM_INT, 'submitted since', VALUE_DEFAULT, 0), 'before' => new external_value(PARAM_INT, 'submitted before', VALUE_DEFAULT, 0)))
/mod/assign/externallib.php:6041return new external_single_structure(array('id' => new external_value(PARAM_INT, 'course id'), 'fullname' => new external_value(PARAM_RAW, 'course full name'), 'shortname' => new external_value(PARAM_RAW, 'course short name'), 'timemodified' => new external_value(PARAM_INT, 'last time modified'), 'assignments' => new external_multiple_structure(self::get_assignments_assignment_structure( ), 'assignment info')), 'course information object')
/mod/assign/externallib.php:5851return new external_single_structure(array('id' => new external_value(PARAM_INT, 'assign_plugin_config id', VALUE_OPTIONAL), 'assignment' => new external_value(PARAM_INT, 'assignment id', VALUE_OPTIONAL), 'plugin' => new external_value(PARAM_TEXT, 'plugin'), 'subtype' => new external_value(PARAM_TEXT, 'subtype'), 'name' => new external_value(PARAM_TEXT, 'name'), 'value' => new external_value(PARAM_TEXT, 'value')), 'assignment configuration object')
/mod/assign/externallib.php:5301return new external_single_structure(array('id' => new external_value(PARAM_INT, 'assignment id'), 'cmid' => new external_value(PARAM_INT, 'course module id'), 'course' => new external_value(PARAM_INT, 'course id'), 'name' => new external_value(PARAM_RAW, 'assignment name'), 'nosubmissions' => new external_value(PARAM_INT, 'no submissions'), 'submissiondrafts' => new external_value(PARAM_INT, 'submissions drafts'), 'sendnotifications' => new external_value(PARAM_INT, 'send notifications'), 'sendlatenotifications' => new external_value(PARAM_INT, 'send notifications'), 'sendstudentnotifications' => new external_value(PARAM_INT, 'send student notifications (default)'), 'duedate' => new external_value(PARAM_INT, 'assignment due date'), 'allowsubmissionsfromdate' => new external_value(PARAM_INT, 'allow submissions from date'), 'grade' => new external_value(PARAM_INT, 'grade type'), 'timemodified' => new external_value(PARAM_INT, 'last time assignment was modified'), 'completionsubmit' => new external_value(PARAM_INT, 'if enabled, set activity as complete following submission'), 'cutoffdate' => new external_value(PARAM_INT, 'date after which submission is not accepted without an extension'), 'gradingduedate' => new external_value(PARAM_INT, 'the expected date for marking the submissions'), 'teamsubmission' => new external_value(PARAM_INT, 'if enabled, students submit as a team'), 'requireallteammemberssubmit' => new external_value(PARAM_INT, 'if enabled, all team members must submit'), 'teamsubmissiongroupingid' => new external_value(PARAM_INT, 'the grouping id for the team submission groups'), 'blindmarking' => new external_value(PARAM_INT, 'if enabled, hide identities until reveal identities actioned'), 'hidegrader' => new external_value(PARAM_INT, 'If enabled, hide grader to student'), 'revealidentities' => new external_value(PARAM_INT, 'show identities for a blind marking assignment'), 'attemptreopenmethod' => new external_value(PARAM_TEXT, 'method used to control opening new attempts'), 'maxattempts' => new external_value(PARAM_INT, 'maximum number of attempts allowed'), 'markingworkflow' => new external_value(PARAM_INT, 'enable marking workflow'), 'markingallocation' => new external_value(PARAM_INT, 'enable marking allocation'), 'markinganonymous' => new external_value(PARAM_INT, 'enable marking anonymous'), 'requiresubmissionstatement' => new external_value(PARAM_INT, 'student must accept submission statement'), 'preventsubmissionnotingroup' => new external_value(PARAM_INT, 'Prevent submission not in group', VALUE_OPTIONAL), 'submissionstatement' => new external_value(PARAM_RAW, 'Submission statement formatted.', VALUE_OPTIONAL), 'submissionstatementformat' => new external_format_value('submissionstatement', VALUE_OPTIONAL), 'configs' => new external_multiple_structure(self::get_assignments_config_structure( ), 'configuration settings'), 'intro' => new external_value(PARAM_RAW, 'assignment intro, not allways returned because it deppends on the activity configuration', VALUE_OPTIONAL), 'introformat' => new external_format_value('intro', VALUE_OPTIONAL), 'introfiles' => new external_files('Files in the introduction text', VALUE_OPTIONAL), 'introattachments' => new external_files('intro attachments files', VALUE_OPTIONAL), 'activity' => new external_value(PARAM_RAW, 'Description of activity', VALUE_OPTIONAL), 'activityformat' => new external_format_value('activity', VALUE_OPTIONAL), 'activityattachments' => new external_files('Files from activity field', VALUE_OPTIONAL), 'timelimit' => new external_value(PARAM_INT, 'Time limit to complete assigment', VALUE_OPTIONAL), 'submissionattachments' => new external_value(PARAM_INT, 'Flag to only show files during submission', VALUE_OPTIONAL), ), 'assignment information object')
/mod/lti/classes/reportbuilder/local/entities/tool_types.php:1091$columns[] = (new column('description', new lang_string('description', 'core'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.description")->set_is_sortable(true)
/mod/lti/classes/reportbuilder/local/entities/tool_types.php:1201$columns[] = (new column('course', new lang_string('course', 'core'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("{$tablealias}.course")->set_is_sortable(true)
/mod/lti/classes/reportbuilder/local/entities/tool_types.php:1311$columns[] = (new column('ltiversion', new lang_string('version'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.ltiversion")->set_is_sortable(true)
/mod/lti/classes/reportbuilder/local/entities/tool_types.php:1521return [(new filter(text::class, 'name', new lang_string('name'), $this->get_entity_name( ), "{$tablealias}.name"))->add_joins($this->get_joins( )), (new filter(text::class, 'description', new lang_string('description'), $this->get_entity_name( ), "{$tablealias}.description"))->add_joins($this->get_joins( )), (new filter(select::class, 'ltiversion', new lang_string('version'), $this->get_entity_name( ), "{$tablealias}.ltiversion"))->add_joins($this->get_joins( ))->set_options_callback(static function ( ) : array { /**/ } )]
/mod/lti/classes/local/types_helper.php:731return $DB->get_records_sql($query, ['siteid' => $SITE->id, 'courseid' => $courseid, 'active' => LTI_TOOL_STATE_CONFIGURED, 'categoryid' => $coursecategory, 'coursevisible' => LTI_COURSEVISIBLE_ACTIVITYCHOOSER, 'lticoursevisibleno' => LTI_COURSEVISIBLE_NO, ] + $coursevisparams + $coursevisparams1 + $coursevisoverriddenparams)
/mod/lti/classes/external/get_tool_types_and_proxies.php:401return new external_function_parameters(['toolproxyid' => new external_value(PARAM_INT, 'Tool proxy id', VALUE_DEFAULT, 0), 'orphanedonly' => new external_value(PARAM_BOOL, 'Orphaned tool types only', VALUE_DEFAULT, 0), 'limit' => new external_value(PARAM_INT, 'How many tool types displayed per page', VALUE_DEFAULT, 60, NULL_NOT_ALLOWED), 'offset' => new external_value(PARAM_INT, 'Current offset of tool elements', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), ])
/mod/lti/classes/external/get_tool_types_and_proxies.php:1111return new external_single_structure(['types' => \mod_lti_external::get_tool_types_returns( ), 'proxies' => \mod_lti_external::get_tool_proxies_returns( ), 'limit' => new external_value(PARAM_INT, 'Limit of how many tool types to show', VALUE_OPTIONAL), 'offset' => new external_value(PARAM_INT, 'Offset of tool types', VALUE_OPTIONAL), ])
/mod/lti/tests/locallib_test.php:5211$tools = [(object) ['name' => 'Here', 'baseurl' => 'https://example.com/i/am/?where=here', 'tooldomain' => 'example.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], (object) ['name' => 'There', 'baseurl' => 'https://example.com/i/am/?where=there', 'tooldomain' => 'example.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], (object) ['name' => 'Not here', 'baseurl' => 'https://example.com/i/am/?where=not/here', 'tooldomain' => 'example.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], (object) ['name' => 'Here', 'baseurl' => 'https://example.com/i/am/', 'tooldomain' => 'example.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], (object) ['name' => 'Here', 'baseurl' => 'https://example.com/i/was', 'tooldomain' => 'example.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], (object) ['name' => 'Here', 'baseurl' => 'https://badexample.com/i/am/?where=here', 'tooldomain' => 'badexample.com', 'state' => LTI_TOOL_STATE_CONFIGURED, 'course' => SITEID], ]
/mod/lti/tests/locallib_test.php:5661$data = [['url' => $tools[0]->baseurl, 'expected' => $tools[0], ], ['url' => $tools[1]->baseurl, 'expected' => $tools[1], ], ['url' => $tools[2]->baseurl, 'expected' => $tools[2], ], ['url' => $tools[3]->baseurl, 'expected' => $tools[3], ], ['url' => $tools[4]->baseurl, 'expected' => $tools[4], ], ['url' => $tools[5]->baseurl, 'expected' => $tools[5], ], ['url' => 'https://nomatch.com/i/am/', 'expected' => null], ['url' => 'https://example.com', 'expected' => null], ['url' => 'https://example.com/i/am/?where=unknown', 'expected' => $tools[3]]]
/mod/lti/tests/lib_test.php:3471$sitetoolrecord = (object) ['name' => 'Site level tool which is available in the activity chooser', 'baseurl' => 'http://example.com', 'createdby' => $admin->id, 'course' => SITEID, 'ltiversion' => 'LTI-1p0', 'timecreated' => $time, 'timemodified' => $time, 'state' => LTI_TOOL_STATE_CONFIGURED, 'coursevisible' => LTI_COURSEVISIBLE_ACTIVITYCHOOSER]
/mod/lti/tests/lib_test.php:3581$sitetoolrecordnonchooser = (object) ['name' => 'Site level tool which is NOT available in the course activity chooser', 'baseurl' => 'http://example2.com', 'createdby' => $admin->id, 'course' => SITEID, 'ltiversion' => 'LTI-1p0', 'timecreated' => $time, 'timemodified' => $time, 'state' => LTI_TOOL_STATE_CONFIGURED, 'coursevisible' => LTI_COURSEVISIBLE_PRECONFIGURED]
/mod/lti/tests/lib_test.php:3691$course1toolrecord = (object) ['name' => 'Course created tool which is available in the activity chooser', 'baseurl' => 'http://example3.com', 'createdby' => $teacher->id, 'course' => $course->id, 'ltiversion' => 'LTI-1p0', 'timecreated' => $time, 'timemodified' => $time, 'state' => LTI_TOOL_STATE_CONFIGURED, 'coursevisible' => LTI_COURSEVISIBLE_ACTIVITYCHOOSER]
/mod/lti/tests/lib_test.php:3801$course2toolrecord = (object) ['name' => 'Course created tool which is available in the activity chooser', 'baseurl' => 'http://example4.com', 'createdby' => $teacher2->id, 'course' => $course2->id, 'ltiversion' => 'LTI-1p0', 'timecreated' => $time, 'timemodified' => $time, 'state' => LTI_TOOL_STATE_CONFIGURED, 'coursevisible' => LTI_COURSEVISIBLE_ACTIVITYCHOOSER]
/mod/lti/tests/mod_lti_edit_types_form_test.php:611$categoryarray[] = ["id" => $coursecategories['topcat']->id, "parent" => $coursecategories['topcat']->parent, "name" => $coursecategories['topcat']->name, "nodes" => [["id" => $coursecategories['subcata']->id, "parent" => $coursecategories['topcat']->id, "name" => $coursecategories['subcata']->name, "nodes" => [["id" => $coursecategories['subcatca']->id, "parent" => $coursecategories['subcata']->id, "name" => $coursecategories['subcatca']->name, "nodes" => "", "haschildren" => ""]], "haschildren" => "1"], ["id" => $coursecategories['subcatb']->id, "parent" => $coursecategories['topcat']->id, "name" => $coursecategories['subcatb']->name, "nodes" => [["id" => $coursecategories['subcatcb']->id, "parent" => $coursecategories['subcatb']->id, "name" => $coursecategories['subcatcb']->name, "nodes" => "", "haschildren" => ""]], "haschildren" => "1"]], "haschildren" => "1"]
/mod/lti/service/profile/classes/local/resources/profile.php:1541$profile = <<< EOD { "@context":[ "http://purl.imsglobal.org/ctx/lti/v2/ToolConsumerProfile", { "tcp":"{$id}#" } ], "@type":"ToolConsumerProfile", "@id":"{$id}", "lti_version":"{$version}", "guid":"{$toolproxy->guid}", "product_instance":{ "guid":"{$orgid}", "product_info":{ "product_name":{ "default_value":"{$name}", "key":"product.name" }, "product_version":"{$prodversion}", "product_family":{ "code":"{$code}", "vendor":{ "code":"{$vendorcode}", "vendor_name":{ "default_value":"{$vendorname}", "key":"product.vendor.name" }, "timestamp":"{$now}" } } }, "service_owner":{ "@id":"ServiceOwner", "service_owner_name":{ "default_value":"{$consumername}", "key":"service_owner.name" }, "description":{ "default_value":"{$consumerdesc}", "key":"service_owner.description" } } }, "capability_offered":[{$capabilityoffered} ], "service_offered":[{$serviceoffered} ] } EOD
/mod/lti/service/memberships/classes/local/service/memberships.php:2681$includedcapabilities = ['User.id' => ['type' => 'id', 'member.field' => 'userId', 'source.value' => $user->id], 'Person.sourcedId' => ['type' => 'id', 'member.field' => 'sourcedId', 'source.value' => format_string($user->idnumber)], 'Person.name.full' => ['type' => 'name', 'member.field' => 'name', 'source.value' => format_string("{$user->firstname} {$user->lastname}")], 'Person.name.given' => ['type' => 'name', 'member.field' => 'givenName', 'source.value' => format_string($user->firstname)], 'Person.name.family' => ['type' => 'name', 'member.field' => 'familyName', 'source.value' => format_string($user->lastname)], 'Person.email.primary' => ['type' => 'email', 'member.field' => 'email', 'source.value' => format_string($user->email)], 'User.username' => ['type' => 'name', 'member.field' => 'ext_user_username', 'source.value' => format_string($user->username)]]
/mod/lti/service/gradebookservices/backup/moodle2/restore_ltiservice_gradebookservices_subplugin.class.php:1101$newgbsid = $DB->insert_record('ltiservice_gradebookservices', (object) array('gradeitemid' => 0, 'courseid' => $courseid, 'toolproxyid' => $newtoolproxyid, 'ltilinkid' => $ltilinkid, 'typeid' => $newtypeid, 'baseurl' => $data->baseurl, 'resourceid' => $resourceid, 'tag' => $data->tag, 'subreviewparams' => $data->subreviewparams ?? '', 'subreviewurl' => $data->subreviewurl ?? ''))
/mod/lti/service/memberships/classes/local/service/memberships.php:4151$includedcapabilities = ['User.id' => ['type' => 'id', 'member.field' => 'user_id', 'source.value' => $user->id], 'Person.sourcedId' => ['type' => 'id', 'member.field' => 'lis_person_sourcedid', 'source.value' => format_string($user->idnumber)], 'Person.name.full' => ['type' => 'name', 'member.field' => 'name', 'source.value' => format_string("{$user->firstname} {$user->lastname}")], 'Person.name.given' => ['type' => 'givenname', 'member.field' => 'given_name', 'source.value' => format_string($user->firstname)], 'Person.name.family' => ['type' => 'familyname', 'member.field' => 'family_name', 'source.value' => format_string($user->lastname)], 'Person.email.primary' => ['type' => 'email', 'member.field' => 'email', 'source.value' => format_string($user->email)], 'User.username' => ['type' => 'name', 'member.field' => 'ext_user_username', 'source.value' => format_string($user->username)], ]
/mod/lti/service/toolsettings/classes/local/resources/systemsettings.php:1291$ok = isset($json->{"@graph"}) && is_array($json->{"@graph"}) && (count($json->{"@graph"}) == 1) && ($json->{"@graph"}[0]->{"@type"} == 'ToolProxy')
/mod/lti/service/toolsettings/classes/local/resources/systemsettings.php:962$ok = (empty($bubble) || ((($bubble == 'distinct') || ($bubble == 'all')))) && (!$simpleformat || empty($bubble) || ($bubble != 'all')) && (empty($bubble) || ($response->get_request_method( ) == 'GET'))
/mod/lti/service/toolsettings/classes/local/resources/contextsettings.php:1521$ok = isset($json->{"@graph"}) && is_array($json->{"@graph"}) && (count($json->{"@graph"}) == 1) && ($json->{"@graph"}[0]->{"@type"} == 'ToolProxyBinding')
/mod/lti/service/toolsettings/classes/local/resources/contextsettings.php:982$ok = (empty($bubble) || ((($bubble == 'distinct') || ($bubble == 'all')))) && (!$simpleformat || empty($bubble) || ($bubble != 'all')) && (empty($bubble) || ($response->get_request_method( ) == 'GET'))
/mod/lti/service/toolsettings/classes/local/resources/linksettings.php:1741$ok = isset($json->{"@graph"}) && is_array($json->{"@graph"}) && (count($json->{"@graph"}) == 1) && ($json->{"@graph"}[0]->{"@type"} == 'LtiLink')
/mod/lti/service/toolsettings/classes/local/resources/linksettings.php:731$ok = (empty($bubble) || ((($bubble == 'distinct') || ($bubble == 'all')))) && (!$simpleformat || empty($bubble) || ($bubble != 'all')) && (empty($bubble) || ($response->get_request_method( ) == self::HTTP_GET))
/mod/assign/extensionform.php:701$usershtml .= $assign->get_renderer( )->render(new assign_user_summary($user, $assign->get_course( )->id, has_capability('moodle/site:viewfullnames', $assign->get_course_context( )), $assign->is_blind_marking( ), $assign->get_uniqueid_for_user($user->id), $extrauserfields, !$assign->is_active_user($userid)))
/mod/lti/backup/moodle2/backup_lti_stepslib.php:671$lti = new backup_nested_element('lti', array('id'), array('name', 'intro', 'introformat', 'timecreated', 'timemodified', 'typeid', 'toolurl', 'securetoolurl', 'preferheight', 'launchcontainer', 'instructorchoicesendname', 'instructorchoicesendemailaddr', 'instructorchoiceacceptgrades', 'instructorchoiceallowroster', 'instructorchoiceallowsetting', 'grade', 'instructorcustomparameters', 'debuglaunch', 'showtitlelaunch', 'showdescriptionlaunch', 'icon', 'secureicon', new encrypted_final_element('resourcekey'), new encrypted_final_element('password'), ))
/mod/assign/renderable.php:7721return \moodle_url::make_pluginfile_url($this->context->id, $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ), true, )
/mod/assign/gradingtable.php:14611$urlparams = array('id' => $this->assignment->get_course_module( )->id, 'sid' => $item->id, 'gid' => $item->id, 'plugin' => $plugin->get_type( ), 'action' => 'viewplugin' . $plugin->get_subtype( ), 'returnaction' => $returnaction, 'returnparams' => http_build_query($returnparams))
/mod/assign/locallib.php:34022$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, $plugin->get_name( )))
/mod/assign/gradingoptionsform.php:611$options = array('' => get_string('filternone', 'assign'), ASSIGN_FILTER_NOT_SUBMITTED => get_string('filternotsubmitted', 'assign'), ASSIGN_FILTER_DRAFT => get_string('filterdraft', 'assign'), ASSIGN_FILTER_SUBMITTED => get_string('filtersubmitted', 'assign'), ASSIGN_FILTER_REQUIRE_GRADING => get_string('filterrequiregrading', 'assign'), ASSIGN_FILTER_GRANTED_EXTENSION => get_string('filtergrantedextension', 'assign'))
/mod/assign/locallib.php:34252$o .= $this->get_renderer( )->render(new assign_header($this->get_instance( ), $this->get_context( ), $this->show_intro( ), $this->get_course_module( )->id, $plugin->get_name( )))
/mod/assign/locallib.php:34071$o .= $this->get_renderer( )->render(new assign_submission_plugin_submission($plugin, $item, assign_submission_plugin_submission::FULL, $this->get_course_module( )->id, $this->get_return_action( ), $this->get_return_params( )))
/mod/forum/classes/local/exporters/post.php:931return ['id' => ['type' => PARAM_INT], 'subject' => ['type' => PARAM_TEXT], 'replysubject' => ['type' => PARAM_TEXT], 'message' => ['type' => PARAM_RAW], 'messageformat' => ['type' => PARAM_INT], 'author' => ['type' => author_exporter::read_properties_definition( )], 'discussionid' => ['type' => PARAM_INT], 'hasparent' => ['type' => PARAM_BOOL], 'parentid' => ['type' => PARAM_INT, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'timecreated' => ['type' => PARAM_INT, 'default' => null, 'null' => NULL_ALLOWED], 'timemodified' => ['type' => PARAM_INT, 'default' => null, 'null' => NULL_ALLOWED], 'unread' => ['type' => PARAM_BOOL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'isdeleted' => ['type' => PARAM_BOOL], 'isprivatereply' => ['type' => PARAM_BOOL], 'haswordcount' => ['type' => PARAM_BOOL], 'wordcount' => ['type' => PARAM_INT, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'charcount' => ['type' => PARAM_INT, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'capabilities' => ['type' => ['view' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can view the post', ], 'edit' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can edit the post', ], 'delete' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can delete the post', ], 'split' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can split the post', ], 'reply' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can reply to the post', ], 'selfenrol' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can self enrol into the course', ], 'export' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can export the post', ], 'controlreadstatus' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can control the read status of the post', ], 'canreplyprivately' => ['type' => PARAM_BOOL, 'null' => NULL_ALLOWED, 'description' => 'Whether the user can post a private reply', ]]], 'urls' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'type' => ['view' => ['description' => 'The URL used to view the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'viewisolated' => ['description' => 'The URL used to view the post in isolation', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'viewparent' => ['description' => 'The URL used to view the parent of the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'edit' => ['description' => 'The URL used to edit the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'delete' => ['description' => 'The URL used to delete the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'split' => ['description' => 'The URL used to split the discussion ' . 'with the selected post being the first post in the new discussion', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'reply' => ['description' => 'The URL used to reply to the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'export' => ['description' => 'The URL used to export the post', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'markasread' => ['description' => 'The URL used to mark the post as read', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'markasunread' => ['description' => 'The URL used to mark the post as unread', 'type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'discuss' => ['type' => PARAM_URL, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED]]], 'attachments' => ['multiple' => true, 'type' => $attachmentdefinition], 'messageinlinefiles' => ['optional' => true, 'multiple' => true, 'type' => stored_file_exporter::read_properties_definition( ), ], 'tags' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'multiple' => true, 'type' => ['id' => ['type' => PARAM_INT, 'description' => 'The ID of the Tag', 'null' => NULL_NOT_ALLOWED, ], 'tagid' => ['type' => PARAM_INT, 'description' => 'The tagid', 'null' => NULL_NOT_ALLOWED, ], 'isstandard' => ['type' => PARAM_BOOL, 'description' => 'Whether this is a standard tag', 'null' => NULL_NOT_ALLOWED, ], 'displayname' => ['type' => PARAM_TEXT, 'description' => 'The display name of the tag', 'null' => NULL_NOT_ALLOWED, ], 'flag' => ['type' => PARAM_BOOL, 'description' => 'Wehther this tag is flagged', 'null' => NULL_NOT_ALLOWED, ], 'urls' => ['description' => 'URLs associated with the tag', 'null' => NULL_NOT_ALLOWED, 'type' => ['view' => ['type' => PARAM_URL, 'description' => 'The URL to view the tag', 'null' => NULL_NOT_ALLOWED, ], ]]]], 'html' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'type' => ['rating' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'type' => PARAM_RAW, 'description' => 'The HTML source to rate the post', ], 'taglist' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'type' => PARAM_RAW, 'description' => 'The HTML source to view the list of tags', ], 'authorsubheading' => ['optional' => true, 'default' => null, 'null' => NULL_ALLOWED, 'type' => PARAM_RAW, 'description' => 'The HTML source to view the author details', ], ]]]
/mod/forum/classes/local/exporters/post.php:4451return ['id' => $post->get_id( ), 'subject' => $subject, 'replysubject' => $replysubject, 'message' => $message, 'messageformat' => $post->get_message_format( ), 'author' => $exportedauthor, 'discussionid' => $post->get_discussion_id( ), 'hasparent' => $post->has_parent( ), 'parentid' => $post->has_parent( ) ? $post->get_parent_id( ) : null, 'timecreated' => $timecreated, 'timemodified' => $post->get_time_modified( ), 'unread' => ($loadcontent && $readreceiptcollection) ? !$readreceiptcollection->has_user_read_post($user, $post) : null, 'isdeleted' => $isdeleted, 'isprivatereply' => $isprivatereply, 'haswordcount' => $showwordcount, 'wordcount' => $wordcount, 'charcount' => $charcount, 'capabilities' => ['view' => $canview, 'edit' => $canedit, 'delete' => $candelete, 'split' => $cansplit, 'reply' => $canreply, 'export' => $canexport, 'controlreadstatus' => $cancontrolreadstatus, 'canreplyprivately' => $canreplyprivately, 'selfenrol' => $canselfenrol], 'urls' => ['view' => $viewurl ? $viewurl->out(false) : null, 'viewisolated' => $viewisolatedurl ? $viewisolatedurl->out(false) : null, 'viewparent' => $viewparenturl ? $viewparenturl->out(false) : null, 'edit' => $editurl ? $editurl->out(false) : null, 'delete' => $deleteurl ? $deleteurl->out(false) : null, 'split' => $spliturl ? $spliturl->out(false) : null, 'reply' => $replyurl ? $replyurl->out(false) : null, 'export' => $exporturl && $exporturl ? $exporturl->out(false) : null, 'markasread' => $markasreadurl ? $markasreadurl->out(false) : null, 'markasunread' => $markasunreadurl ? $markasunreadurl->out(false) : null, 'discuss' => $discussurl ? $discussurl->out(false) : null, ], 'attachments' => ($exportattachments) ? $this->export_attachments($attachments, $post, $output, $canexport) : [ ], 'messageinlinefiles' => ($exportinlineattachments) ? $this->export_inline_attachments($inlineattachments, $post, $output) : [ ], 'tags' => ($loadcontent && $hastags) ? $this->export_tags($tags) : [ ], 'html' => $includehtml ? ['rating' => ($loadcontent && $hasrating) ? $output->render($rating) : null, 'taglist' => ($loadcontent && $hastags) ? $output->tag_list($tags) : null, 'authorsubheading' => ($loadcontent) ? $this->get_author_subheading_html($exportedauthor, $timecreated) : null] : null]
/mod/forum/classes/local/exporters/post.php:5311return ['component' => 'mod_forum', 'filearea' => 'post', 'itemid' => $this->post->get_id( ), 'options' => ['para' => false, 'trusted' => $this->post->is_message_trusted( )]]
/mod/forum/classes/local/exporters/post.php:5561$message .= plagiarism_get_links(['userid' => $post->get_author_id( ), 'content' => $message, 'cmid' => $forum->get_course_module_record( )->id, 'course' => $forum->get_course_id( ), 'forum' => $forum->get_id( )])
/mod/forum/classes/local/renderers/discussion.php:4352$notifications[] = (new notification(get_string('thisforumisthrottled', 'forum', ['blockafter' => $forum->get_block_after( ), 'blockperiod' => get_string('secondstotime' . $forum->get_block_period( ))]), notification::NOTIFY_INFO))->set_show_closebutton( )
/mod/forum/classes/local/builders/exported_discussion_summaries.php:1771$sortoptions = array('islastpostdesc' => $sortorder == $discussionlistvault::SORTORDER_LASTPOST_DESC, 'islastpostasc' => $sortorder == $discussionlistvault::SORTORDER_LASTPOST_ASC, 'isrepliesdesc' => $sortorder == $discussionlistvault::SORTORDER_REPLIES_DESC, 'isrepliesasc' => $sortorder == $discussionlistvault::SORTORDER_REPLIES_ASC, 'iscreateddesc' => $sortorder == $discussionlistvault::SORTORDER_CREATED_DESC, 'iscreatedasc' => $sortorder == $discussionlistvault::SORTORDER_CREATED_ASC, 'isdiscussiondesc' => $sortorder == $discussionlistvault::SORTORDER_DISCUSSION_DESC, 'isdiscussionasc' => $sortorder == $discussionlistvault::SORTORDER_DISCUSSION_ASC, 'isstarterdesc' => $sortorder == $discussionlistvault::SORTORDER_STARTER_DESC, 'isstarterasc' => $sortorder == $discussionlistvault::SORTORDER_STARTER_ASC, 'isgroupdesc' => $sortorder == $discussionlistvault::SORTORDER_GROUP_DESC, 'isgroupasc' => $sortorder == $discussionlistvault::SORTORDER_GROUP_ASC, )
/mod/forum/classes/local/builders/exported_posts.php:4761$ratingoptions = (object) ['context' => $forum->get_context( ), 'component' => 'mod_forum', 'ratingarea' => 'post', 'items' => $items, 'aggregate' => $forum->get_rating_aggregate( ), 'scaleid' => $forum->get_scale( ), 'userid' => $user->id, 'assesstimestart' => $forum->get_assess_time_start( ), 'assesstimefinish' => $forum->get_assess_time_finish( )]
/mod/forum/classes/local/exporters/forum.php:1201return ['id' => $this->forum->get_id( ), 'name' => $this->forum->get_name( ), 'state' => ['groupmode' => $this->forum->get_effective_group_mode( ), 'gradingenabled' => $this->forum->is_grading_enabled( )], 'userstate' => ['tracked' => forum_tp_is_tracked($this->get_forum_record( ), $this->related['user']), ], 'capabilities' => ['viewdiscussions' => $capabilitymanager->can_view_discussions($user), 'create' => $capabilitymanager->can_create_discussions($user, $currentgroup), 'selfenrol' => $capabilitymanager->can_self_enrol($user), 'subscribe' => $capabilitymanager->can_subscribe_to_forum($user), 'grade' => $capabilitymanager->can_grade($user), ], 'urls' => ['create' => $urlfactory->get_discussion_create_url($this->forum)->out(false), 'markasread' => $urlfactory->get_mark_all_discussions_as_read_url($this->forum)->out(false), 'view' => $urlfactory->get_forum_view_url_from_forum($this->forum)->out(false), 'sortrepliesasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_REPLIES_ASC)->out(false), 'sortrepliesdesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_REPLIES_DESC)->out(false), 'sortlastpostasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_LASTPOST_ASC)->out(false), 'sortlastpostdesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_LASTPOST_DESC)->out(false), 'sortcreatedasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_CREATED_ASC)->out(false), 'sortcreateddesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_CREATED_DESC)->out(false), 'sortdiscussionasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_DISCUSSION_ASC)->out(false), 'sortdiscussiondesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_DISCUSSION_DESC)->out(false), 'sortstarterasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_STARTER_ASC)->out(false), 'sortstarterdesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_STARTER_DESC)->out(false), 'sortgroupasc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_GROUP_ASC)->out(false), 'sortgroupdesc' => $urlfactory->get_forum_view_url_from_forum($this->forum, null, $discussionvault::SORTORDER_GROUP_DESC)->out(false), ], ]
/mod/forum/classes/local/renderers/discussion_list.php:2981$formparams = array('course' => $forum->get_course_record( ), 'cm' => $cm, 'coursecontext' => $coursecontext, 'modcontext' => $modcontext, 'forum' => $forumrecord, 'post' => $post, 'subscribe' => \mod_forum\subscriptions::is_subscribed($user->id, $forumrecord, null, $cm), 'thresholdwarning' => $thresholdwarning, 'inpagereply' => true, 'edit' => 0)
/mod/forum/classes/local/renderers/discussion_list.php:3151$params = array('reply' => 0, 'forum' => $forumrecord->id, 'edit' => 0) + (isset($post->groupid) ? array('groupid' => $post->groupid) : array( )) + array('userid' => $post->userid, 'parent' => $post->parent, 'discussion' => $post->discussion, 'course' => $forum->get_course_id( ), 'discussionsubscribe' => $discussionsubscribe)
/mod/forum/classes/local/renderers/discussion_list.php:3772$notifications[] = (new notification(get_string('thisforumisthrottled', 'forum', ['blockafter' => $forum->get_block_after( ), 'blockperiod' => get_string('secondstotime' . $forum->get_block_period( ))]), notification::NOTIFY_INFO))->set_show_closebutton( )
/mod/forum/classes/local/renderers/discussion.php:2081$exporteddiscussion = array_merge($exporteddiscussion, ['notifications' => $this->get_notifications($user), 'html' => ['hasanyactions' => $hasanyactions, 'posts' => $this->postsrenderer->render($user, [$this->forum], [$this->discussion], $posts), 'modeselectorform' => $this->get_display_mode_selector_html($displaymode, $user), 'subscribe' => null, 'movediscussion' => null, 'pindiscussion' => null, 'neighbourlinks' => $this->get_neighbour_links_html( ), 'exportdiscussion' => !empty($CFG->enableportfolios) ? $this->get_export_discussion_html($user) : null], 'settingsselector' => true, ])
/mod/forum/classes/output/big_search_form.php:2431$data->datetofields = html_writer::div(html_writer::select_time('days', 'today', $dateto), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('months', 'tomonth', $dateto), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('years', 'toyear', $dateto), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('hours', 'tohour', $dateto), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('minutes', 'tominute', $dateto), 'mb-3 fitem ml-2')
/mod/forum/classes/local/container.php:561return new renderer_factory(self::get_legacy_data_mapper_factory( ), self::get_exporter_factory( ), self::get_vault_factory( ), self::get_manager_factory( ), self::get_entity_factory( ), self::get_builder_factory( ), self::get_url_factory( ), $PAGE)
/mod/forum/classes/local/renderers/discussion_list.php:1881$forumview = ['forum' => (array) $forumexporter->export($this->renderer), 'contextid' => $forum->get_context( )->id, 'cmid' => $cm->id, 'groupid' => $groupid, 'name' => format_string($forum->get_name( )), 'courseid' => $course->id, 'coursename' => format_string($course->shortname), 'experimentaldisplaymode' => $displaymode == FORUM_MODE_NESTED_V2, 'gradingcomponent' => $this->forumgradeitem->get_grading_component_name( ), 'gradingcomponentsubtype' => $this->forumgradeitem->get_grading_component_subtype( ), 'sendstudentnotifications' => $forum->should_notify_students_default_when_grade_for_forum( ), 'gradeonlyactiveusers' => $this->forumgradeitem->should_grade_only_active_users( ), 'hasanyactions' => $hasanyactions, 'groupchangemenu' => groups_print_activity_menu($cm, $this->urlfactory->get_forum_view_url_from_forum($forum), true), 'hasmore' => ($alldiscussionscount > $pagesize), 'notifications' => $this->get_notifications($user, $groupid), 'settings' => ['excludetext' => true, 'togglemoreicon' => true, 'excludesubscription' => true], 'totaldiscussioncount' => $alldiscussionscount, 'userid' => $user->id, 'visiblediscussioncount' => count($discussions), 'enablediscussioncreation' => $enablediscussioncreation, ]
/mod/forum/classes/local/renderers/discussion_list.php:2841$post = (object) ['course' => $forum->get_course_id( ), 'forum' => $forum->get_id( ), 'discussion' => 0, 'parent' => 0, 'subject' => '', 'userid' => $user->id, 'message' => '', 'messageformat' => editors_get_preferred_format( ), 'messagetrust' => 0, 'groupid' => $groupid, ]
/mod/forum/classes/output/quick_search_form.php:691$data = ['action' => $this->actionurl->out(false), 'hiddenfields' => $hiddenfields, 'query' => $this->query, 'helpicon' => $this->helpicon->export_for_template($output), 'inputname' => 'search', 'searchstring' => get_string('searchforums', 'mod_forum')]
/mod/forum/classes/output/forum_actionbar.php:1011$data = ['action' => $actionurl, 'hiddenfields' => $hiddenfields, 'query' => $this->search, 'helpicon' => $helpicon->export_for_template($output), 'inputname' => 'search', 'searchstring' => get_string('searchforums', 'mod_forum'), 'newdiscussionbtn' => $shownewdiscussionbtn, ]
/mod/forum/classes/output/big_search_form.php:2351$data->datefromfields = html_writer::div(html_writer::select_time('days', 'fromday', $datefrom), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('months', 'frommonth', $datefrom), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('years', 'fromyear', $datefrom), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('hours', 'fromhour', $datefrom), 'mb-3 fitem ml-2') . html_writer::div(html_writer::select_time('minutes', 'fromminute', $datefrom), 'mb-3 fitem ml-2')
/mod/forum/classes/output/subscription_actionbar.php:821$menu = [$optionallink->out(false) => get_string('subscriptionoptional', 'forum'), $forcedlink->out(false) => get_string('subscriptionforced', 'forum'), $autolink->out(false) => get_string('subscriptionauto', 'forum'), $disabledlink->out(false) => get_string('subscriptiondisabled', 'forum'), ]
/mod/forum/classes/output/forum_post.php:1591return $data + array('id' => html_entity_decode($this->post->id, ENT_COMPAT), 'coursename' => html_entity_decode($this->get_coursename( ), ENT_COMPAT), 'courselink' => html_entity_decode($this->get_courselink( ), ENT_COMPAT), 'forumname' => html_entity_decode($this->get_forumname( ), ENT_COMPAT), 'showdiscussionname' => html_entity_decode($this->get_showdiscussionname( ), ENT_COMPAT), 'discussionname' => html_entity_decode($this->get_discussionname( ), ENT_COMPAT), 'subject' => html_entity_decode($this->get_subject( ), ENT_COMPAT), 'authorfullname' => html_entity_decode($this->get_author_fullname( ), ENT_COMPAT), 'postdate' => html_entity_decode($this->get_postdate( ), ENT_COMPAT), 'message' => html_entity_decode($renderer->format_message_text($this->cm, $this->post), ENT_COMPAT), 'attachments' => html_entity_decode($renderer->format_message_attachments($this->cm, $this->post), ENT_COMPAT), 'canreply' => $this->canreply, 'permalink' => $this->get_permalink( ), 'firstpost' => $this->get_is_firstpost( ), 'replylink' => $this->get_replylink( ), 'unsubscribediscussionlink' => $this->get_unsubscribediscussionlink( ), 'unsubscribeforumlink' => $this->get_unsubscribeforumlink( ), 'parentpostlink' => $this->get_parentpostlink( ), 'forumindexlink' => $this->get_forumindexlink( ), 'forumviewlink' => $this->get_forumviewlink( ), 'discussionlink' => $this->get_discussionlink( ), 'authorlink' => $this->get_authorlink( ), 'authorpicture' => $this->get_author_picture($renderer), 'grouppicture' => $this->get_group_picture($renderer), )
/mod/forum/classes/privacy/provider.php:8831$postdata = (object) ['subject' => format_string($post->subject, true), 'created' => transform::datetime($post->created), 'modified' => transform::datetime($post->modified), 'author_was_you' => transform::yesno($post->userid == $userid), ]
/mod/forum/classes/output/forum_post.php:2251return array('canreply' => $this->canreply, 'permalink' => $this->get_permalink( ), 'firstpost' => $this->get_is_firstpost( ), 'replylink' => $this->get_replylink( ), 'unsubscribediscussionlink' => $this->get_unsubscribediscussionlink( ), 'unsubscribeforumlink' => $this->get_unsubscribeforumlink( ), 'parentpostlink' => $this->get_parentpostlink( ), 'forumindexlink' => $this->get_forumindexlink( ), 'forumviewlink' => $this->get_forumviewlink( ), 'discussionlink' => $this->get_discussionlink( ), 'authorlink' => $this->get_authorlink( ), 'authorpicture' => $this->get_author_picture($renderer), 'grouppicture' => $this->get_group_picture($renderer), 'isprivatereply' => !empty($this->post->privatereplyto), )
/mod/forum/classes/output/forum_post.php:2011return $data + array('id' => $this->post->id, 'coursename' => $this->get_coursename( ), 'courselink' => $this->get_courselink( ), 'forumname' => $this->get_forumname( ), 'showdiscussionname' => $this->get_showdiscussionname( ), 'discussionname' => $this->get_discussionname( ), 'subject' => $this->get_subject( ), 'authorfullname' => $this->get_author_fullname( ), 'postdate' => $this->get_postdate( ), 'message' => $renderer->format_message_text($this->cm, $this->post), 'attachments' => $renderer->format_message_attachments($this->cm, $this->post), )
/mod/forum/externallib.php:21161return new external_function_parameters(['postid' => new external_value(PARAM_INT, 'Post to be updated. It can be a discussion topic post.'), 'subject' => new external_value(PARAM_TEXT, 'Updated post subject', VALUE_DEFAULT, ''), 'message' => new external_value(PARAM_RAW, 'Updated post message (HTML assumed if messageformat is not provided)', VALUE_DEFAULT, ''), 'messageformat' => new external_format_value('message', VALUE_DEFAULT), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: pinned (bool); (only for discussions) whether to pin this discussion or not discussionsubscribe (bool); whether to subscribe to the post or not inlineattachmentsid (int); the draft file area id for inline attachments in the text attachmentsid (int); the draft file area id for attachments'), 'value' => new external_value(PARAM_RAW, 'The value of the option.')]), 'Configuration options for the post.', VALUE_DEFAULT, [ ]), ])
/mod/forum/externallib.php:20911return new external_single_structure(array('draftitemid' => new external_value(PARAM_INT, 'Draft item id for the file area.'), 'files' => new external_files('Draft area files.', VALUE_OPTIONAL), 'areaoptions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'Name of option.'), 'value' => new external_value(PARAM_RAW, 'Value of option.'), )), 'Draft file area options.'), 'messagetext' => new external_value(PARAM_RAW, 'Message text with URLs rewritten.'), 'warnings' => new external_warnings( ), ))
/mod/forum/classes/privacy/provider.php:6891$discussiondata = (object) ['name' => format_string($discussion->name, true), 'pinned' => transform::yesno((bool) $discussion->pinned), 'timemodified' => transform::datetime($discussion->timemodified), 'usermodified' => transform::datetime($discussion->usermodified), 'creator_was_you' => transform::yesno($discussion->userid == $userid), ]
/mod/forum/classes/form/export_form.php:521$options = ['ajax' => 'mod_forum/form-user-selector', 'multiple' => true, 'noselectionstring' => get_string('allusers', 'mod_forum'), 'data-contextid' => $forum->get_context( )->id, 'courseid' => $forum->get_course_id( ), 'valuehtmlcallback' => function ($value) { /**/ } ]
/mod/forum/externallib.php:18291return new external_function_parameters(['userid' => new external_value(PARAM_INT, 'The ID of the user of whom to fetch posts.', VALUE_REQUIRED), 'cmid' => new external_value(PARAM_INT, 'The ID of the module of which to fetch items.', VALUE_REQUIRED), 'sortby' => new external_value(PARAM_ALPHA, 'Sort by this element: id, created or modified', VALUE_DEFAULT, 'created'), 'sortdirection' => new external_value(PARAM_ALPHA, 'Sort direction: ASC or DESC', VALUE_DEFAULT, 'DESC')])
/mod/forum/externallib.php:18051$builtdiscussions[] = ['name' => $discussion->get_name( ), 'id' => $discussion->get_id( ), 'timecreated' => $firstpost->get_time_created( ), 'authorfullname' => $discussionauthor->get_full_name( ), 'posts' => ['userposts' => $postbuilder->build($USER, [$forum], [$discussion], $posts), 'parentposts' => $parentposts, ], ]
/mod/forum/externallib.php:19521return new external_function_parameters(array('postid' => new external_value(PARAM_INT, 'Post to prepare the draft area for.'), 'area' => new external_value(PARAM_ALPHA, 'Area to prepare: attachment or post.'), 'draftitemid' => new external_value(PARAM_INT, 'The draft item id to use. 0 to generate one.', VALUE_DEFAULT, 0), 'filestokeep' => new external_multiple_structure(new external_single_structure(array('filename' => new external_value(PARAM_FILE, 'File name.'), 'filepath' => new external_value(PARAM_PATH, 'File path.'), )), 'Only keep these files in the draft file area. Empty for keeping all.', VALUE_DEFAULT, [ ]), ))
/mod/forum/externallib.php:18471return new external_single_structure(['discussions' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'Name of the discussion'), 'id' => new external_value(PARAM_INT, 'ID of the discussion'), 'timecreated' => new external_value(PARAM_INT, 'Timestamp of the discussion start'), 'authorfullname' => new external_value(PARAM_RAW, 'Full name of the user that started the discussion'), 'posts' => new external_single_structure(['userposts' => new external_multiple_structure(\mod_forum\local\exporters\post::get_read_structure( )), 'parentposts' => new external_multiple_structure(\mod_forum\local\exporters\post::get_read_structure( )), ]), ])), 'warnings' => new external_warnings( ), ])
/mod/forum/externallib.php:14921$params = ['context' => $forum->get_context( ), 'objectid' => $discussion->get_id( ), 'other' => ['forumid' => $forum->get_id( ), 'status' => $lockedvalue ? 'locked' : 'unlocked'], ]
/mod/forum/externallib.php:15281return new external_single_structure(['id' => new external_value(PARAM_INT, 'The discussion we are locking.'), 'locked' => new external_value(PARAM_BOOL, 'The locked state of the discussion.'), 'times' => new external_single_structure(['locked' => new external_value(PARAM_INT, 'The locked time of the discussion.'), ])])
/mod/forum/externallib.php:10391return new external_function_parameters(array('forumid' => new external_value(PARAM_INT, 'Forum instance ID'), 'subject' => new external_value(PARAM_TEXT, 'New Discussion subject'), 'message' => new external_value(PARAM_RAW, 'New Discussion message (only html format allowed)'), 'groupid' => new external_value(PARAM_INT, 'The group, default to 0', VALUE_DEFAULT, 0), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: discussionsubscribe (bool); subscribe to the discussion?, default to true discussionpinned (bool); is the discussion pinned, default to false inlineattachmentsid (int); the draft file area id for inline attachments attachmentsid (int); the draft file area id for attachments '), 'value' => new external_value(PARAM_RAW, 'The value of the option, This param is validated in the external function.'))), 'Options', VALUE_DEFAULT, array( ))))
/mod/forum/externallib.php:12861return new external_single_structure(array('status' => new external_value(PARAM_BOOL, 'True if the user can add discussions, false otherwise.'), 'canpindiscussions' => new external_value(PARAM_BOOL, 'True if the user can pin discussions, false otherwise.', VALUE_OPTIONAL), 'cancreateattachment' => new external_value(PARAM_BOOL, 'True if the user can add attachments, false otherwise.', VALUE_OPTIONAL), 'warnings' => new external_warnings( )))
/mod/forum/externallib.php:8811$params = array('context' => $context, 'objectid' => $post->id, 'other' => array('discussionid' => $discussion->get_id( ), 'forumid' => $forum->get_id( ), 'forumtype' => $forum->get_type( ), ))
/mod/forum/externallib.php:9431return new external_single_structure(array('postid' => new external_value(PARAM_INT, 'new post id'), 'warnings' => new external_warnings( ), 'post' => post_exporter::get_read_structure( ), 'messages' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_TEXT, "The classification to be used in the client side", VALUE_REQUIRED), 'message' => new external_value(PARAM_TEXT, 'untranslated english message to explain the warning', VALUE_REQUIRED)), 'Messages'), 'list of warnings', VALUE_OPTIONAL), ))
/mod/forum/externallib.php:5311return new external_single_structure(array('discussions' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Post id'), 'name' => new external_value(PARAM_RAW, 'Discussion name'), 'groupid' => new external_value(PARAM_INT, 'Group id'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'usermodified' => new external_value(PARAM_INT, 'The id of the user who last modified'), 'timestart' => new external_value(PARAM_INT, 'Time discussion can start'), 'timeend' => new external_value(PARAM_INT, 'Time discussion ends'), 'discussion' => new external_value(PARAM_INT, 'Discussion id'), 'parent' => new external_value(PARAM_INT, 'Parent id'), 'userid' => new external_value(PARAM_INT, 'User who started the discussion id'), 'created' => new external_value(PARAM_INT, 'Creation time'), 'modified' => new external_value(PARAM_INT, 'Time modified'), 'mailed' => new external_value(PARAM_INT, 'Mailed?'), 'subject' => new external_value(PARAM_RAW, 'The post subject'), 'message' => new external_value(PARAM_RAW, 'The post message'), 'messageformat' => new external_format_value('message'), 'messagetrust' => new external_value(PARAM_INT, 'Can we trust?'), 'messageinlinefiles' => new external_files('post message inline files', VALUE_OPTIONAL), 'attachment' => new external_value(PARAM_RAW, 'Has attachments?'), 'attachments' => new external_files('attachments', VALUE_OPTIONAL), 'totalscore' => new external_value(PARAM_INT, 'The post message total score'), 'mailnow' => new external_value(PARAM_INT, 'Mail now?'), 'userfullname' => new external_value(PARAM_TEXT, 'Post author full name'), 'usermodifiedfullname' => new external_value(PARAM_TEXT, 'Post modifier full name'), 'userpictureurl' => new external_value(PARAM_URL, 'Post author picture.'), 'usermodifiedpictureurl' => new external_value(PARAM_URL, 'Post modifier picture.'), 'numreplies' => new external_value(PARAM_INT, 'The number of replies in the discussion'), 'numunread' => new external_value(PARAM_INT, 'The number of unread discussions.'), 'pinned' => new external_value(PARAM_BOOL, 'Is the discussion pinned'), 'locked' => new external_value(PARAM_BOOL, 'Is the discussion locked'), 'starred' => new external_value(PARAM_BOOL, 'Is the discussion starred'), 'canreply' => new external_value(PARAM_BOOL, 'Can the user reply to the discussion'), 'canlock' => new external_value(PARAM_BOOL, 'Can the user lock the discussion'), 'canfavourite' => new external_value(PARAM_BOOL, 'Can the user star the discussion'), ), 'post')), 'warnings' => new external_warnings( )))
/mod/forum/externallib.php:7211return new external_function_parameters(array('postid' => new external_value(PARAM_INT, 'the post id we are going to reply to (can be the initial discussion post'), 'subject' => new external_value(PARAM_TEXT, 'new post subject'), 'message' => new external_value(PARAM_RAW, 'new post message (html assumed if messageformat is not provided)'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: discussionsubscribe (bool); subscribe to the discussion?, default to true private (bool); make this reply private to the author of the parent post, default to false. inlineattachmentsid (int); the draft file area id for inline attachments attachmentsid (int); the draft file area id for attachments topreferredformat (bool); convert the message & messageformat to FORMAT_HTML, defaults to false '), 'value' => new external_value(PARAM_RAW, 'the value of the option, this param is validated in the external function.'))), 'Options', VALUE_DEFAULT, array( )), 'messageformat' => new external_format_value('message', VALUE_DEFAULT)))
/mod/forum/externallib.php:2811return new external_single_structure(['posts' => new external_multiple_structure(\mod_forum\local\exporters\post::get_read_structure( )), 'forumid' => new external_value(PARAM_INT, 'The forum id'), 'courseid' => new external_value(PARAM_INT, 'The forum course id'), 'ratinginfo' => \core_rating\external\util::external_ratings_structure( ), 'warnings' => new external_warnings( )])
/mod/forum/externallib.php:2971return new external_function_parameters(array('forumid' => new external_value(PARAM_INT, 'forum instance id', VALUE_REQUIRED), 'sortorder' => new external_value(PARAM_INT, 'sort by this element: numreplies, , created or timemodified', VALUE_DEFAULT, -1), 'page' => new external_value(PARAM_INT, 'current page', VALUE_DEFAULT, -1), 'perpage' => new external_value(PARAM_INT, 'items per page', VALUE_DEFAULT, 0), 'groupid' => new external_value(PARAM_INT, 'group id', VALUE_DEFAULT, 0), ))
/mod/forum/externallib.php:2451return ['posts' => $postbuilder->build($USER, [$forum], [$discussion], $posts, $includeinlineattachments), 'forumid' => $discussion->get_forum_id( ), 'courseid' => $discussion->get_course_id( ), 'ratinginfo' => \core_rating\external\util::get_rating_info($legacydatamapper->get_forum_data_mapper( )->to_legacy_object($forum), $forum->get_context( ), 'mod_forum', 'post', $legacydatamapper->get_post_data_mapper( )->to_legacy_objects($posts)), 'warnings' => $warnings, ]
/mod/forum/externallib.php:2661return new external_function_parameters(['discussionid' => new external_value(PARAM_INT, 'The ID of the discussion from which to fetch posts.', VALUE_REQUIRED), 'sortby' => new external_value(PARAM_ALPHA, 'Sort by this element: id, created or modified', VALUE_DEFAULT, 'created'), 'sortdirection' => new external_value(PARAM_ALPHA, 'Sort direction: ASC or DESC', VALUE_DEFAULT, 'DESC'), 'includeinlineattachments' => new external_value(PARAM_BOOL, 'Whether inline attachments should be included or not', VALUE_DEFAULT, false), ])
/mod/forum/view.php:2071$gradeobj = (object) ['contextid' => $forum->get_context( )->id, 'cmid' => $forum->get_course_module_record( )->id, 'name' => format_string($forum->get_name( )), 'courseid' => $course->id, 'coursename' => format_string($course->shortname), 'groupid' => $groupid, 'userid' => $USER->id, 'gradingcomponent' => $forumgradeitem->get_grading_component_name( ), 'gradingcomponentsubtype' => $forumgradeitem->get_grading_component_subtype( ), ]
/mod/forum/externallib.php:1401return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Forum id'), 'course' => new external_value(PARAM_INT, 'Course id'), 'type' => new external_value(PARAM_TEXT, 'The forum type'), 'name' => new external_value(PARAM_RAW, 'Forum name'), 'intro' => new external_value(PARAM_RAW, 'The forum intro'), 'introformat' => new external_format_value('intro'), 'introfiles' => new external_files('Files in the introduction text', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_SAFEDIR, 'Forced activity language', VALUE_OPTIONAL), 'duedate' => new external_value(PARAM_INT, 'duedate for the user', VALUE_OPTIONAL), 'cutoffdate' => new external_value(PARAM_INT, 'cutoffdate for the user', VALUE_OPTIONAL), 'assessed' => new external_value(PARAM_INT, 'Aggregate type'), 'assesstimestart' => new external_value(PARAM_INT, 'Assess start time'), 'assesstimefinish' => new external_value(PARAM_INT, 'Assess finish time'), 'scale' => new external_value(PARAM_INT, 'Scale'), 'grade_forum' => new external_value(PARAM_INT, 'Whole forum grade'), 'grade_forum_notify' => new external_value(PARAM_INT, 'Whether to send notifications to students upon grading by default'), 'maxbytes' => new external_value(PARAM_INT, 'Maximum attachment size'), 'maxattachments' => new external_value(PARAM_INT, 'Maximum number of attachments'), 'forcesubscribe' => new external_value(PARAM_INT, 'Force users to subscribe'), 'trackingtype' => new external_value(PARAM_INT, 'Subscription mode'), 'rsstype' => new external_value(PARAM_INT, 'RSS feed for this activity'), 'rssarticles' => new external_value(PARAM_INT, 'Number of RSS recent articles'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), 'warnafter' => new external_value(PARAM_INT, 'Post threshold for warning'), 'blockafter' => new external_value(PARAM_INT, 'Post threshold for blocking'), 'blockperiod' => new external_value(PARAM_INT, 'Time period for blocking'), 'completiondiscussions' => new external_value(PARAM_INT, 'Student must create discussions'), 'completionreplies' => new external_value(PARAM_INT, 'Student must post replies'), 'completionposts' => new external_value(PARAM_INT, 'Student must post discussions or replies'), 'cmid' => new external_value(PARAM_INT, 'Course module id'), 'numdiscussions' => new external_value(PARAM_INT, 'Number of discussions in the forum', VALUE_OPTIONAL), 'cancreatediscussions' => new external_value(PARAM_BOOL, 'If the user can create discussions', VALUE_OPTIONAL), 'lockdiscussionafter' => new external_value(PARAM_INT, 'After what period a discussion is locked', VALUE_OPTIONAL), 'istracked' => new external_value(PARAM_BOOL, 'If the user is tracking the forum', VALUE_OPTIONAL), 'unreadpostscount' => new external_value(PARAM_INT, 'The number of unread posts for tracked forums', VALUE_OPTIONAL), ), 'forum'))
/mod/forum/lib.php:68111$preferences['forum_discussionlistsortorder'] = array('null' => NULL_NOT_ALLOWED, 'default' => $discussionlistvault::SORTORDER_LASTPOST_DESC, 'type' => PARAM_INT, 'choices' => array($discussionlistvault::SORTORDER_LASTPOST_DESC, $discussionlistvault::SORTORDER_LASTPOST_ASC, $discussionlistvault::SORTORDER_CREATED_DESC, $discussionlistvault::SORTORDER_CREATED_ASC, $discussionlistvault::SORTORDER_REPLIES_DESC, $discussionlistvault::SORTORDER_REPLIES_ASC))
/mod/forum/view.php:1891$gradeobj = (object) ['contextid' => $forum->get_context( )->id, 'cmid' => $forum->get_course_module_record( )->id, 'name' => format_string($forum->get_name( )), 'courseid' => $course->id, 'coursename' => format_string($course->shortname), 'experimentaldisplaymode' => $displaymode == FORUM_MODE_NESTED_V2, 'groupid' => $groupid, 'gradingcomponent' => $forumgradeitem->get_grading_component_name( ), 'gradingcomponentsubtype' => $forumgradeitem->get_grading_component_subtype( ), 'sendstudentnotifications' => $forum->should_notify_students_default_when_grade_for_forum( ), 'gradeonlyactiveusers' => $forumgradeitem->should_grade_only_active_users( ), ]
/mod/forum/lib.php:52981return array('news' => get_string('namenews', 'forum'), 'social' => get_string('namesocial', 'forum'), 'general' => get_string('generalforum', 'forum'), 'eachuser' => get_string('eachuserforum', 'forum'), 'single' => get_string('singleforum', 'forum'), 'qanda' => get_string('qandaforum', 'forum'), 'blog' => get_string('blogforum', 'forum'))
/mod/forum/lib.php:52851return array('general' => get_string('generalforum', 'forum'), 'eachuser' => get_string('eachuserforum', 'forum'), 'single' => get_string('singleforum', 'forum'), 'qanda' => get_string('qandaforum', 'forum'), 'blog' => get_string('blogforum', 'forum'))
/mod/forum/lib.php:7601$ratings = $rm->get_user_grades((object) ['component' => 'mod_forum', 'ratingarea' => 'post', 'contextid' => \context_module::instance($cm->id)->id, 'modulename' => 'forum', 'moduleid ' => $forum->id, 'userid' => $userid, 'aggregationmethod' => $forum->assessed, 'scaleid' => $forum->scale, 'itemtable' => 'forum_posts', 'itemtableusercolumn' => 'userid', ])
/mod/forum/lib.php:6581$forumrecord = (object) ['id' => $post->forum, 'course' => $post->course, 'type' => $post->forumtype, 'name' => $post->forumname, 'intro' => $post->intro, 'introformat' => $post->introformat, 'duedate' => $post->duedate, 'cutoffdate' => $post->cutoffdate, 'assessed' => $post->forumassessed, 'assesstimestart' => $post->assesstimestart, 'assesstimefinish' => $post->assesstimefinish, 'scale' => $post->scale, 'grade_forum' => $post->grade_forum, 'maxbytes' => $post->maxbytes, 'maxattachments' => $post->maxattachments, 'forcesubscribe' => $post->forcesubscribe, 'trackingtype' => $post->trackingtype, 'rsstype' => $post->rsstype, 'rssarticles' => $post->rssarticles, 'timemodified' => $post->timemodified, 'warnafter' => $post->warnafter, 'blockafter' => $post->blockafter, 'blockperiod' => $post->blockperiod, 'completiondiscussions' => $post->completiondiscussions, 'completionreplies' => $post->completionreplies, 'completionposts' => $post->completionposts, 'displaywordcount' => $post->displaywordcount, 'lockdiscussionafter' => $post->lockdiscussionafter, 'grade_forum_notify' => $post->grade_forum_notify]
/mod/forum/lib.php:6321$discussionrecord = (object) ['id' => $post->discussion, 'course' => $post->course, 'forum' => $post->forum, 'name' => $post->discussionname, 'firstpost' => $post->firstpost, 'userid' => $post->discussionstarter, 'groupid' => $post->groupid, 'assessed' => $post->discussionassessed, 'timemodified' => $post->timemodified, 'usermodified' => $post->usermodified, 'timestart' => $post->timestart, 'timeend' => $post->timeend, 'pinned' => $post->pinned, 'timelocked' => $post->timelocked]
/mod/forum/search.php:3121$params = ['id' => $course->id, 'user' => $user, 'userid' => $userid, 'forumid' => $forumid, 'subject' => $subject, 'phrase' => $phrase, 'words' => $words, 'fullwords' => $fullwords, 'notwords' => $notwords, 'dateto' => $dateto, 'datefrom' => $datefrom, 'showform' => 1, 'starredonly' => $starredonly]
/mod/forum/post.php:6781$mformpost = new mod_forum_post_form('post.php', ['course' => $course, 'cm' => $cm, 'coursecontext' => $coursecontext, 'modcontext' => $modcontext, 'forum' => $forum, 'post' => $post, 'subscribe' => \mod_forum\subscriptions::is_subscribed($USER->id, $forum, null, $cm), 'thresholdwarning' => $thresholdwarning, 'edit' => $edit, 'canreplyprivately' => $canreplyprivately, ], 'post', '', array('id' => 'mformforum'))
/mod/forum/renderer.php:591$html .= html_writer::link($url, format_string($next->name) . ' ' . $this->output->rarrow( ), array('aria-label' => get_string('nextdiscussiona', 'mod_forum', format_string($next->name)), 'class' => 'btn btn-link'))
/mod/forum/renderer.php:511$html .= html_writer::link($url, $this->output->larrow( ) . ' ' . format_string($prev->name), array('aria-label' => get_string('prevdiscussiona', 'mod_forum', format_string($prev->name)), 'class' => 'btn btn-link'))
/mod/forum/mod_form.php:4851return (!empty($data['completiondiscussionsenabled' . $suffix]) && $data['completiondiscussions' . $suffix] != 0) || (!empty($data['completionrepliesenabled' . $suffix]) && $data['completionreplies' . $suffix] != 0) || (!empty($data['completionpostsenabled' . $suffix]) && $data['completionposts' . $suffix] != 0)
/mod/forum/mod_form.php:1651$options = [0 => get_string('discussionlockingdisabled', 'forum'), 1 * DAYSECS => get_string('numday', 'core', 1), 1 * WEEKSECS => get_string('numweek', 'core', 1), 2 * WEEKSECS => get_string('numweeks', 'core', 2), 30 * DAYSECS => get_string('nummonth', 'core', 1), 60 * DAYSECS => get_string('nummonths', 'core', 2), 90 * DAYSECS => get_string('nummonths', 'core', 3), 180 * DAYSECS => get_string('nummonths', 'core', 6), 1 * YEARSECS => get_string('numyear', 'core', 1), ]
/mod/scorm/backup/moodle1/lib.php:521return array(new convert_path('scorm', '/MOODLE_BACKUP/COURSE/MODULES/MOD/SCORM', array('newfields' => array('whatgrade' => 0, 'scormtype' => 'local', 'sha1hash' => null, 'revision' => '0', 'forcecompleted' => 0, 'forcenewattempt' => 0, 'lastattemptlock' => 0, 'masteryoverride' => 1, 'displayattemptstatus' => 1, 'displaycoursestructure' => 0, 'timeopen' => '0', 'timeclose' => '0', 'introformat' => '0', 'completionstatusallscos' => 0, ), 'renamefields' => array('summary' => 'intro'))), new convert_path('scorm_sco', '/MOODLE_BACKUP/COURSE/MODULES/MOD/SCORM/SCOES/SCO'))
/mod/scorm/backup/moodle2/backup_scorm_stepslib.php:391$scorm = new backup_nested_element('scorm', array('id'), array('name', 'scormtype', 'reference', 'intro', 'introformat', 'version', 'maxgrade', 'grademethod', 'whatgrade', 'maxattempt', 'forcecompleted', 'forcenewattempt', 'lastattemptlock', 'masteryoverride', 'displayattemptstatus', 'displaycoursestructure', 'updatefreq', 'sha1hash', 'md5hash', 'revision', 'launch', 'skipview', 'hidebrowse', 'hidetoc', 'nav', 'navpositionleft', 'navpositiontop', 'auto', 'popup', 'options', 'width', 'height', 'timeopen', 'timeclose', 'timemodified', 'completionstatusrequired', 'completionscorerequired', 'completionstatusallscos', 'autocommit'))
/mod/scorm/tests/generator/lib.php:451$record = (array) $record + array('scormtype' => SCORM_TYPE_LOCAL, 'packagefile' => '', 'packageurl' => '', 'updatefreq' => SCORM_UPDATE_NEVER, 'popup' => 0, 'width' => $cfgscorm->framewidth, 'height' => $cfgscorm->frameheight, 'skipview' => $cfgscorm->skipview, 'hidebrowse' => $cfgscorm->hidebrowse, 'displaycoursestructure' => $cfgscorm->displaycoursestructure, 'hidetoc' => $cfgscorm->hidetoc, 'nav' => $cfgscorm->nav, 'navpositionleft' => $cfgscorm->navpositionleft, 'navpositiontop' => $cfgscorm->navpositiontop, 'displayattemptstatus' => $cfgscorm->displayattemptstatus, 'timeopen' => 0, 'timeclose' => 0, 'grademethod' => GRADESCOES, 'maxgrade' => $cfgscorm->maxgrade, 'maxattempt' => $cfgscorm->maxattempt, 'whatgrade' => $cfgscorm->whatgrade, 'forcenewattempt' => $cfgscorm->forcenewattempt, 'lastattemptlock' => $cfgscorm->lastattemptlock, 'forcecompleted' => $cfgscorm->forcecompleted, 'masteryoverride' => $cfgscorm->masteryoverride, 'auto' => $cfgscorm->auto)
/mod/scorm/tests/formatduration_test.php:701$validates = array(1 => '', 2 => "1 $strhours 2 $strminutes 3 $strseconds", 3 => "12 $strhours 34 $strminutes 56.78 $strseconds", 4 => "12 $strminutes 0.03 $strseconds", 5 => "1 $strhours 23 $strseconds", 6 => "12 $strminutes 34 $strseconds", 7 => "1 $strminutes 2.03 $strseconds", 8 => "0.1 $strseconds", 9 => "1 $strhours 23 $strminutes ", 10 => "2 $strhours ")
/mod/scorm/tests/formatduration_test.php:441$validates = array(1 => "1 $strhours 12 $strminutes 43.12 $strseconds", 2 => "15.3 $strseconds", 3 => "1 $stryears 2 $strmonths 5 $strdays 7 $strminutes ", 4 => "1 $strminutes ", 5 => "1 $stryears 15 $strminutes 0.01 $strseconds", 6 => '', 7 => "1 $strmonths 4 $strminutes 0.30 $strseconds", 8 => '', 9 => "1 $strdays 2 $strhours 3 $strseconds", 10 => "4 $strmonths ")
/mod/forum/tests/exporters_post_test.php:2421$post = $forumgenerator->create_post((object) ['discussion' => $discussion->id, 'parent' => 0, 'userid' => $user->id, 'created' => $now, 'modified' => $now, 'subject' => 'This is the subject', 'message' => 'This is the message', 'messagetrust' => 1, 'attachment' => 0, 'totalscore' => 0, 'mailnow' => 1, 'deleted' => 1])
/mod/forum/tests/exporters_post_test.php:2953$exporter = new post_exporter($post, ['legacydatamapperfactory' => \mod_forum\local\container::get_legacy_data_mapper_factory( ), 'capabilitymanager' => $capabilitymanager, 'readreceiptcollection' => null, 'urlfactory' => \mod_forum\local\container::get_url_factory( ), 'forum' => $forum, 'discussion' => $discussion, 'author' => $author, 'authorcontextid' => $authorcontext->id, 'user' => $user, 'context' => $context, 'authorgroups' => [ ], 'attachments' => [$attachment], 'tags' => $tags, 'rating' => null, 'includehtml' => true])
/mod/forum/tests/exporters_post_test.php:3502$post = $forumgenerator->create_post((object) ['discussion' => $discussion->id, 'parent' => 0, 'userid' => $user->id, 'created' => $now, 'modified' => $now, 'subject' => 'This is the subject', 'message' => 'This is the message', 'messagetrust' => 1, 'attachment' => 0, 'totalscore' => 0, 'mailnow' => 1, 'deleted' => 0])
/mod/forum/tests/exporters_post_test.php:4033$exporter = new post_exporter($post, ['legacydatamapperfactory' => \mod_forum\local\container::get_legacy_data_mapper_factory( ), 'capabilitymanager' => $capabilitymanager, 'readreceiptcollection' => null, 'urlfactory' => \mod_forum\local\container::get_url_factory( ), 'forum' => $forum, 'discussion' => $discussion, 'author' => $author, 'authorcontextid' => $authorcontext->id, 'user' => $user, 'context' => $context, 'authorgroups' => [ ], 'attachments' => [$attachment], 'tags' => $tags, 'rating' => null, 'includehtml' => true])
/mod/forum/tests/dates_test.php:511return ['without any dates' => [null, [ ]], 'future due date' => [$after, [['label' => 'Due:', 'timestamp' => $after, 'dataid' => 'duedate'], ]], 'due date is past' => [$before, [['label' => 'Due:', 'timestamp' => $before, 'dataid' => 'duedate'], ]], ]
/mod/forum/tests/vaults_post_test.php:3191$post2 = $forumgenerator->create_post((object) ['discussion' => $post1->discussion, 'parent' => $post1->id, 'userid' => $user->id, 'mailnow' => 1, 'subject' => 'Some subject', 'created' => $post1->created])
/mod/forum/tests/vaults_post_test.php:7281$post7 = $modgenerator->create_post((object) ['discussion' => $post5->discussion, 'parent' => $post5->id, 'userid' => $user->id, 'mailnow' => 1, 'subject' => 'old post', 'modified' => time( ) - 172800])
/mod/forum/tests/mail_group_test.php:1332$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 0, ], 'otheruser' => (object) ['userid' => $otheruser->id, 'messages' => 0, ], 'teacher' => (object) ['userid' => $teacher->id, 'messages' => 0, ], 'editingteacher' => (object) ['userid' => $editingteacher->id, 'messages' => 1, ], ]
/mod/forum/tests/builders_exported_posts_test.php:2601$attachment1 = $filestorage->create_file_from_string(['contextid' => $forums[0]->get_context( )->id, 'component' => 'mod_forum', 'filearea' => 'attachment', 'itemid' => $post1->id, 'filepath' => '/', 'filename' => 'example1.jpg', ], 'image contents')
/mod/forum/tests/builders_exported_posts_test.php:2731$attachment2 = $filestorage->create_file_from_string(['contextid' => $forums[1]->get_context( )->id, 'component' => 'mod_forum', 'filearea' => 'attachment', 'itemid' => $post7->id, 'filepath' => '/', 'filename' => 'example2.jpg', ], 'image contents')
/mod/forum/tests/builders_exported_posts_test.php:4811$expected = [$post1->id => false, $post2->id => true, $post3->id => true, $post4->id => false, $post5->id => null, $post6->id => null, $post7->id => null, $post8->id => null]
/mod/forum/tests/builders_exported_posts_test.php:5041$expected = [$post1->id => null, $post2->id => null, $post3->id => null, $post4->id => null, $post5->id => null, $post6->id => null, $post7->id => null, $post8->id => null]
/mod/forum/tests/qanda_test.php:1241$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 3, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 3, ], 'otheruser' => (object) ['userid' => $otheruser->id, 'messages' => 3, ], 'editingteacher' => (object) ['userid' => $editingteacher->id, 'messages' => 3, ], ]
/mod/forum/tests/exporters_discussion_test.php:901$exporter = new discussion_exporter($discussion, ['legacydatamapperfactory' => \mod_forum\local\container::get_legacy_data_mapper_factory( ), 'urlfactory' => \mod_forum\local\container::get_url_factory( ), 'capabilitymanager' => (\mod_forum\local\container::get_manager_factory( ))->get_capability_manager($forum), 'context' => $context, 'forum' => $forum, 'user' => $user, 'groupsbyid' => [$group->id => $group], 'latestpostid' => 7])
/mod/forum/tests/exporters_post_test.php:832$post = $forumgenerator->create_post((object) ['discussion' => $discussion->id, 'parent' => 0, 'userid' => $user->id, 'created' => $now, 'modified' => $now, 'subject' => 'This is the subject', 'message' => 'This is the message', 'messagetrust' => 1, 'attachment' => 0, 'totalscore' => 0, 'mailnow' => 1, 'deleted' => 0])
/mod/forum/tests/exporters_post_test.php:1403$exporter = new post_exporter($post, ['legacydatamapperfactory' => \mod_forum\local\container::get_legacy_data_mapper_factory( ), 'capabilitymanager' => $capabilitymanager, 'readreceiptcollection' => null, 'urlfactory' => \mod_forum\local\container::get_url_factory( ), 'forum' => $forum, 'discussion' => $discussion, 'author' => $author, 'authorcontextid' => $authorcontext->id, 'user' => $user, 'context' => $context, 'authorgroups' => [ ], 'attachments' => [$attachment], 'tags' => $tags, 'rating' => null, 'includehtml' => true])
/mod/forum/tests/mail_test.php:11971$filerecord = array('contextid' => \context_module::instance($forum->cmid)->id, 'component' => 'mod_forum', 'filearea' => 'attachment', 'itemid' => $post->id, 'filepath' => '/', 'filename' => $attachment['filename'])
/mod/forum/tests/mail_test.php:8181$expect = [(object) ['userid' => $u1->id, 'messages' => 0, ], (object) ['userid' => $u2->id, 'messages' => 0, ], (object) ['userid' => $u3->id, 'messages' => 1, ], ]
/mod/forum/tests/mail_test.php:14244$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 1, ], 'editor' => (object) ['userid' => $editor->id, 'messages' => 1, ], ]
/mod/forum/tests/mail_test.php:13784$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 1, ], 'editor' => (object) ['userid' => $editor->id, 'messages' => 1, ], ]
/mod/forum/tests/mail_test.php:15494$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 1, ], 'editor' => (object) ['userid' => $editor->id, 'messages' => 1, ], ]
/mod/forum/tests/mail_test.php:14894$expect = ['author' => (object) ['userid' => $author->id, 'messages' => 1, ], 'recipient' => (object) ['userid' => $recipient->id, 'messages' => 1, ], 'editor' => (object) ['userid' => $editor->id, 'messages' => 1, ], ]
/mod/forum/tests/entities_post_read_receipt_collection_test.php:771$collection = new collection_entity([(object) ['postid' => 1, 'userid' => $user->id + 1], (object) ['postid' => 1, 'userid' => $user->id], (object) ['postid' => 4, 'userid' => $user->id + 1]])
/mod/forum/tests/backup_forum_activity_task_test.php:551return ['Link to the list of forums for current wwwroot' => [sprintf('%s/mod/forum/index.php?id=42', $CFG->wwwroot), '$@FORUMINDEX*42@$', ], 'Link to forum view by moduleid for current wwwroot' => [sprintf('%s/mod/forum/view.php?id=29', $CFG->wwwroot), '$@FORUMVIEWBYID*29@$', ], 'Link to forum view by forumid for current wwwroot' => [sprintf('%s/mod/forum/view.php?f=31', $CFG->wwwroot), '$@FORUMVIEWBYF*31@$', ], 'Link to forum discussion with parent syntax for current wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=26&parent=99', $CFG->wwwroot), '$@FORUMDISCUSSIONVIEWPARENT*26*99@$', ], 'Link to forum discussion with parent syntax for current wwwroot encoded' => [sprintf('%s/mod/forum/discuss.php?d=26&amp;parent=99', $CFG->wwwroot), '$@FORUMDISCUSSIONVIEWPARENT*26*99@$', ], 'Link to forum discussion with relative syntax for current wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=1040#9930', $CFG->wwwroot), '$@FORUMDISCUSSIONVIEWINSIDE*1040*9930@$', ], 'Link to forum discussion by discussionid for current wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=9304', $CFG->wwwroot), '$@FORUMDISCUSSIONVIEW*9304@$', ], 'Link to the list of forums for other wwwroot' => [sprintf('%s/mod/forum/index.php?id=42', $altwwwroot), sprintf('%s/mod/forum/index.php?id=42', $altwwwroot), ], 'Link to forum view by moduleid for other wwwroot' => [sprintf('%s/mod/forum/view.php?id=29', $altwwwroot), sprintf('%s/mod/forum/view.php?id=29', $altwwwroot), ], 'Link to forum view by forumid for other wwwroot' => [sprintf('%s/mod/forum/view.php?f=31', $altwwwroot), sprintf('%s/mod/forum/view.php?f=31', $altwwwroot), ], 'Link to forum discussion with parent syntax for other wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=26&parent=99', $altwwwroot), sprintf('%s/mod/forum/discuss.php?d=26&parent=99', $altwwwroot), ], 'Link to forum discussion with parent syntax for other wwwroot encoded' => [sprintf('%s/mod/forum/discuss.php?d=26&amp;parent=99', $altwwwroot), sprintf('%s/mod/forum/discuss.php?d=26&amp;parent=99', $altwwwroot), ], 'Link to forum discussion with relative syntax for other wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=1040#9930', $altwwwroot), sprintf('%s/mod/forum/discuss.php?d=1040#9930', $altwwwroot), ], 'Link to forum discussion by discussionid for other wwwroot' => [sprintf('%s/mod/forum/discuss.php?d=9304', $altwwwroot), sprintf('%s/mod/forum/discuss.php?d=9304', $altwwwroot), ], ]
/mod/forum/classes/task/send_user_notifications.php:3671$eventdata->smallmessage = get_string('smallmessage', 'forum', (object) ['user' => fullname($author), 'forumname' => "$shortname: " . format_string($forum->name, true) . ": " . $discussion->name, 'message' => $post->message, ])
/mod/forum/classes/task/send_user_notifications.php:3291$a = (object) ['subject' => $data->get_subject( ), 'forumname' => $cleanforumname, 'sitefullname' => format_string($site->fullname), 'siteshortname' => format_string($site->shortname), 'courseidnumber' => $data->get_courseidnumber( ), 'coursefullname' => $data->get_coursefullname( ), 'courseshortname' => $data->get_coursename( ), ]
/mod/forum/classes/task/send_user_notifications.php:4581$headers = ['List-Id: "' . $cleanforumname . '" ' . generate_email_messageid('moodleforum' . $forum->id), 'List-Help: ' . $viewurl->out( ), 'Message-ID: ' . forum_get_email_message_id($post->id, $this->recipient->id), 'X-Course-Id: ' . $course->id, 'X-Course-Name: ' . format_string($course->fullname, true), 'Precedence: Bulk', 'X-Auto-Response-Suppress: All', 'Auto-Submitted: auto-generated', 'List-Unsubscribe: <' . $message->get_unsubscribediscussionlink( ) . '>', ]
/mod/forum/classes/task/send_user_notifications.php:3801$eventdata->customdata = ['cmid' => $cm->id, 'instance' => $forum->id, 'discussionid' => $discussion->id, 'postid' => $post->id, 'notificationiconurl' => $userpicture->get_url($PAGE)->out(false), 'actionbuttons' => ['reply' => get_string_manager( )->get_string('reply', 'forum', null, $eventdata->userto->lang), ], ]
/mod/forum/tests/generator_trait.php:1501$record = (object) array_merge(['discussion' => $parent->discussion, 'parent' => $parent->id, 'userid' => $author->id, 'mailnow' => 1, 'subject' => $strre . ' ' . $parent->subject, ], $options)
/mod/forum/tests/generator_trait.php:1211$record = array_merge(['course' => $forum->course, 'subject' => "{$strre} {$discussion->subject}", 'userid' => $author->id, 'forum' => $forum->id, 'discussion' => $discussion->id, 'mailnow' => 1, ], $options)
/mod/forum/tests/mail_test.php:3821$expect = [(object) ['userid' => $student->id, 'messages' => 2, ], (object) ['userid' => $otherstudent->id, 'messages' => 2, ], (object) ['userid' => $teacher->id, 'messages' => 2, ], (object) ['userid' => $otherteacher->id, 'messages' => 2, ], ]
/mod/forum/tests/mail_test.php:1691$expect = [(object) ['userid' => $author->id, 'messages' => 1, ], (object) ['userid' => $recipient->id, 'messages' => 1, ], (object) ['userid' => $unconfirmed->id, 'messages' => 0, ], (object) ['userid' => $deleted->id, 'messages' => 0, ], ]
/mod/forum/classes/local/data_mappers/legacy/forum.php:471return (object) ['id' => $forum->get_id( ), 'course' => $forum->get_course_id( ), 'type' => $forum->get_type( ), 'name' => $forum->get_name( ), 'intro' => $forum->get_intro( ), 'introformat' => $forum->get_intro_format( ), 'assessed' => $forum->get_rating_aggregate( ), 'assesstimestart' => $forum->get_assess_time_start( ), 'assesstimefinish' => $forum->get_assess_time_finish( ), 'scale' => $forum->get_scale( ), 'grade_forum' => $forum->get_grade_for_forum( ), 'grade_forum_notify' => $forum->should_notify_students_default_when_grade_for_forum( ), 'maxbytes' => $forum->get_max_bytes( ), 'maxattachments' => $forum->get_max_attachments( ), 'forcesubscribe' => $forum->get_subscription_mode( ), 'trackingtype' => $forum->get_tracking_type( ), 'rsstype' => $forum->get_rss_type( ), 'rssarticles' => $forum->get_rss_articles( ), 'timemodified' => $forum->get_time_modified( ), 'warnafter' => $forum->get_warn_after( ), 'blockafter' => $forum->get_block_after( ), 'blockperiod' => $forum->get_block_period( ), 'completiondiscussions' => $forum->get_completion_discussions( ), 'completionreplies' => $forum->get_completion_replies( ), 'completionposts' => $forum->get_completion_posts( ), 'displaywordcount' => $forum->should_display_word_count( ), 'lockdiscussionafter' => $forum->get_lock_discussions_after( ), 'duedate' => $forum->get_due_date( ), 'cutoffdate' => $forum->get_cutoff_date( )]
/mod/forum/classes/local/data_mappers/legacy/post.php:471return (object) ['id' => $post->get_id( ), 'discussion' => $post->get_discussion_id( ), 'parent' => $post->get_parent_id( ), 'userid' => $post->get_author_id( ), 'created' => $post->get_time_created( ), 'modified' => $post->get_time_modified( ), 'mailed' => $post->has_been_mailed( ), 'subject' => $post->get_subject( ), 'message' => $post->get_message( ), 'messageformat' => $post->get_message_format( ), 'messagetrust' => $post->is_message_trusted( ), 'attachment' => $post->has_attachments( ), 'totalscore' => $post->get_total_score( ), 'mailnow' => $post->should_mail_now( ), 'deleted' => $post->is_deleted( ), 'privatereplyto' => $post->get_private_reply_recipient_id( ), 'wordcount' => $post->get_wordcount( ), 'charcount' => $post->get_charcount( ), ]
/mod/forum/classes/local/factories/entity.php:1431return new post_entity($record->id, $record->discussion, $record->parent, $record->userid, $record->created, $record->modified, $record->mailed, $record->subject, $record->message, $record->messageformat, $record->messagetrust, $record->attachment, $record->totalscore, $record->mailnow, $record->deleted, $record->privatereplyto, $record->wordcount, $record->charcount)
/mod/forum/classes/local/factories/entity.php:1721return new author_entity($record->id, $record->picture, $record->firstname, $record->lastname, fullname($record), $record->email, $record->deleted, $record->middlename, $record->firstnamephonetic, $record->lastnamephonetic, $record->alternatename, $record->imagealt)
/mod/forum/classes/task/send_user_digests.php:4001$headerdata = (object) ['sitename' => format_string($site->fullname, true), 'userprefs' => (new \moodle_url('/user/forum.php', ['id' => $this->recipient->id, 'course' => $site->id, ]))->out(false), ]
/mod/forum/classes/task/send_user_digests.php:4521$this->discussionhtml .= "<p><font face=\"sans-serif\">" . "<a target=\"_blank\" href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$shortname</a> -> " . "<a target=\"_blank\" href=\"$CFG->wwwroot/mod/forum/index.php?id=$course->id\">$strforums</a> -> " . "<a target=\"_blank\" href=\"$CFG->wwwroot/mod/forum/view.php?f=$forum->id\">" . format_string($forum->name, true) . "</a>"
/mod/forum/classes/local/data_mappers/legacy/discussion.php:471return (object) ['id' => $discussion->get_id( ), 'course' => $discussion->get_course_id( ), 'forum' => $discussion->get_forum_id( ), 'name' => $discussion->get_name( ), 'firstpost' => $discussion->get_first_post_id( ), 'userid' => $discussion->get_user_id( ), 'groupid' => $discussion->get_group_id( ), 'assessed' => $discussion->is_assessed( ), 'timemodified' => $discussion->get_time_modified( ), 'usermodified' => $discussion->get_user_modified( ), 'timestart' => $discussion->get_time_start( ), 'timeend' => $discussion->get_time_end( ), 'pinned' => $discussion->is_pinned( ), 'timelocked' => $discussion->get_locked( )]
/mod/forum/classes/local/data_mappers/legacy/author.php:471return (object) ['id' => $author->get_id( ), 'picture' => $author->get_picture_item_id( ), 'firstname' => $author->get_first_name( ), 'lastname' => $author->get_last_name( ), 'fullname' => $author->get_full_name( ), 'email' => $author->get_email( ), 'deleted' => $author->is_deleted( ), 'middlename' => $author->get_middle_name( ), 'firstnamephonetic' => $author->get_first_name_phonetic( ), 'lastnamephonetic' => $author->get_last_name_phonetic( ), 'alternatename' => $author->get_alternate_name( ), 'imagealt' => $author->get_image_alt( )]
/mod/forum/classes/local/factories/exporter.php:971return new forum_exporter($forum, ['legacydatamapperfactory' => $this->legacydatamapperfactory, 'capabilitymanager' => $this->managerfactory->get_capability_manager($forum), 'urlfactory' => $this->urlfactory, 'user' => $user, 'currentgroup' => $currentgroup, 'vaultfactory' => $this->vaultfactory, ])
/mod/forum/classes/local/factories/exporter.php:1321return new discussion_exporter($discussion, ['context' => $forum->get_context( ), 'forum' => $forum, 'capabilitymanager' => $this->managerfactory->get_capability_manager($forum), 'urlfactory' => $this->urlfactory, 'user' => $user, 'legacydatamapperfactory' => $this->legacydatamapperfactory, 'latestpostid' => null, 'groupsbyid' => $groupsbyid, 'favouriteids' => $favouriteids])
/mod/forum/classes/local/factories/url.php:4551return new moodle_url('/mod/forum/markposts.php', ['f' => $discussion->get_forum_id( ), 'd' => $discussion->get_id( ), 'mark' => 'read', 'sesskey' => sesskey( ), 'return' => $this->get_forum_view_url_from_forum($forum)->out( ), ])
/mod/forum/classes/local/factories/url.php:4711return new moodle_url('/mod/forum/markposts.php', ['f' => $forum->get_id( ), 'mark' => 'read', 'sesskey' => sesskey( ), 'return' => $this->get_forum_view_url_from_forum($forum)->out( ), ])
/mod/forum/classes/local/factories/entity.php:731return new forum_entity($context, $coursemodule, $course, $cm->effectivegroupmode, $record->id, $record->course, $record->type, $record->name, $record->intro, $record->introformat, $record->assessed, $record->assesstimestart, $record->assesstimefinish, $record->scale, $record->grade_forum, $record->grade_forum_notify, $record->maxbytes, $record->maxattachments, $record->forcesubscribe, $record->trackingtype, $record->rsstype, $record->rssarticles, $record->timemodified, $record->warnafter, $record->blockafter, $record->blockperiod, $record->completiondiscussions, $record->completionreplies, $record->completionposts, $record->displaywordcount, $record->lockdiscussionafter, $record->duedate, $record->cutoffdate)
/mod/forum/classes/local/factories/entity.php:1181return new discussion_entity($record->id, $record->course, $record->forum, $record->name, $record->firstpost, $record->userid, $record->groupid, $record->assessed, $record->timemodified, $record->usermodified, $record->timestart, $record->timeend, $record->pinned, $record->timelocked)
/mod/forum/classes/local/factories/exporter.php:1821return new discussion_summaries_exporter($discussions, $groupsbyid, $groupsbyauthorid, $discussionreplycount, $discussionunreadcount, $latestpostids, $postauthorcontextids, ['legacydatamapperfactory' => $this->legacydatamapperfactory, 'context' => $forum->get_context( ), 'forum' => $forum, 'capabilitymanager' => $this->managerfactory->get_capability_manager($forum), 'urlfactory' => $this->urlfactory, 'user' => $user, 'favouriteids' => $favourites, 'latestauthors' => $latestauthors])
/mod/forum/classes/local/factories/exporter.php:2451return new posts_exporter($posts, $authorsbyid, $authorcontextids, $attachmentsbypostid, $groupsbyauthorid, $tagsbypostid, $ratingbypostid, ['capabilitymanager' => $this->managerfactory->get_capability_manager($forum), 'urlfactory' => $this->urlfactory, 'forum' => $forum, 'discussion' => $discussion, 'user' => $user, 'context' => $forum->get_context( ), 'readreceiptcollection' => $readreceiptcollection, 'includehtml' => $includehtml], $inlineattachmentsbypostid)
/mod/forum/classes/local/vaults/forum.php:1021return array_merge(parent::get_preprocessors( ), ['forum' => new extract_record_preprocessor(self::TABLE, $this->get_table_alias( )), 'course_module' => new extract_record_preprocessor('course_modules', 'cm_'), 'course' => new extract_record_preprocessor('course', 'c_'), 'context' => new extract_context_preprocessor( ), ])
/mod/forum/classes/local/exporters/author.php:1841return ['id' => $author->get_id( ), 'fullname' => $author->get_full_name( ), 'isdeleted' => false, 'groups' => $groups, 'urls' => ['profile' => ($urlfactory->get_author_profile_url($author, $forum->get_course_id( )))->out(false), 'profileimage' => ($urlfactory->get_author_profile_image_url($author, $authorcontextid))->out(false)]]
/mod/forum/classes/local/exporters/author.php:1731return ['id' => $group->id, 'name' => format_string($group->name, true, ['context' => $context]), 'urls' => ['image' => $imageurl ? $imageurl->out(false) : null, 'group' => $groupurl ? $groupurl->out(false) : null]]
/mod/forum/classes/local/exporters/author.php:1541return ['id' => $author->get_id( ), 'fullname' => get_string('deleteduser', 'mod_forum'), 'isdeleted' => true, 'groups' => [ ], 'urls' => ['profile' => ($urlfactory->get_author_profile_url($author, $forum->get_course_id( )))->out(false), 'profileimage' => ($urlfactory->get_author_profile_image_url($author, $authorcontextid))->out(false)]]
/mod/forum/classes/local/factories/renderer.php:6191return new discussion_renderer($forum, $discussion, $displaymode, $rendererbase, $this->get_single_discussion_posts_renderer($displaymode, false), $this->page, $this->legacydatamapperfactory, $this->exporterfactory, $this->vaultfactory, $this->urlfactory, $this->entityfactory, $capabilitymanager, $ratingmanager, $this->entityfactory->get_exported_posts_sorter( ), $baseurl, $notifications)
/mod/forum/classes/local/factories/renderer.php:2321$exportedpost->showactionmenu = $exportedpost->capabilities['view'] || $exportedpost->capabilities['controlreadstatus'] || $exportedpost->capabilities['edit'] || $exportedpost->capabilities['split'] || $exportedpost->capabilities['delete'] || $exportedpost->capabilities['export'] || !empty($exportedpost->urls['viewparent'])
/mod/forum/classes/local/factories/renderer.php:1281return new discussion_renderer($forum, $discussion, $displaymode, $rendererbase, $this->get_single_discussion_posts_renderer($displaymode, false), $this->page, $this->legacydatamapperfactory, $this->exporterfactory, $this->vaultfactory, $this->urlfactory, $this->entityfactory, $capabilitymanager, $ratingmanager, $this->entityfactory->get_exported_posts_sorter( ), $baseurl, $notifications, function ($discussion, $user, $forum) { /**/ } )
/mod/forum/classes/local/vaults/discussion_list.php:2121return array_merge(parent::get_preprocessors( ), ['discussion' => new extract_record_preprocessor(self::TABLE, $this->get_table_alias( )), 'firstpost' => new extract_record_preprocessor('forum_posts', 'p_'), 'firstpostauthor' => new extract_user_preprocessor(self::FIRST_AUTHOR_ID_ALIAS, self::FIRST_AUTHOR_ALIAS), 'latestpostauthor' => new extract_user_preprocessor(self::LATEST_AUTHOR_ID_ALIAS, self::LATEST_AUTHOR_ALIAS), ])
/mod/forum/classes/local/exporters/discussion_summary.php:1461$firstpostauthor = new author($this->summary->get_first_post_author( ), $this->firstpostauthorcontextid, $this->groupsbyauthorid[$this->summary->get_first_post_author( )->get_id( )], $capabilitymanager->can_view_post($user, $discussion, $this->summary->get_first_post( )), $related)
/mod/forum/classes/local/exporters/discussion_summary.php:1051return ['id' => ['type' => PARAM_INT], 'discussion' => ['type' => discussion::read_properties_definition( ), ], 'replies' => ['type' => PARAM_INT], 'unread' => ['type' => PARAM_INT], 'firstpostauthor' => ['type' => author::read_properties_definition( ), ], 'latestpostauthor' => ['type' => author::read_properties_definition( ), ], 'latestpostid' => ['type' => PARAM_INT], ]
/mod/forum/classes/local/exporters/post.php:6581return ['id' => $tag->taginstanceid, 'tagid' => $tag->id, 'isstandard' => $tag->isstandard, 'displayname' => $tag->get_display_name( ), 'flag' => $canmanagetags && !empty($tag->flag), 'urls' => ['view' => $viewurl->out(false)]]
/mod/forum/classes/local/exporters/post.php:6031$plagiarismhtml = plagiarism_get_links(['userid' => $post->get_author_id( ), 'file' => $attachment, 'cmid' => $forum->get_course_module_record( )->id, 'course' => $forum->get_course_id( ), 'forum' => $forum->get_id( )])
/mod/forum/classes/local/exporters/discussion.php:1991$data = ['id' => $discussion->get_id( ), 'forumid' => $forum->get_id( ), 'pinned' => $discussion->is_pinned( ), 'locked' => $forum->is_discussion_locked($discussion), 'istimelocked' => $forum->is_discussion_time_locked($discussion), 'name' => format_string($discussion->get_name( ), true, ['context' => $this->related['context']]), 'firstpostid' => $discussion->get_first_post_id( ), 'times' => ['modified' => $discussion->get_time_modified( ), 'start' => $discussion->get_time_start( ), 'end' => $discussion->get_time_end( ), 'locked' => $discussion->get_locked( )], 'userstate' => ['subscribed' => \mod_forum\subscriptions::is_subscribed($user->id, $forumrecord, $discussion->get_id( )), 'favourited' => in_array($discussion->get_id( ), $favouriteids) ? true : false, ], 'capabilities' => ['subscribe' => $capabilitymanager->can_subscribe_to_discussion($user, $discussion), 'move' => $capabilitymanager->can_move_discussion($user, $discussion), 'pin' => $capabilitymanager->can_pin_discussion($user, $discussion), 'post' => $capabilitymanager->can_post_in_discussion($user, $discussion), 'manage' => $capabilitymanager->can_manage_forum($user), 'favourite' => $capabilitymanager->can_favourite_discussion($user)], 'urls' => ['view' => $urlfactory->get_discussion_view_url_from_discussion($discussion)->out(false), 'viewfirstunread' => $viewfirstunreadurl->out(false), 'markasread' => $urlfactory->get_mark_discussion_as_read_url_from_discussion($forum, $discussion)->out(false), 'subscribe' => $urlfactory->get_discussion_subscribe_url($discussion)->out(false)]]
/mod/forum/classes/local/exporters/discussion_summaries.php:1311$exporter = new discussion_summary($discussion, $this->groupsbyid, $this->groupsbyauthorid, $replycount, $unreadcount, $latestpostid, $this->postauthorcontextids[$discussion->get_first_post_author( )->get_id( )], $this->postauthorcontextids[$latestauthor->get_id( )], $related)
/mod/forum/classes/local/exporters/discussion_summary.php:1701return ['id' => $discussion->get_id( ), 'discussion' => $discussionexporter->export($output), 'replies' => $this->replycount, 'unread' => $this->unreadcount, 'firstpostauthor' => $firstpostauthor->export($output), 'latestpostauthor' => $latestpostauthor->export($output), 'latestpostid' => $this->latestpostid, ]
/mod/forum/classes/local/exporters/discussion_summary.php:1581$latestpostauthor = new author($latestpostauthor ?? $this->summary->get_latest_post_author( ), $this->latestpostauthorcontextid, [ ], $capabilitymanager->can_view_post($user, $discussion, $this->summary->get_first_post( )), $related)
/mod/url/classes/external.php:1701return new external_single_structure(array('urls' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['externalurl' => new external_value(PARAM_RAW_TRIMMED, 'External URL'), 'display' => new external_value(PARAM_INT, 'How to display the url'), 'displayoptions' => new external_value(PARAM_RAW, 'Display options (width, height)'), 'parameters' => new external_value(PARAM_RAW, 'Parameters to append to the URL'), 'timemodified' => new external_value(PARAM_INT, 'Last time the url was modified'), ]))), 'warnings' => new external_warnings( ), ))
/mod/url/locallib.php:4551$values = array('courseid' => $course->id, 'coursefullname' => format_string($course->fullname, true, array('context' => $coursecontext)), 'courseshortname' => format_string($course->shortname, true, array('context' => $coursecontext)), 'courseidnumber' => $course->idnumber, 'coursesummary' => $course->summary, 'courseformat' => $course->format, 'lang' => current_language( ), 'sitename' => format_string($site->fullname, true, array('context' => $coursecontext)), 'serverurl' => $CFG->wwwroot, 'currenttime' => time( ), 'urlinstance' => $url->id, 'urlcmid' => $cm->id, 'urlname' => format_string($url->name, true, array('context' => $coursecontext)), 'urlidnumber' => $cm->idnumber, )
/mod/feedback/show_nonrespondents.php:2781$checkbox = new \core\output\checkbox_toggleall('feedback-non-respondents', false, ['id' => 'messageuser-' . $student->id, 'name' => 'messageuser[]', 'classes' => 'mr-1', 'value' => $student->id, 'label' => get_string('includeuserinrecipientslist', 'mod_feedback', fullname($student)), 'labelclasses' => 'accesshide', ])
/mod/feedback/show_nonrespondents.php:1841$mastercheckbox = new \core\output\checkbox_toggleall('feedback-non-respondents', true, ['id' => $selectallid, 'name' => $selectallid, 'value' => 1, 'label' => get_string('select'), 'selectall' => get_string('select'), 'deselectall' => get_string('select'), 'labelclasses' => 'm-0', ])
/mod/choice/tests/lib_test.php:13081$choice = $generator->get_plugin_generator('mod_choice')->create_instance(['course' => $course->id, 'allowupdate' => false, 'allowmultiple' => true, 'limitanswers' => true, 'option' => ['red', 'green'], 'limit' => [1, 1]])
/mod/choice/tests/lib_test.php:12621$choice = $generator->get_plugin_generator('mod_choice')->create_instance(['course' => $course->id, 'allowupdate' => false, 'allowmultiple' => false, 'limitanswers' => true, 'option' => ['red', 'green'], 'limit' => [1, 1]])
/mod/url/locallib.php:4111$options[get_string('user')] = array('userid' => 'id', 'userusername' => get_string('username'), 'useridnumber' => get_string('idnumber'), 'userfirstname' => get_string('firstname'), 'userlastname' => get_string('lastname'), 'userfullname' => get_string('fullnameuser'), 'useremail' => get_string('email'), 'userphone1' => get_string('phone1'), 'userphone2' => get_string('phone2'), 'userinstitution' => get_string('institution'), 'userdepartment' => get_string('department'), 'useraddress' => get_string('address'), 'usercity' => get_string('city'), 'usertimezone' => get_string('timezone'), )
/mod/choice/backup/moodle1/lib.php:531return array(new convert_path('choice', '/MOODLE_BACKUP/COURSE/MODULES/MOD/CHOICE', array('renamefields' => array('text' => 'intro', 'format' => 'introformat', ), 'newfields' => array('completionsubmit' => 0, ), 'dropfields' => array('modtype'), )), new convert_path('choice_options', '/MOODLE_BACKUP/COURSE/MODULES/MOD/CHOICE/OPTIONS'), new convert_path('choice_option', '/MOODLE_BACKUP/COURSE/MODULES/MOD/CHOICE/OPTIONS/OPTION'), )
/mod/feedback/classes/external.php:10901return new external_function_parameters(array('feedbackid' => new external_value(PARAM_INT, 'Feedback instance id'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group.', VALUE_DEFAULT, 0), 'sort' => new external_value(PARAM_ALPHA, 'Sort param, must be firstname, lastname or lastaccess (default).', VALUE_DEFAULT, 'lastaccess'), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page.', VALUE_DEFAULT, 0), 'courseid' => new external_value(PARAM_INT, 'Course where user completes the feedback (for site feedbacks only).', VALUE_DEFAULT, 0), ))
/mod/feedback/classes/external.php:9301return new external_single_structure(array('completedcount' => new external_value(PARAM_INT, 'Number of completed submissions.'), 'itemscount' => new external_value(PARAM_INT, 'Number of items (questions).'), 'itemsdata' => new external_multiple_structure(new external_single_structure(array('item' => feedback_item_exporter::get_read_structure( ), 'data' => new external_multiple_structure(new external_value(PARAM_RAW, 'The analysis data (can be json encoded)')), ))), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/external.php:12211return new external_function_parameters(array('feedbackid' => new external_value(PARAM_INT, 'Feedback instance id'), 'groupid' => new external_value(PARAM_INT, 'Group id, 0 means that the function will determine the user group', VALUE_DEFAULT, 0), 'page' => new external_value(PARAM_INT, 'The page of records to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of records to return per page', VALUE_DEFAULT, 0), 'courseid' => new external_value(PARAM_INT, 'Course where user completes the feedback (for site feedbacks only).', VALUE_DEFAULT, 0), ))
/mod/feedback/classes/external.php:11961return new external_single_structure(array('users' => new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'Course id'), 'userid' => new external_value(PARAM_INT, 'The user id'), 'fullname' => new external_value(PARAM_TEXT, 'User full name'), 'started' => new external_value(PARAM_BOOL, 'If the user has started the attempt'), ))), 'total' => new external_value(PARAM_INT, 'Total number of non respondents'), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/external.php:6821return new external_single_structure(array('items' => new external_multiple_structure(feedback_item_exporter::get_read_structure( )), 'hasprevpage' => new external_value(PARAM_BOOL, 'Whether is a previous page.'), 'hasnextpage' => new external_value(PARAM_BOOL, 'Whether there are more pages.'), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/external.php:2701return new external_single_structure(array('canviewanalysis' => new external_value(PARAM_BOOL, 'Whether the user can view the analysis or not.'), 'cancomplete' => new external_value(PARAM_BOOL, 'Whether the user can complete the feedback or not.'), 'cansubmit' => new external_value(PARAM_BOOL, 'Whether the user can submit the feedback or not.'), 'candeletesubmissions' => new external_value(PARAM_BOOL, 'Whether the user can delete submissions or not.'), 'canviewreports' => new external_value(PARAM_BOOL, 'Whether the user can view the feedback reports or not.'), 'canedititems' => new external_value(PARAM_BOOL, 'Whether the user can edit feedback items or not.'), 'isempty' => new external_value(PARAM_BOOL, 'Whether the feedback has questions or not.'), 'isopen' => new external_value(PARAM_BOOL, 'Whether the feedback has active access time restrictions or not.'), 'isalreadysubmitted' => new external_value(PARAM_BOOL, 'Whether the feedback is already submitted or not.'), 'isanonymous' => new external_value(PARAM_BOOL, 'Whether the feedback is anonymous or not.'), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/external.php:8061return new external_single_structure(array('jumpto' => new external_value(PARAM_INT, 'The page to jump to.'), 'completed' => new external_value(PARAM_BOOL, 'If the user completed the feedback.'), 'completionpagecontents' => new external_value(PARAM_RAW, 'The completion page contents.'), 'siteaftersubmit' => new external_value(PARAM_RAW, 'The link (could be relative) to show after submit.'), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/external.php:7011return new external_function_parameters(array('feedbackid' => new external_value(PARAM_INT, 'Feedback instance id.'), 'page' => new external_value(PARAM_INT, 'The page being processed.'), 'responses' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_NOTAGS, 'The response name (usually type[index]_id).'), 'value' => new external_value(PARAM_RAW, 'The response value.'), )), 'The data to be processed.', VALUE_DEFAULT, array( )), 'goprevious' => new external_value(PARAM_BOOL, 'Whether we want to jump to previous page.', VALUE_DEFAULT, false), 'courseid' => new external_value(PARAM_INT, 'Course where user completes the feedback (for site feedbacks only).', VALUE_DEFAULT, 0), ))
/mod/wiki/backup/moodle1/lib.php:2691$data_page = array('id' => $this->converter->get_nextid( ), 'title' => $this->initialcontentfilename, 'content' => $this->initialcontent, 'userid' => $USER->id, 'timecreated' => time( ), 'timemodified' => 0, 'pageviews' => 0, 'cachedcontent' => '**reparse needed**', 'timerendered' => 0, 'readonly' => 0, 'tags' => '')
/mod/choice/classes/external.php:1461return new external_single_structure(array('options' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'choice instance id'), 'text' => new external_value(PARAM_RAW, 'text of the choice'), 'maxanswer' => new external_value(PARAM_INT, 'maximum number of answers'), 'userresponses' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'user id'), 'fullname' => new external_value(PARAM_NOTAGS, 'user full name'), 'profileimageurl' => new external_value(PARAM_URL, 'profile user image url'), 'answerid' => new external_value(PARAM_INT, 'answer id', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'time of modification', VALUE_OPTIONAL), ), 'User responses')), 'numberofuser' => new external_value(PARAM_INT, 'number of users answers'), 'percentageamount' => new external_value(PARAM_FLOAT, 'percentage of users answers')), 'Options')), 'warnings' => new external_warnings( ), ))
/mod/choice/classes/external.php:2761return new external_single_structure(array('options' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'option id'), 'text' => new external_value(PARAM_RAW, 'text of the choice'), 'maxanswers' => new external_value(PARAM_INT, 'maximum number of answers'), 'displaylayout' => new external_value(PARAM_BOOL, 'true for orizontal, otherwise vertical'), 'countanswers' => new external_value(PARAM_INT, 'number of answers'), 'checked' => new external_value(PARAM_BOOL, 'we already answered'), 'disabled' => new external_value(PARAM_BOOL, 'option disabled'), )), 'Options'), 'warnings' => new external_warnings( ), ))
/mod/choice/classes/external.php:3751return new external_single_structure(array('answers' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'answer id'), 'choiceid' => new external_value(PARAM_INT, 'choiceid'), 'userid' => new external_value(PARAM_INT, 'user id'), 'optionid' => new external_value(PARAM_INT, 'optionid'), 'timemodified' => new external_value(PARAM_INT, 'time of last modification')), 'Answers')), 'warnings' => new external_warnings( ), ))
/mod/wiki/tests/privacy/provider_test.php:2341return $fs->create_file_from_string(['contextid' => \context_module::instance($wiki->cmid)->id, 'component' => 'mod_wiki', 'filearea' => 'attachments', 'itemid' => $subwikiid, 'filepath' => '/', 'filename' => $filename, ], $filecontent)
/mod/wiki/tests/generator/lib.php:1271$record = (array) $record + array('title' => 'wiki page ' . $this->pagecount, 'wikiid' => $wiki->id, 'subwikiid' => 0, 'group' => null, 'userid' => null, 'content' => 'Wiki page content ' . $this->pagecount, 'format' => $wiki->defaultformat)
/mod/wiki/parser/markups/wikimarkup.php:2431$toc .= parser_utils::h('p', $number . ". " . parser_utils::h('a', str_replace(array('[[', ']]'), '', $header[1]), array('href' => "#toc-$i")), array('class' => 'wiki-toc-section-' . $header[0] . " wiki-toc-section"))
/mod/wiki/backup/moodle1/lib.php:661return array(new convert_path('wiki', '/MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI', array('newfields' => array('introformat' => '0', 'defaultformat' => 'html', 'forceformat' => '1', 'editbegin' => '0', 'editend' => '0', 'timecreated' => time( ), ), 'renamefields' => array('summary' => 'intro', 'format' => 'introformat', 'firstpagetitle' => 'pagename', 'wtype' => 'wikimode'), 'dropfields' => array('pagename', 'scaleid', 'ewikiprinttitle', 'htmlmode', 'ewikiacceptbinary', 'disablecamelcase', 'setpageflags', 'strippages', 'removepages', 'revertchanges'))), new convert_path('wiki_entries', '/MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI/ENTRIES', array('newfields' => array('synonyms' => '0', 'links' => 'collaborative', ), 'dropfields' => array('pagename', 'timemodified'))), new convert_path('wiki_entry', '/MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI/ENTRIES/ENTRY'), new convert_path('wiki_pages', '/MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI/ENTRIES/ENTRY/PAGES'), new convert_path('wiki_entry_page', '/MOODLE_BACKUP/COURSE/MODULES/MOD/WIKI/ENTRIES/ENTRY/PAGES/PAGE', array('newfields' => array('cachedcontent' => '**reparse needed**', 'timerendered' => '0', 'readonly' => '0', 'tags' => ''), 'renamefields' => array('pagename' => 'title', 'created' => 'timecreated', 'lastmodified' => 'timemodified', 'hits' => 'pageviews'), 'dropfields' => array('version', 'flags', 'author', 'refs', 'meta'))))
/mod/choice/tests/lib_test.php:9731$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => $choice->id, 'eventtype' => CHOICE_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/choice/tests/lib_test.php:10281$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => 1, 'eventtype' => CHOICE_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/choice/tests/lib_test.php:10661$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => 1, 'eventtype' => CHOICE_EVENT_TYPE_OPEN, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/choice/tests/lib_test.php:11131$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => 1, 'eventtype' => CHOICE_EVENT_TYPE_CLOSE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/choice/classes/external.php:5411return new external_single_structure(array('choices' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['publish' => new external_value(PARAM_BOOL, 'If choice is published', VALUE_OPTIONAL), 'showresults' => new external_value(PARAM_INT, '0 never, 1 after answer, 2 after close, 3 always', VALUE_OPTIONAL), 'display' => new external_value(PARAM_INT, 'Display mode (vertical, horizontal)', VALUE_OPTIONAL), 'allowupdate' => new external_value(PARAM_BOOL, 'Allow update', VALUE_OPTIONAL), 'allowmultiple' => new external_value(PARAM_BOOL, 'Allow multiple choices', VALUE_OPTIONAL), 'showunanswered' => new external_value(PARAM_BOOL, 'Show users who not answered yet', VALUE_OPTIONAL), 'includeinactive' => new external_value(PARAM_BOOL, 'Include inactive users', VALUE_OPTIONAL), 'limitanswers' => new external_value(PARAM_BOOL, 'Limit unswers', VALUE_OPTIONAL), 'timeopen' => new external_value(PARAM_INT, 'Date of opening validity', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'Date of closing validity', VALUE_OPTIONAL), 'showpreview' => new external_value(PARAM_BOOL, 'Show preview before timeopen', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), 'completionsubmit' => new external_value(PARAM_BOOL, 'Completion on user submission', VALUE_OPTIONAL), 'showavailable' => new external_value(PARAM_BOOL, 'Show available spaces', VALUE_OPTIONAL), ]), 'Choices')), 'warnings' => new external_warnings( ), ))
/mod/choice/tests/dates_test.php:533return ['without any dates' => [null, null, [ ]], 'only with opening time' => [$after, null, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ]], 'only with closing time' => [null, $after, [['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'with both times' => [$after, $later, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'between the dates' => [$before, $after, [['label' => 'Opened:', 'timestamp' => $before, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'dates are past' => [$earlier, $before, [['label' => 'Opened:', 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => 'Closed:', 'timestamp' => $before, 'dataid' => 'timeclose'], ]], ]
/mod/choice/tests/lib_test.php:8661$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => $choice->id, 'eventtype' => CHOICE_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/choice/tests/lib_test.php:9121$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'choice', 'instance' => $choice->id, 'eventtype' => CHOICE_EVENT_TYPE_OPEN, 'timestart' => $newtimeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/wiki/classes/event/page_viewed.php:831return new \moodle_url('/mod/wiki/view.php', array('wid' => $this->data['other']['wid'], 'title' => $this->data['other']['title'], 'uid' => $this->relateduserid, 'groupanduser' => $this->data['other']['groupanduser'], 'group' => $this->data['other']['group']))
/mod/wiki/classes/privacy/provider.php:4251$subwiki[$record->subwikiid]['pages'][$page]['page'] += ['userid' => transform::user($user->id), 'timecreated' => transform::datetime($record->pagetimecreated), 'timemodified' => transform::datetime($record->pagetimemodified), 'timerendered' => transform::datetime($record->pagetimerendered), 'pageviews' => $record->pageviews, 'readonly' => $record->readonly, ]
/mod/wiki/classes/privacy/provider.php:3661$rs = $DB->get_recordset_sql('SELECT w.wikimode, s.id AS subwikiid, s.groupid AS subwikigroupid, s.userid AS subwikiuserid, p.id AS pageid, p.userid AS pageuserid, p.title, p.cachedcontent, p.timecreated AS pagetimecreated, p.timemodified AS pagetimemodified, p.timerendered AS pagetimerendered, p.pageviews, p.readonly, v.id AS versionid, v.content, v.contentformat, v.version, v.timecreated AS versiontimecreated, l.id AS lockid, l.sectionname, l.lockedat FROM {course_modules} cm JOIN {wiki} w ON w.id = cm.instance JOIN {wiki_subwikis} s ON cm.instance = s.wikiid LEFT JOIN {wiki_pages} p ON p.subwikiid = s.id LEFT JOIN {wiki_versions} v ON v.pageid = p.id AND v.userid = :user4 LEFT JOIN {wiki_locks} l ON l.pageid = p.id AND l.userid = :user5 WHERE cm.id = :cmid AND (s.userid = :user1 OR p.userid = :user2 OR v.userid = :user3 OR l.userid = :user6 OR EXISTS (SELECT 1 FROM {comments} com WHERE com.itemid = p.id AND com.commentarea = :commentarea AND com.contextid = :ctxid AND com.userid = :user7) ) ORDER BY s.id, p.id, v.id', ['cmid' => $context->instanceid, 'user1' => $user->id, 'user2' => $user->id, 'user3' => $user->id, 'user4' => $user->id, 'user5' => $user->id, 'user6' => $user->id, 'user7' => $user->id, 'commentarea' => 'wiki_page', 'ctxid' => $context->id])
/mod/wiki/classes/external.php:9631$params = self::validate_parameters(self::new_page_parameters( ), array('title' => $title, 'content' => $content, 'contentformat' => $contentformat, 'subwikiid' => $subwikiid, 'wikiid' => $wikiid, 'userid' => $userid, 'groupid' => $groupid))
/mod/wiki/classes/external.php:9291return new external_function_parameters(array('title' => new external_value(PARAM_TEXT, 'New page title.'), 'content' => new external_value(PARAM_RAW, 'Page contents.'), 'contentformat' => new external_value(PARAM_TEXT, 'Page contents format. If an invalid format is provided, default wiki format is used.', VALUE_DEFAULT, null), 'subwikiid' => new external_value(PARAM_INT, 'Page\'s subwiki ID.', VALUE_DEFAULT, null), 'wikiid' => new external_value(PARAM_INT, 'Page\'s wiki ID. Used if subwiki does not exists.', VALUE_DEFAULT, null), 'userid' => new external_value(PARAM_INT, 'Subwiki\'s user ID. Used if subwiki does not exists.', VALUE_DEFAULT, null), 'groupid' => new external_value(PARAM_INT, 'Subwiki\'s group ID. Used if subwiki does not exists.', VALUE_DEFAULT, null)))
/mod/wiki/classes/external.php:9061return new external_single_structure(array('pagesection' => new external_single_structure(array('content' => new external_value(PARAM_RAW, 'The contents of the page-section to be edited.', VALUE_OPTIONAL), 'contentformat' => new external_value(PARAM_TEXT, 'Format of the original content of the page.', VALUE_OPTIONAL), 'version' => new external_value(PARAM_INT, 'Latest version of the page.'), 'warnings' => new external_warnings( )))))
/mod/wiki/classes/external.php:6941return new external_function_parameters(array('wikiid' => new external_value(PARAM_INT, 'Wiki instance ID.'), 'groupid' => new external_value(PARAM_INT, 'Subwiki\'s group ID, -1 means current group. It will be ignored' . ' if the wiki doesn\'t use groups.', VALUE_DEFAULT, -1), 'userid' => new external_value(PARAM_INT, 'Subwiki\'s user ID, 0 means current user. It will be ignored' . ' in collaborative wikis.', VALUE_DEFAULT, 0)))
/mod/wiki/classes/external.php:6631return new external_single_structure(array('page' => new external_single_structure(array('id' => new external_value(PARAM_INT, 'Page ID.'), 'wikiid' => new external_value(PARAM_INT, 'Page\'s wiki ID.'), 'subwikiid' => new external_value(PARAM_INT, 'Page\'s subwiki ID.'), 'groupid' => new external_value(PARAM_INT, 'Page\'s group ID.'), 'userid' => new external_value(PARAM_INT, 'Page\'s user ID.'), 'title' => new external_value(PARAM_RAW, 'Page title.'), 'cachedcontent' => new external_value(PARAM_RAW, 'Page contents.'), 'contentformat' => new external_format_value('cachedcontent', VALUE_OPTIONAL), 'caneditpage' => new external_value(PARAM_BOOL, 'True if user can edit the page.'), 'version' => new external_value(PARAM_INT, 'Latest version of the page.', VALUE_OPTIONAL), 'tags' => new external_multiple_structure(\core_tag\external\tag_item_exporter::get_read_structure( ), 'Tags', VALUE_OPTIONAL), ), 'Page'), 'warnings' => new external_warnings( )))
/mod/wiki/tests/privacy/provider_test.php:1591$this->pagepaths = [1 => [1 => $this->pages[1][1]->id . ' ' . $this->pages[1][1]->title, 2 => $this->pages[1][2]->id . ' ' . $this->pages[1][2]->title, 3 => $this->pages[1][3]->id . ' ' . $this->pages[1][3]->title, 4 => $this->pages[1][4]->id . ' ' . $this->pages[1][4]->title, ], 21 => [1 => $this->pages[21][1]->id . ' ' . $this->pages[21][1]->title, 2 => $this->pages[21][2]->id . ' ' . $this->pages[21][2]->title, ], 22 => [1 => $this->pages[22][1]->id . ' ' . $this->pages[22][1]->title, 2 => $this->pages[22][2]->id . ' ' . $this->pages[22][2]->title, ], 3 => [1 => $this->pages[3][1]->id . ' ' . $this->pages[3][1]->title, ]]
/mod/wiki/tests/privacy/provider_test.php:1521$this->contexts = [1 => \context_module::instance($cm1->cmid), 2 => \context_module::instance($cm2->cmid), 3 => \context_module::instance($cm3->cmid), 4 => \context_module::instance($cm4->cmid), ]
/mod/wiki/tests/privacy/provider_test.php:1441$this->subwikis = [1 => $this->pages[1][1]->subwikiid, 21 => $this->pages[21][1]->subwikiid, 22 => $this->pages[22][1]->subwikiid, 23 => $subwiki23, 3 => $this->pages[3][1]->subwikiid, ]
/mod/wiki/tests/externallib_test.php:12452$expectedfile = array('filename' => $file['filename'], 'filepath' => $file['filepath'], 'mimetype' => 'image/jpeg', 'isexternalfile' => false, 'filesize' => strlen($content), 'timemodified' => $file['timemodified'], 'fileurl' => \moodle_url::make_webservice_pluginfile_url($file['contextid'], $file['component'], $file['filearea'], $file['itemid'], $file['filepath'], $file['filename']), 'icon' => 'f/image', )
/mod/wiki/tests/externallib_test.php:11892$expectedfile = array('filename' => $file['filename'], 'filepath' => $file['filepath'], 'mimetype' => 'image/jpeg', 'isexternalfile' => false, 'filesize' => strlen($content), 'timemodified' => $file['timemodified'], 'fileurl' => \moodle_url::make_webservice_pluginfile_url($file['contextid'], $file['component'], $file['filearea'], $file['itemid'], $file['filepath'], $file['filename']), 'icon' => 'f/image', )
/mod/wiki/tests/externallib_test.php:11831$file = array('component' => 'mod_wiki', 'filearea' => 'attachments', 'contextid' => $this->context->id, 'itemid' => $this->firstpage->subwikiid, 'filename' => 'image.jpg', 'filepath' => '/', 'timemodified' => time( ))
/mod/wiki/tests/externallib_test.php:11271$expectedfpsepg1indstu = array('id' => $this->fpsepg1indstu->id, 'wikiid' => $this->wikisepind->id, 'subwikiid' => $this->fpsepg1indstu->subwikiid, 'groupid' => $this->group1->id, 'userid' => $this->student->id, 'title' => $this->fpsepg1indstu->title, 'cachedcontent' => $this->fpsepg1indstu->cachedcontent, 'contentformat' => 1, 'caneditpage' => true, 'version' => 1, 'tags' => array( ), )
/mod/wiki/tests/externallib_test.php:10811$expectedpage = array('id' => $this->firstpage->id, 'wikiid' => $this->wiki->id, 'subwikiid' => $this->firstpage->subwikiid, 'groupid' => 0, 'userid' => 0, 'title' => $this->firstpage->title, 'cachedcontent' => $this->firstpage->cachedcontent, 'contentformat' => 1, 'caneditpage' => true, 'version' => 1, 'tags' => \core_tag\external\util::get_item_tags('mod_wiki', 'wiki_pages', $this->firstpage->id), )
/mod/wiki/pagelib.php:13371$contents[] = array('', html_writer::link($versionlink->out(false), $row->version), $picture . html_writer::link($userlink->out(false), fullname($username)), $time, $OUTPUT->container($date, 'wiki_histdate'))
/mod/wiki/pagelib.php:13641$contents[] = array($this->choose_from_radio(array($version->version => null), 'compare', 'M.mod_wiki.history()', $checked - 1, true) . $this->choose_from_radio(array($version->version => null), 'comparewith', 'M.mod_wiki.history()', $checked, true), $viewlink, $picture . html_writer::link($userlink->out(false), fullname($user)), $time, $OUTPUT->container($date, 'wiki_histdate'))
/mod/wiki/locallib.php:6831return array('content' => $link, 'url' => $CFG->wwwroot . '/mod/wiki/create.php?swid=' . $swid . '&amp;title=' . urlencode($link) . '&amp;action=new', 'new' => true, 'link_info' => array('link' => $link, 'new' => true, 'pageid' => 0))
/mod/wiki/locallib.php:14901$htmltable->data[] = array($checkbox, '<a href="' . file_encode_url($CFG->wwwroot . '/pluginfile.php', '/' . $context->id . '/wiki_upload/' . $fileitemid . '/' . $file->get_filename( )) . '">' . $file->get_filename( ) . '</a>', "")
/mod/wiki/locallib.php:6621$parsedlink = array('content' => $link->title, 'url' => $CFG->wwwroot . '/mod/wiki/view.php?pageid=' . $link->id, 'new' => false, 'link_info' => array('link' => $link->title, 'pageid' => $link->id, 'new' => false))
/mod/wiki/locallib.php:6731$parsedlink = array('content' => $link, 'url' => $CFG->wwwroot . '/mod/wiki/view.php?pageid=' . $page->id, 'new' => false, 'link_info' => array('link' => $link, 'pageid' => $page->id, 'new' => false))
/mod/wiki/renderer.php:5481$url = file_encode_url("$CFG->wwwroot/pluginfile.php", '/' . $tree->context->id . '/mod_wiki/attachments/' . $tree->subwiki->id . '/' . $file->get_filepath( ) . $file->get_filename( ), true)
/mod/wiki/locallib.php:6221$parser_options = array('link_callback' => '/mod/wiki/locallib.php:wiki_parser_link', 'link_callback_args' => array('swid' => $options['swid']), 'table_callback' => '/mod/wiki/locallib.php:wiki_parser_table', 'real_path_callback' => '/mod/wiki/locallib.php:wiki_parser_real_path', 'real_path_callback_args' => array('context' => $context, 'component' => 'mod_wiki', 'filearea' => 'attachments', 'subwikiid' => $subwiki->id, 'pageid' => $options['pageid']), 'pageid' => $options['pageid'], 'pretty_print' => (isset($options['pretty_print']) && $options['pretty_print']), 'printable' => (isset($options['printable']) && $options['printable']))
/mod/wiki/classes/external.php:4771$retpage = array('id' => $page->id, 'subwikiid' => $page->subwikiid, 'title' => \core_external\util::format_string($page->title, $context), 'timecreated' => $page->timecreated, 'timemodified' => $page->timemodified, 'timerendered' => $page->timerendered, 'userid' => $page->userid, 'pageviews' => $page->pageviews, 'readonly' => $page->readonly, 'caneditpage' => $caneditpages, 'firstpage' => $page->id == $firstpage->id, 'tags' => \core_tag\external\util::get_item_tags('mod_wiki', 'wiki_pages', $page->id), )
/mod/wiki/classes/external.php:5341return new external_single_structure(array('pages' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Page ID.'), 'subwikiid' => new external_value(PARAM_INT, 'Page\'s subwiki ID.'), 'title' => new external_value(PARAM_RAW, 'Page title.'), 'timecreated' => new external_value(PARAM_INT, 'Time of creation.'), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification.'), 'timerendered' => new external_value(PARAM_INT, 'Time of last renderization.'), 'userid' => new external_value(PARAM_INT, 'ID of the user that last modified the page.'), 'pageviews' => new external_value(PARAM_INT, 'Number of times the page has been viewed.'), 'readonly' => new external_value(PARAM_INT, '1 if readonly, 0 otherwise.'), 'caneditpage' => new external_value(PARAM_BOOL, 'True if user can edit the page.'), 'firstpage' => new external_value(PARAM_BOOL, 'True if it\'s the first page.'), 'cachedcontent' => new external_value(PARAM_RAW, 'Page contents.', VALUE_OPTIONAL), 'contentformat' => new external_format_value('cachedcontent', VALUE_OPTIONAL), 'contentsize' => new external_value(PARAM_INT, 'Size of page contents in bytes (doesn\'t include' . ' size of attached files).', VALUE_OPTIONAL), 'tags' => new external_multiple_structure(\core_tag\external\tag_item_exporter::get_read_structure( ), 'Tags', VALUE_OPTIONAL), ), 'Pages')), 'warnings' => new external_warnings( ), ))
/mod/wiki/classes/external.php:3731return new external_single_structure(array('subwikis' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Subwiki ID.'), 'wikiid' => new external_value(PARAM_INT, 'Wiki ID.'), 'groupid' => new external_value(PARAM_RAW, 'Group ID.'), 'userid' => new external_value(PARAM_INT, 'User ID.'), 'canedit' => new external_value(PARAM_BOOL, 'True if user can edit the subwiki.'), ), 'Subwikis')), 'warnings' => new external_warnings( ), ))
/mod/wiki/classes/external.php:3981return new external_function_parameters(array('wikiid' => new external_value(PARAM_INT, 'Wiki instance ID.'), 'groupid' => new external_value(PARAM_INT, 'Subwiki\'s group ID, -1 means current group. It will be ignored' . ' if the wiki doesn\'t use groups.', VALUE_DEFAULT, -1), 'userid' => new external_value(PARAM_INT, 'Subwiki\'s user ID, 0 means current user. It will be ignored' . ' in collaborative wikis.', VALUE_DEFAULT, 0), 'options' => new external_single_structure(array('sortby' => new external_value(PARAM_ALPHA, 'Field to sort by (id, title, ...).', VALUE_DEFAULT, 'title'), 'sortdirection' => new external_value(PARAM_ALPHA, 'Sort direction: ASC or DESC.', VALUE_DEFAULT, 'ASC'), 'includecontent' => new external_value(PARAM_INT, 'Include each page contents or just the contents size.', VALUE_DEFAULT, 1), ), 'Options', VALUE_DEFAULT, array( )), ))
/mod/wiki/lib.php:6601$module_pagetype = array('mod-wiki-*' => get_string('page-mod-wiki-x', 'wiki'), 'mod-wiki-view' => get_string('page-mod-wiki-view', 'wiki'), 'mod-wiki-comments' => get_string('page-mod-wiki-comments', 'wiki'), 'mod-wiki-history' => get_string('page-mod-wiki-history', 'wiki'), 'mod-wiki-map' => get_string('page-mod-wiki-map', 'wiki'))
/mod/wiki/classes/external.php:1451return new external_single_structure(array('wikis' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns(true), ['timecreated' => new external_value(PARAM_INT, 'Time of creation.', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification.', VALUE_OPTIONAL), 'firstpagetitle' => new external_value(PARAM_RAW, 'First page title.', VALUE_OPTIONAL), 'wikimode' => new external_value(PARAM_TEXT, 'Wiki mode (individual, collaborative).', VALUE_OPTIONAL), 'defaultformat' => new external_value(PARAM_TEXT, 'Wiki\'s default format (html, creole, nwiki).', VALUE_OPTIONAL), 'forceformat' => new external_value(PARAM_INT, '1 if format is forced, 0 otherwise.', VALUE_OPTIONAL), 'editbegin' => new external_value(PARAM_INT, 'Edit begin.', VALUE_OPTIONAL), 'editend' => new external_value(PARAM_INT, 'Edit end.', VALUE_OPTIONAL), 'cancreatepages' => new external_value(PARAM_BOOL, 'True if user can create pages.'), ]), 'Wikis')), 'warnings' => new external_warnings( ), ))
/mod/wiki/pagelib.php:26481$urldelete = new moodle_url('/mod/wiki/admin.php', array('pageid' => $this->page->id, 'delete' => $page->id, 'option' => $this->view, 'listall' => !$this->listorphan ? '1' : '', 'sesskey' => sesskey( )))
/mod/wiki/lib.php:4571$hiddenfields = [(object) ['type' => 'hidden', 'name' => 'courseid', 'value' => $cm->course], (object) ['type' => 'hidden', 'name' => 'cmid', 'value' => $cm->id], (object) ['type' => 'hidden', 'name' => 'searchwikicontent', 'value' => 1], ]
/mod/scorm/classes/external.php:4311return new external_function_parameters(array('scoid' => new external_value(PARAM_INT, 'SCO id'), 'attempt' => new external_value(PARAM_INT, 'attempt number'), 'tracks' => new external_multiple_structure(new external_single_structure(array('element' => new external_value(PARAM_RAW, 'element name'), 'value' => new external_value(PARAM_RAW, 'element value')))), ))
/mod/scorm/classes/external.php:3941return new external_single_structure(array('data' => new external_multiple_structure(new external_single_structure(array('scoid' => new external_value(PARAM_INT, 'sco id'), 'userdata' => new external_multiple_structure(new external_single_structure(array('element' => new external_value(PARAM_RAW, 'element name'), 'value' => new external_value(PARAM_RAW, 'element value')))), 'defaultdata' => new external_multiple_structure(new external_single_structure(array('element' => new external_value(PARAM_RAW, 'element name'), 'value' => new external_value(PARAM_RAW, 'element value')))), ), 'SCO data')), 'warnings' => new external_warnings( ), ))
/mod/scorm/classes/external.php:7681return new external_single_structure(array('scorms' => new external_multiple_structure(new external_single_structure(array_merge(helper_for_get_mods_by_courses::standard_coursemodule_elements_returns( ), ['packagesize' => new external_value(PARAM_INT, 'SCORM zip package size', VALUE_OPTIONAL), 'packageurl' => new external_value(PARAM_URL, 'SCORM zip package URL', VALUE_OPTIONAL), 'version' => new external_value(PARAM_NOTAGS, 'SCORM version (SCORM_12, SCORM_13, SCORM_AICC)', VALUE_OPTIONAL), 'maxgrade' => new external_value(PARAM_INT, 'Max grade', VALUE_OPTIONAL), 'grademethod' => new external_value(PARAM_INT, 'Grade method', VALUE_OPTIONAL), 'whatgrade' => new external_value(PARAM_INT, 'What grade', VALUE_OPTIONAL), 'maxattempt' => new external_value(PARAM_INT, 'Maximum number of attemtps', VALUE_OPTIONAL), 'forcecompleted' => new external_value(PARAM_BOOL, 'Status current attempt is forced to "completed"', VALUE_OPTIONAL), 'forcenewattempt' => new external_value(PARAM_INT, 'Controls re-entry behaviour', VALUE_OPTIONAL), 'lastattemptlock' => new external_value(PARAM_BOOL, 'Prevents to launch new attempts once finished', VALUE_OPTIONAL), 'displayattemptstatus' => new external_value(PARAM_INT, 'How to display attempt status', VALUE_OPTIONAL), 'displaycoursestructure' => new external_value(PARAM_BOOL, 'Display contents structure', VALUE_OPTIONAL), 'sha1hash' => new external_value(PARAM_NOTAGS, 'Package content or ext path hash', VALUE_OPTIONAL), 'md5hash' => new external_value(PARAM_NOTAGS, 'MD5 Hash of package file', VALUE_OPTIONAL), 'revision' => new external_value(PARAM_INT, 'Revison number', VALUE_OPTIONAL), 'launch' => new external_value(PARAM_INT, 'First content to launch', VALUE_OPTIONAL), 'skipview' => new external_value(PARAM_INT, 'How to skip the content structure page', VALUE_OPTIONAL), 'hidebrowse' => new external_value(PARAM_BOOL, 'Disable preview mode?', VALUE_OPTIONAL), 'hidetoc' => new external_value(PARAM_INT, 'How to display the SCORM structure in player', VALUE_OPTIONAL), 'nav' => new external_value(PARAM_INT, 'Show navigation buttons', VALUE_OPTIONAL), 'navpositionleft' => new external_value(PARAM_INT, 'Navigation position left', VALUE_OPTIONAL), 'navpositiontop' => new external_value(PARAM_INT, 'Navigation position top', VALUE_OPTIONAL), 'auto' => new external_value(PARAM_BOOL, 'Auto continue?', VALUE_OPTIONAL), 'popup' => new external_value(PARAM_INT, 'Display in current or new window', VALUE_OPTIONAL), 'width' => new external_value(PARAM_INT, 'Frame width', VALUE_OPTIONAL), 'height' => new external_value(PARAM_INT, 'Frame height', VALUE_OPTIONAL), 'timeopen' => new external_value(PARAM_INT, 'Available from', VALUE_OPTIONAL), 'timeclose' => new external_value(PARAM_INT, 'Available to', VALUE_OPTIONAL), 'scormtype' => new external_value(PARAM_ALPHA, 'SCORM type', VALUE_OPTIONAL), 'reference' => new external_value(PARAM_NOTAGS, 'Reference to the package', VALUE_OPTIONAL), 'protectpackagedownloads' => new external_value(PARAM_BOOL, 'Protect package downloads?', VALUE_OPTIONAL), 'updatefreq' => new external_value(PARAM_INT, 'Auto-update frequency for remote packages', VALUE_OPTIONAL), 'options' => new external_value(PARAM_RAW, 'Additional options', VALUE_OPTIONAL), 'completionstatusrequired' => new external_value(PARAM_INT, 'Status passed/completed required?', VALUE_OPTIONAL), 'completionscorerequired' => new external_value(PARAM_INT, 'Minimum score required', VALUE_OPTIONAL), 'completionstatusallscos' => new external_value(PARAM_INT, 'Require all scos to return completion status', VALUE_OPTIONAL), 'autocommit' => new external_value(PARAM_BOOL, 'Save track data automatically?', VALUE_OPTIONAL), 'timemodified' => new external_value(PARAM_INT, 'Time of last modification', VALUE_OPTIONAL), ]), 'SCORM')), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'Options name'), 'value' => new external_value(PARAM_RAW, 'Option value')]), 'Global SCORM options', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/mod/scorm/classes/external.php:6231return new external_single_structure(array('data' => new external_single_structure(array('attempt' => new external_value(PARAM_INT, 'Attempt number'), 'tracks' => new external_multiple_structure(new external_single_structure(array('element' => new external_value(PARAM_RAW, 'Element name'), 'value' => new external_value(PARAM_RAW, 'Element value')), 'Tracks data')), ), 'SCO data'), 'warnings' => new external_warnings( ), ))
/mod/scorm/classes/output/actionbar.php:691$reportmenu = [$basicreportlink->out(false) => get_string('pluginname', 'scormreport_basic'), $graphreportlink->out(false) => get_string('pluginname', 'scormreport_graphs'), $interactionreportlink->out(false) => get_string('pluginname', 'scormreport_interactions'), $objectivesreportlink->out(false) => get_string('pluginname', 'scormreport_objectives'), ]
/mod/scorm/classes/privacy/provider.php:2341$alldata[$aiccsession->contextid][] = (object) ['scormmode' => $aiccsession->scormmode, 'scormstatus' => $aiccsession->scormstatus, 'lessonstatus' => $aiccsession->lessonstatus, 'attempt' => $aiccsession->attempt, 'sessiontime' => $aiccsession->sessiontime, 'timecreated' => transform::datetime($aiccsession->timecreated), 'timemodified' => transform::datetime($aiccsession->timemodified), ]
/mod/scorm/classes/event/cmielement_submitted.php:611return "The user with the id '$this->userid' submitted the element '{$this->other['cmielement']}' " . "with the value of '{$this->other['cmivalue']}' " . "for the attempt with the id '{$this->other['attemptid']}' " . "for a scorm activity with the course module id '$this->contextinstanceid'."
/mod/scorm/classes/output/actionbar.php:1121$data = ['heading' => $heading, 'scormreports' => $urlselect->export_for_template($output), 'candownload' => $this->download, 'downloadods' => ($this->download) ? $downloadodslink->out(false) : '', 'downloadexcel' => ($this->download) ? $downloadexcellink->out(false) : '', 'downloadtext' => ($this->download) ? $downloadtextlink->out(false) : '']
/mod/scorm/tests/dates_test.php:533return ['without any dates' => [null, null, [ ]], 'only with opening time' => [$after, null, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ]], 'only with closing time' => [null, $after, [['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'with both times' => [$after, $later, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'between the dates' => [$before, $after, [['label' => 'Opened:', 'timestamp' => $before, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'dates are past' => [$earlier, $before, [['label' => 'Opened:', 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => 'Closed:', 'timestamp' => $before, 'dataid' => 'timeclose'], ]], ]
/mod/scorm/tests/custom_completion_test.php:851return ['Undefined completion requirement' => ['somenonexistentrule', COMPLETION_ENABLED, [$completionincomplete], 0, null, coding_exception::class], 'Completion status requirement not available' => ['completionstatusrequired', COMPLETION_DISABLED, [$completionincomplete], 0, null, moodle_exception::class], 'Completion status Passed required, user has no completion status recorded' => ['completionstatusrequired', 2, [ ], 0, COMPLETION_INCOMPLETE, null], 'Completion status Passed required, user has not passed, can make another attempt' => ['completionstatusrequired', 2, [$completionincomplete], 0, COMPLETION_INCOMPLETE, null], 'Completion status Passed required, user has passed' => ['completionstatusrequired', 2, [$completionpassed], 0, COMPLETION_COMPLETE, null], 'Completion status Completed required, user has not completed, can make another attempt' => ['completionstatusrequired', 4, [$completionincomplete], 2, COMPLETION_INCOMPLETE, null], 'Completion status Completed required, user has completed' => ['completionstatusrequired', 4, [$completioncompleted], 1, COMPLETION_COMPLETE, null], 'Completion status Passed or Completed required, user has only completed, can make another attempt' => ['completionstatusrequired', 6, [$completioncompleted], 0, COMPLETION_COMPLETE, null], 'Completion status Passed or Completed required, user has completed and passed' => ['completionstatusrequired', 6, [$completionpassed, $completioncompleted], 0, COMPLETION_COMPLETE, null], 'Completion status Passed or Completed required, user has not passed or completed, but has another attempt' => ['completionstatusrequired', 6, [$completionincomplete], 2, COMPLETION_INCOMPLETE, null], 'Completion status Passed or Completed required, user has used all attempts, but not passed or completed' => ['completionstatusrequired', 6, [$completionincomplete], 1, COMPLETION_COMPLETE_FAIL, null], 'Completion status Passed required, user has used all attempts and completed, but not passed' => ['completionstatusrequired', 2, [$completioncompleted], 1, COMPLETION_COMPLETE_FAIL, null], 'Completion status Completed required, user has used all attempts, but not completed' => ['completionstatusrequired', 4, [$completionincomplete], 1, COMPLETION_COMPLETE_FAIL, null], 'Completion status Passed or Completed required, user has used all attempts, but not passed' => ['completionstatusrequired', 6, [$completionincomplete, $completioncompleted], 2, COMPLETION_COMPLETE, null], 'Completion score required, user has no score' => ['completionscorerequired', 80, [ ], 0, COMPLETION_INCOMPLETE, null], 'Completion score required, user score does not meet requirement, can make another attempt' => ['completionscorerequired', 80, [$completionscorefail], 0, COMPLETION_INCOMPLETE, null], 'Completion score required, user has used all attempts, but not reached the score' => ['completionscorerequired', 80, [$completionscorefail], 1, COMPLETION_COMPLETE_FAIL, null], 'Completion score required, user score meets requirement' => ['completionscorerequired', 80, [$completionscorepass], 0, COMPLETION_COMPLETE, null], 'Completion of all scos required, user has not completed, can make another attempt' => ['completionstatusallscos', 1, [$completionincomplete, $completioncompleted], 3, COMPLETION_INCOMPLETE, null], 'Completion of all scos required, user has completed' => ['completionstatusallscos', 1, [$completionpassed, $completioncompleted], 2, COMPLETION_COMPLETE, null], 'Completion of all scos required, user has used all attempts, but not completed all scos' => ['completionstatusallscos', 1, [$completionincomplete, $completioncompleted], 2, COMPLETION_COMPLETE_FAIL, null], ]
/mod/scorm/tests/lib_test.php:6561$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => $scorm->id, 'eventtype' => SCORM_EVENT_TYPE_OPEN, 'timestart' => $newtimeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/scorm/tests/lib_test.php:6101$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => $scorm->id, 'eventtype' => SCORM_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/scorm/tests/lib_test.php:7721$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => 1, 'eventtype' => SCORM_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/scorm/tests/lib_test.php:7171$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => $scorm->id, 'eventtype' => SCORM_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/scorm/tests/lib_test.php:8571$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => 1, 'eventtype' => SCORM_EVENT_TYPE_CLOSE, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/scorm/tests/lib_test.php:8101$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'scorm', 'instance' => 1, 'eventtype' => SCORM_EVENT_TYPE_OPEN, 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/generator/lib.php:4501$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => '', 'typ' => 'textfield', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', 'itemsize' => '20', 'itemmaxlength' => '30', )
/mod/feedback/tests/external/external_test.php:3432$record = ['feedback' => $this->feedback->id, 'userid' => $this->student->id, 'guestid' => '', 'timemodified' => time( ) - DAYSECS, 'random_response' => 0, 'anonymous_response' => FEEDBACK_ANONYMOUS_NO, 'courseid' => $this->course->id, ]
/mod/feedback/tests/external/external_test.php:4631return ['Valid feedback (as student)' => ['role' => 'student', 'info' => [ ], 'warning' => null, ], 'Closed feedback (as student)' => ['role' => 'student', 'info' => ['closed' => true], 'warning' => get_string('feedback_is_not_open', 'feedback'), ], 'Empty feedback (as student)' => ['role' => 'student', 'info' => ['empty' => true], 'warning' => get_string('no_items_available_yet', 'feedback'), ], 'Closed feedback (as student)' => ['role' => 'student', 'info' => ['closed' => true], 'warning' => get_string('feedback_is_not_open', 'feedback'), ], 'Cannot complete feedback (as student)' => ['role' => 'student', 'info' => ['complete' => false], 'warning' => 'required_capability_exception', ], 'Valid feedback (as teacher)' => ['role' => 'teacher', 'info' => [ ], 'warning' => null, ], 'Closed feedback (as teacher)' => ['role' => 'teacher', 'info' => ['closed' => true], 'warning' => null, ], 'Empty feedback (as teacher)' => ['role' => 'teacher', 'info' => ['empty' => true], 'warning' => null, ], 'Closed feedback (as teacher)' => ['role' => 'teacher', 'info' => ['closed' => true], 'warning' => null, ], 'Cannot complete feedback (as teacher)' => ['role' => 'teacher', 'info' => ['complete' => false], 'warning' => null, ], ]
/mod/feedback/tests/external/external_test.php:5382$record = ['feedback' => $this->feedback->id, 'userid' => $this->student->id, 'guestid' => '', 'timemodified' => time( ) - DAYSECS, 'random_response' => 0, 'anonymous_response' => FEEDBACK_ANONYMOUS_NO, 'courseid' => $this->course->id, ]
/mod/feedback/tests/external/external_test.php:11851$record = ['feedback' => $this->feedback->id, 'userid' => $this->student->id, 'timemodified' => time( ) - DAYSECS, 'random_response' => 0, 'anonymous_response' => FEEDBACK_ANONYMOUS_YES, 'courseid' => $this->course->id, ]
/mod/feedback/tests/external/external_test.php:12121$record = ['feedback' => $this->feedback->id, 'userid' => $this->student->id, 'timemodified' => time( ) - DAYSECS, 'random_response' => 0, 'anonymous_response' => FEEDBACK_ANONYMOUS_NO, 'courseid' => $this->course->id, ]
/mod/feedback/item/feedback_item_class.php:2291$actions['update'] = new action_menu_link_secondary(new moodle_url('/mod/feedback/edit_item.php', array('id' => $item->id)), new pix_icon('t/edit', $strupdate, 'moodle', array('class' => 'iconsmall', 'title' => '')), $strupdate, array('class' => 'editing_update', 'data-action' => 'update'))
/mod/feedback/item/feedback_item_class.php:2441$actions['required'] = new action_menu_link_secondary(new moodle_url('/mod/feedback/edit.php', array('id' => $cm->id, 'switchitemrequired' => $item->id, 'sesskey' => sesskey( ))), new pix_icon($buttonimg, $buttontitle, 'feedback', array('class' => 'iconsmall', 'title' => '')), $buttontitle, array('class' => 'editing_togglerequired', 'data-action' => 'togglerequired'))
/mod/feedback/item/feedback_item_class.php:2542$actions['delete'] = new action_menu_link_secondary(new moodle_url('/mod/feedback/edit.php', array('id' => $cm->id, 'deleteitem' => $item->id, 'sesskey' => sesskey( ))), new pix_icon('t/delete', $strdelete, 'moodle', array('class' => 'iconsmall', 'title' => '')), $strdelete, array('class' => 'editing_delete', 'data-action' => 'delete'))
/mod/feedback/item/feedback_item_class.php:3532$actions['delete'] = new action_menu_link_secondary(new moodle_url('/mod/feedback/edit.php', array('id' => $cm->id, 'deleteitem' => $item->id, 'sesskey' => sesskey( ))), new pix_icon('t/delete', $strdelete, 'moodle', array('class' => 'iconsmall', 'title' => '')), $strdelete, array('class' => 'editing_delete', 'data-action' => 'delete'))
/mod/feedback/db/access.php:271$capabilities = array('mod/feedback:addinstance' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:manageactivities'), 'mod/feedback:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('guest' => CAP_ALLOW, 'frontpage' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:complete' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('frontpage' => CAP_ALLOW, 'student' => CAP_ALLOW)), 'mod/feedback:viewanalysepage' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('student' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:deletesubmissions' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:mapcourse' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW)), 'mod/feedback:edititems' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:createprivatetemplate' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:createpublictemplate' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:deletetemplate' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:viewreports' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'mod/feedback:receivemail' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW)), )
/mod/feedback/backup/moodle1/lib.php:521return array(new convert_path('feedback', '/MOODLE_BACKUP/COURSE/MODULES/MOD/FEEDBACK', array('renamefields' => array('summary' => 'intro', 'pageaftersub' => 'page_after_submit', ), 'newfields' => array('autonumbering' => 1, 'site_after_submit' => '', 'introformat' => 0, 'page_after_submitformat' => 0, 'completionsubmit' => 0, ), )), new convert_path('feedback_item', '/MOODLE_BACKUP/COURSE/MODULES/MOD/FEEDBACK/ITEMS/ITEM', array('newfields' => array('label' => '', 'options' => '', 'dependitem' => 0, 'dependvalue' => '', ), )), )
/mod/scorm/locallib.php:881return array('scrollbars' => isset($cfgscorm->scrollbars) ? $cfgscorm->scrollbars : 0, 'directories' => isset($cfgscorm->directories) ? $cfgscorm->directories : 0, 'location' => isset($cfgscorm->location) ? $cfgscorm->location : 0, 'menubar' => isset($cfgscorm->menubar) ? $cfgscorm->menubar : 0, 'toolbar' => isset($cfgscorm->toolbar) ? $cfgscorm->toolbar : 0, 'status' => isset($cfgscorm->status) ? $cfgscorm->status : 0)
/mod/scorm/locallib.php:5781$data = ['other' => ['attemptid' => $attempt->id, 'cmielement' => $element, 'cmivalue' => $value], 'objectid' => $scorm->id, 'context' => context_module::instance($cm->id), 'relateduserid' => $userid, ]
/mod/scorm/locallib.php:15311$replace = array('$1', '$1', '$1', '$1$2 ' . $strmonths . ' ', '$1 ' . $stryears . ' ', '$1 ' . $strdays . ' ', '', '$1', '$1', 'S', '$1$2 ' . $strminutes . ' ', '$1 ' . $strhours . ' ', '0.$1 ' . $strseconds, '$1 ' . $strseconds, '')
/mod/scorm/classes/external.php:2681return new external_single_structure(array('scoes' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'sco id'), 'scorm' => new external_value(PARAM_INT, 'scorm id'), 'manifest' => new external_value(PARAM_NOTAGS, 'manifest id'), 'organization' => new external_value(PARAM_NOTAGS, 'organization id'), 'parent' => new external_value(PARAM_NOTAGS, 'parent'), 'identifier' => new external_value(PARAM_NOTAGS, 'identifier'), 'launch' => new external_value(PARAM_NOTAGS, 'launch file'), 'scormtype' => new external_value(PARAM_ALPHA, 'scorm type (asset, sco)'), 'title' => new external_value(PARAM_NOTAGS, 'sco title'), 'sortorder' => new external_value(PARAM_INT, 'sort order'), 'extradata' => new external_multiple_structure(new external_single_structure(array('element' => new external_value(PARAM_RAW, 'element name'), 'value' => new external_value(PARAM_RAW, 'element value'))), 'Additional SCO data', VALUE_OPTIONAL)), 'SCORM SCO data')), 'warnings' => new external_warnings( ), ))
/mod/feedback/tests/lib_test.php:8532$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_CLOSE, 'timestart' => $timeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:8122$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_CLOSE, 'timestart' => $timeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:7722$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_OPEN, 'timestart' => $timeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:7312$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_OPEN, 'timestart' => $timeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:10472$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => $user->id, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:9891$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:9391$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_OPEN, 'timestart' => $newtimeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/lib_test.php:8931$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_OPEN . "SOMETHING ELSE", 'timestart' => 1, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/generator/lib.php:2271$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'label', 'label' => '', 'presentation' => '', 'typ' => 'label', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', )
/mod/feedback/tests/generator/lib.php:1921$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => \feedback_item_info::MODE_COURSE, 'typ' => 'info', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', )
/mod/feedback/tests/privacy/provider_test.php:3931$appctx = new approved_contextlist($u1, 'mod_feedback', [\context_module::instance($cm0a->cmid)->id, \context_module::instance($cm1a->cmid)->id, \context_module::instance($cm2a->cmid)->id, \context_module::instance($cm2b->cmid)->id, ])
/mod/feedback/tests/lib_test.php:11062$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => $user->id, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => FEEDBACK_EVENT_TYPE_CLOSE, 'timestart' => $newtimeclose, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/tests/generator/lib.php:4111$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => '', 'typ' => 'textarea', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', 'itemwidth' => '40', 'itemheight' => '20', )
/mod/feedback/tests/generator/lib.php:3661$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => '', 'typ' => 'numeric', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', 'rangefrom' => '-', 'rangeto' => '-', )
/mod/feedback/tests/generator/lib.php:3171$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => '', 'typ' => 'multichoicerated', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', 'subtype' => 'r', 'horizontal' => 0, 'hidenoselect' => 1, 'ignoreempty' => 0, 'values' => "0/a\n1/b\n2/c\n3/d\n4/e")
/mod/feedback/tests/generator/lib.php:2701$record = (array) $record + array('id' => 0, 'feedback' => $feedback->id, 'template' => 0, 'name' => 'Feedback question item ' . $position, 'label' => 'Feedback label ' . $position, 'presentation' => '', 'typ' => 'multichoice', 'hasvalue' => 0, 'position' => $position, 'required' => 0, 'dependitem' => 0, 'dependvalue' => '', 'options' => '', 'subtype' => 'r', 'horizontal' => 0, 'hidenoselect' => 1, 'ignoreempty' => 0, 'values' => "a\nb\nc\nd\ne")
/mod/feedback/classes/external.php:13121return new external_single_structure(array('attempts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Completed id'), 'courseid' => new external_value(PARAM_INT, 'Course id'), 'userid' => new external_value(PARAM_INT, 'User who responded'), 'timemodified' => new external_value(PARAM_INT, 'Time modified for the response'), 'fullname' => new external_value(PARAM_TEXT, 'User full name'), 'responses' => $responsestructure))), 'totalattempts' => new external_value(PARAM_INT, 'Total responses count.'), 'anonattempts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Completed id'), 'courseid' => new external_value(PARAM_INT, 'Course id'), 'number' => new external_value(PARAM_INT, 'Response number'), 'responses' => $responsestructure))), 'totalanonattempts' => new external_value(PARAM_INT, 'Total anonymous responses count.'), 'warnings' => new external_warnings( ), ))
/mod/feedback/classes/structure.php:1371return (!$this->feedback->timeopen || $this->feedback->timeopen <= $checktime) && (!$this->feedback->timeclose || $this->feedback->timeclose >= $checktime)
/mod/feedback/classes/external.php:12841$result = array('attempts' => $responsestable->export_external_structure($params['page'], $params['perpage']), 'totalattempts' => $responsestable->get_total_responses_count( ), 'anonattempts' => $anonresponsestable->export_external_structure($params['page'], $params['perpage']), 'totalanonattempts' => $anonresponsestable->get_total_responses_count( ), 'warnings' => $warnings)
/mod/feedback/classes/external.php:13011$responsestructure = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Response id'), 'name' => new external_value(PARAM_RAW, 'Response name'), 'printval' => new external_value(PARAM_RAW, 'Response ready for output'), 'rawval' => new external_value(PARAM_RAW, 'Response raw value'), )))
/mod/feedback/classes/privacy/provider.php:1911$data->submissions[$id] = ['inprogress' => transform::yesno($record->istmp), 'anonymousresponse' => transform::yesno($record->anonymousresponse == FEEDBACK_ANONYMOUS_YES), 'timemodified' => transform::datetime($record->timemodified), 'answers' => [ ]]
/mod/feedback/classes/privacy/provider.php:2011$data->submissions[$id]['answers'][] = ['question' => format_text($record->itemname, FORMAT_HTML, ['context' => context::instance_by_id($record->contextid), 'para' => false, 'noclean' => true, ]), 'answer' => $itemobj->get_printval($item, $value)]
/mod/feedback/classes/responses_table.php:4871return [$lastrow ? $this->get_link_single_entry($lastrow) : null, new moodle_url($this->baseurl, [$this->request[TABLE_VAR_PAGE] => $page]), $nextrow ? $this->get_link_single_entry($nextrow) : null, ]
/mod/feedback/classes/responses_table.php:6381$this->dataforexternal[] = ['id' => $row->id, 'courseid' => $row->courseid, 'userid' => $row->userid, 'fullname' => fullname($row), 'timemodified' => $row->completed_timemodified, 'responses' => $this->get_responses_for_external($row), ]
/mod/feedback/classes/external/feedback_item_exporter.php:1101return array('itemfiles' => array('type' => stored_file_exporter::read_properties_definition( ), 'multiple' => true), 'itemnumber' => array('type' => PARAM_INT, 'description' => 'The item position number', 'null' => NULL_ALLOWED), 'otherdata' => array('type' => PARAM_RAW, 'description' => 'Additional data that may be required by external functions', 'null' => NULL_ALLOWED), )
/mod/feedback/classes/event/response_submitted.php:681$event = self::create(array('relateduserid' => $completed->userid, 'objectid' => $completed->id, 'context' => \context_module::instance($cm->id), 'anonymous' => ($completed->anonymous_response == FEEDBACK_ANONYMOUS_YES), 'other' => array('cmid' => $cm->id, 'instanceid' => $completed->feedback, 'anonymous' => $completed->anonymous_response)))
/mod/feedback/classes/output/edit_action_bar.php:641$options = [$editurl->out(false) => get_string('add_item', 'feedback'), $templateurl->out(false) => get_string('using_templates', 'feedback'), $importurl->out(false) => get_string('import_questions', 'feedback')]
/mod/feedback/classes/external/feedback_summary_exporter.php:1331return array('coursemodule' => array('type' => PARAM_INT), 'introfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true), 'pageaftersubmitfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), )
/mod/feedback/tests/dates_test.php:533return ['without any dates' => [null, null, [ ]], 'only with opening time' => [$after, null, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ]], 'only with closing time' => [null, $after, [['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'with both times' => [$after, $later, [['label' => 'Opens:', 'timestamp' => $after, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $later, 'dataid' => 'timeclose'], ]], 'between the dates' => [$before, $after, [['label' => 'Opened:', 'timestamp' => $before, 'dataid' => 'timeopen'], ['label' => 'Closes:', 'timestamp' => $after, 'dataid' => 'timeclose'], ]], 'dates are past' => [$earlier, $before, [['label' => 'Opened:', 'timestamp' => $earlier, 'dataid' => 'timeopen'], ['label' => 'Closed:', 'timestamp' => $before, 'dataid' => 'timeclose'], ]], ]
/mod/feedback/tests/lib_test.php:6911$event = new \calendar_event(['name' => 'Test event', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'feedback', 'instance' => $feedback->id, 'eventtype' => 'SOME UNKNOWN EVENT', 'timestart' => $timeopen, 'timeduration' => 86400, 'visible' => 1])
/mod/feedback/classes/event/course_module_viewed.php:621$event = self::create(array('objectid' => $feedback->id, 'context' => \context_module::instance($cm->id), 'anonymous' => ($feedback->anonymous == FEEDBACK_ANONYMOUS_YES), 'other' => array('anonymous' => $feedback->anonymous)))
/mod/feedback/classes/event/response_deleted.php:661$event = self::create(array('relateduserid' => $completed->userid, 'objectid' => $completed->id, 'courseid' => $cm->course, 'context' => \context_module::instance($cm->id), 'anonymous' => ($completed->anonymous_response == FEEDBACK_ANONYMOUS_YES), 'other' => array('cmid' => $cm->id, 'instanceid' => $feedback->id, 'anonymous' => $completed->anonymous_response)))
/lib/google/src/Google/Service/Analytics.php:2581$this->management_accountSummaries = new Google_Service_Analytics_ManagementAccountSummaries_Resource($this, $this->serviceName, 'accountSummaries', array('methods' => array('list' => array('path' => 'management/accountSummaries', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:2171$this->data_realtime = new Google_Service_Analytics_DataRealtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array('get' => array('path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'sort' => array('location' => 'query', 'type' => 'string', ), 'dimensions' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:3491$this->management_accounts = new Google_Service_Analytics_ManagementAccounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('list' => array('path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:2811$this->management_accountUserLinks = new Google_Service_Analytics_ManagementAccountUserLinks_Resource($this, $this->serviceName, 'accountUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Drive.php:12391$this->revisions = new Google_Service_Drive_Revisions_Resource($this, $this->serviceName, 'revisions', array('methods' => array('delete' => array('path' => 'files/{fileId}/revisions/{revisionId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{fileId}/revisions/{revisionId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{fileId}/revisions', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'files/{fileId}/revisions/{revisionId}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'files/{fileId}/revisions/{revisionId}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Drive.php:11031$this->replies = new Google_Service_Drive_Replies_Resource($this, $this->serviceName, 'replies', array('methods' => array('delete' => array('path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'insert' => array('path' => 'files/{fileId}/comments/{commentId}/replies', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{fileId}/comments/{commentId}/replies', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:1581$this->data_mcf = new Google_Service_Analytics_DataMcf_Resource($this, $this->serviceName, 'mcf', array('methods' => array('get' => array('path' => 'data/mcf', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'sort' => array('location' => 'query', 'type' => 'string', ), 'dimensions' => array('location' => 'query', 'type' => 'string', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), 'samplingLevel' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:911$this->data_ga = new Google_Service_Analytics_DataGa_Resource($this, $this->serviceName, 'ga', array('methods' => array('get' => array('path' => 'data/ga', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'sort' => array('location' => 'query', 'type' => 'string', ), 'dimensions' => array('location' => 'query', 'type' => 'string', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), 'segment' => array('location' => 'query', 'type' => 'string', ), 'samplingLevel' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), 'output' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:8931$this->management_goals = new Google_Service_Analytics_ManagementGoals_Resource($this, $this->serviceName, 'goals', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:7951$this->management_filters = new Google_Service_Analytics_ManagementFilters_Resource($this, $this->serviceName, 'filters', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:11841$this->management_profileUserLinks = new Google_Service_Analytics_ManagementProfileUserLinks_Resource($this, $this->serviceName, 'profileUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:10261$this->management_profileFilterLinks = new Google_Service_Analytics_ManagementProfileFilterLinks_Resource($this, $this->serviceName, 'profileFilterLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:4051$this->management_customDimensions = new Google_Service_Analytics_ManagementCustomDimensions_Resource($this, $this->serviceName, 'customDimensions', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDimensionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:3721$this->management_customDataSources = new Google_Service_Analytics_ManagementCustomDataSources_Resource($this, $this->serviceName, 'customDataSources', array('methods' => array('list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:6371$this->management_experiments = new Google_Service_Analytics_ManagementExperiments_Resource($this, $this->serviceName, 'experiments', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:5211$this->management_customMetrics = new Google_Service_Analytics_ManagementCustomMetrics_Resource($this, $this->serviceName, 'customMetrics', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customMetricId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ignoreCustomDataSourceLinks' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:16291$this->management_webPropertyAdWordsLinks = new Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource($this, $this->serviceName, 'webPropertyAdWordsLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:17571$this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource($this, $this->serviceName, 'webproperties', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:18401$this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource($this, $this->serviceName, 'webpropertyUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:19281$this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource($this, $this->serviceName, 'columns', array('methods' => array('list' => array('path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => array('reportType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:12921$this->management_profiles = new Google_Service_Analytics_ManagementProfiles_Resource($this, $this->serviceName, 'profiles', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:14201$this->management_segments = new Google_Service_Analytics_ManagementSegments_Resource($this, $this->serviceName, 'segments', array('methods' => array('list' => array('path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:14431$this->management_unsampledReports = new Google_Service_Analytics_ManagementUnsampledReports_Resource($this, $this->serviceName, 'unsampledReports', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'unsampledReportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Analytics.php:15261$this->management_uploads = new Google_Service_Analytics_ManagementUploads_Resource($this, $this->serviceName, 'uploads', array('methods' => array('deleteUploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'uploadId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), ), ), 'uploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/CloudMonitoring.php:1161$this->timeseries = new Google_Service_CloudMonitoring_Timeseries_Resource($this, $this->serviceName, 'timeseries', array('methods' => array('list' => array('path' => '{project}/timeseries/{metric}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'metric' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'youngest' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'count' => array('location' => 'query', 'type' => 'integer', ), 'timespan' => array('location' => 'query', 'type' => 'string', ), 'aggregator' => array('location' => 'query', 'type' => 'string', ), 'labels' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'window' => array('location' => 'query', 'type' => 'string', ), 'oldest' => array('location' => 'query', 'type' => 'string', ), ), ), 'write' => array('path' => '{project}/timeseries:write', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/CloudMonitoring.php:1851$this->timeseriesDescriptors = new Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource($this, $this->serviceName, 'timeseriesDescriptors', array('methods' => array('list' => array('path' => '{project}/timeseriesDescriptors/{metric}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'metric' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'youngest' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'count' => array('location' => 'query', 'type' => 'integer', ), 'timespan' => array('location' => 'query', 'type' => 'string', ), 'aggregator' => array('location' => 'query', 'type' => 'string', ), 'labels' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'window' => array('location' => 'query', 'type' => 'string', ), 'oldest' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:811$this->accounts = new Google_Service_TagManager_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'update' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:1191$this->accounts_containers = new Google_Service_TagManager_AccountsContainers_Resource($this, $this->serviceName, 'containers', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Webfonts.php:521$this->webfonts = new Google_Service_Webfonts_Webfonts_Resource($this, $this->serviceName, 'webfonts', array('methods' => array('list' => array('path' => 'webfonts', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Replicapoolupdater.php:651$this->rollingUpdates = new Google_Service_Replicapoolupdater_RollingUpdates_Resource($this, $this->serviceName, 'rollingUpdates', array('methods' => array('cancel' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/rollingUpdates', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/rollingUpdates', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listInstanceUpdates' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'pause' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resume' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'rollback' => array('path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Replicapoolupdater.php:2491$this->zoneOperations = new Google_Service_Replicapoolupdater_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/CloudMonitoring.php:591$this->metricDescriptors = new Google_Service_CloudMonitoring_MetricDescriptors_Resource($this, $this->serviceName, 'metricDescriptors', array('methods' => array('create' => array('path' => '{project}/metricDescriptors', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/metricDescriptors/{metric}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'metric' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/metricDescriptors', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'count' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:8611$this->accounts_permissions = new Google_Service_TagManager_AccountsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('create' => array('path' => 'accounts/{accountId}/permissions', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/permissions/{permissionId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/permissions/{permissionId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/permissions', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/permissions/{permissionId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:6891$this->accounts_containers_versions = new Google_Service_TagManager_AccountsContainersVersions_Resource($this, $this->serviceName, 'versions', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'headers' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'publish' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), 'restore' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'undelete' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerVersionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:5851$this->accounts_containers_variables = new Google_Service_TagManager_AccountsContainersVariables_Resource($this, $this->serviceName, 'variables', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers/{containerId}/variables', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'variableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'variableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers/{containerId}/variables', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}/variables/{variableId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'variableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:4811$this->accounts_containers_triggers = new Google_Service_TagManager_AccountsContainersTriggers_Resource($this, $this->serviceName, 'triggers', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers/{containerId}/triggers', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'triggerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'triggerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers/{containerId}/triggers', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}/triggers/{triggerId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'triggerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:3771$this->accounts_containers_tags = new Google_Service_TagManager_AccountsContainersTags_Resource($this, $this->serviceName, 'tags', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers/{containerId}/tags', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tagId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tagId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers/{containerId}/tags', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}/tags/{tagId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tagId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:3321$this->accounts_containers_move_folders = new Google_Service_TagManager_AccountsContainersMoveFolders_Resource($this, $this->serviceName, 'move_folders', array('methods' => array('update' => array('path' => 'accounts/{accountId}/containers/{containerId}/move_folders/{folderId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'variableId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'tagId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'triggerId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:3021$this->accounts_containers_folders_entities = new Google_Service_TagManager_AccountsContainersFoldersEntities_Resource($this, $this->serviceName, 'entities', array('methods' => array('list' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/TagManager.php:1981$this->accounts_containers_folders = new Google_Service_TagManager_AccountsContainersFolders_Resource($this, $this->serviceName, 'folders', array('methods' => array('create' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/containers/{containerId}/folders/{folderId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'containerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:891$this->activities = new Google_Service_YouTube_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('insert' => array('path' => 'activities', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'regionCode' => array('location' => 'query', 'type' => 'string', ), 'publishedBefore' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'home' => array('location' => 'query', 'type' => 'boolean', ), 'publishedAfter' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AppState.php:541$this->states = new Google_Service_AppState_States_Resource($this, $this->serviceName, 'states', array('methods' => array('clear' => array('path' => 'states/{stateKey}/clear', 'httpMethod' => 'POST', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'currentDataVersion' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'states/{stateKey}', 'httpMethod' => 'DELETE', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => 'states/{stateKey}', 'httpMethod' => 'GET', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'list' => array('path' => 'states', 'httpMethod' => 'GET', 'parameters' => array('includeData' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'states/{stateKey}', 'httpMethod' => 'PUT', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'currentStateVersion' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/DataTransfer.php:951$this->transfers = new Google_Service_DataTransfer_Transfers_Resource($this, $this->serviceName, 'transfers', array('methods' => array('get' => array('path' => 'transfers/{dataTransferId}', 'httpMethod' => 'GET', 'parameters' => array('dataTransferId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'transfers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'transfers', 'httpMethod' => 'GET', 'parameters' => array('status' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'newOwnerUserId' => array('location' => 'query', 'type' => 'string', ), 'oldOwnerUserId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/DataTransfer.php:581$this->applications = new Google_Service_DataTransfer_Applications_Resource($this, $this->serviceName, 'applications', array('methods' => array('get' => array('path' => 'applications/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'applications', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Fitness.php:2771$this->users_sessions = new Google_Service_Fitness_UsersSessions_Resource($this, $this->serviceName, 'sessions', array('methods' => array('delete' => array('path' => '{userId}/sessions/{sessionId}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sessionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'currentTimeMillis' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{userId}/sessions', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => '{userId}/sessions/{sessionId}', 'httpMethod' => 'PUT', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sessionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'currentTimeMillis' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Fitness.php:2571$this->users_dataset = new Google_Service_Fitness_UsersDataset_Resource($this, $this->serviceName, 'dataset', array('methods' => array('aggregate' => array('path' => '{userId}/dataset:aggregate', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Fitness.php:1671$this->users_dataSources_datasets = new Google_Service_Fitness_UsersDataSourcesDatasets_Resource($this, $this->serviceName, 'datasets', array('methods' => array('delete' => array('path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modifiedTimeMillis' => array('location' => 'query', 'type' => 'string', ), 'currentTimeMillis' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'limit' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', 'httpMethod' => 'PATCH', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'currentTimeMillis' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Fitness.php:721$this->users_dataSources = new Google_Service_Fitness_UsersDataSources_Resource($this, $this->serviceName, 'dataSources', array('methods' => array('create' => array('path' => '{userId}/dataSources', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{userId}/dataSources/{dataSourceId}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{userId}/dataSources/{dataSourceId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{userId}/dataSources', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataTypeName' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => '{userId}/dataSources/{dataSourceId}', 'httpMethod' => 'PATCH', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{userId}/dataSources/{dataSourceId}', 'httpMethod' => 'PUT', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:6341$this->guideCategories = new Google_Service_YouTube_GuideCategories_Resource($this, $this->serviceName, 'guideCategories', array('methods' => array('list' => array('path' => 'guideCategories', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'regionCode' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'hl' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:6661$this->i18nLanguages = new Google_Service_YouTube_I18nLanguages_Resource($this, $this->serviceName, 'i18nLanguages', array('methods' => array('list' => array('path' => 'i18nLanguages', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'hl' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:4551$this->commentThreads = new Google_Service_YouTube_CommentThreads_Resource($this, $this->serviceName, 'commentThreads', array('methods' => array('insert' => array('path' => 'commentThreads', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'commentThreads', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'searchTerms' => array('location' => 'query', 'type' => 'string', ), 'allThreadsRelatedToChannelId' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'videoId' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'moderationStatus' => array('location' => 'query', 'type' => 'string', ), 'textFormat' => array('location' => 'query', 'type' => 'string', ), 'order' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'commentThreads', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:5351$this->comments = new Google_Service_YouTube_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('delete' => array('path' => 'comments', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'comments', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'comments', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'parentId' => array('location' => 'query', 'type' => 'string', ), 'textFormat' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'markAsSpam' => array('path' => 'comments/markAsSpam', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'setModerationStatus' => array('path' => 'comments/setModerationStatus', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'moderationStatus' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'banAuthor' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'comments', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:2951$this->channelSections = new Google_Service_YouTube_ChannelSections_Resource($this, $this->serviceName, 'channelSections', array('methods' => array('delete' => array('path' => 'channelSections', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'channelSections', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'channelSections', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'hl' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'channelSections', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:3811$this->channels = new Google_Service_YouTube_Channels_Resource($this, $this->serviceName, 'channels', array('methods' => array('list' => array('path' => 'channels', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'managedByMe' => array('location' => 'query', 'type' => 'boolean', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'forUsername' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'mySubscribers' => array('location' => 'query', 'type' => 'boolean', ), 'hl' => array('location' => 'query', 'type' => 'string', ), 'categoryId' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'channels', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:1511$this->captions = new Google_Service_YouTube_Captions_Resource($this, $this->serviceName, 'captions', array('methods' => array('delete' => array('path' => 'captions', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOf' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'download' => array('path' => 'captions/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tfmt' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOf' => array('location' => 'query', 'type' => 'string', ), 'tlang' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'captions', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOf' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'sync' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'captions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'videoId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOf' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'captions', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOf' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'sync' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:2761$this->channelBanners = new Google_Service_YouTube_ChannelBanners_Resource($this, $this->serviceName, 'channelBanners', array('methods' => array('insert' => array('path' => 'channelBanners/insert', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:13471$this->subscriptions = new Google_Service_YouTube_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('delete' => array('path' => 'subscriptions', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'subscriptions', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'forChannelId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'mySubscribers' => array('location' => 'query', 'type' => 'boolean', ), 'order' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:14271$this->thumbnails = new Google_Service_YouTube_Thumbnails_Resource($this, $this->serviceName, 'thumbnails', array('methods' => array('set' => array('path' => 'thumbnails/set', 'httpMethod' => 'POST', 'parameters' => array('videoId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:11091$this->playlists = new Google_Service_YouTube_Playlists_Resource($this, $this->serviceName, 'playlists', array('methods' => array('delete' => array('path' => 'playlists', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'playlists', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'playlists', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'hl' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'playlists', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:12071$this->search = new Google_Service_YouTube_Search_Resource($this, $this->serviceName, 'search', array('methods' => array('list' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'eventType' => array('location' => 'query', 'type' => 'string', ), 'channelId' => array('location' => 'query', 'type' => 'string', ), 'forDeveloper' => array('location' => 'query', 'type' => 'boolean', ), 'videoSyndicated' => array('location' => 'query', 'type' => 'string', ), 'channelType' => array('location' => 'query', 'type' => 'string', ), 'videoCaption' => array('location' => 'query', 'type' => 'string', ), 'publishedAfter' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'forContentOwner' => array('location' => 'query', 'type' => 'boolean', ), 'regionCode' => array('location' => 'query', 'type' => 'string', ), 'location' => array('location' => 'query', 'type' => 'string', ), 'locationRadius' => array('location' => 'query', 'type' => 'string', ), 'videoType' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', ), 'topicId' => array('location' => 'query', 'type' => 'string', ), 'publishedBefore' => array('location' => 'query', 'type' => 'string', ), 'videoDimension' => array('location' => 'query', 'type' => 'string', ), 'videoLicense' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'relatedToVideoId' => array('location' => 'query', 'type' => 'string', ), 'videoDefinition' => array('location' => 'query', 'type' => 'string', ), 'videoDuration' => array('location' => 'query', 'type' => 'string', ), 'relevanceLanguage' => array('location' => 'query', 'type' => 'string', ), 'forMine' => array('location' => 'query', 'type' => 'boolean', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'safeSearch' => array('location' => 'query', 'type' => 'string', ), 'videoEmbeddable' => array('location' => 'query', 'type' => 'string', ), 'videoCategoryId' => array('location' => 'query', 'type' => 'string', ), 'order' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:9331$this->liveStreams = new Google_Service_YouTube_LiveStreams_Resource($this, $this->serviceName, 'liveStreams', array('methods' => array('delete' => array('path' => 'liveStreams', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'liveStreams', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'liveStreams', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'liveStreams', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:10311$this->playlistItems = new Google_Service_YouTube_PlaylistItems_Resource($this, $this->serviceName, 'playlistItems', array('methods' => array('delete' => array('path' => 'playlistItems', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'playlistItems', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'playlistItems', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'playlistId' => array('location' => 'query', 'type' => 'string', ), 'videoId' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'playlistItems', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:6901$this->i18nRegions = new Google_Service_YouTube_I18nRegions_Resource($this, $this->serviceName, 'i18nRegions', array('methods' => array('list' => array('path' => 'i18nRegions', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'hl' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:7141$this->liveBroadcasts = new Google_Service_YouTube_LiveBroadcasts_Resource($this, $this->serviceName, 'liveBroadcasts', array('methods' => array('bind' => array('path' => 'liveBroadcasts/bind', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'streamId' => array('location' => 'query', 'type' => 'string', ), ), ), 'bind_direct' => array('path' => 'liveBroadcasts/bind/direct', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'streamId' => array('location' => 'query', 'type' => 'string', ), ), ), 'control' => array('path' => 'liveBroadcasts/control', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'displaySlate' => array('location' => 'query', 'type' => 'boolean', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'offsetTimeMs' => array('location' => 'query', 'type' => 'string', ), 'walltime' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'liveBroadcasts', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'liveBroadcasts', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'liveBroadcasts', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'broadcastStatus' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'transition' => array('path' => 'liveBroadcasts/transition', 'httpMethod' => 'POST', 'parameters' => array('broadcastStatus' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'liveBroadcasts', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:28721$this->orderDocuments = new Google_Service_Dfareporting_OrderDocuments_Resource($this, $this->serviceName, 'orderDocuments', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/orderDocuments', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'siteId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'approved' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:28371$this->operatingSystems = new Google_Service_Dfareporting_OperatingSystems_Resource($this, $this->serviceName, 'operatingSystems', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/operatingSystems/{dartId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dartId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/operatingSystems', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:30311$this->placementGroups = new Google_Service_Dfareporting_PlacementGroups_Resource($this, $this->serviceName, 'placementGroups', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/placementGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/placementGroups', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/placementGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'placementStrategyIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'archived' => array('location' => 'query', 'type' => 'boolean', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'contentCategoryIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'directorySiteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'placementGroupType' => array('location' => 'query', 'type' => 'string', ), 'pricingTypes' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'siteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'campaignIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/placementGroups', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/placementGroups', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:29561$this->orders = new Google_Service_Dfareporting_Orders_Resource($this, $this->serviceName, 'orders', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/orders/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/orders', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'siteId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:32791$this->placements = new Google_Service_Dfareporting_Placements_Resource($this, $this->serviceName, 'placements', array('methods' => array('generatetags' => array('path' => 'userprofiles/{profileId}/placements/generatetags', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tagFormats' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'placementIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'campaignId' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/placements/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/placements', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/placements', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'placementStrategyIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'archived' => array('location' => 'query', 'type' => 'boolean', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'contentCategoryIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'directorySiteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'paymentSource' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'sizeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'compatibilities' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'groupIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pricingTypes' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'siteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'campaignIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/placements', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/placements', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:31691$this->placementStrategies = new Google_Service_Dfareporting_PlacementStrategies_Resource($this, $this->serviceName, 'placementStrategies', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/placementStrategies/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/placementStrategies/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/placementStrategies', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/placementStrategies', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/placementStrategies', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/placementStrategies', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:34911$this->postalCodes = new Google_Service_Dfareporting_PostalCodes_Resource($this, $this->serviceName, 'postalCodes', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/postalCodes/{code}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'code' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/postalCodes', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:34561$this->platformTypes = new Google_Service_Dfareporting_PlatformTypes_Resource($this, $this->serviceName, 'platformTypes', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/platformTypes/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/platformTypes', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:35911$this->regions = new Google_Service_Dfareporting_Regions_Resource($this, $this->serviceName, 'regions', array('methods' => array('list' => array('path' => 'userprofiles/{profileId}/regions', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:35261$this->projects = new Google_Service_Dfareporting_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/projects/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/projects', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:36611$this->remarketingLists = new Google_Service_Dfareporting_RemarketingLists_Resource($this, $this->serviceName, 'remarketingLists', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/remarketingLists/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/remarketingLists', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/remarketingLists', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'advertiserId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'name' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'active' => array('location' => 'query', 'type' => 'boolean', ), 'floodlightActivityId' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/remarketingLists', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/remarketingLists', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:36111$this->remarketingListShares = new Google_Service_Dfareporting_RemarketingListShares_Resource($this, $this->serviceName, 'remarketingListShares', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'remarketingListId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/remarketingListShares', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'remarketingListId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/remarketingListShares', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:38931$this->reports_compatibleFields = new Google_Service_Dfareporting_ReportsCompatibleFields_Resource($this, $this->serviceName, 'compatibleFields', array('methods' => array('query' => array('path' => 'userprofiles/{profileId}/reports/compatiblefields/query', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:37641$this->reports = new Google_Service_Dfareporting_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/reports/{reportId}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/reports/{reportId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/reports', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/reports', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'scope' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/reports/{reportId}', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'run' => array('path' => 'userprofiles/{profileId}/reports/{reportId}/run', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'synchronous' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/reports/{reportId}', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:39741$this->sites = new Google_Service_Dfareporting_Sites_Resource($this, $this->serviceName, 'sites', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/sites/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/sites', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/sites', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'acceptsInterstitialPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'subaccountId' => array('location' => 'query', 'type' => 'string', ), 'directorySiteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'acceptsInStreamVideoPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'acceptsPublisherPaidPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'adWordsSite' => array('location' => 'query', 'type' => 'boolean', ), 'unmappedSite' => array('location' => 'query', 'type' => 'boolean', ), 'approved' => array('location' => 'query', 'type' => 'boolean', ), 'campaignIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/sites', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/sites', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:39131$this->reports_files = new Google_Service_Dfareporting_ReportsFiles_Resource($this, $this->serviceName, 'files', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/reports/{reportId}/files', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:41071$this->sizes = new Google_Service_Dfareporting_Sizes_Resource($this, $this->serviceName, 'sizes', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/sizes/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/sizes', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/sizes', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'iabStandard' => array('location' => 'query', 'type' => 'boolean', ), 'width' => array('location' => 'query', 'type' => 'integer', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'height' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:41691$this->subaccounts = new Google_Service_Dfareporting_Subaccounts_Resource($this, $this->serviceName, 'subaccounts', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/subaccounts/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/subaccounts', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/subaccounts', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/subaccounts', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/subaccounts', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:42641$this->targetableRemarketingLists = new Google_Service_Dfareporting_TargetableRemarketingLists_Resource($this, $this->serviceName, 'targetableRemarketingLists', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/targetableRemarketingLists/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/targetableRemarketingLists', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'advertiserId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'name' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'active' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:43281$this->userProfiles = new Google_Service_Dfareporting_UserProfiles_Resource($this, $this->serviceName, 'userProfiles', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:43521$this->userRolePermissionGroups = new Google_Service_Dfareporting_UserRolePermissionGroups_Resource($this, $this->serviceName, 'userRolePermissionGroups', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/userRolePermissionGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/userRolePermissionGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:43871$this->userRolePermissions = new Google_Service_Dfareporting_UserRolePermissions_Resource($this, $this->serviceName, 'userRolePermissions', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/userRolePermissions/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/userRolePermissions', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:44271$this->userRoles = new Google_Service_Dfareporting_UserRoles_Resource($this, $this->serviceName, 'userRoles', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/userRoles/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/userRoles/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/userRoles', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/userRoles', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'subaccountId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'accountUserRoleOnly' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/userRoles', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/userRoles', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:1481$this->asps = new Google_Service_Directory_Asps_Resource($this, $this->serviceName, 'asps', array('methods' => array('delete' => array('path' => 'users/{userKey}/asps/{codeId}', 'httpMethod' => 'DELETE', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'codeId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => 'users/{userKey}/asps/{codeId}', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'codeId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'list' => array('path' => 'users/{userKey}/asps', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:2121$this->chromeosdevices = new Google_Service_Directory_Chromeosdevices_Resource($this, $this->serviceName, 'chromeosdevices', array('methods' => array('get' => array('path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'customer/{customerId}/devices/chromeos', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 'httpMethod' => 'PATCH', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'customer/{customerId}/devices/chromeos/{deviceId}', 'httpMethod' => 'PUT', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Directory.php:3131$this->customers = new Google_Service_Directory_Customers_Resource($this, $this->serviceName, 'customers', array('methods' => array('get' => array('path' => 'customers/{customerKey}', 'httpMethod' => 'GET', 'parameters' => array('customerKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'customers/{customerKey}', 'httpMethod' => 'PATCH', 'parameters' => array('customerKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'customers/{customerKey}', 'httpMethod' => 'PUT', 'parameters' => array('customerKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:3531$this->domainAliases = new Google_Service_Directory_DomainAliases_Resource($this, $this->serviceName, 'domainAliases', array('methods' => array('delete' => array('path' => 'customer/{customer}/domainaliases/{domainAliasName}', 'httpMethod' => 'DELETE', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'domainAliasName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customer}/domainaliases/{domainAliasName}', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'domainAliasName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customer}/domainaliases', 'httpMethod' => 'POST', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customer}/domainaliases', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parentDomainName' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Directory.php:4171$this->domains = new Google_Service_Directory_Domains_Resource($this, $this->serviceName, 'domains', array('methods' => array('delete' => array('path' => 'customer/{customer}/domains/{domainName}', 'httpMethod' => 'DELETE', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'domainName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customer}/domains/{domainName}', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'domainName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customer}/domains', 'httpMethod' => 'POST', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customer}/domains', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:4771$this->groups = new Google_Service_Directory_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('delete' => array('path' => 'groups/{groupKey}', 'httpMethod' => 'DELETE', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'groups/{groupKey}', 'httpMethod' => 'GET', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'groups', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'groups', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'domain' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'userKey' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'groups/{groupKey}', 'httpMethod' => 'PATCH', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'groups/{groupKey}', 'httpMethod' => 'PUT', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:5561$this->groups_aliases = new Google_Service_Directory_GroupsAliases_Resource($this, $this->serviceName, 'aliases', array('methods' => array('delete' => array('path' => 'groups/{groupKey}/aliases/{alias}', 'httpMethod' => 'DELETE', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'alias' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'groups/{groupKey}/aliases', 'httpMethod' => 'POST', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'groups/{groupKey}/aliases', 'httpMethod' => 'GET', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:6011$this->members = new Google_Service_Directory_Members_Resource($this, $this->serviceName, 'members', array('methods' => array('delete' => array('path' => 'groups/{groupKey}/members/{memberKey}', 'httpMethod' => 'DELETE', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'memberKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'groups/{groupKey}/members/{memberKey}', 'httpMethod' => 'GET', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'memberKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'groups/{groupKey}/members', 'httpMethod' => 'POST', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'groups/{groupKey}/members', 'httpMethod' => 'GET', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'roles' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'groups/{groupKey}/members/{memberKey}', 'httpMethod' => 'PATCH', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'memberKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'groups/{groupKey}/members/{memberKey}', 'httpMethod' => 'PUT', 'parameters' => array('groupKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'memberKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:7031$this->mobiledevices = new Google_Service_Directory_Mobiledevices_Resource($this, $this->serviceName, 'mobiledevices', array('methods' => array('action' => array('path' => 'customer/{customerId}/devices/mobile/{resourceId}/action', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'customer/{customerId}/devices/mobile/{resourceId}', 'httpMethod' => 'DELETE', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customerId}/devices/mobile/{resourceId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'customer/{customerId}/devices/mobile', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Directory.php:10101$this->roleAssignments = new Google_Service_Directory_RoleAssignments_Resource($this, $this->serviceName, 'roleAssignments', array('methods' => array('delete' => array('path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 'httpMethod' => 'DELETE', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleAssignmentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customer}/roleassignments/{roleAssignmentId}', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleAssignmentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customer}/roleassignments', 'httpMethod' => 'POST', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customer}/roleassignments', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'userKey' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'roleId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Directory.php:9901$this->privileges = new Google_Service_Directory_Privileges_Resource($this, $this->serviceName, 'privileges', array('methods' => array('list' => array('path' => 'customer/{customer}/roles/ALL/privileges', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:8881$this->orgunits = new Google_Service_Directory_Orgunits_Resource($this, $this->serviceName, 'orgunits', array('methods' => array('delete' => array('path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 'httpMethod' => 'DELETE', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orgUnitPath' => array('location' => 'path', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orgUnitPath' => array('location' => 'path', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customerId}/orgunits', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customerId}/orgunits', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'type' => array('location' => 'query', 'type' => 'string', ), 'orgUnitPath' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 'httpMethod' => 'PATCH', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orgUnitPath' => array('location' => 'path', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), 'update' => array('path' => 'customer/{customerId}/orgunits{/orgUnitPath*}', 'httpMethod' => 'PUT', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orgUnitPath' => array('location' => 'path', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:7961$this->notifications = new Google_Service_Directory_Notifications_Resource($this, $this->serviceName, 'notifications', array('methods' => array('delete' => array('path' => 'customer/{customer}/notifications/{notificationId}', 'httpMethod' => 'DELETE', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'notificationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customer}/notifications/{notificationId}', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'notificationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customer}/notifications', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'customer/{customer}/notifications/{notificationId}', 'httpMethod' => 'PATCH', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'notificationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'customer/{customer}/notifications/{notificationId}', 'httpMethod' => 'PUT', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'notificationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:13241$this->users = new Google_Service_Directory_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('delete' => array('path' => 'users/{userKey}', 'httpMethod' => 'DELETE', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'users/{userKey}', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'viewType' => array('location' => 'query', 'type' => 'string', ), 'customFieldMask' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'users', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'users', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'query', 'type' => 'string', ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'domain' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'string', ), 'customFieldMask' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), 'viewType' => array('location' => 'query', 'type' => 'string', ), 'event' => array('location' => 'query', 'type' => 'string', ), ), ), 'makeAdmin' => array('path' => 'users/{userKey}/makeAdmin', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'users/{userKey}', 'httpMethod' => 'PATCH', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'undelete' => array('path' => 'users/{userKey}/undelete', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'users/{userKey}', 'httpMethod' => 'PUT', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'watch' => array('path' => 'users/watch', 'httpMethod' => 'POST', 'parameters' => array('customer' => array('location' => 'query', 'type' => 'string', ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'domain' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'string', ), 'customFieldMask' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), 'viewType' => array('location' => 'query', 'type' => 'string', ), 'event' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Directory.php:12741$this->tokens = new Google_Service_Directory_Tokens_Resource($this, $this->serviceName, 'tokens', array('methods' => array('delete' => array('path' => 'users/{userKey}/tokens/{clientId}', 'httpMethod' => 'DELETE', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'clientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'users/{userKey}/tokens/{clientId}', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'clientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'users/{userKey}/tokens', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:11841$this->schemas = new Google_Service_Directory_Schemas_Resource($this, $this->serviceName, 'schemas', array('methods' => array('delete' => array('path' => 'customer/{customerId}/schemas/{schemaKey}', 'httpMethod' => 'DELETE', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'schemaKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customerId}/schemas/{schemaKey}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'schemaKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customerId}/schemas', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customerId}/schemas', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'customer/{customerId}/schemas/{schemaKey}', 'httpMethod' => 'PATCH', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'schemaKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'customer/{customerId}/schemas/{schemaKey}', 'httpMethod' => 'PUT', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'schemaKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:10861$this->roles = new Google_Service_Directory_Roles_Resource($this, $this->serviceName, 'roles', array('methods' => array('delete' => array('path' => 'customer/{customer}/roles/{roleId}', 'httpMethod' => 'DELETE', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customer/{customer}/roles/{roleId}', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customer/{customer}/roles', 'httpMethod' => 'POST', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'customer/{customer}/roles', 'httpMethod' => 'GET', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'customer/{customer}/roles/{roleId}', 'httpMethod' => 'PATCH', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'customer/{customer}/roles/{roleId}', 'httpMethod' => 'PUT', 'parameters' => array('customer' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'roleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:621$this->customFieldDef = new Google_Service_Coordinate_CustomFieldDef_Resource($this, $this->serviceName, 'customFieldDef', array('methods' => array('list' => array('path' => 'teams/{teamId}/custom_fields', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:16291$this->verificationCodes = new Google_Service_Directory_VerificationCodes_Resource($this, $this->serviceName, 'verificationCodes', array('methods' => array('generate' => array('path' => 'users/{userKey}/verificationCodes/generate', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'invalidate' => array('path' => 'users/{userKey}/verificationCodes/invalidate', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'users/{userKey}/verificationCodes', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:15791$this->users_photos = new Google_Service_Directory_UsersPhotos_Resource($this, $this->serviceName, 'photos', array('methods' => array('delete' => array('path' => 'users/{userKey}/photos/thumbnail', 'httpMethod' => 'DELETE', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'users/{userKey}/photos/thumbnail', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'users/{userKey}/photos/thumbnail', 'httpMethod' => 'PATCH', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'users/{userKey}/photos/thumbnail', 'httpMethod' => 'PUT', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Directory.php:15161$this->users_aliases = new Google_Service_Directory_UsersAliases_Resource($this, $this->serviceName, 'aliases', array('methods' => array('delete' => array('path' => 'users/{userKey}/aliases/{alias}', 'httpMethod' => 'DELETE', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'alias' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'users/{userKey}/aliases', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'users/{userKey}/aliases', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'event' => array('location' => 'query', 'type' => 'string', ), ), ), 'watch' => array('path' => 'users/{userKey}/aliases/watch', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'event' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:4211$this->team = new Google_Service_Coordinate_Team_Resource($this, $this->serviceName, 'team', array('methods' => array('list' => array('path' => 'teams', 'httpMethod' => 'GET', 'parameters' => array('admin' => array('location' => 'query', 'type' => 'boolean', ), 'worker' => array('location' => 'query', 'type' => 'boolean', ), 'dispatcher' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:3341$this->schedule = new Google_Service_Coordinate_Schedule_Resource($this, $this->serviceName, 'schedule', array('methods' => array('get' => array('path' => 'teams/{teamId}/jobs/{jobId}/schedule', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'teams/{teamId}/jobs/{jobId}/schedule', 'httpMethod' => 'PATCH', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'allDay' => array('location' => 'query', 'type' => 'boolean', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'duration' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'teams/{teamId}/jobs/{jobId}/schedule', 'httpMethod' => 'PUT', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'allDay' => array('location' => 'query', 'type' => 'boolean', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'duration' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:2961$this->location = new Google_Service_Coordinate_Location_Resource($this, $this->serviceName, 'location', array('methods' => array('list' => array('path' => 'teams/{teamId}/workers/{workerEmail}/locations', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'workerEmail' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startTimestampMs' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:821$this->jobs = new Google_Service_Coordinate_Jobs_Resource($this, $this->serviceName, 'jobs', array('methods' => array('get' => array('path' => 'teams/{teamId}/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'teams/{teamId}/jobs', 'httpMethod' => 'POST', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'address' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'lat' => array('location' => 'query', 'type' => 'number', 'required' => true, ), 'lng' => array('location' => 'query', 'type' => 'number', 'required' => true, ), 'title' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'customerName' => array('location' => 'query', 'type' => 'string', ), 'note' => array('location' => 'query', 'type' => 'string', ), 'assignee' => array('location' => 'query', 'type' => 'string', ), 'customerPhoneNumber' => array('location' => 'query', 'type' => 'string', ), 'customField' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'list' => array('path' => 'teams/{teamId}/jobs', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'minModifiedTimestampMs' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'omitJobChanges' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'teams/{teamId}/jobs/{jobId}', 'httpMethod' => 'PATCH', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customerName' => array('location' => 'query', 'type' => 'string', ), 'title' => array('location' => 'query', 'type' => 'string', ), 'note' => array('location' => 'query', 'type' => 'string', ), 'assignee' => array('location' => 'query', 'type' => 'string', ), 'customerPhoneNumber' => array('location' => 'query', 'type' => 'string', ), 'address' => array('location' => 'query', 'type' => 'string', ), 'lat' => array('location' => 'query', 'type' => 'number', ), 'progress' => array('location' => 'query', 'type' => 'string', ), 'lng' => array('location' => 'query', 'type' => 'number', ), 'customField' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'update' => array('path' => 'teams/{teamId}/jobs/{jobId}', 'httpMethod' => 'PUT', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customerName' => array('location' => 'query', 'type' => 'string', ), 'title' => array('location' => 'query', 'type' => 'string', ), 'note' => array('location' => 'query', 'type' => 'string', ), 'assignee' => array('location' => 'query', 'type' => 'string', ), 'customerPhoneNumber' => array('location' => 'query', 'type' => 'string', ), 'address' => array('location' => 'query', 'type' => 'string', ), 'lat' => array('location' => 'query', 'type' => 'number', ), 'progress' => array('location' => 'query', 'type' => 'string', ), 'lng' => array('location' => 'query', 'type' => 'number', ), 'customField' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Calendar.php:1961$this->calendarList = new Google_Service_Calendar_CalendarList_Resource($this, $this->serviceName, 'calendarList', array('methods' => array('delete' => array('path' => 'users/me/calendarList/{calendarId}', 'httpMethod' => 'DELETE', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'users/me/calendarList/{calendarId}', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'users/me/calendarList', 'httpMethod' => 'POST', 'parameters' => array('colorRgbFormat' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'users/me/calendarList', 'httpMethod' => 'GET', 'parameters' => array('syncToken' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'minAccessRole' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'showHidden' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'users/me/calendarList/{calendarId}', 'httpMethod' => 'PATCH', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'colorRgbFormat' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'users/me/calendarList/{calendarId}', 'httpMethod' => 'PUT', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'colorRgbFormat' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'watch' => array('path' => 'users/me/calendarList/watch', 'httpMethod' => 'POST', 'parameters' => array('syncToken' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'minAccessRole' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'showHidden' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Calendar.php:3211$this->calendars = new Google_Service_Calendar_Calendars_Resource($this, $this->serviceName, 'calendars', array('methods' => array('clear' => array('path' => 'calendars/{calendarId}/clear', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'calendars/{calendarId}', 'httpMethod' => 'DELETE', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'calendars/{calendarId}', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'calendars', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'patch' => array('path' => 'calendars/{calendarId}', 'httpMethod' => 'PATCH', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'calendars/{calendarId}', 'httpMethod' => 'PUT', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Coordinate.php:4481$this->worker = new Google_Service_Coordinate_Worker_Resource($this, $this->serviceName, 'worker', array('methods' => array('list' => array('path' => 'teams/{teamId}/workers', 'httpMethod' => 'GET', 'parameters' => array('teamId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Calendar.php:641$this->acl = new Google_Service_Calendar_Acl_Resource($this, $this->serviceName, 'acl', array('methods' => array('delete' => array('path' => 'calendars/{calendarId}/acl/{ruleId}', 'httpMethod' => 'DELETE', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ruleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'calendars/{calendarId}/acl/{ruleId}', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ruleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'calendars/{calendarId}/acl', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'calendars/{calendarId}/acl', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'calendars/{calendarId}/acl/{ruleId}', 'httpMethod' => 'PATCH', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ruleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'calendars/{calendarId}/acl/{ruleId}', 'httpMethod' => 'PUT', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ruleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'watch' => array('path' => 'calendars/{calendarId}/acl/watch', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:901$this->about = new Google_Service_Drive_About_Resource($this, $this->serviceName, 'about', array('methods' => array('get' => array('path' => 'about', 'httpMethod' => 'GET', 'parameters' => array('includeSubscribed' => array('location' => 'query', 'type' => 'boolean', ), 'maxChangeIdCount' => array('location' => 'query', 'type' => 'string', ), 'startChangeId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:1171$this->apps = new Google_Service_Drive_Apps_Resource($this, $this->serviceName, 'apps', array('methods' => array('get' => array('path' => 'apps/{appId}', 'httpMethod' => 'GET', 'parameters' => array('appId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'apps', 'httpMethod' => 'GET', 'parameters' => array('languageCode' => array('location' => 'query', 'type' => 'string', ), 'appFilterExtensions' => array('location' => 'query', 'type' => 'string', ), 'appFilterMimeTypes' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Calendar.php:4131$this->events = new Google_Service_Calendar_Events_Resource($this, $this->serviceName, 'events', array('methods' => array('delete' => array('path' => 'calendars/{calendarId}/events/{eventId}', 'httpMethod' => 'DELETE', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => 'calendars/{calendarId}/events/{eventId}', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timeZone' => array('location' => 'query', 'type' => 'string', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'import' => array('path' => 'calendars/{calendarId}/events/import', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'supportsAttachments' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'insert' => array('path' => 'calendars/{calendarId}/events', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'supportsAttachments' => array('location' => 'query', 'type' => 'boolean', ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'instances' => array('path' => 'calendars/{calendarId}/events/{eventId}/instances', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'timeMax' => array('location' => 'query', 'type' => 'string', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'timeMin' => array('location' => 'query', 'type' => 'string', ), 'timeZone' => array('location' => 'query', 'type' => 'string', ), 'originalStart' => array('location' => 'query', 'type' => 'string', ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'calendars/{calendarId}/events', 'httpMethod' => 'GET', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'showHiddenInvitations' => array('location' => 'query', 'type' => 'boolean', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'iCalUID' => array('location' => 'query', 'type' => 'string', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'singleEvents' => array('location' => 'query', 'type' => 'boolean', ), 'timeMax' => array('location' => 'query', 'type' => 'string', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'timeMin' => array('location' => 'query', 'type' => 'string', ), 'timeZone' => array('location' => 'query', 'type' => 'string', ), 'privateExtendedProperty' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sharedExtendedProperty' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'move' => array('path' => 'calendars/{calendarId}/events/{eventId}/move', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destination' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'calendars/{calendarId}/events/{eventId}', 'httpMethod' => 'PATCH', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'supportsAttachments' => array('location' => 'query', 'type' => 'boolean', ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'quickAdd' => array('path' => 'calendars/{calendarId}/events/quickAdd', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'text' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'calendars/{calendarId}/events/{eventId}', 'httpMethod' => 'PUT', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sendNotifications' => array('location' => 'query', 'type' => 'boolean', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'supportsAttachments' => array('location' => 'query', 'type' => 'boolean', ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), 'watch' => array('path' => 'calendars/{calendarId}/events/watch', 'httpMethod' => 'POST', 'parameters' => array('calendarId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'showHiddenInvitations' => array('location' => 'query', 'type' => 'boolean', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'iCalUID' => array('location' => 'query', 'type' => 'string', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'singleEvents' => array('location' => 'query', 'type' => 'boolean', ), 'timeMax' => array('location' => 'query', 'type' => 'string', ), 'alwaysIncludeEmail' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'timeMin' => array('location' => 'query', 'type' => 'string', ), 'timeZone' => array('location' => 'query', 'type' => 'string', ), 'privateExtendedProperty' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sharedExtendedProperty' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxAttendees' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Calendar.php:8351$this->settings = new Google_Service_Calendar_Settings_Resource($this, $this->serviceName, 'settings', array('methods' => array('get' => array('path' => 'users/me/settings/{setting}', 'httpMethod' => 'GET', 'parameters' => array('setting' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'users/me/settings', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'watch' => array('path' => 'users/me/settings/watch', 'httpMethod' => 'POST', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'syncToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:3221$this->comments = new Google_Service_Drive_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('delete' => array('path' => 'files/{fileId}/comments/{commentId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{fileId}/comments/{commentId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'insert' => array('path' => 'files/{fileId}/comments', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{fileId}/comments', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'files/{fileId}/comments/{commentId}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'files/{fileId}/comments/{commentId}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Drive.php:4321$this->files = new Google_Service_Drive_Files_Resource($this, $this->serviceName, 'files', array('methods' => array('copy' => array('path' => 'files/{fileId}/copy', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'convert' => array('location' => 'query', 'type' => 'boolean', ), 'ocrLanguage' => array('location' => 'query', 'type' => 'string', ), 'visibility' => array('location' => 'query', 'type' => 'string', ), 'pinned' => array('location' => 'query', 'type' => 'boolean', ), 'ocr' => array('location' => 'query', 'type' => 'boolean', ), 'timedTextTrackName' => array('location' => 'query', 'type' => 'string', ), 'timedTextLanguage' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'files/{fileId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'emptyTrash' => array('path' => 'files/trash', 'httpMethod' => 'DELETE', 'parameters' => array( ), ), 'generateIds' => array('path' => 'files/generateIds', 'httpMethod' => 'GET', 'parameters' => array('maxResults' => array('location' => 'query', 'type' => 'integer', ), 'space' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'files/{fileId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'acknowledgeAbuse' => array('location' => 'query', 'type' => 'boolean', ), 'updateViewedDate' => array('location' => 'query', 'type' => 'boolean', ), 'revisionId' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'files', 'httpMethod' => 'POST', 'parameters' => array('convert' => array('location' => 'query', 'type' => 'boolean', ), 'useContentAsIndexableText' => array('location' => 'query', 'type' => 'boolean', ), 'ocrLanguage' => array('location' => 'query', 'type' => 'string', ), 'visibility' => array('location' => 'query', 'type' => 'string', ), 'pinned' => array('location' => 'query', 'type' => 'boolean', ), 'ocr' => array('location' => 'query', 'type' => 'boolean', ), 'timedTextTrackName' => array('location' => 'query', 'type' => 'string', ), 'timedTextLanguage' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'files', 'httpMethod' => 'GET', 'parameters' => array('orderBy' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'spaces' => array('location' => 'query', 'type' => 'string', ), 'corpus' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'files/{fileId}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'addParents' => array('location' => 'query', 'type' => 'string', ), 'modifiedDateBehavior' => array('location' => 'query', 'type' => 'string', ), 'removeParents' => array('location' => 'query', 'type' => 'string', ), 'updateViewedDate' => array('location' => 'query', 'type' => 'boolean', ), 'setModifiedDate' => array('location' => 'query', 'type' => 'boolean', ), 'useContentAsIndexableText' => array('location' => 'query', 'type' => 'boolean', ), 'convert' => array('location' => 'query', 'type' => 'boolean', ), 'ocrLanguage' => array('location' => 'query', 'type' => 'string', ), 'pinned' => array('location' => 'query', 'type' => 'boolean', ), 'newRevision' => array('location' => 'query', 'type' => 'boolean', ), 'ocr' => array('location' => 'query', 'type' => 'boolean', ), 'timedTextLanguage' => array('location' => 'query', 'type' => 'string', ), 'timedTextTrackName' => array('location' => 'query', 'type' => 'string', ), ), ), 'touch' => array('path' => 'files/{fileId}/touch', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'trash' => array('path' => 'files/{fileId}/trash', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'untrash' => array('path' => 'files/{fileId}/untrash', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'files/{fileId}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'addParents' => array('location' => 'query', 'type' => 'string', ), 'modifiedDateBehavior' => array('location' => 'query', 'type' => 'string', ), 'removeParents' => array('location' => 'query', 'type' => 'string', ), 'updateViewedDate' => array('location' => 'query', 'type' => 'boolean', ), 'setModifiedDate' => array('location' => 'query', 'type' => 'boolean', ), 'useContentAsIndexableText' => array('location' => 'query', 'type' => 'boolean', ), 'convert' => array('location' => 'query', 'type' => 'boolean', ), 'ocrLanguage' => array('location' => 'query', 'type' => 'string', ), 'pinned' => array('location' => 'query', 'type' => 'boolean', ), 'newRevision' => array('location' => 'query', 'type' => 'boolean', ), 'ocr' => array('location' => 'query', 'type' => 'boolean', ), 'timedTextLanguage' => array('location' => 'query', 'type' => 'string', ), 'timedTextTrackName' => array('location' => 'query', 'type' => 'string', ), ), ), 'watch' => array('path' => 'files/{fileId}/watch', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'acknowledgeAbuse' => array('location' => 'query', 'type' => 'boolean', ), 'updateViewedDate' => array('location' => 'query', 'type' => 'boolean', ), 'revisionId' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:1541$this->changes = new Google_Service_Drive_Changes_Resource($this, $this->serviceName, 'changes', array('methods' => array('get' => array('path' => 'changes/{changeId}', 'httpMethod' => 'GET', 'parameters' => array('changeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'changes', 'httpMethod' => 'GET', 'parameters' => array('includeSubscribed' => array('location' => 'query', 'type' => 'boolean', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'spaces' => array('location' => 'query', 'type' => 'string', ), 'startChangeId' => array('location' => 'query', 'type' => 'string', ), ), ), 'watch' => array('path' => 'changes/watch', 'httpMethod' => 'POST', 'parameters' => array('includeSubscribed' => array('location' => 'query', 'type' => 'boolean', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'spaces' => array('location' => 'query', 'type' => 'string', ), 'startChangeId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:2461$this->children = new Google_Service_Drive_Children_Resource($this, $this->serviceName, 'children', array('methods' => array('delete' => array('path' => 'files/{folderId}/children/{childId}', 'httpMethod' => 'DELETE', 'parameters' => array('folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'childId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{folderId}/children/{childId}', 'httpMethod' => 'GET', 'parameters' => array('folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'childId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'files/{folderId}/children', 'httpMethod' => 'POST', 'parameters' => array('folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{folderId}/children', 'httpMethod' => 'GET', 'parameters' => array('folderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:9591$this->properties = new Google_Service_Drive_Properties_Resource($this, $this->serviceName, 'properties', array('methods' => array('delete' => array('path' => 'files/{fileId}/properties/{propertyKey}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'propertyKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'visibility' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'files/{fileId}/properties/{propertyKey}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'propertyKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'visibility' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'files/{fileId}/properties', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{fileId}/properties', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'files/{fileId}/properties/{propertyKey}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'propertyKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'visibility' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'files/{fileId}/properties/{propertyKey}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'propertyKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'visibility' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:10651$this->realtime = new Google_Service_Drive_Realtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array('get' => array('path' => 'files/{fileId}/realtime', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revision' => array('location' => 'query', 'type' => 'integer', ), ), ), 'update' => array('path' => 'files/{fileId}/realtime', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'baseRevision' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Drive.php:7831$this->parents = new Google_Service_Drive_Parents_Resource($this, $this->serviceName, 'parents', array('methods' => array('delete' => array('path' => 'files/{fileId}/parents/{parentId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{fileId}/parents/{parentId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'files/{fileId}/parents', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'files/{fileId}/parents', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Drive.php:8431$this->permissions = new Google_Service_Drive_Permissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('delete' => array('path' => 'files/{fileId}/permissions/{permissionId}', 'httpMethod' => 'DELETE', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'files/{fileId}/permissions/{permissionId}', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIdForEmail' => array('path' => 'permissionIds/{email}', 'httpMethod' => 'GET', 'parameters' => array('email' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'files/{fileId}/permissions', 'httpMethod' => 'POST', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'emailMessage' => array('location' => 'query', 'type' => 'string', ), 'sendNotificationEmails' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'files/{fileId}/permissions', 'httpMethod' => 'GET', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'files/{fileId}/permissions/{permissionId}', 'httpMethod' => 'PATCH', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'transferOwnership' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'files/{fileId}/permissions/{permissionId}', 'httpMethod' => 'PUT', 'parameters' => array('fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'transferOwnership' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:2341$this->operations = new Google_Service_Genomics_Operations_Resource($this, $this->serviceName, 'operations', array('methods' => array('cancel' => array('path' => 'v1/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:2961$this->readgroupsets = new Google_Service_Genomics_Readgroupsets_Resource($this, $this->serviceName, 'readgroupsets', array('methods' => array('delete' => array('path' => 'v1/readgroupsets/{readGroupSetId}', 'httpMethod' => 'DELETE', 'parameters' => array('readGroupSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'export' => array('path' => 'v1/readgroupsets/{readGroupSetId}:export', 'httpMethod' => 'POST', 'parameters' => array('readGroupSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/readgroupsets/{readGroupSetId}', 'httpMethod' => 'GET', 'parameters' => array('readGroupSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'import' => array('path' => 'v1/readgroupsets:import', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'patch' => array('path' => 'v1/readgroupsets/{readGroupSetId}', 'httpMethod' => 'PATCH', 'parameters' => array('readGroupSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'search' => array('path' => 'v1/readgroupsets/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Genomics.php:3581$this->readgroupsets_coveragebuckets = new Google_Service_Genomics_ReadgroupsetsCoveragebuckets_Resource($this, $this->serviceName, 'coveragebuckets', array('methods' => array('list' => array('path' => 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', 'httpMethod' => 'GET', 'parameters' => array('readGroupSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'end' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'start' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'targetBucketWidth' => array('location' => 'query', 'type' => 'string', ), 'referenceName' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:4161$this->references = new Google_Service_Genomics_References_Resource($this, $this->serviceName, 'references', array('methods' => array('get' => array('path' => 'v1/references/{referenceId}', 'httpMethod' => 'GET', 'parameters' => array('referenceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'search' => array('path' => 'v1/references/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:3411$this->media = new Google_Service_PlusDomains_Media_Resource($this, $this->serviceName, 'media', array('methods' => array('insert' => array('path' => 'people/{userId}/media/{collection}', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:3661$this->people = new Google_Service_PlusDomains_People_Resource($this, $this->serviceName, 'people', array('methods' => array('get' => array('path' => 'people/{userId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'people/{userId}/people/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listByActivity' => array('path' => 'activities/{activityId}/people/{collection}', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listByCircle' => array('path' => 'circles/{circleId}/people', 'httpMethod' => 'GET', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:771$this->callsets = new Google_Service_Genomics_Callsets_Resource($this, $this->serviceName, 'callsets', array('methods' => array('create' => array('path' => 'v1/callsets', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/callsets/{callSetId}', 'httpMethod' => 'DELETE', 'parameters' => array('callSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/callsets/{callSetId}', 'httpMethod' => 'GET', 'parameters' => array('callSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'v1/callsets/{callSetId}', 'httpMethod' => 'PATCH', 'parameters' => array('callSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'search' => array('path' => 'v1/callsets/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Genomics.php:1291$this->datasets = new Google_Service_Genomics_Datasets_Resource($this, $this->serviceName, 'datasets', array('methods' => array('create' => array('path' => 'v1/datasets', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/datasets/{datasetId}', 'httpMethod' => 'DELETE', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/datasets/{datasetId}', 'httpMethod' => 'GET', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIamPolicy' => array('path' => 'v1/{+resource}:getIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/datasets', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'v1/datasets/{datasetId}', 'httpMethod' => 'PATCH', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'setIamPolicy' => array('path' => 'v1/{+resource}:setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'testIamPermissions' => array('path' => 'v1/{+resource}:testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'undelete' => array('path' => 'v1/datasets/{datasetId}:undelete', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:861$this->activities = new Google_Service_PlusDomains_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('get' => array('path' => 'activities/{activityId}', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'people/{userId}/activities', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'preview' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'people/{userId}/activities/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:1431$this->audiences = new Google_Service_PlusDomains_Audiences_Resource($this, $this->serviceName, 'audiences', array('methods' => array('list' => array('path' => 'people/{userId}/audiences', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:1711$this->circles = new Google_Service_PlusDomains_Circles_Resource($this, $this->serviceName, 'circles', array('methods' => array('addPeople' => array('path' => 'circles/{circleId}/people', 'httpMethod' => 'PUT', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'email' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'get' => array('path' => 'circles/{circleId}', 'httpMethod' => 'GET', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'people/{userId}/circles', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'people/{userId}/circles', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'circles/{circleId}', 'httpMethod' => 'PATCH', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'remove' => array('path' => 'circles/{circleId}', 'httpMethod' => 'DELETE', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'removePeople' => array('path' => 'circles/{circleId}/people', 'httpMethod' => 'DELETE', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'email' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'update' => array('path' => 'circles/{circleId}', 'httpMethod' => 'PUT', 'parameters' => array('circleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/PlusDomains.php:2891$this->comments = new Google_Service_PlusDomains_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('get' => array('path' => 'comments/{commentId}', 'httpMethod' => 'GET', 'parameters' => array('commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'activities/{activityId}/comments', 'httpMethod' => 'POST', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'activities/{activityId}/comments', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:2451$this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource($this, $this->serviceName, 'preferreddeals', array('methods' => array('get' => array('path' => 'accounts/{accountId}/preferreddeals/{dealId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dealId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/preferreddeals', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:2801$this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:3421$this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'accounts/{accountId}/reports/saved', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:3971$this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Storage.php:5751$this->objects = new Google_Service_Storage_Objects_Resource($this, $this->serviceName, 'objects', array('methods' => array('compose' => array('path' => 'b/{destinationBucket}/o/{destinationObject}/compose', 'httpMethod' => 'POST', 'parameters' => array('destinationBucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destinationObject' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'destinationPredefinedAcl' => array('location' => 'query', 'type' => 'string', ), ), ), 'copy' => array('path' => 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', 'httpMethod' => 'POST', 'parameters' => array('sourceBucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sourceObject' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destinationBucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destinationObject' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifSourceGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifSourceMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'sourceGeneration' => array('location' => 'query', 'type' => 'string', ), 'destinationPredefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifSourceGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifSourceMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'b/{bucket}/o/{object}', 'httpMethod' => 'DELETE', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'generation' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'b/{bucket}/o/{object}', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'generation' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'b/{bucket}/o', 'httpMethod' => 'POST', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'contentEncoding' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'name' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'b/{bucket}/o', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'versions' => array('location' => 'query', 'type' => 'boolean', ), 'prefix' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'delimiter' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'b/{bucket}/o/{object}', 'httpMethod' => 'PATCH', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'generation' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'rewrite' => array('path' => 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', 'httpMethod' => 'POST', 'parameters' => array('sourceBucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sourceObject' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destinationBucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'destinationObject' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifSourceGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'rewriteToken' => array('location' => 'query', 'type' => 'string', ), 'ifSourceMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'sourceGeneration' => array('location' => 'query', 'type' => 'string', ), 'destinationPredefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifSourceGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'maxBytesRewrittenPerCall' => array('location' => 'query', 'type' => 'string', ), 'ifSourceMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'b/{bucket}/o/{object}', 'httpMethod' => 'PUT', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'generation' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifGenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'watchAll' => array('path' => 'b/{bucket}/o/watch', 'httpMethod' => 'POST', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'versions' => array('location' => 'query', 'type' => 'boolean', ), 'prefix' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'delimiter' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Storage.php:4311$this->objectAccessControls = new Google_Service_Storage_ObjectAccessControls_Resource($this, $this->serviceName, 'objectAccessControls', array('methods' => array('delete' => array('path' => 'b/{bucket}/o/{object}/acl/{entity}', 'httpMethod' => 'DELETE', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'b/{bucket}/o/{object}/acl/{entity}', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'b/{bucket}/o/{object}/acl', 'httpMethod' => 'POST', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'b/{bucket}/o/{object}/acl', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'b/{bucket}/o/{object}/acl/{entity}', 'httpMethod' => 'PATCH', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'b/{bucket}/o/{object}/acl/{entity}', 'httpMethod' => 'PUT', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'object' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'generation' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:1371$this->accountPermissionGroups = new Google_Service_Dfareporting_AccountPermissionGroups_Resource($this, $this->serviceName, 'accountPermissionGroups', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/accountPermissionGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/accountPermissionGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:1121$this->accountActiveAdSummaries = new Google_Service_Dfareporting_AccountActiveAdSummaries_Resource($this, $this->serviceName, 'accountActiveAdSummaries', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'summaryAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Storage.php:711$this->bucketAccessControls = new Google_Service_Storage_BucketAccessControls_Resource($this, $this->serviceName, 'bucketAccessControls', array('methods' => array('delete' => array('path' => 'b/{bucket}/acl/{entity}', 'httpMethod' => 'DELETE', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'b/{bucket}/acl/{entity}', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'b/{bucket}/acl', 'httpMethod' => 'POST', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'b/{bucket}/acl', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'b/{bucket}/acl/{entity}', 'httpMethod' => 'PATCH', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'b/{bucket}/acl/{entity}', 'httpMethod' => 'PUT', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Bigquery.php:3891$this->tables = new Google_Service_Bigquery_Tables_Resource($this, $this->serviceName, 'tables', array('methods' => array('delete' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', 'httpMethod' => 'PATCH', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', 'httpMethod' => 'PUT', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Storage.php:3331$this->defaultObjectAccessControls = new Google_Service_Storage_DefaultObjectAccessControls_Resource($this, $this->serviceName, 'defaultObjectAccessControls', array('methods' => array('delete' => array('path' => 'b/{bucket}/defaultObjectAcl/{entity}', 'httpMethod' => 'DELETE', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'b/{bucket}/defaultObjectAcl/{entity}', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'b/{bucket}/defaultObjectAcl', 'httpMethod' => 'POST', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'b/{bucket}/defaultObjectAcl', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'b/{bucket}/defaultObjectAcl/{entity}', 'httpMethod' => 'PATCH', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'b/{bucket}/defaultObjectAcl/{entity}', 'httpMethod' => 'PUT', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entity' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Storage.php:1611$this->buckets = new Google_Service_Storage_Buckets_Resource($this, $this->serviceName, 'buckets', array('methods' => array('delete' => array('path' => 'b/{bucket}', 'httpMethod' => 'DELETE', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'b/{bucket}', 'httpMethod' => 'GET', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'b', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'predefinedDefaultObjectAcl' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'b', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'prefix' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'b/{bucket}', 'httpMethod' => 'PATCH', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'predefinedDefaultObjectAcl' => array('location' => 'query', 'type' => 'string', ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'b/{bucket}', 'httpMethod' => 'PUT', 'parameters' => array('bucket' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationMatch' => array('location' => 'query', 'type' => 'string', ), 'predefinedDefaultObjectAcl' => array('location' => 'query', 'type' => 'string', ), 'predefinedAcl' => array('location' => 'query', 'type' => 'string', ), 'ifMetagenerationNotMatch' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Bigquery.php:1821$this->jobs = new Google_Service_Bigquery_Jobs_Resource($this, $this->serviceName, 'jobs', array('methods' => array('cancel' => array('path' => 'project/{projectId}/jobs/{jobId}/cancel', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{projectId}/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getQueryResults' => array('path' => 'projects/{projectId}/queries/{jobId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timeoutMs' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'projects/{projectId}/jobs', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{projectId}/jobs', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'stateFilter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'allUsers' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'query' => array('path' => 'projects/{projectId}/queries', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Bigquery.php:761$this->datasets = new Google_Service_Bigquery_Datasets_Resource($this, $this->serviceName, 'datasets', array('methods' => array('delete' => array('path' => 'projects/{projectId}/datasets/{datasetId}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deleteContents' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => 'projects/{projectId}/datasets/{datasetId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{projectId}/datasets', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{projectId}/datasets', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'all' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'projects/{projectId}/datasets/{datasetId}', 'httpMethod' => 'PATCH', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{projectId}/datasets/{datasetId}', 'httpMethod' => 'PUT', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Bigquery.php:3271$this->tabledata = new Google_Service_Bigquery_Tabledata_Resource($this, $this->serviceName, 'tabledata', array('methods' => array('insertAll' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Bigquery.php:3041$this->projects = new Google_Service_Bigquery_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('list' => array('path' => 'projects', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:4761$this->referencesets = new Google_Service_Genomics_Referencesets_Resource($this, $this->serviceName, 'referencesets', array('methods' => array('get' => array('path' => 'v1/referencesets/{referenceSetId}', 'httpMethod' => 'GET', 'parameters' => array('referenceSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'search' => array('path' => 'v1/referencesets/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Genomics.php:4401$this->references_bases = new Google_Service_Genomics_ReferencesBases_Resource($this, $this->serviceName, 'bases', array('methods' => array('list' => array('path' => 'v1/references/{referenceId}/bases', 'httpMethod' => 'GET', 'parameters' => array('referenceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'start' => array('location' => 'query', 'type' => 'string', ), 'end' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Genomics.php:5561$this->variantsets = new Google_Service_Genomics_Variantsets_Resource($this, $this->serviceName, 'variantsets', array('methods' => array('create' => array('path' => 'v1/variantsets', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/variantsets/{variantSetId}', 'httpMethod' => 'DELETE', 'parameters' => array('variantSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'export' => array('path' => 'v1/variantsets/{variantSetId}:export', 'httpMethod' => 'POST', 'parameters' => array('variantSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/variantsets/{variantSetId}', 'httpMethod' => 'GET', 'parameters' => array('variantSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'v1/variantsets/{variantSetId}', 'httpMethod' => 'PATCH', 'parameters' => array('variantSetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'search' => array('path' => 'v1/variantsets/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Genomics.php:5001$this->variants = new Google_Service_Genomics_Variants_Resource($this, $this->serviceName, 'variants', array('methods' => array('create' => array('path' => 'v1/variants', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/variants/{variantId}', 'httpMethod' => 'DELETE', 'parameters' => array('variantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/variants/{variantId}', 'httpMethod' => 'GET', 'parameters' => array('variantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'import' => array('path' => 'v1/variants:import', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'patch' => array('path' => 'v1/variants/{variantId}', 'httpMethod' => 'PATCH', 'parameters' => array('variantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'search' => array('path' => 'v1/variants/search', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:13151$this->creativeAssets = new Google_Service_Dfareporting_CreativeAssets_Resource($this, $this->serviceName, 'creativeAssets', array('methods' => array('insert' => array('path' => 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'advertiserId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:13401$this->creativeFieldValues = new Google_Service_Dfareporting_CreativeFieldValues_Resource($this, $this->serviceName, 'creativeFieldValues', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'creativeFieldId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:11701$this->contentCategories = new Google_Service_Dfareporting_ContentCategories_Resource($this, $this->serviceName, 'contentCategories', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/contentCategories/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/contentCategories/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/contentCategories', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/contentCategories', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/contentCategories', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/contentCategories', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:12801$this->countries = new Google_Service_Dfareporting_Countries_Resource($this, $this->serviceName, 'countries', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/countries/{dartId}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dartId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/countries', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:10961$this->cities = new Google_Service_Dfareporting_Cities_Resource($this, $this->serviceName, 'cities', array('methods' => array('list' => array('path' => 'userprofiles/{profileId}/cities', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dartIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'namePrefix' => array('location' => 'query', 'type' => 'string', ), 'regionDartIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'countryDartIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:11351$this->connectionTypes = new Google_Service_Dfareporting_ConnectionTypes_Resource($this, $this->serviceName, 'connectionTypes', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/connectionTypes/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/connectionTypes', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:8821$this->campaigns = new Google_Service_Dfareporting_Campaigns_Resource($this, $this->serviceName, 'campaigns', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/campaigns/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/campaigns', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'defaultLandingPageName' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'defaultLandingPageUrl' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/campaigns', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'archived' => array('location' => 'query', 'type' => 'boolean', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'subaccountId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'excludedIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'advertiserGroupIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'overriddenEventTagId' => array('location' => 'query', 'type' => 'string', ), 'atLeastOneOptimizationActivity' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/campaigns', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/campaigns', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:10181$this->changeLogs = new Google_Service_Dfareporting_ChangeLogs_Resource($this, $this->serviceName, 'changeLogs', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/changeLogs/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/changeLogs', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'minChangeTime' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'maxChangeTime' => array('location' => 'query', 'type' => 'string', ), 'userProfileIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'objectIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'action' => array('location' => 'query', 'type' => 'string', ), 'objectType' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:8101$this->browsers = new Google_Service_Dfareporting_Browsers_Resource($this, $this->serviceName, 'browsers', array('methods' => array('list' => array('path' => 'userprofiles/{profileId}/browsers', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:8301$this->campaignCreativeAssociations = new Google_Service_Dfareporting_CampaignCreativeAssociations_Resource($this, $this->serviceName, 'campaignCreativeAssociations', array('methods' => array('insert' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:5791$this->advertiserGroups = new Google_Service_Dfareporting_AdvertiserGroups_Resource($this, $this->serviceName, 'advertiserGroups', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/advertiserGroups/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/advertiserGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/advertiserGroups', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/advertiserGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/advertiserGroups', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/advertiserGroups', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:6891$this->advertisers = new Google_Service_Dfareporting_Advertisers_Resource($this, $this->serviceName, 'advertisers', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/advertisers/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/advertisers', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/advertisers', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'status' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'subaccountId' => array('location' => 'query', 'type' => 'string', ), 'includeAdvertisersWithoutGroupsOnly' => array('location' => 'query', 'type' => 'boolean', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'onlyParent' => array('location' => 'query', 'type' => 'boolean', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'floodlightConfigurationIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'advertiserGroupIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/advertisers', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/advertisers', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:3141$this->accounts = new Google_Service_Dfareporting_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/accounts/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/accounts', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'active' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/accounts', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/accounts', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:4031$this->ads = new Google_Service_Dfareporting_Ads_Resource($this, $this->serviceName, 'ads', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/ads/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/ads', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/ads', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'landingPageIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'overriddenEventTagId' => array('location' => 'query', 'type' => 'string', ), 'campaignIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'archived' => array('location' => 'query', 'type' => 'boolean', ), 'creativeOptimizationConfigurationIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sslCompliant' => array('location' => 'query', 'type' => 'boolean', ), 'sizeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sslRequired' => array('location' => 'query', 'type' => 'boolean', ), 'creativeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'creativeType' => array('location' => 'query', 'type' => 'string', ), 'placementIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'active' => array('location' => 'query', 'type' => 'boolean', ), 'compatibility' => array('location' => 'query', 'type' => 'string', ), 'advertiserId' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'audienceSegmentIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'remarketingListIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'dynamicClickTracker' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/ads', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/ads', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:1721$this->accountPermissions = new Google_Service_Dfareporting_AccountPermissions_Resource($this, $this->serviceName, 'accountPermissions', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/accountPermissions/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/accountPermissions', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:2071$this->accountUserProfiles = new Google_Service_Dfareporting_AccountUserProfiles_Resource($this, $this->serviceName, 'accountUserProfiles', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/accountUserProfiles/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/accountUserProfiles', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/accountUserProfiles', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'subaccountId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'userRoleId' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'active' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/accountUserProfiles', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/accountUserProfiles', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:28021$this->operatingSystemVersions = new Google_Service_Dfareporting_OperatingSystemVersions_Resource($this, $this->serviceName, 'operatingSystemVersions', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/operatingSystemVersions/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/operatingSystemVersions', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:27671$this->mobileCarriers = new Google_Service_Dfareporting_MobileCarriers_Resource($this, $this->serviceName, 'mobileCarriers', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/mobileCarriers/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/mobileCarriers', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:27471$this->metros = new Google_Service_Dfareporting_Metros_Resource($this, $this->serviceName, 'metros', array('methods' => array('list' => array('path' => 'userprofiles/{profileId}/metros', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:26321$this->landingPages = new Google_Service_Dfareporting_LandingPages_Resource($this, $this->serviceName, 'landingPages', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'campaignId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:25521$this->inventoryItems = new Google_Service_Dfareporting_InventoryItems_Resource($this, $this->serviceName, 'inventoryItems', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/projects/{projectId}/inventoryItems', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'siteId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'inPlan' => array('location' => 'query', 'type' => 'boolean', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:24871$this->floodlightConfigurations = new Google_Service_Dfareporting_FloodlightConfigurations_Resource($this, $this->serviceName, 'floodlightConfigurations', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/floodlightConfigurations/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/floodlightConfigurations', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/floodlightConfigurations', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/floodlightConfigurations', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:23651$this->floodlightActivityGroups = new Google_Service_Dfareporting_FloodlightActivityGroups_Resource($this, $this->serviceName, 'floodlightActivityGroups', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'floodlightConfigurationId' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'advertiserId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/floodlightActivityGroups', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:22121$this->floodlightActivities = new Google_Service_Dfareporting_FloodlightActivities_Resource($this, $this->serviceName, 'floodlightActivities', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/floodlightActivities/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'generatetag' => array('path' => 'userprofiles/{profileId}/floodlightActivities/generatetag', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'floodlightActivityId' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/floodlightActivities/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/floodlightActivities', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/floodlightActivities', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'floodlightActivityGroupIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'floodlightConfigurationId' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'floodlightActivityGroupName' => array('location' => 'query', 'type' => 'string', ), 'advertiserId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'tagString' => array('location' => 'query', 'type' => 'string', ), 'floodlightActivityGroupTagString' => array('location' => 'query', 'type' => 'string', ), 'floodlightActivityGroupType' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/floodlightActivities', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/floodlightActivities', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:21571$this->files = new Google_Service_Dfareporting_Files_Resource($this, $this->serviceName, 'files', array('methods' => array('get' => array('path' => 'reports/{reportId}/files/{fileId}', 'httpMethod' => 'GET', 'parameters' => array('reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/files', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'scope' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:20301$this->eventTags = new Google_Service_Dfareporting_EventTags_Resource($this, $this->serviceName, 'eventTags', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/eventTags/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/eventTags/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/eventTags', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/eventTags', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'campaignId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'enabled' => array('location' => 'query', 'type' => 'boolean', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'advertiserId' => array('location' => 'query', 'type' => 'string', ), 'adId' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'eventTagTypes' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'definitionsOnly' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/eventTags', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/eventTags', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:19321$this->directorySites = new Google_Service_Dfareporting_DirectorySites_Resource($this, $this->serviceName, 'directorySites', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/directorySites/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/directorySites', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/directorySites', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'acceptsInterstitialPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'countryId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'acceptsInStreamVideoPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'acceptsPublisherPaidPlacements' => array('location' => 'query', 'type' => 'boolean', ), 'parentId' => array('location' => 'query', 'type' => 'string', ), 'active' => array('location' => 'query', 'type' => 'boolean', ), 'dfp_network_code' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:18671$this->directorySiteContacts = new Google_Service_Dfareporting_DirectorySiteContacts_Resource($this, $this->serviceName, 'directorySiteContacts', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/directorySiteContacts/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/directorySiteContacts', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'directorySiteIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:18391$this->dimensionValues = new Google_Service_Dfareporting_DimensionValues_Resource($this, $this->serviceName, 'dimensionValues', array('methods' => array('query' => array('path' => 'userprofiles/{profileId}/dimensionvalues/query', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:16991$this->creatives = new Google_Service_Dfareporting_Creatives_Resource($this, $this->serviceName, 'creatives', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/creatives/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/creatives', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/creatives', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sizeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'archived' => array('location' => 'query', 'type' => 'boolean', ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'campaignId' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'renderingIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'advertiserId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'studioCreativeId' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'companionCreativeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'active' => array('location' => 'query', 'type' => 'boolean', ), 'creativeFieldIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'types' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/creatives', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/creatives', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:15951$this->creativeGroups = new Google_Service_Dfareporting_CreativeGroups_Resource($this, $this->serviceName, 'creativeGroups', array('methods' => array('get' => array('path' => 'userprofiles/{profileId}/creativeGroups/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/creativeGroups', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/creativeGroups', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'groupNumber' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/creativeGroups', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/creativeGroups', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dfareporting.php:14801$this->creativeFields = new Google_Service_Dfareporting_CreativeFields_Resource($this, $this->serviceName, 'creativeFields', array('methods' => array('delete' => array('path' => 'userprofiles/{profileId}/creativeFields/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'userprofiles/{profileId}/creativeFields/{id}', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'userprofiles/{profileId}/creativeFields', 'httpMethod' => 'POST', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'userprofiles/{profileId}/creativeFields', 'httpMethod' => 'GET', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'searchString' => array('location' => 'query', 'type' => 'string', ), 'sortField' => array('location' => 'query', 'type' => 'string', ), 'advertiserIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'userprofiles/{profileId}/creativeFields', 'httpMethod' => 'PATCH', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'userprofiles/{profileId}/creativeFields', 'httpMethod' => 'PUT', 'parameters' => array('profileId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:5881$this->inventory = new Google_Service_ShoppingContent_Inventory_Resource($this, $this->serviceName, 'inventory', array('methods' => array('custombatch' => array('path' => 'inventory/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'set' => array('path' => '{merchantId}/inventory/{storeCode}/products/{productId}', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'storeCode' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:6311$this->orders = new Google_Service_ShoppingContent_Orders_Resource($this, $this->serviceName, 'orders', array('methods' => array('acknowledge' => array('path' => '{merchantId}/orders/{orderId}/acknowledge', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'advancetestorder' => array('path' => '{merchantId}/testorders/{orderId}/advance', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'cancel' => array('path' => '{merchantId}/orders/{orderId}/cancel', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'cancellineitem' => array('path' => '{merchantId}/orders/{orderId}/cancelLineItem', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'createtestorder' => array('path' => '{merchantId}/testorders', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'custombatch' => array('path' => 'orders/batch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => '{merchantId}/orders/{orderId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getbymerchantorderid' => array('path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'merchantOrderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'gettestordertemplate' => array('path' => '{merchantId}/testordertemplates/{templateName}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/orders', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'placedDateEnd' => array('location' => 'query', 'type' => 'string', ), 'acknowledged' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'placedDateStart' => array('location' => 'query', 'type' => 'string', ), 'statuses' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'refund' => array('path' => '{merchantId}/orders/{orderId}/refund', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'returnlineitem' => array('path' => '{merchantId}/orders/{orderId}/returnLineItem', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'shiplineitems' => array('path' => '{merchantId}/orders/{orderId}/shipLineItems', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updatemerchantorderid' => array('path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updateshipment' => array('path' => '{merchantId}/orders/{orderId}/updateShipment', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:8741$this->products = new Google_Service_ShoppingContent_Products_Resource($this, $this->serviceName, 'products', array('methods' => array('custombatch' => array('path' => 'products/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'delete' => array('path' => '{merchantId}/products/{productId}', 'httpMethod' => 'DELETE', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => '{merchantId}/products/{productId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{merchantId}/products', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => '{merchantId}/products', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:9591$this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource($this, $this->serviceName, 'productstatuses', array('methods' => array('custombatch' => array('path' => 'productstatuses/batch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => '{merchantId}/productstatuses/{productId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/productstatuses', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/SiteVerification.php:571$this->webResource = new Google_Service_SiteVerification_WebResource_Resource($this, $this->serviceName, 'webResource', array('methods' => array('delete' => array('path' => 'webResource/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'webResource/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getToken' => array('path' => 'token', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'insert' => array('path' => 'webResource', 'httpMethod' => 'POST', 'parameters' => array('verificationMethod' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'webResource', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'patch' => array('path' => 'webResource/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'webResource/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Clouddebugger.php:781$this->controller_debuggees_breakpoints = new Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource($this, $this->serviceName, 'breakpoints', array('methods' => array('list' => array('path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints', 'httpMethod' => 'GET', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'waitToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', 'httpMethod' => 'PUT', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Clouddebugger.php:1171$this->debugger_debuggees = new Google_Service_Clouddebugger_DebuggerDebuggees_Resource($this, $this->serviceName, 'debuggees', array('methods' => array('list' => array('path' => 'v2/debugger/debuggees', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'query', 'type' => 'string', ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Clouddebugger.php:1401$this->debugger_debuggees_breakpoints = new Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource($this, $this->serviceName, 'breakpoints', array('methods' => array('delete' => array('path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', 'httpMethod' => 'DELETE', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'breakpointId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', 'httpMethod' => 'GET', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'breakpointId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints', 'httpMethod' => 'GET', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeAllUsers' => array('location' => 'query', 'type' => 'boolean', ), 'stripResults' => array('location' => 'query', 'type' => 'boolean', ), 'action.value' => array('location' => 'query', 'type' => 'string', ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'waitToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'set' => array('path' => 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', 'httpMethod' => 'POST', 'parameters' => array('debuggeeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Computeaccounts.php:2971$this->users = new Google_Service_Computeaccounts_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('addPublicKey' => array('path' => '{project}/global/users/{user}/addPublicKey', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/global/users/{user}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/users/{user}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/users', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/users', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'removePublicKey' => array('path' => '{project}/global/users/{user}/removePublicKey', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Customsearch.php:521$this->cse = new Google_Service_Customsearch_Cse_Resource($this, $this->serviceName, 'cse', array('methods' => array('list' => array('path' => 'v1', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', ), 'orTerms' => array('location' => 'query', 'type' => 'string', ), 'highRange' => array('location' => 'query', 'type' => 'string', ), 'num' => array('location' => 'query', 'type' => 'integer', ), 'cr' => array('location' => 'query', 'type' => 'string', ), 'imgType' => array('location' => 'query', 'type' => 'string', ), 'gl' => array('location' => 'query', 'type' => 'string', ), 'relatedSite' => array('location' => 'query', 'type' => 'string', ), 'searchType' => array('location' => 'query', 'type' => 'string', ), 'fileType' => array('location' => 'query', 'type' => 'string', ), 'start' => array('location' => 'query', 'type' => 'integer', ), 'imgDominantColor' => array('location' => 'query', 'type' => 'string', ), 'lr' => array('location' => 'query', 'type' => 'string', ), 'siteSearch' => array('location' => 'query', 'type' => 'string', ), 'cref' => array('location' => 'query', 'type' => 'string', ), 'dateRestrict' => array('location' => 'query', 'type' => 'string', ), 'safe' => array('location' => 'query', 'type' => 'string', ), 'c2coff' => array('location' => 'query', 'type' => 'string', ), 'googlehost' => array('location' => 'query', 'type' => 'string', ), 'hq' => array('location' => 'query', 'type' => 'string', ), 'exactTerms' => array('location' => 'query', 'type' => 'string', ), 'hl' => array('location' => 'query', 'type' => 'string', ), 'lowRange' => array('location' => 'query', 'type' => 'string', ), 'imgSize' => array('location' => 'query', 'type' => 'string', ), 'imgColorType' => array('location' => 'query', 'type' => 'string', ), 'rights' => array('location' => 'query', 'type' => 'string', ), 'excludeTerms' => array('location' => 'query', 'type' => 'string', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'linkSite' => array('location' => 'query', 'type' => 'string', ), 'cx' => array('location' => 'query', 'type' => 'string', ), 'siteSearchFilter' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:641$this->accounts = new Google_Service_ShoppingContent_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('authinfo' => array('path' => 'accounts/authinfo', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'custombatch' => array('path' => 'accounts/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'delete' => array('path' => '{merchantId}/accounts/{accountId}', 'httpMethod' => 'DELETE', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => '{merchantId}/accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{merchantId}/accounts', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => '{merchantId}/accounts', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{merchantId}/accounts/{accountId}', 'httpMethod' => 'PATCH', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => '{merchantId}/accounts/{accountId}', 'httpMethod' => 'PUT', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:1911$this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource($this, $this->serviceName, 'accountshipping', array('methods' => array('custombatch' => array('path' => 'accountshipping/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => '{merchantId}/accountshipping/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/accountshipping', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{merchantId}/accountshipping/{accountId}', 'httpMethod' => 'PATCH', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => '{merchantId}/accountshipping/{accountId}', 'httpMethod' => 'PUT', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:2811$this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource($this, $this->serviceName, 'accountstatuses', array('methods' => array('custombatch' => array('path' => 'accountstatuses/batch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => '{merchantId}/accountstatuses/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/accountstatuses', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:3281$this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource($this, $this->serviceName, 'accounttax', array('methods' => array('custombatch' => array('path' => 'accounttax/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => '{merchantId}/accounttax/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/accounttax', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{merchantId}/accounttax/{accountId}', 'httpMethod' => 'PATCH', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => '{merchantId}/accounttax/{accountId}', 'httpMethod' => 'PUT', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:4181$this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource($this, $this->serviceName, 'datafeeds', array('methods' => array('custombatch' => array('path' => 'datafeeds/batch', 'httpMethod' => 'POST', 'parameters' => array('dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'delete' => array('path' => '{merchantId}/datafeeds/{datafeedId}', 'httpMethod' => 'DELETE', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datafeedId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'get' => array('path' => '{merchantId}/datafeeds/{datafeedId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datafeedId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{merchantId}/datafeeds', 'httpMethod' => 'POST', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => '{merchantId}/datafeeds', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{merchantId}/datafeeds/{datafeedId}', 'httpMethod' => 'PATCH', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datafeedId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => '{merchantId}/datafeeds/{datafeedId}', 'httpMethod' => 'PUT', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datafeedId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dryRun' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/ShoppingContent.php:5411$this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource($this, $this->serviceName, 'datafeedstatuses', array('methods' => array('custombatch' => array('path' => 'datafeedstatuses/batch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => '{merchantId}/datafeedstatuses/{datafeedId}', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'datafeedId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{merchantId}/datafeedstatuses', 'httpMethod' => 'GET', 'parameters' => array('merchantId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:1461$this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource($this, $this->serviceName, 'apklistings', array('methods' => array('delete' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteall' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:661$this->edits = new Google_Service_AndroidPublisher_Edits_Resource($this, $this->serviceName, 'edits', array('methods' => array('commit' => array('path' => '{packageName}/edits/{editId}:commit', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{packageName}/edits/{editId}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{packageName}/edits/{editId}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{packageName}/edits', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'validate' => array('path' => '{packageName}/edits/{editId}:validate', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:3511$this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource($this, $this->serviceName, 'details', array('methods' => array('get' => array('path' => '{packageName}/edits/{editId}/details', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/details', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/details', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:2961$this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource($this, $this->serviceName, 'apks', array('methods' => array('addexternallyhosted' => array('path' => '{packageName}/edits/{editId}/apks/externallyHosted', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{packageName}/edits/{editId}/apks', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'upload' => array('path' => '{packageName}/edits/{editId}/apks', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:5161$this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource($this, $this->serviceName, 'images', array('methods' => array('delete' => array('path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteall' => array('path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'upload' => array('path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:4061$this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource($this, $this->serviceName, 'expansionfiles', array('methods' => array('get' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'expansionFileType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'expansionFileType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'expansionFileType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'upload' => array('path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'apkVersionCode' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'expansionFileType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:7511$this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource($this, $this->serviceName, 'testers', array('methods' => array('get' => array('path' => '{packageName}/edits/{editId}/testers/{track}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/testers/{track}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/testers/{track}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:6311$this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource($this, $this->serviceName, 'listings', array('methods' => array('delete' => array('path' => '{packageName}/edits/{editId}/listings/{language}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteall' => array('path' => '{packageName}/edits/{editId}/listings', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{packageName}/edits/{editId}/listings/{language}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{packageName}/edits/{editId}/listings', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/listings/{language}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/listings/{language}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:1061$this->applications = new Google_Service_GamesManagement_Applications_Resource($this, $this->serviceName, 'applications', array('methods' => array('listHidden' => array('path' => 'applications/{applicationId}/players/hidden', 'httpMethod' => 'GET', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:641$this->achievements = new Google_Service_GamesManagement_Achievements_Resource($this, $this->serviceName, 'achievements', array('methods' => array('reset' => array('path' => 'achievements/{achievementId}/reset', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetAll' => array('path' => 'achievements/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetAllForAllPlayers' => array('path' => 'achievements/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'achievements/{achievementId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetMultipleForAllPlayers' => array('path' => 'achievements/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:1761$this->players = new Google_Service_GamesManagement_Players_Resource($this, $this->serviceName, 'players', array('methods' => array('hide' => array('path' => 'applications/{applicationId}/players/hidden/{playerId}', 'httpMethod' => 'POST', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'unhide' => array('path' => 'applications/{applicationId}/players/hidden/{playerId}', 'httpMethod' => 'DELETE', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:1341$this->events = new Google_Service_GamesManagement_Events_Resource($this, $this->serviceName, 'events', array('methods' => array('reset' => array('path' => 'events/{eventId}/reset', 'httpMethod' => 'POST', 'parameters' => array('eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetAll' => array('path' => 'events/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetAllForAllPlayers' => array('path' => 'events/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'events/{eventId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array('eventId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetMultipleForAllPlayers' => array('path' => 'events/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:2581$this->rooms = new Google_Service_GamesManagement_Rooms_Resource($this, $this->serviceName, 'rooms', array('methods' => array('reset' => array('path' => 'rooms/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'rooms/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:2161$this->quests = new Google_Service_GamesManagement_Quests_Resource($this, $this->serviceName, 'quests', array('methods' => array('reset' => array('path' => 'quests/{questId}/reset', 'httpMethod' => 'POST', 'parameters' => array('questId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetAll' => array('path' => 'quests/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetAllForAllPlayers' => array('path' => 'quests/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'quests/{questId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array('questId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetMultipleForAllPlayers' => array('path' => 'quests/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:3181$this->turnBasedMatches = new Google_Service_GamesManagement_TurnBasedMatches_Resource($this, $this->serviceName, 'turnBasedMatches', array('methods' => array('reset' => array('path' => 'turnbasedmatches/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'turnbasedmatches/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/GamesManagement.php:2761$this->scores = new Google_Service_GamesManagement_Scores_Resource($this, $this->serviceName, 'scores', array('methods' => array('reset' => array('path' => 'leaderboards/{leaderboardId}/scores/reset', 'httpMethod' => 'POST', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetAll' => array('path' => 'scores/reset', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetAllForAllPlayers' => array('path' => 'scores/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'resetForAllPlayers' => array('path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetMultipleForAllPlayers' => array('path' => 'scores/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Mirror.php:931$this->contacts = new Google_Service_Mirror_Contacts_Resource($this, $this->serviceName, 'contacts', array('methods' => array('delete' => array('path' => 'contacts/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'contacts/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'contacts', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'contacts', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'patch' => array('path' => 'contacts/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'contacts/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:1511$this->locations = new Google_Service_Mirror_Locations_Resource($this, $this->serviceName, 'locations', array('methods' => array('get' => array('path' => 'locations/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'locations', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/CloudUserAccounts.php:3581$this->users = new Google_Service_CloudUserAccounts_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('addPublicKey' => array('path' => '{project}/global/users/{user}/addPublicKey', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/global/users/{user}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/users/{user}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIamPolicy' => array('path' => '{project}/global/users/{resource}/getIamPolicy', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/users', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/users', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'removePublicKey' => array('path' => '{project}/global/users/{user}/removePublicKey', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fingerprint' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'setIamPolicy' => array('path' => '{project}/global/users/{resource}/setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'testIamPermissions' => array('path' => '{project}/global/users/{resource}/testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:631$this->accounts = new Google_Service_Mirror_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('insert' => array('path' => 'accounts/{userToken}/{accountType}/{accountName}', 'httpMethod' => 'POST', 'parameters' => array('userToken' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accountName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:2331$this->timeline = new Google_Service_Mirror_Timeline_Resource($this, $this->serviceName, 'timeline', array('methods' => array('delete' => array('path' => 'timeline/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'timeline/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'timeline', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'timeline', 'httpMethod' => 'GET', 'parameters' => array('orderBy' => array('location' => 'query', 'type' => 'string', ), 'includeDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sourceItemId' => array('location' => 'query', 'type' => 'string', ), 'pinnedOnly' => array('location' => 'query', 'type' => 'boolean', ), 'bundleId' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'timeline/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'timeline/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:3201$this->timeline_attachments = new Google_Service_Mirror_TimelineAttachments_Resource($this, $this->serviceName, 'attachments', array('methods' => array('delete' => array('path' => 'timeline/{itemId}/attachments/{attachmentId}', 'httpMethod' => 'DELETE', 'parameters' => array('itemId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'attachmentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'timeline/{itemId}/attachments/{attachmentId}', 'httpMethod' => 'GET', 'parameters' => array('itemId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'attachmentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'timeline/{itemId}/attachments', 'httpMethod' => 'POST', 'parameters' => array('itemId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'timeline/{itemId}/attachments', 'httpMethod' => 'GET', 'parameters' => array('itemId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:1751$this->settings = new Google_Service_Mirror_Settings_Resource($this, $this->serviceName, 'settings', array('methods' => array('get' => array('path' => 'settings/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Mirror.php:1951$this->subscriptions = new Google_Service_Mirror_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('delete' => array('path' => 'subscriptions/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'subscriptions', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'update' => array('path' => 'subscriptions/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:9421$this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource($this, $this->serviceName, 'inappproducts', array('methods' => array('batch' => array('path' => 'inappproducts/batch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => '{packageName}/inappproducts/{sku}', 'httpMethod' => 'DELETE', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{packageName}/inappproducts/{sku}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{packageName}/inappproducts', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoConvertMissingPrices' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => '{packageName}/inappproducts', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{packageName}/inappproducts/{sku}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoConvertMissingPrices' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => '{packageName}/inappproducts/{sku}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoConvertMissingPrices' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:10601$this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource($this, $this->serviceName, 'products', array('methods' => array('get' => array('path' => '{packageName}/purchases/products/{productId}/tokens/{token}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:8211$this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource($this, $this->serviceName, 'tracks', array('methods' => array('get' => array('path' => '{packageName}/edits/{editId}/tracks/{track}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{packageName}/edits/{editId}/tracks', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{packageName}/edits/{editId}/tracks/{track}', 'httpMethod' => 'PATCH', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{packageName}/edits/{editId}/tracks/{track}', 'httpMethod' => 'PUT', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'editId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'track' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:9061$this->entitlements = new Google_Service_AndroidPublisher_Entitlements_Resource($this, $this->serviceName, 'entitlements', array('methods' => array('list' => array('path' => '{packageName}/entitlements', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'productId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/CloudUserAccounts.php:1321$this->groups = new Google_Service_CloudUserAccounts_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('addMember' => array('path' => '{project}/global/groups/{groupName}/addMember', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/global/groups/{groupName}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/groups/{groupName}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIamPolicy' => array('path' => '{project}/global/groups/{resource}/getIamPolicy', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/groups', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/groups', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'removeMember' => array('path' => '{project}/global/groups/{groupName}/removeMember', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setIamPolicy' => array('path' => '{project}/global/groups/{resource}/setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'testIamPermissions' => array('path' => '{project}/global/groups/{resource}/testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/CloudUserAccounts.php:2831$this->linux = new Google_Service_CloudUserAccounts_Linux_Resource($this, $this->serviceName, 'linux', array('methods' => array('getAuthorizedKeysView' => array('path' => '{project}/zones/{zone}/authorizedKeysView/{user}', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'login' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'getLinuxAccountViews' => array('path' => '{project}/zones/{zone}/linuxAccountViews', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AndroidPublisher.php:10901$this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('cancel' => array('path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'defer' => array('path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'refund' => array('path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'revoke' => array('path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/CloudUserAccounts.php:661$this->globalAccountsOperations = new Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource($this, $this->serviceName, 'globalAccountsOperations', array('methods' => array('delete' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:1001$this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:671$this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Manager.php:1621$this->templates = new Google_Service_Manager_Templates_Resource($this, $this->serviceName, 'templates', array('methods' => array('delete' => array('path' => '{projectId}/templates/{templateName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{projectId}/templates/{templateName}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{projectId}/templates', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{projectId}/templates', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Manager.php:741$this->deployments = new Google_Service_Manager_Deployments_Resource($this, $this->serviceName, 'deployments', array('methods' => array('delete' => array('path' => '{projectId}/regions/{region}/deployments/{deploymentName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deploymentName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{projectId}/regions/{region}/deployments/{deploymentName}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deploymentName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{projectId}/regions/{region}/deployments', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{projectId}/regions/{region}/deployments', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:2251$this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource($this, $this->serviceName, 'metrics', array('methods' => array('list' => array('path' => 'accounts/{accountId}/metadata/metrics', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:2051$this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource($this, $this->serviceName, 'dimensions', array('methods' => array('list' => array('path' => 'accounts/{accountId}/metadata/dimensions', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:1521$this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeSeller.php:1281$this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('list' => array('path' => 'accounts/{accountId}/alerts', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTubeReporting.php:611$this->jobs = new Google_Service_YouTubeReporting_Jobs_Resource($this, $this->serviceName, 'jobs', array('methods' => array('create' => array('path' => 'v1/jobs', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'v1/jobs/{jobId}', 'httpMethod' => 'DELETE', 'parameters' => array('jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'v1/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array('jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v1/jobs', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Script.php:811$this->scripts = new Google_Service_Script_Scripts_Resource($this, $this->serviceName, 'scripts', array('methods' => array('run' => array('path' => 'v1/scripts/{scriptId}:run', 'httpMethod' => 'POST', 'parameters' => array('scriptId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Oauth2.php:921$this->base_methods = new Google_Service_Resource($this, $this->serviceName, '', array('methods' => array('getCertForOpenIdConnect' => array('path' => 'oauth2/v2/certs', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'tokeninfo' => array('path' => 'oauth2/v2/tokeninfo', 'httpMethod' => 'POST', 'parameters' => array('access_token' => array('location' => 'query', 'type' => 'string', ), 'id_token' => array('location' => 'query', 'type' => 'string', ), 'token_handle' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Spectrum.php:521$this->paws = new Google_Service_Spectrum_Paws_Resource($this, $this->serviceName, 'paws', array('methods' => array('getSpectrum' => array('path' => 'getSpectrum', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'getSpectrumBatch' => array('path' => 'getSpectrumBatch', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'init' => array('path' => 'init', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'notifySpectrumUse' => array('path' => 'notifySpectrumUse', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'register' => array('path' => 'register', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'verifyDevice' => array('path' => 'verifyDevice', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Urlshortener.php:541$this->url = new Google_Service_Urlshortener_Url_Resource($this, $this->serviceName, 'url', array('methods' => array('get' => array('path' => 'url', 'httpMethod' => 'GET', 'parameters' => array('shortUrl' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'url', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'url/history', 'httpMethod' => 'GET', 'parameters' => array('start-token' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTubeReporting.php:1961$this->reportTypes = new Google_Service_YouTubeReporting_ReportTypes_Resource($this, $this->serviceName, 'reportTypes', array('methods' => array('list' => array('path' => 'v1/reportTypes', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/YouTubeReporting.php:1761$this->media = new Google_Service_YouTubeReporting_Media_Resource($this, $this->serviceName, 'media', array('methods' => array('download' => array('path' => 'v1/media/{+resourceName}', 'httpMethod' => 'GET', 'parameters' => array('resourceName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTubeReporting.php:1251$this->jobs_reports = new Google_Service_YouTubeReporting_JobsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('get' => array('path' => 'v1/jobs/{jobId}/reports/{reportId}', 'httpMethod' => 'GET', 'parameters' => array('jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v1/jobs/{jobId}/reports', 'httpMethod' => 'GET', 'parameters' => array('jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:11021$this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource($this, $this->serviceName, 'files', array('methods' => array('insert' => array('path' => 'rasters/{id}/files', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filename' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:11271$this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'rasters/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:9061$this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource($this, $this->serviceName, 'rasters', array('methods' => array('batchDelete' => array('path' => 'rasterCollections/{id}/rasters/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchInsert' => array('path' => 'rasterCollections/{id}/rasters/batchInsert', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'rasterCollections/{id}/rasters', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:9901$this->rasters = new Google_Service_MapsEngine_Rasters_Resource($this, $this->serviceName, 'rasters', array('methods' => array('delete' => array('path' => 'rasters/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'rasters/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'rasters', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'processingStatus' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'rasters/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'process' => array('path' => 'rasters/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'upload' => array('path' => 'rasters/upload', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:8381$this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'rasterCollections/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:8661$this->rasterCollections_permissions = new Google_Service_MapsEngine_RasterCollectionsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'rasterCollections/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchUpdate' => array('path' => 'rasterCollections/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'rasterCollections/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:6641$this->projects_icons = new Google_Service_MapsEngine_ProjectsIcons_Resource($this, $this->serviceName, 'icons', array('methods' => array('create' => array('path' => 'projects/{projectId}/icons', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{projectId}/icons/{id}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{projectId}/icons', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:7171$this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource($this, $this->serviceName, 'rasterCollections', array('methods' => array('cancelProcessing' => array('path' => 'rasterCollections/{id}/cancelProcessing', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'create' => array('path' => 'rasterCollections', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'rasterCollections', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'processingStatus' => array('location' => 'query', 'type' => 'string', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'rasterCollections/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'process' => array('path' => 'rasterCollections/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Datastore.php:601$this->datasets = new Google_Service_Datastore_Datasets_Resource($this, $this->serviceName, 'datasets', array('methods' => array('allocateIds' => array('path' => '{datasetId}/allocateIds', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'beginTransaction' => array('path' => '{datasetId}/beginTransaction', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'commit' => array('path' => '{datasetId}/commit', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'lookup' => array('path' => '{datasetId}/lookup', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'rollback' => array('path' => '{datasetId}/rollback', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'runQuery' => array('path' => '{datasetId}/runQuery', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:651$this->collections = new Google_Service_AndroidEnterprise_Collections_Resource($this, $this->serviceName, 'collections', array('methods' => array('delete' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'enterprises/{enterpriseId}/collections', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/collections', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}', 'httpMethod' => 'PATCH', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:14481$this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'tables/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:14761$this->tables_permissions = new Google_Service_MapsEngine_TablesPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'tables/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchUpdate' => array('path' => 'tables/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'tables/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:13141$this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource($this, $this->serviceName, 'features', array('methods' => array('batchDelete' => array('path' => 'tables/{id}/features/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchInsert' => array('path' => 'tables/{id}/features/batchInsert', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchPatch' => array('path' => 'tables/{id}/features/batchPatch', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}/features/{id}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'version' => array('location' => 'query', 'type' => 'string', ), 'select' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'tables/{id}/features', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'intersects' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'version' => array('location' => 'query', 'type' => 'string', ), 'limit' => array('location' => 'query', 'type' => 'integer', ), 'include' => array('location' => 'query', 'type' => 'string', ), 'where' => array('location' => 'query', 'type' => 'string', ), 'select' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:14231$this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource($this, $this->serviceName, 'files', array('methods' => array('insert' => array('path' => 'tables/{id}/files', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filename' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:11551$this->rasters_permissions = new Google_Service_MapsEngine_RastersPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'rasters/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchUpdate' => array('path' => 'rasters/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'rasters/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:11951$this->tables = new Google_Service_MapsEngine_Tables_Resource($this, $this->serviceName, 'tables', array('methods' => array('create' => array('path' => 'tables', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'tables/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'version' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'tables', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'processingStatus' => array('location' => 'query', 'type' => 'string', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'tables/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'process' => array('path' => 'tables/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'upload' => array('path' => 'tables/upload', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:6551$this->pretargetingConfig = new Google_Service_AdExchangeBuyer_PretargetingConfig_Resource($this, $this->serviceName, 'pretargetingConfig', array('methods' => array('delete' => array('path' => 'pretargetingconfigs/{accountId}/{configId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'configId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'pretargetingconfigs/{accountId}/{configId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'configId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'pretargetingconfigs/{accountId}', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'pretargetingconfigs/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'pretargetingconfigs/{accountId}/{configId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'configId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'pretargetingconfigs/{accountId}/{configId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'configId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:6171$this->performanceReport = new Google_Service_AdExchangeBuyer_PerformanceReport_Resource($this, $this->serviceName, 'performanceReport', array('methods' => array('list' => array('path' => 'performancereport', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDateTime' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'startDateTime' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:5891$this->offers = new Google_Service_AdExchangeBuyer_Offers_Resource($this, $this->serviceName, 'offers', array('methods' => array('get' => array('path' => 'offers/{offerId}', 'httpMethod' => 'GET', 'parameters' => array('offerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'offers', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'offers', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:5611$this->negotiations = new Google_Service_AdExchangeBuyer_Negotiations_Resource($this, $this->serviceName, 'negotiations', array('methods' => array('get' => array('path' => 'negotiations/{negotiationId}', 'httpMethod' => 'GET', 'parameters' => array('negotiationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'negotiations', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'negotiations', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:5411$this->negotiationrounds = new Google_Service_AdExchangeBuyer_Negotiationrounds_Resource($this, $this->serviceName, 'negotiationrounds', array('methods' => array('insert' => array('path' => 'negotiations/{negotiationId}/negotiationrounds', 'httpMethod' => 'POST', 'parameters' => array('negotiationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:4681$this->marketplaceorders = new Google_Service_AdExchangeBuyer_Marketplaceorders_Resource($this, $this->serviceName, 'marketplaceorders', array('methods' => array('get' => array('path' => 'marketplaceOrders/{orderId}', 'httpMethod' => 'GET', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'marketplaceOrders/insert', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'patch' => array('path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}', 'httpMethod' => 'PATCH', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionNumber' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateAction' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'search' => array('path' => 'marketplaceOrders/search', 'httpMethod' => 'GET', 'parameters' => array('pqlQuery' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'marketplaceOrders/{orderId}/{revisionNumber}/{updateAction}', 'httpMethod' => 'PUT', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revisionNumber' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateAction' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:4391$this->marketplaceoffers = new Google_Service_AdExchangeBuyer_Marketplaceoffers_Resource($this, $this->serviceName, 'marketplaceoffers', array('methods' => array('get' => array('path' => 'marketplaceOffers/{offerId}', 'httpMethod' => 'GET', 'parameters' => array('offerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'search' => array('path' => 'marketplaceOffers/search', 'httpMethod' => 'GET', 'parameters' => array('pqlQuery' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:4091$this->marketplacenotes = new Google_Service_AdExchangeBuyer_Marketplacenotes_Resource($this, $this->serviceName, 'marketplacenotes', array('methods' => array('insert' => array('path' => 'marketplaceOrders/{orderId}/notes/insert', 'httpMethod' => 'POST', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'marketplaceOrders/{orderId}/notes', 'httpMethod' => 'GET', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:6101$this->maps_permissions = new Google_Service_MapsEngine_MapsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'maps/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchUpdate' => array('path' => 'maps/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'maps/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:4541$this->maps = new Google_Service_MapsEngine_Maps_Resource($this, $this->serviceName, 'maps', array('methods' => array('create' => array('path' => 'maps', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'maps/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'maps/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'version' => array('location' => 'query', 'type' => 'string', ), ), ), 'getPublished' => array('path' => 'maps/{id}/published', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'maps', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'processingStatus' => array('location' => 'query', 'type' => 'string', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), 'listPublished' => array('path' => 'maps/published', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'maps/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'publish' => array('path' => 'maps/{id}/publish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'force' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'unpublish' => array('path' => 'maps/{id}/unpublish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:4141$this->layers_permissions = new Google_Service_MapsEngine_LayersPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('batchDelete' => array('path' => 'layers/{id}/permissions/batchDelete', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'batchUpdate' => array('path' => 'layers/{id}/permissions/batchUpdate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'layers/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:3861$this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'layers/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:2051$this->layers = new Google_Service_MapsEngine_Layers_Resource($this, $this->serviceName, 'layers', array('methods' => array('cancelProcessing' => array('path' => 'layers/{id}/cancelProcessing', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'create' => array('path' => 'layers', 'httpMethod' => 'POST', 'parameters' => array('process' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'delete' => array('path' => 'layers/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'layers/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'version' => array('location' => 'query', 'type' => 'string', ), ), ), 'getPublished' => array('path' => 'layers/{id}/published', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'layers', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'processingStatus' => array('location' => 'query', 'type' => 'string', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), ), ), 'listPublished' => array('path' => 'layers/published', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'layers/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'process' => array('path' => 'layers/{id}/process', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'publish' => array('path' => 'layers/{id}/publish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'force' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'unpublish' => array('path' => 'layers/{id}/unpublish', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:1851$this->assets_permissions = new Google_Service_MapsEngine_AssetsPermissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('list' => array('path' => 'assets/{id}/permissions', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:1571$this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource($this, $this->serviceName, 'parents', array('methods' => array('list' => array('path' => 'assets/{id}/parents', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/MapsEngine.php:801$this->assets = new Google_Service_MapsEngine_Assets_Resource($this, $this->serviceName, 'assets', array('methods' => array('get' => array('path' => 'assets/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'assets', 'httpMethod' => 'GET', 'parameters' => array('modifiedAfter' => array('location' => 'query', 'type' => 'string', ), 'createdAfter' => array('location' => 'query', 'type' => 'string', ), 'tags' => array('location' => 'query', 'type' => 'string', ), 'projectId' => array('location' => 'query', 'type' => 'string', ), 'search' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'creatorEmail' => array('location' => 'query', 'type' => 'string', ), 'bbox' => array('location' => 'query', 'type' => 'string', ), 'modifiedBefore' => array('location' => 'query', 'type' => 'string', ), 'createdBefore' => array('location' => 'query', 'type' => 'string', ), 'role' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:3411$this->users_messages = new Google_Service_Gmail_UsersMessages_Resource($this, $this->serviceName, 'messages', array('methods' => array('delete' => array('path' => '{userId}/messages/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{userId}/messages/{id}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'metadataHeaders' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'format' => array('location' => 'query', 'type' => 'string', ), ), ), 'import' => array('path' => '{userId}/messages/import', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deleted' => array('location' => 'query', 'type' => 'boolean', ), 'processForCalendar' => array('location' => 'query', 'type' => 'boolean', ), 'internalDateSource' => array('location' => 'query', 'type' => 'string', ), 'neverMarkSpam' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'insert' => array('path' => '{userId}/messages', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deleted' => array('location' => 'query', 'type' => 'boolean', ), 'internalDateSource' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{userId}/messages', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'includeSpamTrash' => array('location' => 'query', 'type' => 'boolean', ), 'labelIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'modify' => array('path' => '{userId}/messages/{id}/modify', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'send' => array('path' => '{userId}/messages/send', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'trash' => array('path' => '{userId}/messages/{id}/trash', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'untrash' => array('path' => '{userId}/messages/{id}/untrash', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:5201$this->users_messages_attachments = new Google_Service_Gmail_UsersMessagesAttachments_Resource($this, $this->serviceName, 'attachments', array('methods' => array('get' => array('path' => '{userId}/messages/{messageId}/attachments/{id}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'messageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:5501$this->users_threads = new Google_Service_Gmail_UsersThreads_Resource($this, $this->serviceName, 'threads', array('methods' => array('delete' => array('path' => '{userId}/threads/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{userId}/threads/{id}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'metadataHeaders' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'format' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{userId}/threads', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'includeSpamTrash' => array('location' => 'query', 'type' => 'boolean', ), 'labelIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'modify' => array('path' => '{userId}/threads/{id}/modify', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'trash' => array('path' => '{userId}/threads/{id}/trash', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'untrash' => array('path' => '{userId}/threads/{id}/untrash', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Doubleclicksearch.php:571$this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource($this, $this->serviceName, 'conversion', array('methods' => array('get' => array('path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', 'httpMethod' => 'GET', 'parameters' => array('agencyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'advertiserId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'engineAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'rowCount' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'startDate' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'startRow' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'adGroupId' => array('location' => 'query', 'type' => 'string', ), 'campaignId' => array('location' => 'query', 'type' => 'string', ), 'adId' => array('location' => 'query', 'type' => 'string', ), 'criterionId' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'conversion', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'patch' => array('path' => 'conversion', 'httpMethod' => 'PATCH', 'parameters' => array('advertiserId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'agencyId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'engineAccountId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'rowCount' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'startDate' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'startRow' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => 'conversion', 'httpMethod' => 'PUT', 'parameters' => array( ), ), 'updateAvailability' => array('path' => 'conversion/updateAvailability', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Gmail.php:781$this->users = new Google_Service_Gmail_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('getProfile' => array('path' => '{userId}/profile', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'stop' => array('path' => '{userId}/stop', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'watch' => array('path' => '{userId}/watch', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:1181$this->users_drafts = new Google_Service_Gmail_UsersDrafts_Resource($this, $this->serviceName, 'drafts', array('methods' => array('create' => array('path' => '{userId}/drafts', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{userId}/drafts/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{userId}/drafts/{id}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'format' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{userId}/drafts', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'send' => array('path' => '{userId}/drafts/send', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{userId}/drafts/{id}', 'httpMethod' => 'PUT', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:2151$this->users_history = new Google_Service_Gmail_UsersHistory_Resource($this, $this->serviceName, 'history', array('methods' => array('list' => array('path' => '{userId}/history', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'labelId' => array('location' => 'query', 'type' => 'string', ), 'startHistoryId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Gmail.php:2511$this->users_labels = new Google_Service_Gmail_UsersLabels_Resource($this, $this->serviceName, 'labels', array('methods' => array('create' => array('path' => '{userId}/labels', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{userId}/labels/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{userId}/labels/{id}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{userId}/labels', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{userId}/labels/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{userId}/labels/{id}', 'httpMethod' => 'PUT', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Translate.php:941$this->translations = new Google_Service_Translate_Translations_Resource($this, $this->serviceName, 'translations', array('methods' => array('list' => array('path' => 'v2', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), 'target' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), 'format' => array('location' => 'query', 'type' => 'string', ), 'cid' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Computeaccounts.php:621$this->globalAccountsOperations = new Google_Service_Computeaccounts_GlobalAccountsOperations_Resource($this, $this->serviceName, 'globalAccountsOperations', array('methods' => array('delete' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Computeaccounts.php:1241$this->groups = new Google_Service_Computeaccounts_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('addMember' => array('path' => '{project}/global/groups/{groupName}/addMember', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/global/groups/{groupName}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/groups/{groupName}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/groups', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/groups', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'removeMember' => array('path' => '{project}/global/groups/{groupName}/removeMember', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Computeaccounts.php:2261$this->linux = new Google_Service_Computeaccounts_Linux_Resource($this, $this->serviceName, 'linux', array('methods' => array('getAuthorizedKeysView' => array('path' => '{project}/zones/{zone}/authorizedKeysView/{user}', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'getLinuxAccountViews' => array('path' => '{project}/zones/{zone}/linuxAccountViews', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'user' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Doubleclicksearch.php:1751$this->reports = new Google_Service_Doubleclicksearch_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports/generate', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => 'reports/{reportId}', 'httpMethod' => 'GET', 'parameters' => array('reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getFile' => array('path' => 'reports/{reportId}/files/{reportFragment}', 'httpMethod' => 'GET', 'parameters' => array('reportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'reportFragment' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'request' => array('path' => 'reports', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Doubleclicksearch.php:2181$this->savedColumns = new Google_Service_Doubleclicksearch_SavedColumns_Resource($this, $this->serviceName, 'savedColumns', array('methods' => array('list' => array('path' => 'agency/{agencyId}/advertiser/{advertiserId}/savedcolumns', 'httpMethod' => 'GET', 'parameters' => array('agencyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'advertiserId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Translate.php:541$this->detections = new Google_Service_Translate_Detections_Resource($this, $this->serviceName, 'detections', array('methods' => array('list' => array('path' => 'v2/detect', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Translate.php:751$this->languages = new Google_Service_Translate_Languages_Resource($this, $this->serviceName, 'languages', array('methods' => array('list' => array('path' => 'v2/languages', 'httpMethod' => 'GET', 'parameters' => array('target' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:5831$this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource($this, $this->serviceName, 'grouplicenseusers', array('methods' => array('list' => array('path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupLicenseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:5481$this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource($this, $this->serviceName, 'grouplicenses', array('methods' => array('get' => array('path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'groupLicenseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/groupLicenses', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:7381$this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource($this, $this->serviceName, 'permissions', array('methods' => array('get' => array('path' => 'permissions/{permissionId}', 'httpMethod' => 'GET', 'parameters' => array('permissionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:6081$this->installs = new Google_Service_AndroidEnterprise_Installs_Resource($this, $this->serviceName, 'installs', array('methods' => array('delete' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'installId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'installId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', 'httpMethod' => 'PATCH', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'installId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'installId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:2601$this->devices = new Google_Service_AndroidEnterprise_Devices_Resource($this, $this->serviceName, 'devices', array('methods' => array('get' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getState' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setState' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:1551$this->collectionviewers = new Google_Service_AndroidEnterprise_Collectionviewers_Resource($this, $this->serviceName, 'collectionviewers', array('methods' => array('delete' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', 'httpMethod' => 'PATCH', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collectionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:4351$this->entitlements = new Google_Service_AndroidEnterprise_Entitlements_Resource($this, $this->serviceName, 'entitlements', array('methods' => array('delete' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entitlementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entitlementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', 'httpMethod' => 'PATCH', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entitlementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'install' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'entitlementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'install' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:3451$this->enterprises = new Google_Service_AndroidEnterprise_Enterprises_Resource($this, $this->serviceName, 'enterprises', array('methods' => array('delete' => array('path' => 'enterprises/{enterpriseId}', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'enroll' => array('path' => 'enterprises/enroll', 'httpMethod' => 'POST', 'parameters' => array('token' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'enterprises', 'httpMethod' => 'POST', 'parameters' => array('token' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises', 'httpMethod' => 'GET', 'parameters' => array('domain' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'sendTestPushNotification' => array('path' => 'enterprises/{enterpriseId}/sendTestPushNotification', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setAccount' => array('path' => 'enterprises/{enterpriseId}/account', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'unenroll' => array('path' => 'enterprises/{enterpriseId}/unenroll', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Cloudbilling.php:571$this->billingAccounts = new Google_Service_Cloudbilling_BillingAccounts_Resource($this, $this->serviceName, 'billingAccounts', array('methods' => array('get' => array('path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/billingAccounts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Tasks.php:1251$this->tasks = new Google_Service_Tasks_Tasks_Resource($this, $this->serviceName, 'tasks', array('methods' => array('clear' => array('path' => 'lists/{tasklist}/clear', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'DELETE', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'lists/{tasklist}/tasks', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parent' => array('location' => 'query', 'type' => 'string', ), 'previous' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'lists/{tasklist}/tasks', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'dueMax' => array('location' => 'query', 'type' => 'string', ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'completedMin' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'string', ), 'showCompleted' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'completedMax' => array('location' => 'query', 'type' => 'string', ), 'showHidden' => array('location' => 'query', 'type' => 'boolean', ), 'dueMin' => array('location' => 'query', 'type' => 'string', ), ), ), 'move' => array('path' => 'lists/{tasklist}/tasks/{task}/move', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parent' => array('location' => 'query', 'type' => 'string', ), 'previous' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'PATCH', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'PUT', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Cloudbilling.php:1181$this->projects = new Google_Service_Cloudbilling_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('getBillingInfo' => array('path' => 'v1/{+name}/billingInfo', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updateBillingInfo' => array('path' => 'v1/{+name}/billingInfo', 'httpMethod' => 'PUT', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Cloudbilling.php:901$this->billingAccounts_projects = new Google_Service_Cloudbilling_BillingAccountsProjects_Resource($this, $this->serviceName, 'projects', array('methods' => array('list' => array('path' => 'v1/{+name}/projects', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:8741$this->users = new Google_Service_AndroidEnterprise_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('generateToken' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/token', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/users/{userId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getAvailableProductSet' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'enterprises/{enterpriseId}/users', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'email' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'revokeToken' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/token', 'httpMethod' => 'DELETE', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setAvailableProductSet' => array('path' => 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AndroidEnterprise.php:7621$this->products = new Google_Service_AndroidEnterprise_Products_Resource($this, $this->serviceName, 'products', array('methods' => array('approve' => array('path' => 'enterprises/{enterpriseId}/products/{productId}/approve', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'generateApprovalUrl' => array('path' => 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', 'httpMethod' => 'POST', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'languageCode' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'enterprises/{enterpriseId}/products/{productId}', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'getAppRestrictionsSchema' => array('path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'getPermissions' => array('path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', 'httpMethod' => 'GET', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updatePermissions' => array('path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', 'httpMethod' => 'PUT', 'parameters' => array('enterpriseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Tasks.php:581$this->tasklists = new Google_Service_Tasks_Tasklists_Resource($this, $this->serviceName, 'tasklists', array('methods' => array('delete' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'DELETE', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'users/@me/lists', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'users/@me/lists', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'PATCH', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'PUT', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Pagespeedonline.php:531$this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource($this, $this->serviceName, 'pagespeedapi', array('methods' => array('runpagespeed' => array('path' => 'runPagespeed', 'httpMethod' => 'GET', 'parameters' => array('url' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'screenshot' => array('location' => 'query', 'type' => 'boolean', ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'rule' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'strategy' => array('location' => 'query', 'type' => 'string', ), 'filter_third_party_resources' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Games.php:2271$this->events = new Google_Service_Games_Events_Resource($this, $this->serviceName, 'events', array('methods' => array('listByPlayer' => array('path' => 'events', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'listDefinitions' => array('path' => 'eventDefinitions', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'record' => array('path' => 'events', 'httpMethod' => 'POST', 'parameters' => array('language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:2801$this->leaderboards = new Google_Service_Games_Leaderboards_Resource($this, $this->serviceName, 'leaderboards', array('methods' => array('get' => array('path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'GET', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'leaderboards', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:1011$this->achievements = new Google_Service_Games_Achievements_Resource($this, $this->serviceName, 'achievements', array('methods' => array('increment' => array('path' => 'achievements/{achievementId}/increment', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'stepsToIncrement' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'requestId' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'players/{playerId}/achievements', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'state' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'reveal' => array('path' => 'achievements/{achievementId}/reveal', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setStepsAtLeast' => array('path' => 'achievements/{achievementId}/setStepsAtLeast', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'steps' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'unlock' => array('path' => 'achievements/{achievementId}/unlock', 'httpMethod' => 'POST', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'updateMultiple' => array('path' => 'achievements/updateMultiple', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Games.php:1951$this->applications = new Google_Service_Games_Applications_Resource($this, $this->serviceName, 'applications', array('methods' => array('get' => array('path' => 'applications/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'platformType' => array('location' => 'query', 'type' => 'string', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'played' => array('path' => 'applications/played', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Games.php:4081$this->pushtokens = new Google_Service_Games_Pushtokens_Resource($this, $this->serviceName, 'pushtokens', array('methods' => array('remove' => array('path' => 'pushtokens/remove', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'update' => array('path' => 'pushtokens', 'httpMethod' => 'PUT', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Games.php:4261$this->questMilestones = new Google_Service_Games_QuestMilestones_Resource($this, $this->serviceName, 'questMilestones', array('methods' => array('claim' => array('path' => 'quests/{questId}/milestones/{milestoneId}/claim', 'httpMethod' => 'PUT', 'parameters' => array('questId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'milestoneId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'requestId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Games.php:3211$this->metagame = new Google_Service_Games_Metagame_Resource($this, $this->serviceName, 'metagame', array('methods' => array('getMetagameConfig' => array('path' => 'metagameConfig', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'listCategoriesByPlayer' => array('path' => 'players/{playerId}/categories/{collection}', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:3621$this->players = new Google_Service_Games_Players_Resource($this, $this->serviceName, 'players', array('methods' => array('get' => array('path' => 'players/{playerId}', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'players/me/players/{collection}', 'httpMethod' => 'GET', 'parameters' => array('collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:5221$this->rooms = new Google_Service_Games_Rooms_Resource($this, $this->serviceName, 'rooms', array('methods' => array('create' => array('path' => 'rooms/create', 'httpMethod' => 'POST', 'parameters' => array('language' => array('location' => 'query', 'type' => 'string', ), ), ), 'decline' => array('path' => 'rooms/{roomId}/decline', 'httpMethod' => 'POST', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'dismiss' => array('path' => 'rooms/{roomId}/dismiss', 'httpMethod' => 'POST', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'rooms/{roomId}', 'httpMethod' => 'GET', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'join' => array('path' => 'rooms/{roomId}/join', 'httpMethod' => 'POST', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'leave' => array('path' => 'rooms/{roomId}/leave', 'httpMethod' => 'POST', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'rooms', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'reportStatus' => array('path' => 'rooms/{roomId}/reportstatus', 'httpMethod' => 'POST', 'parameters' => array('roomId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:6381$this->scores = new Google_Service_Games_Scores_Resource($this, $this->serviceName, 'scores', array('methods' => array('get' => array('path' => 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timeSpan' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeRankType' => array('location' => 'query', 'type' => 'string', ), 'language' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'leaderboards/{leaderboardId}/scores/{collection}', 'httpMethod' => 'GET', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timeSpan' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'listWindow' => array('path' => 'leaderboards/{leaderboardId}/window/{collection}', 'httpMethod' => 'GET', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timeSpan' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), 'returnTopIfAbsent' => array('location' => 'query', 'type' => 'boolean', ), 'resultsAbove' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'submit' => array('path' => 'leaderboards/{leaderboardId}/scores', 'httpMethod' => 'POST', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'score' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), 'scoreTag' => array('location' => 'query', 'type' => 'string', ), ), ), 'submitMultiple' => array('path' => 'leaderboards/scores', 'httpMethod' => 'POST', 'parameters' => array('language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:4561$this->quests = new Google_Service_Games_Quests_Resource($this, $this->serviceName, 'quests', array('methods' => array('accept' => array('path' => 'quests/{questId}/accept', 'httpMethod' => 'POST', 'parameters' => array('questId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'players/{playerId}/quests', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:5021$this->revisions = new Google_Service_Games_Revisions_Resource($this, $this->serviceName, 'revisions', array('methods' => array('check' => array('path' => 'revisions/check', 'httpMethod' => 'GET', 'parameters' => array('clientRevision' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Partners.php:711$this->companies = new Google_Service_Partners_Companies_Resource($this, $this->serviceName, 'companies', array('methods' => array('get' => array('path' => 'v2/companies/{companyId}', 'httpMethod' => 'GET', 'parameters' => array('companyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.userOverrides.userId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.userOverrides.ipAddress' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.partnersSessionId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.trafficSource.trafficSubId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.locale' => array('location' => 'query', 'type' => 'string', ), 'address' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.experimentIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'currencyCode' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.trafficSource.trafficSourceId' => array('location' => 'query', 'type' => 'string', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v2/companies', 'httpMethod' => 'GET', 'parameters' => array('orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'requestMetadata.partnersSessionId' => array('location' => 'query', 'type' => 'string', ), 'maxMonthlyBudget.currencyCode' => array('location' => 'query', 'type' => 'string', ), 'maxMonthlyBudget.nanos' => array('location' => 'query', 'type' => 'integer', ), 'languageCodes' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'minMonthlyBudget.nanos' => array('location' => 'query', 'type' => 'integer', ), 'requestMetadata.trafficSource.trafficSubId' => array('location' => 'query', 'type' => 'string', ), 'industries' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'minMonthlyBudget.currencyCode' => array('location' => 'query', 'type' => 'string', ), 'minMonthlyBudget.units' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.locale' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.trafficSource.trafficSourceId' => array('location' => 'query', 'type' => 'string', ), 'companyName' => array('location' => 'query', 'type' => 'string', ), 'address' => array('location' => 'query', 'type' => 'string', ), 'services' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'requestMetadata.experimentIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'gpsMotivations' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'requestMetadata.userOverrides.ipAddress' => array('location' => 'query', 'type' => 'string', ), 'websiteUrl' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.userOverrides.userId' => array('location' => 'query', 'type' => 'string', ), 'view' => array('location' => 'query', 'type' => 'string', ), 'maxMonthlyBudget.units' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Partners.php:2421$this->companies_leads = new Google_Service_Partners_CompaniesLeads_Resource($this, $this->serviceName, 'leads', array('methods' => array('create' => array('path' => 'v2/companies/{companyId}/leads', 'httpMethod' => 'POST', 'parameters' => array('companyId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Games.php:7881$this->snapshots = new Google_Service_Games_Snapshots_Resource($this, $this->serviceName, 'snapshots', array('methods' => array('get' => array('path' => 'snapshots/{snapshotId}', 'httpMethod' => 'GET', 'parameters' => array('snapshotId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'players/{playerId}/snapshots', 'httpMethod' => 'GET', 'parameters' => array('playerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Games.php:8341$this->turnBasedMatches = new Google_Service_Games_TurnBasedMatches_Resource($this, $this->serviceName, 'turnBasedMatches', array('methods' => array('cancel' => array('path' => 'turnbasedmatches/{matchId}/cancel', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'create' => array('path' => 'turnbasedmatches/create', 'httpMethod' => 'POST', 'parameters' => array('language' => array('location' => 'query', 'type' => 'string', ), ), ), 'decline' => array('path' => 'turnbasedmatches/{matchId}/decline', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'dismiss' => array('path' => 'turnbasedmatches/{matchId}/dismiss', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'finish' => array('path' => 'turnbasedmatches/{matchId}/finish', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'turnbasedmatches/{matchId}', 'httpMethod' => 'GET', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), 'includeMatchData' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'join' => array('path' => 'turnbasedmatches/{matchId}/join', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'leave' => array('path' => 'turnbasedmatches/{matchId}/leave', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'leaveTurn' => array('path' => 'turnbasedmatches/{matchId}/leaveTurn', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'matchVersion' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), 'pendingParticipantId' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'turnbasedmatches', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxCompletedMatches' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), 'includeMatchData' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'rematch' => array('path' => 'turnbasedmatches/{matchId}/rematch', 'httpMethod' => 'POST', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'requestId' => array('location' => 'query', 'type' => 'string', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), 'sync' => array('path' => 'turnbasedmatches/sync', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxCompletedMatches' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), 'includeMatchData' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'takeTurn' => array('path' => 'turnbasedmatches/{matchId}/turn', 'httpMethod' => 'PUT', 'parameters' => array('matchId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Cloudtrace.php:771$this->projects_traces = new Google_Service_Cloudtrace_ProjectsTraces_Resource($this, $this->serviceName, 'traces', array('methods' => array('get' => array('path' => 'v1/projects/{projectId}/traces/{traceId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'traceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/projects/{projectId}/traces', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Cloudtrace.php:571$this->projects = new Google_Service_Cloudtrace_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('patchTraces' => array('path' => 'v1/projects/{projectId}/traces', 'httpMethod' => 'PATCH', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Reports.php:2111$this->userUsageReport = new Google_Service_Reports_UserUsageReport_Resource($this, $this->serviceName, 'userUsageReport', array('methods' => array('get' => array('path' => 'usage/users/{userKey}/dates/{date}', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'date' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'parameters' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Reports.php:1791$this->customerUsageReports = new Google_Service_Reports_CustomerUsageReports_Resource($this, $this->serviceName, 'customerUsageReports', array('methods' => array('get' => array('path' => 'usage/dates/{date}', 'httpMethod' => 'GET', 'parameters' => array('date' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), 'parameters' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/DeploymentManager.php:2851$this->operations = new Google_Service_DeploymentManager_Operations_Resource($this, $this->serviceName, 'operations', array('methods' => array('get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/DeploymentManager.php:2281$this->manifests = new Google_Service_DeploymentManager_Manifests_Resource($this, $this->serviceName, 'manifests', array('methods' => array('get' => array('path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'manifest' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/deployments/{deployment}/manifests', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/DeploymentManager.php:681$this->deployments = new Google_Service_DeploymentManager_Deployments_Resource($this, $this->serviceName, 'deployments', array('methods' => array('cancelPreview' => array('path' => '{project}/global/deployments/{deployment}/cancelPreview', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/deployments', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'preview' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => '{project}/global/deployments', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'preview' => array('location' => 'query', 'type' => 'boolean', ), 'deletePolicy' => array('location' => 'query', 'type' => 'string', ), 'createPolicy' => array('location' => 'query', 'type' => 'string', ), ), ), 'stop' => array('path' => '{project}/global/deployments/{deployment}/stop', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/deployments/{deployment}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'preview' => array('location' => 'query', 'type' => 'boolean', ), 'deletePolicy' => array('location' => 'query', 'type' => 'string', ), 'createPolicy' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Cloudtrace.php:1401$this->v1 = new Google_Service_Cloudtrace_V1_Resource($this, $this->serviceName, 'v1', array('methods' => array('getDiscovery' => array('path' => 'v1/discovery', 'httpMethod' => 'GET', 'parameters' => array('labels' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'version' => array('location' => 'query', 'type' => 'string', ), 'args' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'format' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Playmoviespartner.php:1141$this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource($this, $this->serviceName, 'experienceLocales', array('methods' => array('get' => array('path' => 'v1/accounts/{accountId}/experienceLocales/{elId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'elId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/accounts/{accountId}/experienceLocales', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pphNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'titleLevelEidr' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'studioNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'editLevelEidr' => array('location' => 'query', 'type' => 'string', ), 'customId' => array('location' => 'query', 'type' => 'string', ), 'altCutId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Playmoviespartner.php:581$this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvails_Resource($this, $this->serviceName, 'avails', array('methods' => array('list' => array('path' => 'v1/accounts/{accountId}/avails', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pphNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'videoIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'title' => array('location' => 'query', 'type' => 'string', ), 'altId' => array('location' => 'query', 'type' => 'string', ), 'territories' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'studioNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/DeploymentManager.php:3891$this->types = new Google_Service_DeploymentManager_Types_Resource($this, $this->serviceName, 'types', array('methods' => array('list' => array('path' => '{project}/global/types', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/DeploymentManager.php:3321$this->resources = new Google_Service_DeploymentManager_Resources_Resource($this, $this->serviceName, 'resources', array('methods' => array('get' => array('path' => '{project}/global/deployments/{deployment}/resources/{resource}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/deployments/{deployment}/resources', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deployment' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Games.php:741$this->achievementDefinitions = new Google_Service_Games_AchievementDefinitions_Resource($this, $this->serviceName, 'achievementDefinitions', array('methods' => array('list' => array('path' => 'achievements', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Playmoviespartner.php:3101$this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource($this, $this->serviceName, 'country', array('methods' => array('get' => array('path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'videoId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'country' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Playmoviespartner.php:2541$this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfos_Resource($this, $this->serviceName, 'storeInfos', array('methods' => array('list' => array('path' => 'v1/accounts/{accountId}/storeInfos', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pphNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'name' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'countries' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'videoId' => array('location' => 'query', 'type' => 'string', ), 'studioNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'videoIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Playmoviespartner.php:1881$this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrders_Resource($this, $this->serviceName, 'orders', array('methods' => array('get' => array('path' => 'v1/accounts/{accountId}/orders/{orderId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/accounts/{accountId}/orders', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pphNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'name' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'studioNames' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'customId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:10401$this->personalizedstream = new Google_Service_Books_Personalizedstream_Resource($this, $this->serviceName, 'personalizedstream', array('methods' => array('get' => array('path' => 'personalizedstream/get', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'maxAllowedMaturityRating' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:10671$this->promooffer = new Google_Service_Books_Promooffer_Resource($this, $this->serviceName, 'promooffer', array('methods' => array('accept' => array('path' => 'promooffer/accept', 'httpMethod' => 'POST', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string', ), 'volumeId' => array('location' => 'query', 'type' => 'string', ), 'offerId' => array('location' => 'query', 'type' => 'string', ), 'androidId' => array('location' => 'query', 'type' => 'string', ), 'device' => array('location' => 'query', 'type' => 'string', ), 'model' => array('location' => 'query', 'type' => 'string', ), 'serial' => array('location' => 'query', 'type' => 'string', ), 'manufacturer' => array('location' => 'query', 'type' => 'string', ), ), ), 'dismiss' => array('path' => 'promooffer/dismiss', 'httpMethod' => 'POST', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string', ), 'offerId' => array('location' => 'query', 'type' => 'string', ), 'androidId' => array('location' => 'query', 'type' => 'string', ), 'device' => array('location' => 'query', 'type' => 'string', ), 'model' => array('location' => 'query', 'type' => 'string', ), 'serial' => array('location' => 'query', 'type' => 'string', ), 'manufacturer' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'promooffer/get', 'httpMethod' => 'GET', 'parameters' => array('product' => array('location' => 'query', 'type' => 'string', ), 'androidId' => array('location' => 'query', 'type' => 'string', ), 'device' => array('location' => 'query', 'type' => 'string', ), 'model' => array('location' => 'query', 'type' => 'string', ), 'serial' => array('location' => 'query', 'type' => 'string', ), 'manufacturer' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:11761$this->volumes = new Google_Service_Books_Volumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('get' => array('path' => 'volumes/{volumeId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'user_library_consistent_read' => array('location' => 'query', 'type' => 'boolean', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'country' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'partner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'volumes', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'libraryRestrict' => array('location' => 'query', 'type' => 'string', ), 'langRestrict' => array('location' => 'query', 'type' => 'string', ), 'showPreorders' => array('location' => 'query', 'type' => 'boolean', ), 'printType' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'download' => array('location' => 'query', 'type' => 'string', ), 'partner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:12741$this->volumes_associated = new Google_Service_Books_VolumesAssociated_Resource($this, $this->serviceName, 'associated', array('methods' => array('list' => array('path' => 'volumes/{volumeId}/associated', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'maxAllowedMaturityRating' => array('location' => 'query', 'type' => 'string', ), 'association' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:13101$this->volumes_mybooks = new Google_Service_Books_VolumesMybooks_Resource($this, $this->serviceName, 'mybooks', array('methods' => array('list' => array('path' => 'volumes/mybooks', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'acquireMethod' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'processingState' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Books.php:13511$this->volumes_recommended = new Google_Service_Books_VolumesRecommended_Resource($this, $this->serviceName, 'recommended', array('methods' => array('list' => array('path' => 'volumes/recommended', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'maxAllowedMaturityRating' => array('location' => 'query', 'type' => 'string', ), ), ), 'rate' => array('path' => 'volumes/recommended/rate', 'httpMethod' => 'POST', 'parameters' => array('rating' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:14011$this->volumes_useruploaded = new Google_Service_Books_VolumesUseruploaded_Resource($this, $this->serviceName, 'useruploaded', array('methods' => array('list' => array('path' => 'volumes/useruploaded', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'processingState' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Prediction.php:651$this->hostedmodels = new Google_Service_Prediction_Hostedmodels_Resource($this, $this->serviceName, 'hostedmodels', array('methods' => array('predict' => array('path' => '{project}/hostedmodels/{hostedModelName}/predict', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'hostedModelName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Prediction.php:901$this->trainedmodels = new Google_Service_Prediction_Trainedmodels_Resource($this, $this->serviceName, 'trainedmodels', array('methods' => array('analyze' => array('path' => '{project}/trainedmodels/{id}/analyze', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/trainedmodels', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/trainedmodels/list', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'predict' => array('path' => '{project}/trainedmodels/{id}/predict', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:691$this->accounts = new Google_Service_AdExchangeBuyer_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'patch' => array('path' => 'accounts/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:1131$this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource($this, $this->serviceName, 'billingInfo', array('methods' => array('get' => array('path' => 'billinginfo/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'list' => array('path' => 'billinginfo', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:1371$this->budget = new Google_Service_AdExchangeBuyer_Budget_Resource($this, $this->serviceName, 'budget', array('methods' => array('get' => array('path' => 'billinginfo/{accountId}/{billingId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'billingId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'billinginfo/{accountId}/{billingId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'billingId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'billinginfo/{accountId}/{billingId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'billingId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:1921$this->clientaccess = new Google_Service_AdExchangeBuyer_Clientaccess_Resource($this, $this->serviceName, 'clientaccess', array('methods' => array('delete' => array('path' => 'clientAccess/{clientAccountId}', 'httpMethod' => 'DELETE', 'parameters' => array('clientAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sponsorAccountId' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => 'clientAccess/{clientAccountId}', 'httpMethod' => 'GET', 'parameters' => array('clientAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sponsorAccountId' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'insert' => array('path' => 'clientAccess', 'httpMethod' => 'POST', 'parameters' => array('clientAccountId' => array('location' => 'query', 'type' => 'string', ), 'sponsorAccountId' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'clientAccess', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'patch' => array('path' => 'clientAccess/{clientAccountId}', 'httpMethod' => 'PATCH', 'parameters' => array('clientAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sponsorAccountId' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => 'clientAccess/{clientAccountId}', 'httpMethod' => 'PUT', 'parameters' => array('clientAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sponsorAccountId' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:2791$this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource($this, $this->serviceName, 'creatives', array('methods' => array('get' => array('path' => 'creatives/{accountId}/{buyerCreativeId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), 'buyerCreativeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'creatives', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'creatives', 'httpMethod' => 'GET', 'parameters' => array('openAuctionStatusFilter' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'buyerCreativeId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'dealsStatusFilter' => array('location' => 'query', 'type' => 'string', ), 'accountId' => array('location' => 'query', 'type' => 'integer', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:3391$this->deals = new Google_Service_AdExchangeBuyer_Deals_Resource($this, $this->serviceName, 'deals', array('methods' => array('get' => array('path' => 'deals/{dealId}', 'httpMethod' => 'GET', 'parameters' => array('dealId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdExchangeBuyer.php:3591$this->marketplacedeals = new Google_Service_AdExchangeBuyer_Marketplacedeals_Resource($this, $this->serviceName, 'marketplacedeals', array('methods' => array('delete' => array('path' => 'marketplaceOrders/{orderId}/deals/delete', 'httpMethod' => 'POST', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'marketplaceOrders/{orderId}/deals/insert', 'httpMethod' => 'POST', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'marketplaceOrders/{orderId}/deals', 'httpMethod' => 'GET', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'marketplaceOrders/{orderId}/deals/update', 'httpMethod' => 'POST', 'parameters' => array('orderId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Audit.php:521$this->activities = new Google_Service_Audit_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => '{customerId}/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'actorEmail' => array('location' => 'query', 'type' => 'string', ), 'actorApplicationId' => array('location' => 'query', 'type' => 'string', ), 'actorIpAddress' => array('location' => 'query', 'type' => 'string', ), 'caller' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'eventName' => array('location' => 'query', 'type' => 'string', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'continuationToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Partners.php:2761$this->userStates = new Google_Service_Partners_UserStates_Resource($this, $this->serviceName, 'userStates', array('methods' => array('list' => array('path' => 'v2/userStates', 'httpMethod' => 'GET', 'parameters' => array('requestMetadata.userOverrides.userId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.userOverrides.ipAddress' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.partnersSessionId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.trafficSource.trafficSubId' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.locale' => array('location' => 'query', 'type' => 'string', ), 'requestMetadata.experimentIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'requestMetadata.trafficSource.trafficSourceId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:1171$this->bookshelves_volumes = new Google_Service_Books_BookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('list' => array('path' => 'users/{userId}/bookshelves/{shelf}/volumes', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'showPreorders' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Books.php:741$this->bookshelves = new Google_Service_Books_Bookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array('get' => array('path' => 'users/{userId}/bookshelves/{shelf}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'users/{userId}/bookshelves', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:2031$this->dictionary = new Google_Service_Books_Dictionary_Resource($this, $this->serviceName, 'dictionary', array('methods' => array('listOfflineMetadata' => array('path' => 'dictionary/listOfflineMetadata', 'httpMethod' => 'GET', 'parameters' => array('cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Books.php:1581$this->cloudloading = new Google_Service_Books_Cloudloading_Resource($this, $this->serviceName, 'cloudloading', array('methods' => array('addBook' => array('path' => 'cloudloading/addBook', 'httpMethod' => 'POST', 'parameters' => array('upload_client_token' => array('location' => 'query', 'type' => 'string', ), 'drive_document_id' => array('location' => 'query', 'type' => 'string', ), 'mime_type' => array('location' => 'query', 'type' => 'string', ), 'name' => array('location' => 'query', 'type' => 'string', ), ), ), 'deleteBook' => array('path' => 'cloudloading/deleteBook', 'httpMethod' => 'POST', 'parameters' => array('volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'updateBook' => array('path' => 'cloudloading/updateBook', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Books.php:2821$this->layers_annotationData = new Google_Service_Books_LayersAnnotationData_Resource($this, $this->serviceName, 'annotationData', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'annotationDataId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'scale' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'allowWebDefinitions' => array('location' => 'query', 'type' => 'boolean', ), 'h' => array('location' => 'query', 'type' => 'integer', ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'w' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'volumes/{volumeId}/layers/{layerId}/data', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'scale' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'h' => array('location' => 'query', 'type' => 'integer', ), 'updatedMax' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'annotationDataId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'w' => array('location' => 'query', 'type' => 'integer', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:2231$this->layers = new Google_Service_Books_Layers_Resource($this, $this->serviceName, 'layers', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layersummary/{summaryId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'summaryId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), 'contentVersion' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'volumes/{volumeId}/layersummary', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'contentVersion' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:5081$this->myconfig = new Google_Service_Books_Myconfig_Resource($this, $this->serviceName, 'myconfig', array('methods' => array('getUserSettings' => array('path' => 'myconfig/getUserSettings', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'releaseDownloadAccess' => array('path' => 'myconfig/releaseDownloadAccess', 'httpMethod' => 'POST', 'parameters' => array('volumeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'requestAccess' => array('path' => 'myconfig/requestAccess', 'httpMethod' => 'POST', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'nonce' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'licenseTypes' => array('location' => 'query', 'type' => 'string', ), 'locale' => array('location' => 'query', 'type' => 'string', ), ), ), 'syncVolumeLicenses' => array('path' => 'myconfig/syncVolumeLicenses', 'httpMethod' => 'POST', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'nonce' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'cpksver' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'features' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'showPreorders' => array('location' => 'query', 'type' => 'boolean', ), 'volumeIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'updateUserSettings' => array('path' => 'myconfig/updateUserSettings', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Books.php:4021$this->layers_volumeAnnotations = new Google_Service_Books_LayersVolumeAnnotations_Resource($this, $this->serviceName, 'volumeAnnotations', array('methods' => array('get' => array('path' => 'volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'volumes/{volumeId}/layers/{layerId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'layerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'contentVersion' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'volumeAnnotationsVersion' => array('location' => 'query', 'type' => 'string', ), 'endPosition' => array('location' => 'query', 'type' => 'string', ), 'endOffset' => array('location' => 'query', 'type' => 'string', ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'updatedMax' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'startOffset' => array('location' => 'query', 'type' => 'string', ), 'startPosition' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:7381$this->mylibrary_bookshelves = new Google_Service_Books_MylibraryBookshelves_Resource($this, $this->serviceName, 'bookshelves', array('methods' => array('addVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/addVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'reason' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'clearVolumes' => array('path' => 'mylibrary/bookshelves/{shelf}/clearVolumes', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'mylibrary/bookshelves/{shelf}', 'httpMethod' => 'GET', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'mylibrary/bookshelves', 'httpMethod' => 'GET', 'parameters' => array('source' => array('location' => 'query', 'type' => 'string', ), ), ), 'moveVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/moveVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'volumePosition' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'removeVolume' => array('path' => 'mylibrary/bookshelves/{shelf}/removeVolume', 'httpMethod' => 'POST', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'reason' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:6211$this->mylibrary_annotations = new Google_Service_Books_MylibraryAnnotations_Resource($this, $this->serviceName, 'annotations', array('methods' => array('delete' => array('path' => 'mylibrary/annotations/{annotationId}', 'httpMethod' => 'DELETE', 'parameters' => array('annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'mylibrary/annotations', 'httpMethod' => 'POST', 'parameters' => array('country' => array('location' => 'query', 'type' => 'string', ), 'showOnlySummaryInResponse' => array('location' => 'query', 'type' => 'boolean', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'mylibrary/annotations', 'httpMethod' => 'GET', 'parameters' => array('showDeleted' => array('location' => 'query', 'type' => 'boolean', ), 'updatedMin' => array('location' => 'query', 'type' => 'string', ), 'layerIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'updatedMax' => array('location' => 'query', 'type' => 'string', ), 'contentVersion' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'layerId' => array('location' => 'query', 'type' => 'string', ), ), ), 'summary' => array('path' => 'mylibrary/annotations/summary', 'httpMethod' => 'POST', 'parameters' => array('layerIds' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), 'volumeId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'mylibrary/annotations/{annotationId}', 'httpMethod' => 'PUT', 'parameters' => array('annotationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:9031$this->mylibrary_readingpositions = new Google_Service_Books_MylibraryReadingpositions_Resource($this, $this->serviceName, 'readingpositions', array('methods' => array('get' => array('path' => 'mylibrary/readingpositions/{volumeId}', 'httpMethod' => 'GET', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'source' => array('location' => 'query', 'type' => 'string', ), 'contentVersion' => array('location' => 'query', 'type' => 'string', ), ), ), 'setPosition' => array('path' => 'mylibrary/readingpositions/{volumeId}/setPosition', 'httpMethod' => 'POST', 'parameters' => array('volumeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'timestamp' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'position' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'deviceCookie' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'contentVersion' => array('location' => 'query', 'type' => 'string', ), 'action' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Books.php:8551$this->mylibrary_bookshelves_volumes = new Google_Service_Books_MylibraryBookshelvesVolumes_Resource($this, $this->serviceName, 'volumes', array('methods' => array('list' => array('path' => 'mylibrary/bookshelves/{shelf}/volumes', 'httpMethod' => 'GET', 'parameters' => array('shelf' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array('location' => 'query', 'type' => 'string', ), 'country' => array('location' => 'query', 'type' => 'string', ), 'showPreorders' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'q' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Books.php:9951$this->onboarding = new Google_Service_Books_Onboarding_Resource($this, $this->serviceName, 'onboarding', array('methods' => array('listCategories' => array('path' => 'onboarding/listCategories', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), ), ), 'listCategoryVolumes' => array('path' => 'onboarding/listCategoryVolumes', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxAllowedMaturityRating' => array('location' => 'query', 'type' => 'string', ), 'categoryId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Books.php:9671$this->notification = new Google_Service_Books_Notification_Resource($this, $this->serviceName, 'notification', array('methods' => array('get' => array('path' => 'notification/get', 'httpMethod' => 'GET', 'parameters' => array('notification_id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:38511$this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('delete' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:37371$this->vpnTunnels = new Google_Service_Compute_VpnTunnels_Resource($this, $this->serviceName, 'vpnTunnels', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/vpnTunnels', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'vpnTunnel' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'vpnTunnel' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/regions/{region}/vpnTunnels', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/vpnTunnels', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:36201$this->urlMaps = new Google_Service_Compute_UrlMaps_Resource($this, $this->serviceName, 'urlMaps', array('methods' => array('delete' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/urlMaps', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/urlMaps', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'validate' => array('path' => '{project}/global/urlMaps/{urlMap}/validate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:35061$this->targetVpnGateways = new Google_Service_Compute_TargetVpnGateways_Resource($this, $this->serviceName, 'targetVpnGateways', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/targetVpnGateways', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetVpnGateway' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetVpnGateway' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/regions/{region}/targetVpnGateways', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/targetVpnGateways', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:32681$this->targetPools = new Google_Service_Compute_TargetPools_Resource($this, $this->serviceName, 'targetPools', array('methods' => array('addHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'addInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'aggregatedList' => array('path' => '{project}/aggregated/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getHealth' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'removeHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'removeInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setBackup' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'failoverRatio' => array('location' => 'query', 'type' => 'number', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:31541$this->targetInstances = new Google_Service_Compute_TargetInstances_Resource($this, $this->serviceName, 'targetInstances', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:30521$this->targetHttpsProxies = new Google_Service_Compute_TargetHttpsProxies_Resource($this, $this->serviceName, 'targetHttpsProxies', array('methods' => array('delete' => array('path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpsProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpsProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/targetHttpsProxies', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/targetHttpsProxies', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setSslCertificates' => array('path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpsProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setUrlMap' => array('path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpsProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:29651$this->targetHttpProxies = new Google_Service_Compute_TargetHttpProxies_Resource($this, $this->serviceName, 'targetHttpProxies', array('methods' => array('delete' => array('path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/targetHttpProxies', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/targetHttpProxies', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setUrlMap' => array('path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:28931$this->sslCertificates = new Google_Service_Compute_SslCertificates_Resource($this, $this->serviceName, 'sslCertificates', array('methods' => array('delete' => array('path' => '{project}/global/sslCertificates/{sslCertificate}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sslCertificate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/sslCertificates/{sslCertificate}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sslCertificate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/sslCertificates', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/sslCertificates', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:28311$this->snapshots = new Google_Service_Compute_Snapshots_Resource($this, $this->serviceName, 'snapshots', array('methods' => array('delete' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/snapshots', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:27591$this->routes = new Google_Service_Compute_Routes_Resource($this, $this->serviceName, 'routes', array('methods' => array('delete' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/routes', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/routes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:27121$this->regions = new Google_Service_Compute_Regions_Resource($this, $this->serviceName, 'regions', array('methods' => array('get' => array('path' => '{project}/regions/{region}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:26351$this->regionOperations = new Google_Service_Compute_RegionOperations_Resource($this, $this->serviceName, 'regionOperations', array('methods' => array('delete' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:25751$this->projects = new Google_Service_Compute_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('get' => array('path' => '{project}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'moveDisk' => array('path' => '{project}/moveDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'moveInstance' => array('path' => '{project}/moveInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setCommonInstanceMetadata' => array('path' => '{project}/setCommonInstanceMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setUsageExportBucket' => array('path' => '{project}/setUsageExportBucket', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:25031$this->networks = new Google_Service_Compute_Networks_Resource($this, $this->serviceName, 'networks', array('methods' => array('delete' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/networks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/networks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:24241$this->machineTypes = new Google_Service_Compute_MachineTypes_Resource($this, $this->serviceName, 'machineTypes', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'get' => array('path' => '{project}/zones/{zone}/machineTypes/{machineType}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'machineType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:20111$this->instances = new Google_Service_Compute_Instances_Resource($this, $this->serviceName, 'instances', array('methods' => array('addAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'aggregatedList' => array('path' => '{project}/aggregated/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'attachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'accessConfig' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'detachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deviceName' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getSerialPortOutput' => array('path' => '{project}/zones/{zone}/instances/{instance}/serialPort', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'port' => array('location' => 'query', 'type' => 'integer', ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'reset' => array('path' => '{project}/zones/{zone}/instances/{instance}/reset', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setDiskAutoDelete' => array('path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoDelete' => array('location' => 'query', 'type' => 'boolean', 'required' => true, ), 'deviceName' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'setMetadata' => array('path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setScheduling' => array('path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setTags' => array('path' => '{project}/zones/{zone}/instances/{instance}/setTags', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'start' => array('path' => '{project}/zones/{zone}/instances/{instance}/start', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'stop' => array('path' => '{project}/zones/{zone}/instances/{instance}/stop', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:23991$this->licenses = new Google_Service_Compute_Licenses_Resource($this, $this->serviceName, 'licenses', array('methods' => array('get' => array('path' => '{project}/global/licenses/{license}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'license' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:17331$this->instanceGroups = new Google_Service_Compute_InstanceGroups_Resource($this, $this->serviceName, 'instanceGroups', array('methods' => array('addInstances' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'aggregatedList' => array('path' => '{project}/aggregated/instanceGroups', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/instanceGroups', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/instanceGroups', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listInstances' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'removeInstances' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setNamedPorts' => array('path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroup' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:19391$this->instanceTemplates = new Google_Service_Compute_InstanceTemplates_Resource($this, $this->serviceName, 'instanceTemplates', array('methods' => array('delete' => array('path' => '{project}/global/instanceTemplates/{instanceTemplate}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceTemplate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/instanceTemplates/{instanceTemplate}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceTemplate' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/instanceTemplates', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/instanceTemplates', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:13871$this->images = new Google_Service_Compute_Images_Resource($this, $this->serviceName, 'images', array('methods' => array('delete' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deprecate' => array('path' => '{project}/global/images/{image}/deprecate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/images', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/images', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:14741$this->instanceGroupManagers = new Google_Service_Compute_InstanceGroupManagers_Resource($this, $this->serviceName, 'instanceGroupManagers', array('methods' => array('abandonInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'aggregatedList' => array('path' => '{project}/aggregated/instanceGroupManagers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/instanceGroupManagers', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/instanceGroupManagers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listManagedInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'recreateInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resize' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'size' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'setInstanceTemplate' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setTargetPools' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:11831$this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource($this, $this->serviceName, 'httpHealthChecks', array('methods' => array('delete' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:12851$this->httpsHealthChecks = new Google_Service_Compute_HttpsHealthChecks_Resource($this, $this->serviceName, 'httpsHealthChecks', array('methods' => array('delete' => array('path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpsHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpsHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/httpsHealthChecks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/httpsHealthChecks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpsHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'httpsHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:10121$this->globalForwardingRules = new Google_Service_Compute_GlobalForwardingRules_Resource($this, $this->serviceName, 'globalForwardingRules', array('methods' => array('delete' => array('path' => '{project}/global/forwardingRules/{forwardingRule}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/forwardingRules/{forwardingRule}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/forwardingRules', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setTarget' => array('path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:10991$this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource($this, $this->serviceName, 'globalOperations', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:8061$this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource($this, $this->serviceName, 'forwardingRules', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setTarget' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:9401$this->globalAddresses = new Google_Service_Compute_GlobalAddresses_Resource($this, $this->serviceName, 'globalAddresses', array('methods' => array('delete' => array('path' => '{project}/global/addresses/{address}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/addresses/{address}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/addresses', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:5661$this->disks = new Google_Service_Compute_Disks_Resource($this, $this->serviceName, 'disks', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'createSnapshot' => array('path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sourceImage' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:7041$this->firewalls = new Google_Service_Compute_Firewalls_Resource($this, $this->serviceName, 'firewalls', array('methods' => array('delete' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:3701$this->backendServices = new Google_Service_Compute_BackendServices_Resource($this, $this->serviceName, 'backendServices', array('methods' => array('delete' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getHealth' => array('path' => '{project}/global/backendServices/{backendService}/getHealth', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/global/backendServices', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/global/backendServices', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:4871$this->diskTypes = new Google_Service_Compute_DiskTypes_Resource($this, $this->serviceName, 'diskTypes', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/diskTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'get' => array('path' => '{project}/zones/{zone}/diskTypes/{diskType}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'diskType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/diskTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Taskqueue.php:581$this->taskqueues = new Google_Service_Taskqueue_Taskqueues_Resource($this, $this->serviceName, 'taskqueues', array('methods' => array('get' => array('path' => '{project}/taskqueues/{taskqueue}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'getStats' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Appsactivity.php:661$this->activities = new Google_Service_Appsactivity_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('drive.ancestorId' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'userId' => array('location' => 'query', 'type' => 'string', ), 'groupingStrategy' => array('location' => 'query', 'type' => 'string', ), 'drive.fileId' => array('location' => 'query', 'type' => 'string', ), 'source' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Reports.php:611$this->activities = new Google_Service_Reports_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => 'activity/users/{userKey}/applications/{applicationName}', 'httpMethod' => 'GET', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'applicationName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'actorIpAddress' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'eventName' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), ), ), 'watch' => array('path' => 'activity/users/{userKey}/applications/{applicationName}/watch', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'applicationName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'actorIpAddress' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'eventName' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Taskqueue.php:871$this->tasks = new Google_Service_Taskqueue_Tasks_Resource($this, $this->serviceName, 'tasks', array('methods' => array('delete' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/taskqueues/{taskqueue}/tasks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'lease' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/lease', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'numTasks' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'leaseSecs' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), 'groupByTag' => array('location' => 'query', 'type' => 'boolean', ), 'tag' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => '{project}/taskqueues/{taskqueue}/tasks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'newLeaseSeconds' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'newLeaseSeconds' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Appengine.php:1631$this->apps_modules_versions = new Google_Service_Appengine_AppsModulesVersions_Resource($this, $this->serviceName, 'versions', array('methods' => array('create' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', 'httpMethod' => 'POST', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', 'httpMethod' => 'DELETE', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'versionsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'versionsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}/versions', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Appengine.php:821$this->apps_modules = new Google_Service_Appengine_AppsModules_Resource($this, $this->serviceName, 'modules', array('methods' => array('delete' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', 'httpMethod' => 'DELETE', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta4/apps/{appsId}/modules', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'v1beta4/apps/{appsId}/modules/{modulesId}', 'httpMethod' => 'PATCH', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'modulesId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'migrateTraffic' => array('location' => 'query', 'type' => 'boolean', ), 'mask' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/GroupsMigration.php:541$this->archive = new Google_Service_GroupsMigration_Archive_Resource($this, $this->serviceName, 'archive', array('methods' => array('insert' => array('path' => '{groupId}/archive', 'httpMethod' => 'POST', 'parameters' => array('groupId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Appengine.php:2591$this->apps_operations = new Google_Service_Appengine_AppsOperations_Resource($this, $this->serviceName, 'operations', array('methods' => array('get' => array('path' => 'v1beta4/apps/{appsId}/operations/{operationsId}', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operationsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta4/apps/{appsId}/operations', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dns.php:2151$this->projects = new Google_Service_Dns_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('get' => array('path' => '{project}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dns.php:1431$this->managedZones = new Google_Service_Dns_ManagedZones_Resource($this, $this->serviceName, 'managedZones', array('methods' => array('create' => array('path' => '{project}/managedZones', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/managedZones/{managedZone}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/managedZones/{managedZone}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/managedZones', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'dnsName' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Appengine.php:581$this->apps = new Google_Service_Appengine_Apps_Resource($this, $this->serviceName, 'apps', array('methods' => array('get' => array('path' => 'v1beta4/apps/{appsId}', 'httpMethod' => 'GET', 'parameters' => array('appsId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'ensureResourcesExist' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Dns.php:2351$this->resourceRecordSets = new Google_Service_Dns_ResourceRecordSets_Resource($this, $this->serviceName, 'resourceRecordSets', array('methods' => array('list' => array('path' => '{project}/managedZones/{managedZone}/rrsets', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'name' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:9111$this->users = new Google_Service_Blogger_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('get' => array('path' => 'users/{userId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:6321$this->posts = new Google_Service_Blogger_Posts_Resource($this, $this->serviceName, 'posts', array('methods' => array('delete' => array('path' => 'blogs/{blogId}/posts/{postId}', 'httpMethod' => 'DELETE', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'blogs/{blogId}/posts/{postId}', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fetchBody' => array('location' => 'query', 'type' => 'boolean', ), 'maxComments' => array('location' => 'query', 'type' => 'integer', ), 'fetchImages' => array('location' => 'query', 'type' => 'boolean', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'getByPath' => array('path' => 'blogs/{blogId}/posts/bypath', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'path' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'maxComments' => array('location' => 'query', 'type' => 'integer', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'blogs/{blogId}/posts', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fetchImages' => array('location' => 'query', 'type' => 'boolean', ), 'isDraft' => array('location' => 'query', 'type' => 'boolean', ), 'fetchBody' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'blogs/{blogId}/posts', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'startDate' => array('location' => 'query', 'type' => 'string', ), 'endDate' => array('location' => 'query', 'type' => 'string', ), 'labels' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'fetchImages' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'blogs/{blogId}/posts/{postId}', 'httpMethod' => 'PATCH', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revert' => array('location' => 'query', 'type' => 'boolean', ), 'publish' => array('location' => 'query', 'type' => 'boolean', ), 'fetchBody' => array('location' => 'query', 'type' => 'boolean', ), 'maxComments' => array('location' => 'query', 'type' => 'integer', ), 'fetchImages' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'publish' => array('path' => 'blogs/{blogId}/posts/{postId}/publish', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'publishDate' => array('location' => 'query', 'type' => 'string', ), ), ), 'revert' => array('path' => 'blogs/{blogId}/posts/{postId}/revert', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'search' => array('path' => 'blogs/{blogId}/posts/search', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'q' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'blogs/{blogId}/posts/{postId}', 'httpMethod' => 'PUT', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revert' => array('location' => 'query', 'type' => 'boolean', ), 'publish' => array('location' => 'query', 'type' => 'boolean', ), 'fetchBody' => array('location' => 'query', 'type' => 'boolean', ), 'maxComments' => array('location' => 'query', 'type' => 'integer', ), 'fetchImages' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Dns.php:671$this->changes = new Google_Service_Dns_Changes_Resource($this, $this->serviceName, 'changes', array('methods' => array('create' => array('path' => '{project}/managedZones/{managedZone}/changes', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/managedZones/{managedZone}/changes/{changeId}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'changeId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/managedZones/{managedZone}/changes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'managedZone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortBy' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Groupssettings.php:541$this->groups = new Google_Service_Groupssettings_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('get' => array('path' => '{groupUniqueId}', 'httpMethod' => 'GET', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => '{groupUniqueId}', 'httpMethod' => 'PATCH', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{groupUniqueId}', 'httpMethod' => 'PUT', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:1631$this->comments = new Google_Service_Blogger_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('approve' => array('path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', 'httpMethod' => 'DELETE', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'blogs/{blogId}/posts/{postId}/comments', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'startDate' => array('location' => 'query', 'type' => 'string', ), 'endDate' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'listByBlog' => array('path' => 'blogs/{blogId}/comments', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'startDate' => array('location' => 'query', 'type' => 'string', ), 'endDate' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'markAsSpam' => array('path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'removeContent' => array('path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:3561$this->pageViews = new Google_Service_Blogger_PageViews_Resource($this, $this->serviceName, 'pageViews', array('methods' => array('get' => array('path' => 'blogs/{blogId}/pageviews', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'range' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:3811$this->pages = new Google_Service_Blogger_Pages_Resource($this, $this->serviceName, 'pages', array('methods' => array('delete' => array('path' => 'blogs/{blogId}/pages/{pageId}', 'httpMethod' => 'DELETE', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'blogs/{blogId}/pages/{pageId}', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'blogs/{blogId}/pages', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'isDraft' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'blogs/{blogId}/pages', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'blogs/{blogId}/pages/{pageId}', 'httpMethod' => 'PATCH', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revert' => array('location' => 'query', 'type' => 'boolean', ), 'publish' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'publish' => array('path' => 'blogs/{blogId}/pages/{pageId}/publish', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'revert' => array('path' => 'blogs/{blogId}/pages/{pageId}/revert', 'httpMethod' => 'POST', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'blogs/{blogId}/pages/{pageId}', 'httpMethod' => 'PUT', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'revert' => array('location' => 'query', 'type' => 'boolean', ), 'publish' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:5461$this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource($this, $this->serviceName, 'postUserInfos', array('methods' => array('get' => array('path' => 'users/{userId}/blogs/{blogId}/posts/{postId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'postId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxComments' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'users/{userId}/blogs/{blogId}/posts', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'startDate' => array('location' => 'query', 'type' => 'string', ), 'endDate' => array('location' => 'query', 'type' => 'string', ), 'labels' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'fetchBodies' => array('location' => 'query', 'type' => 'boolean', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/GamesConfiguration.php:1341$this->imageConfigurations = new Google_Service_GamesConfiguration_ImageConfigurations_Resource($this, $this->serviceName, 'imageConfigurations', array('methods' => array('upload' => array('path' => 'images/{resourceId}/imageType/{imageType}', 'httpMethod' => 'POST', 'parameters' => array('resourceId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/GamesConfiguration.php:1591$this->leaderboardConfigurations = new Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource($this, $this->serviceName, 'leaderboardConfigurations', array('methods' => array('delete' => array('path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'DELETE', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'GET', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'applications/{applicationId}/leaderboards', 'httpMethod' => 'POST', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'applications/{applicationId}/leaderboards', 'httpMethod' => 'GET', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'PATCH', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'PUT', 'parameters' => array('leaderboardId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:641$this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource($this, $this->serviceName, 'blogUserInfos', array('methods' => array('get' => array('path' => 'users/{userId}/blogs/{blogId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxPosts' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Blogger.php:931$this->blogs = new Google_Service_Blogger_Blogs_Resource($this, $this->serviceName, 'blogs', array('methods' => array('get' => array('path' => 'blogs/{blogId}', 'httpMethod' => 'GET', 'parameters' => array('blogId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxPosts' => array('location' => 'query', 'type' => 'integer', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'getByUrl' => array('path' => 'blogs/byurl', 'httpMethod' => 'GET', 'parameters' => array('url' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'listByUser' => array('path' => 'users/{userId}/blogs', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'fetchUserInfo' => array('location' => 'query', 'type' => 'boolean', ), 'status' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'role' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/CivicInfo.php:541$this->divisions = new Google_Service_CivicInfo_Divisions_Resource($this, $this->serviceName, 'divisions', array('methods' => array('search' => array('path' => 'divisions', 'httpMethod' => 'GET', 'parameters' => array('query' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/CivicInfo.php:731$this->elections = new Google_Service_CivicInfo_Elections_Resource($this, $this->serviceName, 'elections', array('methods' => array('electionQuery' => array('path' => 'elections', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'voterInfoQuery' => array('path' => 'voterinfo', 'httpMethod' => 'GET', 'parameters' => array('address' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'electionId' => array('location' => 'query', 'type' => 'string', ), 'officialOnly' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/CivicInfo.php:1051$this->representatives = new Google_Service_CivicInfo_Representatives_Resource($this, $this->serviceName, 'representatives', array('methods' => array('representativeInfoByAddress' => array('path' => 'representatives', 'httpMethod' => 'GET', 'parameters' => array('includeOffices' => array('location' => 'query', 'type' => 'boolean', ), 'levels' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'roles' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'address' => array('location' => 'query', 'type' => 'string', ), ), ), 'representativeInfoByDivision' => array('path' => 'representatives/{ocdId}', 'httpMethod' => 'GET', 'parameters' => array('ocdId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'levels' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'recursive' => array('location' => 'query', 'type' => 'boolean', ), 'roles' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/GamesConfiguration.php:561$this->achievementConfigurations = new Google_Service_GamesConfiguration_AchievementConfigurations_Resource($this, $this->serviceName, 'achievementConfigurations', array('methods' => array('delete' => array('path' => 'achievements/{achievementId}', 'httpMethod' => 'DELETE', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'achievements/{achievementId}', 'httpMethod' => 'GET', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'applications/{applicationId}/achievements', 'httpMethod' => 'POST', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'applications/{applicationId}/achievements', 'httpMethod' => 'GET', 'parameters' => array('applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'achievements/{achievementId}', 'httpMethod' => 'PATCH', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'achievements/{achievementId}', 'httpMethod' => 'PUT', 'parameters' => array('achievementId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Compute.php:39281$this->zones = new Google_Service_Compute_Zones_Resource($this, $this->serviceName, 'zones', array('methods' => array('get' => array('path' => '{project}/zones/{zone}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Container.php:571$this->projects_zones = new Google_Service_Container_ProjectsZones_Resource($this, $this->serviceName, 'zones', array('methods' => array('getServerconfig' => array('path' => 'v1/projects/{projectId}/zones/{zone}/serverconfig', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Container.php:821$this->projects_zones_clusters = new Google_Service_Container_ProjectsZonesClusters_Resource($this, $this->serviceName, 'clusters', array('methods' => array('create' => array('path' => 'v1/projects/{projectId}/zones/{zone}/clusters', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'clusterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'clusterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/projects/{projectId}/zones/{zone}/clusters', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}', 'httpMethod' => 'PUT', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'clusterId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Container.php:1821$this->projects_zones_operations = new Google_Service_Container_ProjectsZonesOperations_Resource($this, $this->serviceName, 'operations', array('methods' => array('get' => array('path' => 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/projects/{projectId}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:7021$this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:6401$this->adunits = new Google_Service_AdSense_Adunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getAdCode' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:6171$this->adclients = new Google_Service_AdSense_Adclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'adclients', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:5841$this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:8861$this->reports = new Google_Service_AdSense_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('startDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'currency' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean', ), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'accountId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:8071$this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:7641$this->customchannels = new Google_Service_AdSense_Customchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:7351$this->alerts = new Google_Service_AdSense_Alerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('alertId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'alerts', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:3541$this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:3011$this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:2621$this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'accounts/{accountId}/alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'alertId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/alerts', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:2241$this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:5411$this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:4861$this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'accounts/{accountId}/reports/saved', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:4161$this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'currency' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean', ), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:3961$this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'accounts/{accountId}/payments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Auth/OAuth2.php:1461$params = array('response_type' => 'code', 'redirect_uri' => $this->client->getClassConfig($this, 'redirect_uri'), 'client_id' => $this->client->getClassConfig($this, 'client_id'), 'scope' => $scope, 'access_type' => $this->client->getClassConfig($this, 'access_type'), )
/lib/google/src/Google/Http/Request.php:3141$this->baseComponent = sprintf("%s%s%s", isset($parts['scheme']) ? $parts['scheme'] . "://" : '', isset($parts['host']) ? $parts['host'] : '', isset($parts['port']) ? ":" . $parts['port'] : '')
/lib/markdown/MarkdownExtra.php:4241$block_tag_re = '{ ( # $2: Capture whole tag. </? # Any opening or closing tag. (?> # Tag name. ' . $this->block_tags_re . ' | ' . $this->context_block_tags_re . ' | ' . $this->clean_tags_re . ' | (?!\s)' . $enclosing_tag_re . ' ) (?: (?=[\s"\'/a-zA-Z0-9]) # Allowed characters after tag name. (?> ".*?" | # Double quotes (can contain `>`) \'.*?\' | # Single quotes (can contain `>`) .+? # Anything but quotes and `>`. )*? )? > # End of tag. | <!-- .*? --> # HTML Comment | <\?.*?\?> | <%.*?%> # Processing instruction | <!\[CDATA\[.*?\]\]> # CData Block ' . (!$span ? ' # If not in span. | # Indented code block (?: ^[ ]*\n | ^ | \n[ ]*\n ) [ ]{' . ($indent + 4) . '}[^\n]* \n (?> (?: [ ]{' . ($indent + 4) . '}[^\n]* | [ ]* ) \n )* | # Fenced code block marker (?<= ^ | \n ) [ ]{0,' . ($indent + 3) . '}(?:~{3,}|`{3,}) [ ]* (?: \.?[-_:a-zA-Z0-9]+ )? # standalone class name [ ]* (?: ' . $this->id_class_attr_nocatch_re . ' )? # extra attributes [ ]* (?= \n ) ' : '') . ' # End (if not is span). | # Code span marker # Note, this regex needs to go after backtick fenced # code blocks but it should also be kept outside of the # "if not in span" condition adding backticks to the parser `+ ) }xs'
/lib/google/src/Google/Config.php:431$this->configuration = array('application_name' => '', 'auth_class' => 'Google_Auth_OAuth2', 'io_class' => self::USE_AUTO_IO_SELECTION, 'cache_class' => 'Google_Cache_File', 'logger_class' => 'Google_Logger_Null', 'base_path' => 'https://www.googleapis.com', 'classes' => array('Google_IO_Abstract' => array('request_timeout_seconds' => 100, ), 'Google_IO_Curl' => array('disable_proxy_workaround' => false, 'options' => null, ), 'Google_Logger_Abstract' => array('level' => 'debug', 'log_format' => "[%datetime%] %level%: %message% %context%\n", 'date_format' => 'd/M/Y:H:i:s O', 'allow_newlines' => true), 'Google_Logger_File' => array('file' => 'php://stdout', 'mode' => 0640, 'lock' => false, ), 'Google_Http_Request' => array('disable_gzip' => self::GZIP_ENABLED, 'enable_gzip_for_uploads' => self::GZIP_UPLOADS_DISABLED, ), 'Google_Auth_OAuth2' => array('client_id' => '', 'client_secret' => '', 'redirect_uri' => '', 'developer_key' => '', 'hd' => '', 'prompt' => '', 'openid.realm' => '', 'include_granted_scopes' => '', 'login_hint' => '', 'request_visible_actions' => '', 'access_type' => 'online', 'approval_prompt' => 'auto', 'federated_signon_certs_url' => 'https://www.googleapis.com/oauth2/v1/certs', ), 'Google_Task_Runner' => array('initial_delay' => 1, 'max_delay' => 60, 'factor' => 2, 'jitter' => .5, 'retries' => 0), 'Google_Service_Exception' => array('retry_map' => array('500' => self::TASK_RETRY_ALWAYS, '503' => self::TASK_RETRY_ALWAYS, 'rateLimitExceeded' => self::TASK_RETRY_ALWAYS, 'userRateLimitExceeded' => self::TASK_RETRY_ALWAYS)), 'Google_IO_Exception' => array('retry_map' => !extension_loaded('curl') ? array( ) : array(CURLE_COULDNT_RESOLVE_HOST => self::TASK_RETRY_ALWAYS, CURLE_COULDNT_CONNECT => self::TASK_RETRY_ALWAYS, CURLE_OPERATION_TIMEOUTED => self::TASK_RETRY_ALWAYS, CURLE_SSL_CONNECT_ERROR => self::TASK_RETRY_ALWAYS, CURLE_GOT_NOTHING => self::TASK_RETRY_ALWAYS)), 'Google_Cache_File' => array('directory' => sys_get_temp_dir( ) . '/Google_Client')), )
/lib/google/src/Google/Service/AdSense.php:1191$this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:1471$this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getAdCode' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Http/MediaFileUpload.php:1841$headers = array('content-range' => "bytes $this->progress-$lastBytePos/$this->size", 'content-type' => $this->request->getRequestHeader('content-type'), 'content-length' => $this->chunkSize, 'expect' => '', )
/lib/google/src/Google/Service/AdSense.php:821$this->accounts = new Google_Service_AdSense_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'tree' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/classes/analytics/analyser/users.php:1321return [[$user->get_id( ) => $user->get_id( )], [$user->get_id( ) => ['user' => $user->get_user_data( ), 'context' => $context]]]
/lib/classes/analytics/analyser/student_enrolments.php:1302$samplesdata[$sampleid]['user_enrolments'] = (object) array('id' => $user->ueid, 'status' => $user->uestatus, 'enrolid' => $user->ueenrolid, 'userid' => $user->id, 'timestart' => $user->uetimestart, 'timeend' => $user->uetimeend, 'modifierid' => $user->uemodifierid, 'timecreated' => $user->uetimecreated, 'timemodified' => $user->uetimemodified)
/lib/classes/hub/registration.php:2411$senddata = ['moodlerelease' => get_string('sitereleasenum', 'hub', $moodlerelease), 'courses' => get_string('coursesnumber', 'hub', $siteinfo['courses']), 'users' => get_string('usersnumber', 'hub', $siteinfo['users']), 'activeusers' => get_string('activeusersnumber', 'hub', $siteinfo['activeusers']), 'enrolments' => get_string('roleassignmentsnumber', 'hub', $siteinfo['enrolments']), 'posts' => get_string('postsnumber', 'hub', $siteinfo['posts']), 'questions' => get_string('questionsnumber', 'hub', $siteinfo['questions']), 'resources' => get_string('resourcesnumber', 'hub', $siteinfo['resources']), 'badges' => get_string('badgesnumber', 'hub', $siteinfo['badges']), 'issuedbadges' => get_string('issuedbadgesnumber', 'hub', $siteinfo['issuedbadges']), 'participantnumberaverage' => get_string('participantnumberaverage', 'hub', format_float($siteinfo['participantnumberaverage'], 2)), 'activeparticipantnumberaverage' => get_string('activeparticipantnumberaverage', 'hub', format_float($siteinfo['activeparticipantnumberaverage'], 2)), 'modulenumberaverage' => get_string('modulenumberaverage', 'hub', format_float($siteinfo['modulenumberaverage'], 2)), 'mobileservicesenabled' => get_string('mobileservicesenabled', 'hub', $mobileservicesenabled), 'mobilenotificationsenabled' => get_string('mobilenotificationsenabled', 'hub', $mobilenotificationsenabled), 'registereduserdevices' => get_string('registereduserdevices', 'hub', $siteinfo['registereduserdevices']), 'registeredactiveuserdevices' => get_string('registeredactiveuserdevices', 'hub', $siteinfo['registeredactiveuserdevices']), 'analyticsenabledmodels' => get_string('analyticsenabledmodels', 'hub', $siteinfo['analyticsenabledmodels']), 'analyticspredictions' => get_string('analyticspredictions', 'hub', $siteinfo['analyticspredictions']), 'analyticsactions' => get_string('analyticsactions', 'hub', $siteinfo['analyticsactions']), 'analyticsactionsnotuseful' => get_string('analyticsactionsnotuseful', 'hub', $siteinfo['analyticsactionsnotuseful']), 'dbtype' => get_string('dbtype', 'hub', $siteinfo['dbtype']), 'coursesnodates' => get_string('coursesnodates', 'hub', $siteinfo['coursesnodates']), 'sitetheme' => get_string('sitetheme', 'hub', $siteinfo['sitetheme']), 'primaryauthtype' => get_string('primaryauthtype', 'hub', $siteinfo['primaryauthtype']), ]
/lib/classes/analytics/analyser/courses.php:961return array(array($course->get_id( ) => $course->get_id( )), array($course->get_id( ) => array('course' => $course->get_course_data( ), 'context' => $context)))
/lib/php-jwt/src/JWK.php:1931$pem = self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_SEQUENCE, self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::OID)) . self::encodeDER(self::ASN1_OBJECT_IDENTIFIER, self::encodeOID(self::EC_CURVES[$crv]))) . self::encodeDER(self::ASN1_BIT_STRING, \chr(0x00) . \chr(0x04) . JWT::urlsafeB64Decode($x) . JWT::urlsafeB64Decode($y)))
/lib/markdown/Markdown.php:3971$text = preg_replace_callback('{(?> (?> (?<=\n) # Starting on its own line | # or \A\n? # the at beginning of the doc ) ( # save in $1 # Match from `\n<tag>` to `</tag>\n`, handling nested tags # in between. [ ]{0,' . $less_than_tab . '} <(' . $block_tags_b_re . ')# start tag = $2 ' . $attr . '> # attributes followed by > and \n ' . $content . ' # content, support nesting </\2> # the matching end tag [ ]* # trailing spaces/tabs (?=\n+|\Z) # followed by a newline or end of document | # Special version for tags of group a. [ ]{0,' . $less_than_tab . '} <(' . $block_tags_a_re . ')# start tag = $3 ' . $attr . '>[ ]*\n # attributes followed by > ' . $content2 . ' # content, support nesting </\3> # the matching end tag [ ]* # trailing spaces/tabs (?=\n+|\Z) # followed by a newline or end of document | # Special case just for <hr />. It was easier to make a special # case than to make the other regex more complicated. [ ]{0,' . $less_than_tab . '} <(hr) # start tag = $2 ' . $attr . ' # attributes /?> # the matching end tag [ ]* (?=\n{2,}|\Z) # followed by a blank line or end of document | # Special case for standalone HTML comments: [ ]{0,' . $less_than_tab . '} (?s: <!-- .*? --> ) [ ]* (?=\n{2,}|\Z) # followed by a blank line or end of document | # PHP and ASP-style processor instructions (<? and <%) [ ]{0,' . $less_than_tab . '} (?s: <([?%]) # $2 .*? \2> ) [ ]* (?=\n{2,}|\Z) # followed by a blank line or end of document ) )}Sxmi', array($this, '_hashHTMLBlocks_callback'), $text)
/lib/classes/analytics/analyser/student_enrolments.php:1832$samplesdata[$sampleid]['user_enrolments'] = (object) array('id' => $user->ueid, 'status' => $user->uestatus, 'enrolid' => $user->ueenrolid, 'userid' => $user->id, 'timestart' => $user->uetimestart, 'timeend' => $user->uetimeend, 'modifierid' => $user->uemodifierid, 'timecreated' => $user->uetimecreated, 'timemodified' => $user->uetimemodified)
/lib/classes/session/manager.php:11401$event = \core\event\user_loggedinas::create(array('objectid' => $USER->id, 'context' => $context, 'relateduserid' => $userid, 'other' => array('originalusername' => fullname($USER, true), 'loggedinasusername' => fullname($user, true))))
/lib/google/src/Google/Service/YouTubeAnalytics.php:701$this->batchReportDefinitions = new Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource($this, $this->serviceName, 'batchReportDefinitions', array('methods' => array('list' => array('path' => 'batchReportDefinitions', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Storagetransfer.php:2151$this->v1 = new Google_Service_Storagetransfer_V1_Resource($this, $this->serviceName, 'v1', array('methods' => array('getGoogleServiceAccount' => array('path' => 'v1:getGoogleServiceAccount', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTubeAnalytics.php:1151$this->groupItems = new Google_Service_YouTubeAnalytics_GroupItems_Resource($this, $this->serviceName, 'groupItems', array('methods' => array('delete' => array('path' => 'groupItems', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'groupItems', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'groupItems', 'httpMethod' => 'GET', 'parameters' => array('groupId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTubeAnalytics.php:901$this->batchReports = new Google_Service_YouTubeAnalytics_BatchReports_Resource($this, $this->serviceName, 'batchReports', array('methods' => array('list' => array('path' => 'batchReports', 'httpMethod' => 'GET', 'parameters' => array('batchReportDefinitionId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTubeAnalytics.php:2211$this->reports = new Google_Service_YouTubeAnalytics_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('query' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'max-results' => array('location' => 'query', 'type' => 'integer', ), 'sort' => array('location' => 'query', 'type' => 'string', ), 'dimensions' => array('location' => 'query', 'type' => 'string', ), 'start-index' => array('location' => 'query', 'type' => 'integer', ), 'currency' => array('location' => 'query', 'type' => 'string', ), 'filters' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTubeAnalytics.php:1621$this->groups = new Google_Service_YouTubeAnalytics_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('delete' => array('path' => 'groups', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'groups', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'groups', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'mine' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'update' => array('path' => 'groups', 'httpMethod' => 'PUT', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:2171$this->autoscalers = new Google_Service_Compute_Autoscalers_Resource($this, $this->serviceName, 'autoscalers', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/autoscalers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/autoscalers', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/autoscalers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{project}/zones/{zone}/autoscalers', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{project}/zones/{zone}/autoscalers', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Compute.php:1031$this->addresses = new Google_Service_Compute_Addresses_Resource($this, $this->serviceName, 'addresses', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'delete' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Plus.php:1351$this->comments = new Google_Service_Plus_Comments_Resource($this, $this->serviceName, 'comments', array('methods' => array('get' => array('path' => 'comments/{commentId}', 'httpMethod' => 'GET', 'parameters' => array('commentId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'activities/{activityId}/comments', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'sortOrder' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Plus.php:661$this->activities = new Google_Service_Plus_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('get' => array('path' => 'activities/{activityId}', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'people/{userId}/activities/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'search' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('query' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Plus.php:2371$this->people = new Google_Service_Plus_People_Resource($this, $this->serviceName, 'people', array('methods' => array('get' => array('path' => 'people/{userId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'people/{userId}/people/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'orderBy' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listByActivity' => array('path' => 'activities/{activityId}/people/{collection}', 'httpMethod' => 'GET', 'parameters' => array('activityId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'search' => array('path' => 'people', 'httpMethod' => 'GET', 'parameters' => array('query' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'language' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Plus.php:1771$this->moments = new Google_Service_Plus_Moments_Resource($this, $this->serviceName, 'moments', array('methods' => array('insert' => array('path' => 'people/{userId}/moments/{collection}', 'httpMethod' => 'POST', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'debug' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'people/{userId}/moments/{collection}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'collection' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'targetUrl' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Storagetransfer.php:581$this->googleServiceAccounts = new Google_Service_Storagetransfer_GoogleServiceAccounts_Resource($this, $this->serviceName, 'googleServiceAccounts', array('methods' => array('get' => array('path' => 'v1/googleServiceAccounts/{projectId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Freebase.php:521$this->base_methods = new Google_Service_Resource($this, $this->serviceName, '', array('methods' => array('reconcile' => array('path' => 'reconcile', 'httpMethod' => 'GET', 'parameters' => array('lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'confidence' => array('location' => 'query', 'type' => 'number', ), 'name' => array('location' => 'query', 'type' => 'string', ), 'kind' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'prop' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'limit' => array('location' => 'query', 'type' => 'integer', ), ), ), 'search' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('domain' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'help' => array('location' => 'query', 'type' => 'string', ), 'query' => array('location' => 'query', 'type' => 'string', ), 'scoring' => array('location' => 'query', 'type' => 'string', ), 'cursor' => array('location' => 'query', 'type' => 'integer', ), 'prefixed' => array('location' => 'query', 'type' => 'boolean', ), 'exact' => array('location' => 'query', 'type' => 'boolean', ), 'mid' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'encode' => array('location' => 'query', 'type' => 'string', ), 'type' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'as_of_time' => array('location' => 'query', 'type' => 'string', ), 'stemmed' => array('location' => 'query', 'type' => 'boolean', ), 'format' => array('location' => 'query', 'type' => 'string', ), 'spell' => array('location' => 'query', 'type' => 'string', ), 'with' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'indent' => array('location' => 'query', 'type' => 'boolean', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'callback' => array('location' => 'query', 'type' => 'string', ), 'without' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'limit' => array('location' => 'query', 'type' => 'integer', ), 'output' => array('location' => 'query', 'type' => 'string', ), 'mql_output' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Storagetransfer.php:1331$this->transferOperations = new Google_Service_Storagetransfer_TransferOperations_Resource($this, $this->serviceName, 'transferOperations', array('methods' => array('cancel' => array('path' => 'v1/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'pause' => array('path' => 'v1/{+name}:pause', 'httpMethod' => 'POST', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resume' => array('path' => 'v1/{+name}:resume', 'httpMethod' => 'POST', 'parameters' => array('name' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Storagetransfer.php:781$this->transferJobs = new Google_Service_Storagetransfer_TransferJobs_Resource($this, $this->serviceName, 'transferJobs', array('methods' => array('create' => array('path' => 'v1/transferJobs', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'get' => array('path' => 'v1/{+jobName}', 'httpMethod' => 'GET', 'parameters' => array('jobName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'projectId' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v1/transferJobs', 'httpMethod' => 'GET', 'parameters' => array('filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'v1/{+jobName}', 'httpMethod' => 'PATCH', 'parameters' => array('jobName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/DoubleClickBidManager.php:1211$this->reports = new Google_Service_DoubleClickBidManager_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('listreports' => array('path' => 'queries/{queryId}/reports', 'httpMethod' => 'GET', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Reseller.php:581$this->customers = new Google_Service_Reseller_Customers_Resource($this, $this->serviceName, 'customers', array('methods' => array('get' => array('path' => 'customers/{customerId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customers', 'httpMethod' => 'POST', 'parameters' => array('customerAuthToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'patch' => array('path' => 'customers/{customerId}', 'httpMethod' => 'PATCH', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'customers/{customerId}', 'httpMethod' => 'PUT', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Reseller.php:1071$this->subscriptions = new Google_Service_Reseller_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('activate' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/activate', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'changePlan' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'changeRenewalSettings' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'changeSeats' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}', 'httpMethod' => 'DELETE', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'deletionType' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'customers/{customerId}/subscriptions', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customerAuthToken' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('customerAuthToken' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'customerId' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'customerNamePrefix' => array('location' => 'query', 'type' => 'string', ), ), ), 'startPaidService' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'suspend' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Cloudresourcemanager.php:561$this->organizations = new Google_Service_Cloudresourcemanager_Organizations_Resource($this, $this->serviceName, 'organizations', array('methods' => array('get' => array('path' => 'v1beta1/organizations/{organizationId}', 'httpMethod' => 'GET', 'parameters' => array('organizationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIamPolicy' => array('path' => 'v1beta1/organizations/{resource}:getIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta1/organizations', 'httpMethod' => 'GET', 'parameters' => array('filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setIamPolicy' => array('path' => 'v1beta1/organizations/{resource}:setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'testIamPermissions' => array('path' => 'v1beta1/organizations/{resource}:testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'v1beta1/organizations/{organizationId}', 'httpMethod' => 'PUT', 'parameters' => array('organizationId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Cloudresourcemanager.php:1331$this->projects = new Google_Service_Cloudresourcemanager_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('create' => array('path' => 'v1beta1/projects', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1beta1/projects/{projectId}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1beta1/projects/{projectId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getIamPolicy' => array('path' => 'v1beta1/projects/{resource}:getIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta1/projects', 'httpMethod' => 'GET', 'parameters' => array('filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'setIamPolicy' => array('path' => 'v1beta1/projects/{resource}:setIamPolicy', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'testIamPermissions' => array('path' => 'v1beta1/projects/{resource}:testIamPermissions', 'httpMethod' => 'POST', 'parameters' => array('resource' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'undelete' => array('path' => 'v1beta1/projects/{projectId}:undelete', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'v1beta1/projects/{projectId}', 'httpMethod' => 'PUT', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Proximitybeacon.php:701$this->beacons = new Google_Service_Proximitybeacon_Beacons_Resource($this, $this->serviceName, 'beacons', array('methods' => array('activate' => array('path' => 'v1beta1/{+beaconName}:activate', 'httpMethod' => 'POST', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deactivate' => array('path' => 'v1beta1/{+beaconName}:deactivate', 'httpMethod' => 'POST', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'decommission' => array('path' => 'v1beta1/{+beaconName}:decommission', 'httpMethod' => 'POST', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1beta1/{+beaconName}', 'httpMethod' => 'GET', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta1/beacons', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'register' => array('path' => 'v1beta1/beacons:register', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'update' => array('path' => 'v1beta1/{+beaconName}', 'httpMethod' => 'PUT', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Proximitybeacon.php:1511$this->beacons_attachments = new Google_Service_Proximitybeacon_BeaconsAttachments_Resource($this, $this->serviceName, 'attachments', array('methods' => array('batchDelete' => array('path' => 'v1beta1/{+beaconName}/attachments:batchDelete', 'httpMethod' => 'POST', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'namespacedType' => array('location' => 'query', 'type' => 'string', ), ), ), 'create' => array('path' => 'v1beta1/{+beaconName}/attachments', 'httpMethod' => 'POST', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1beta1/{+attachmentName}', 'httpMethod' => 'DELETE', 'parameters' => array('attachmentName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1beta1/{+beaconName}/attachments', 'httpMethod' => 'GET', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'namespacedType' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Proximitybeacon.php:2091$this->beacons_diagnostics = new Google_Service_Proximitybeacon_BeaconsDiagnostics_Resource($this, $this->serviceName, 'diagnostics', array('methods' => array('list' => array('path' => 'v1beta1/{+beaconName}/diagnostics', 'httpMethod' => 'GET', 'parameters' => array('beaconName' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'alertFilter' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:9561$this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'list' => array('path' => 'reports/saved', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:10011$this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSense.php:10341$this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Dataflow.php:591$this->projects_jobs = new Google_Service_Dataflow_ProjectsJobs_Resource($this, $this->serviceName, 'jobs', array('methods' => array('create' => array('path' => 'v1b3/projects/{projectId}/jobs', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replaceJobId' => array('location' => 'query', 'type' => 'string', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'get' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'getMetrics' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startTime' => array('location' => 'query', 'type' => 'string', ), ), ), 'list' => array('path' => 'v1b3/projects/{projectId}/jobs', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'view' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}', 'httpMethod' => 'PUT', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Dataflow.php:1621$this->projects_jobs_messages = new Google_Service_Dataflow_ProjectsJobsMessages_Resource($this, $this->serviceName, 'messages', array('methods' => array('list' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'startTime' => array('location' => 'query', 'type' => 'string', ), 'endTime' => array('location' => 'query', 'type' => 'string', ), 'minimumImportance' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Dataflow.php:2071$this->projects_jobs_workItems = new Google_Service_Dataflow_ProjectsJobsWorkItems_Resource($this, $this->serviceName, 'workItems', array('methods' => array('lease' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'reportStatus' => array('path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'jobId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/DoubleClickBidManager.php:551$this->lineitems = new Google_Service_DoubleClickBidManager_Lineitems_Resource($this, $this->serviceName, 'lineitems', array('methods' => array('downloadlineitems' => array('path' => 'lineitems/downloadlineitems', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'uploadlineitems' => array('path' => 'lineitems/uploadlineitems', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/DoubleClickBidManager.php:731$this->queries = new Google_Service_DoubleClickBidManager_Queries_Resource($this, $this->serviceName, 'queries', array('methods' => array('createquery' => array('path' => 'query', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'deletequery' => array('path' => 'query/{queryId}', 'httpMethod' => 'DELETE', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getquery' => array('path' => 'query/{queryId}', 'httpMethod' => 'GET', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'listqueries' => array('path' => 'queries', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'runquery' => array('path' => 'query/{queryId}', 'httpMethod' => 'POST', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/report/outline/lib.php:1041$array = array('*' => get_string('page-x', 'pagetype'), 'report-*' => get_string('page-report-x', 'pagetype'), 'report-outline-*' => get_string('page-report-outline-x', 'report_outline'), 'report-outline-index' => get_string('page-report-outline-index', 'report_outline'), 'report-outline-user' => get_string('page-report-outline-user', 'report_outline'))
/report/outline/locallib.php:2232$params = array('userid' => $userid, 'contextlevel' => CONTEXT_MODULE, 'contextinstanceid' => $cmid, 'crud' => 'r', 'edulevel1' => core\event\base::LEVEL_PARTICIPATING, 'edulevel2' => core\event\base::LEVEL_TEACHING, 'edulevel3' => core\event\base::LEVEL_OTHER, 'anonymous' => 0)
/report/outline/locallib.php:1442$params = array('userid' => $userid, 'contextlevel' => CONTEXT_MODULE, 'contextinstanceid' => $cmid, 'crud' => 'r', 'edulevel1' => core\event\base::LEVEL_PARTICIPATING, 'edulevel2' => core\event\base::LEVEL_TEACHING, 'edulevel3' => core\event\base::LEVEL_OTHER, 'anonymous' => 0)
/report/completion/lib.php:1201$array = array('*' => get_string('page-x', 'pagetype'), 'report-*' => get_string('page-report-x', 'pagetype'), 'report-completion-*' => get_string('page-report-completion-x', 'report_completion'), 'report-completion-index' => get_string('page-report-completion-index', 'report_completion'), 'report-completion-user' => get_string('page-report-completion-user', 'report_completion'))
/report/log/locallib.php:1341return $DB->get_records_sql("SELECT FLOOR(($timefield - $coursestart)/" . DAYSECS . ") AS day, COUNT(*) AS num FROM {" . $logtable . "} WHERE userid = :userid AND $timefield > $coursestart $courseselect $nonanonymous GROUP BY FLOOR(($timefield - $coursestart)/" . DAYSECS . ")", $params)
/report/themeusage/classes/reportbuilder/local/entities/theme.php:981$columns[] = (new column('usagetype', new lang_string('usagetype', 'report_themeusage'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join("LEFT JOIN ( SELECT '{$courselabel}' AS usagetype, theme, COUNT(theme) AS themecount FROM {course} WHERE " . $DB->sql_isnotempty('course', 'theme', false, false) . " GROUP BY theme UNION SELECT '{$userlabel}' AS usagetype, theme, COUNT(theme) AS themecount FROM {user} WHERE " . $DB->sql_isnotempty('user', 'theme', false, false) . " GROUP BY theme UNION SELECT '{$cohortlabel}' AS usagetype, theme, COUNT(theme) AS themecount FROM {cohort} WHERE " . $DB->sql_isnotempty('cohort', 'theme', false, false) . " GROUP BY theme UNION SELECT '{$categorylabel}' AS usagetype, theme, COUNT(theme) AS themecount FROM {course_categories} WHERE " . $DB->sql_isnotempty('course_categories', 'theme', false, false) . " GROUP BY theme ) tuse ON tuse.theme={$sqlsubstring}")->set_type(column::TYPE_TEXT)->add_fields("tuse.usagetype, tuse.themecount")->add_callback(static function (?string $usagetype, \stdClass $row) : string { /**/ } )
/report/themeusage/classes/reportbuilder/local/entities/theme.php:841$columns[] = (new column('forcetheme', new lang_string('forcetheme'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$themealias}.plugin")->add_callback(static function (?string $theme) : string { /**/ } )
/report/themeusage/classes/form/theme_usage_form.php:641return [theme_usage::THEME_USAGE_TYPE_ALL => get_string('all'), theme_usage::THEME_USAGE_TYPE_USER => get_string('user'), theme_usage::THEME_USAGE_TYPE_COURSE => get_string('course'), theme_usage::THEME_USAGE_TYPE_COHORT => get_string('cohort', 'cohort'), theme_usage::THEME_USAGE_TYPE_CATEGORY => get_string('category'), ]
/report/log/classes/renderer.php:1471$a->url = new moodle_url('/report/log/index.php', array('chooselog' => 0, 'group' => $reportlog->get_selected_group( ), 'user' => $reportlog->userid, 'id' => $selectedcourseid, 'date' => $reportlog->date, 'modid' => $reportlog->modid, 'showusers' => 1, 'showcourses' => $reportlog->showcourses))
/report/log/classes/renderer.php:1131$a->url = new moodle_url('/report/log/index.php', array('chooselog' => 0, 'group' => $reportlog->get_selected_group( ), 'user' => $reportlog->userid, 'id' => $selectedcourseid, 'date' => $reportlog->date, 'modid' => $reportlog->modid, 'showcourses' => 1, 'showusers' => $reportlog->showusers))
/report/log/lib.php:1431$array = array('*' => get_string('page-x', 'pagetype'), 'report-*' => get_string('page-report-x', 'pagetype'), 'report-log-*' => get_string('page-report-log-x', 'report_log'), 'report-log-index' => get_string('page-report-log-index', 'report_log'), 'report-log-user' => get_string('page-report-log-user', 'report_log'))
/report/log/locallib.php:1781return $DB->get_records_sql("SELECT FLOOR(($timefield - $daystart)/" . HOURSECS . ") AS hour, COUNT(*) AS num FROM {" . $logtable . "} WHERE userid = :userid AND $timefield > $daystart $courseselect $nonanonymous GROUP BY FLOOR(($timefield - $daystart)/" . HOURSECS . ") ", $params)
/report/stats/locallib.php:2042$sql = 'SELECT ' . ((empty($param->fieldscomplete)) ? 'id,roleid,timeend,' : '') . $param->fields . ' FROM {stats_' . $param->table . '} WHERE ' . (($course->id == SITEID) ? '' : ' courseid = ' . $course->id . ' AND ') . ((!empty($userid)) ? ' userid = ' . $userid . ' AND ' : '') . ((!empty($roleid)) ? ' roleid = ' . $roleid . ' AND ' : '') . ((!empty($param->stattype)) ? ' stattype = \'' . $param->stattype . '\' AND ' : '') . ' timeend >= ' . $param->timeafter . ' ' . $param->extras . ' ORDER BY timeend DESC'
/report/stats/locallib.php:1701$table->data[] = array(html_writer::label(get_string('course'), 'menucourse'), html_writer::select($courseoptions, 'course', $course->id, false), html_writer::label(get_string('statsreporttype'), 'menureport'), html_writer::select($reportoptions, 'report', ($report == 5) ? $report . $roleid : $report, false), html_writer::label(get_string('statstimeperiod'), 'menutime'), html_writer::select($timeoptions, 'time', $time, false), '<input type="submit" class="btn btn-secondary" value="' . get_string('view') . '" />')
/report/stats/locallib.php:1651$table->data[] = array(html_writer::label(get_string('statsreporttype'), 'menureport'), html_writer::select($reportoptions, 'report', ($report == 5) ? $report . $roleid : $report, false), html_writer::label(get_string('statstimeperiod'), 'menutime'), html_writer::select($timeoptions, 'time', $time, false), '<input type="submit" class="btn btn-secondary" value="' . get_string('view') . '" />')
/report/stats/locallib.php:1581$table->data[] = array(html_writer::label(get_string('course'), 'menucourse'), html_writer::select($courseoptions, 'course', $course->id, false), html_writer::label(get_string('users'), 'menuuserid'), html_writer::select($users, 'userid', $userid, false), html_writer::label(get_string('statsreporttype'), 'menureport'), html_writer::select($reportoptions, 'report', ($report == 5) ? $report . $roleid : $report, false), html_writer::label(get_string('statstimeperiod'), 'menutime'), html_writer::select($timeoptions, 'time', $time, false), '<input type="submit" class="btn btn-secondary" value="' . get_string('view') . '" />')
/report/stats/locallib.php:3802$sql = 'SELECT ' . ((empty($param->fieldscomplete)) ? 'id,roleid,timeend,' : '') . $param->fields . ' FROM {stats_' . $param->table . '} WHERE ' . (($course->id == SITEID) ? '' : ' courseid = ' . $course->id . ' AND ') . ((!empty($userid)) ? ' userid = ' . $userid . ' AND ' : '') . ((!empty($roleid)) ? ' roleid = ' . $roleid . ' AND ' : '') . ((!empty($param->stattype)) ? ' stattype = \'' . $param->stattype . '\' AND ' : '') . ' timeend >= ' . $param->timeafter . ' ' . $param->extras . ' ORDER BY timeend DESC'
/report/stats/lib.php:1111$array = array('*' => get_string('page-x', 'pagetype'), 'report-*' => get_string('page-report-x', 'pagetype'), 'report-stats-*' => get_string('page-report-stats-x', 'report_stats'), 'report-stats-index' => get_string('page-report-stats-index', 'report_stats'), 'report-stats-user' => get_string('page-report-stats-user', 'report_stats'))
/report/stats/locallib.php:2751$a[] = '<a href="' . $CFG->wwwroot . '/report/log/index.php?id=' . $course->id . '&amp;chooselog=1&amp;showusers=1&amp;showcourses=1&amp;user=' . $userid . '&amp;date=' . usergetmidnight($stat->timeend - (60 * 60 * 24)) . '">' . get_string('course') . ' ' . get_string('logs') . '</a>&nbsp;'
/report/stats/locallib.php:3301$row[] = '<a href="' . $CFG->wwwroot . '/report/log/index.php?id=' . $course->id . '&amp;chooselog=1&amp;showusers=1&amp;showcourses=1&amp;user=' . $userid . '&amp;date=' . usergetmidnight($time - (60 * 60 * 24)) . '">' . get_string('course') . ' ' . get_string('logs') . '</a>&nbsp;'
/report/configlog/classes/reportbuilder/local/entities/config_change.php:861$columns[] = (new column('timemodified', new lang_string('timemodified', 'report_configlog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$tablealias}.timemodified")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/report/configlog/classes/reportbuilder/local/entities/config_change.php:981$columns[] = (new column('plugin', new lang_string('plugin', 'report_configlog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.plugin")->set_is_sortable(true)->add_callback(static function (?string $plugin) : string { /**/ } )
/report/stats/classes/privacy/provider.php:1921$statsrecords[$record->courseid]->entries[] = ['course' => format_string($record->fullname, true, ['context' => $context]), 'roleid' => $record->roleid, 'timeend' => \core_privacy\local\request\transform::datetime($record->timeend), 'statsreads' => $record->statsreads, 'statswrites' => $record->statswrites, 'stattype' => $record->stattype]
/report/stats/tests/privacy/provider_test.php:491$data = (object) ['courseid' => $courseid, 'userid' => $userid, 'roleid' => 0, 'timeend' => time( ), 'statsreads' => rand(1, 50), 'statswrites' => rand(1, 50), 'stattype' => 'activity']
/report/configlog/classes/reportbuilder/local/entities/config_change.php:1371$columns[] = (new column('oldvalue', new lang_string('valueold', 'report_configlog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.oldvalue")->set_is_sortable(true)->add_callback(static function (?string $oldvalue) : string { /**/ } )
/report/configlog/classes/reportbuilder/local/entities/config_change.php:1621$filters[] = (new filter(date::class, 'timemodified', new lang_string('timemodified', 'report_configlog'), $this->get_entity_name( ), "{$tablealias}.timemodified"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_RANGE, date::DATE_PREVIOUS, date::DATE_CURRENT, ])
/report/configlog/classes/reportbuilder/local/entities/config_change.php:1121$columns[] = (new column('setting', new lang_string('setting', 'report_configlog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.name")->set_is_sortable(true)
/report/configlog/classes/reportbuilder/local/entities/config_change.php:1231$columns[] = (new column('newvalue', new lang_string('valuenew', 'report_configlog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.value")->set_is_sortable(true)->add_callback(static function (?string $value) : string { /**/ } )
/communication/tests/communication_test_helper_trait.php:1081return $fs->create_file_from_pathname((object) ['contextid' => \context_system::instance( )->id, 'component' => 'user', 'filearea' => 'draftfile', 'itemid' => $itemid, 'filepath' => '/', 'filename' => $storedname, ], "{$CFG->dirroot}/communication/tests/fixtures/{$filename}")
/communication/provider/matrix/classes/matrix_user_manager.php:1491$data = (object) ['shortname' => 'matrixuserid', 'name' => get_string('matrixuserid', 'communication_matrix'), 'datatype' => 'text', 'categoryid' => $categoryid, 'forceunique' => 1, 'visible' => 0, 'locked' => 1, 'param1' => 30, 'param2' => 2048, ]
/communication/classes/processor.php:951$record = (object) ['contextid' => $context->id, 'provider' => $provider, 'instanceid' => $instanceid, 'component' => $component, 'instancetype' => $instancetype, 'roomname' => $roomname, 'avatarfilename' => null, 'active' => self::PROVIDER_ACTIVE, 'avatarsynced' => 0, ]
/communication/classes/api.php:3111return (object) ['contextid' => \core\context\system::instance( )->id, 'component' => 'core_communication', 'filearea' => 'avatar', 'itemid' => $this->communication->get_id( ), 'filepath' => '/', 'filename' => $filename, ]
/lib/zipstream/src/File.php:741return new self($this->fileName, $this->dataCallback, OperationMode::NORMAL, $this->startOffset, $this->compressionMethod, $this->comment, $this->lastModificationDateTime, $this->deflateLevel, $this->maxSize, $this->exactSize, $this->enableZip64, $this->enableZeroHeader, $this->send, $this->recordSentBytes, )
/lib/php-css-parser/Value/Color.php:1611return '#' . (($sResult[0] == $sResult[1]) && ($sResult[2] == $sResult[3]) && ($sResult[4] == $sResult[5]) ? "$sResult[0]$sResult[2]$sResult[4]" : $sResult)
/lib/zipstream/src/File.php:3911return CentralDirectoryFileHeader::generate(versionMadeBy : ZipStream::ZIP_VERSION_MADE_BY, versionNeededToExtract : $this->version->value, generalPurposeBitFlag : $this->generalPurposeBitFlag, compressionMethod : $this->compressionMethod, lastModificationDateTime : $this->lastModificationDateTime, crc32 : $this->crc, compressedSize : $this->compressedSize > 0xFFFFFFFF ? 0xFFFFFFFF : $this->compressedSize, uncompressedSize : $this->uncompressedSize > 0xFFFFFFFF ? 0xFFFFFFFF : $this->uncompressedSize, fileName : $this->fileName, extraField : $footer, fileComment : $this->comment, diskNumberStart : 0, internalFileAttributes : 0, externalFileAttributes : 32, relativeOffsetOfLocalHeader : $this->startOffset > 0xFFFFFFFF ? 0xFFFFFFFF : $this->startOffset, )
/lib/zipstream/src/File.php:1971$data = LocalFileHeader::generate(versionNeededToExtract : $this->version->value, generalPurposeBitFlag : $this->generalPurposeBitFlag, compressionMethod : $this->compressionMethod, lastModificationDateTime : $this->lastModificationDateTime, crc32UncompressedData : $this->crc, compressedSize : $zip64Enabled ? 0xFFFFFFFF : $this->compressedSize, uncompressedSize : $zip64Enabled ? 0xFFFFFFFF : $this->uncompressedSize, fileName : $this->fileName, extraField : $footer, )
/lib/zipstream/src/CentralDirectoryFileHeader.php:331return PackField::pack(new PackField(format : 'V', value : self::SIGNATURE), new PackField(format : 'v', value : $versionMadeBy), new PackField(format : 'v', value : $versionNeededToExtract), new PackField(format : 'v', value : $generalPurposeBitFlag), new PackField(format : 'v', value : $compressionMethod->value), new PackField(format : 'V', value : Time::dateTimeToDosTime($lastModificationDateTime)), new PackField(format : 'V', value : $crc32), new PackField(format : 'V', value : $compressedSize), new PackField(format : 'V', value : $uncompressedSize), new PackField(format : 'v', value : strlen($fileName)), new PackField(format : 'v', value : strlen($extraField)), new PackField(format : 'v', value : strlen($fileComment)), new PackField(format : 'v', value : $diskNumberStart), new PackField(format : 'v', value : $internalFileAttributes), new PackField(format : 'V', value : $externalFileAttributes), new PackField(format : 'V', value : $relativeOffsetOfLocalHeader), ) . $fileName . $extraField . $fileComment
/lib/zipstream/src/EndOfCentralDirectory.php:241return PackField::pack(new PackField(format : 'V', value : static::SIGNATURE), new PackField(format : 'v', value : $numberOfThisDisk), new PackField(format : 'v', value : $numberOfTheDiskWithCentralDirectoryStart), new PackField(format : 'v', value : $numberOfCentralDirectoryEntriesOnThisDisk), new PackField(format : 'v', value : $numberOfCentralDirectoryEntries), new PackField(format : 'V', value : $sizeOfCentralDirectory), new PackField(format : 'V', value : $centralDirectoryStartOffsetOnDisk), new PackField(format : 'v', value : strlen($zipFileComment)), ) . $zipFileComment
/lib/zipstream/src/LocalFileHeader.php:271return PackField::pack(new PackField(format : 'V', value : self::SIGNATURE), new PackField(format : 'v', value : $versionNeededToExtract), new PackField(format : 'v', value : $generalPurposeBitFlag), new PackField(format : 'v', value : $compressionMethod->value), new PackField(format : 'V', value : Time::dateTimeToDosTime($lastModificationDateTime)), new PackField(format : 'V', value : $crc32UncompressedData), new PackField(format : 'V', value : $compressedSize), new PackField(format : 'V', value : $uncompressedSize), new PackField(format : 'v', value : strlen($fileName)), new PackField(format : 'v', value : strlen($extraField)), ) . $fileName . $extraField
/lib/zipstream/src/ZipStream.php:5621$file = new File(dataCallback : function ( ) use ($callback, $maxSize) { /**/ } , send : $this->send(...), recordSentBytes : $this->recordSentBytes(...), operationMode : $this->operationMode, fileName : $fileName, startOffset : $this->offset, compressionMethod : $compressionMethod ?? $this->defaultCompressionMethod, comment : $comment, deflateLevel : $deflateLevel ?? $this->defaultDeflateLevel, lastModificationDateTime : $lastModificationDateTime ?? new DateTimeImmutable( ), maxSize : $maxSize, exactSize : $exactSize, enableZip64 : $this->enableZip64, enableZeroHeader : $enableZeroHeader ?? $this->defaultEnableZeroHeader, )
/lib/zipstream/src/Zip64/ExtendedInformationExtraField.php:221return PackField::pack(new PackField(format : 'v', value : self::TAG), new PackField(format : 'v', value : ($originalSize === null ? 0 : 8) + ($compressedSize === null ? 0 : 8) + ($relativeHeaderOffset === null ? 0 : 8) + ($diskStartNumber === null ? 0 : 4)), ...($originalSize === null ? [ ] : [new PackField(format : 'P', value : $originalSize), ]), ...($compressedSize === null ? [ ] : [new PackField(format : 'P', value : $compressedSize), ]), ...($relativeHeaderOffset === null ? [ ] : [new PackField(format : 'P', value : $relativeHeaderOffset), ]), ...($diskStartNumber === null ? [ ] : [new PackField(format : 'V', value : $diskStartNumber), ]), )
/lib/zipstream/src/Zip64/EndOfCentralDirectory.php:301return PackField::pack(new PackField(format : 'V', value : static::SIGNATURE), new PackField(format : 'P', value : $recordSize), new PackField(format : 'v', value : $versionMadeBy), new PackField(format : 'v', value : $versionNeededToExtract), new PackField(format : 'V', value : $numberOfThisDisk), new PackField(format : 'V', value : $numberOfTheDiskWithCentralDirectoryStart), new PackField(format : 'P', value : $numberOfCentralDirectoryEntriesOnThisDisk), new PackField(format : 'P', value : $numberOfCentralDirectoryEntries), new PackField(format : 'P', value : $sizeOfCentralDirectory), new PackField(format : 'P', value : $centralDirectoryStartOffsetOnDisk), ) . $extensibleDataSector
/portfolio/classes/privacy/provider.php:1791$instances[$record->name]->logs[$record->logid] = (object) ['time' => transform::datetime($record->logtime), 'caller_class' => $record->caller_class, 'caller_file' => $record->caller_file, 'caller_component' => $record->caller_component, 'returnurl' => $record->returnurl, 'continueurl' => $record->continueurl]
/portfolio/add.php:2081$options = portfolio_instance_select(portfolio_instances( ), $exporter->get('caller')->supported_formats( ), get_class($exporter->get('caller')), $exporter->get('caller')->get_mimetype( ), 'instance', true, true)
/portfolio/flickr/lib.php:2541return array(get_string('set', 'portfolio_flickr') => $this->get_export_value_name('set', $this->get_export_config('set')), get_string('title', 'portfolio_flickr') => $this->get_export_config('title'), get_string('description') => $this->get_export_config('description'), get_string('tags') => $this->get_export_config('tags'), get_string('ispublic', 'portfolio_flickr') => $this->get_export_value_name('is_public', $this->get_export_config('is_public')), get_string('isfamily', 'portfolio_flickr') => $this->get_export_value_name('is_family', $this->get_export_config('is_family')), get_string('isfriend', 'portfolio_flickr') => $this->get_export_value_name('is_friend', $this->get_export_config('is_friend')), get_string('safetylevel', 'portfolio_flickr') => $this->get_export_value_name('safety_level', $this->get_export_config('safety_level')), get_string('contenttype', 'portfolio_flickr') => $this->get_export_value_name('content_type', $this->get_export_config('content_type')), get_string('hidefrompublicsearches', 'portfolio_flickr') => $this->get_export_value_name('hidden', $this->get_export_config('hidden')))
/portfolio/flickr/lib.php:551$photoid = $this->flickr->upload($file, ['title' => $this->get_export_config('title'), 'description' => $this->get_export_config('description'), 'tags' => $this->get_export_config('tags'), 'is_public' => $this->get_export_config('is_public'), 'is_friend' => $this->get_export_config('is_friend'), 'is_family' => $this->get_export_config('is_family'), 'safety_level' => $this->get_export_config('safety_level'), 'content_type' => $this->get_export_config('content_type'), 'hidden' => $this->get_export_config('hidden'), ])
/files/externallib.php:551return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'context id Set to -1 to use contextlevel and instanceid.'), 'component' => new external_value(PARAM_TEXT, 'component'), 'filearea' => new external_value(PARAM_TEXT, 'file area'), 'itemid' => new external_value(PARAM_INT, 'associated id'), 'filepath' => new external_value(PARAM_PATH, 'file path'), 'filename' => new external_value(PARAM_TEXT, 'file name'), 'modified' => new external_value(PARAM_INT, 'timestamp to return files changed after this time.', VALUE_DEFAULT, null), 'contextlevel' => new external_value(PARAM_ALPHA, 'The context level for the file location.', VALUE_DEFAULT, null), 'instanceid' => new external_value(PARAM_INT, 'The instance id for where the file is located.', VALUE_DEFAULT, null), ])
/portfolio/flickr/lib.php:2671$params = array('set' => $this->get_sets( ), 'is_public' => array(0 => get_string('no'), 1 => get_string('yes')), 'is_family' => array(0 => get_string('no'), 1 => get_string('yes')), 'is_friend' => array(0 => get_string('no'), 1 => get_string('yes')), 'safety_level' => array(1 => get_string('safe', 'portfolio_flickr'), 2 => get_string('moderate', 'portfolio_flickr'), 3 => get_string('restricted', 'portfolio_flickr')), 'content_type' => array(1 => get_string('photo', 'portfolio_flickr'), 2 => get_string('screenshot', 'portfolio_flickr'), 3 => get_string('other', 'portfolio_flickr')), 'hidden' => array(1 => get_string('no'), 2 => get_string('yes')))
/files/externallib.php:1571$node = ['contextid' => $params['contextid'], 'component' => $params['component'], 'filearea' => $params['filearea'], 'itemid' => $params['itemid'], 'filepath' => $params['filepath'], 'filename' => $child->get_visible_name( ), 'url' => null, 'isdir' => true, 'timemodified' => $timemodified, 'timecreated' => $timecreated, 'filesize' => 0, 'author' => null, 'license' => null, ]
/files/externallib.php:1761$node = ['contextid' => $params['contextid'], 'component' => $params['component'], 'filearea' => $params['filearea'], 'itemid' => $params['itemid'], 'filepath' => $params['filepath'], 'filename' => $child->get_visible_name( ), 'url' => $child->get_url( ), 'isdir' => false, 'timemodified' => $timemodified, 'timecreated' => $timecreated, 'filesize' => $child->get_filesize( ), 'author' => $child->get_author( ), 'license' => $child->get_license( ), ]
/files/externallib.php:2081return new external_single_structure(['parents' => new external_multiple_structure(new external_single_structure(['contextid' => new external_value(PARAM_INT, ''), 'component' => new external_value(PARAM_COMPONENT, ''), 'filearea' => new external_value(PARAM_AREA, ''), 'itemid' => new external_value(PARAM_INT, ''), 'filepath' => new external_value(PARAM_TEXT, ''), 'filename' => new external_value(PARAM_TEXT, ''), ])), 'files' => new external_multiple_structure(new external_single_structure(['contextid' => new external_value(PARAM_INT, ''), 'component' => new external_value(PARAM_COMPONENT, ''), 'filearea' => new external_value(PARAM_AREA, ''), 'itemid' => new external_value(PARAM_INT, ''), 'filepath' => new external_value(PARAM_TEXT, ''), 'filename' => new external_value(PARAM_TEXT, ''), 'isdir' => new external_value(PARAM_BOOL, ''), 'url' => new external_value(PARAM_TEXT, ''), 'timemodified' => new external_value(PARAM_INT, ''), 'timecreated' => new external_value(PARAM_INT, 'Time created', VALUE_OPTIONAL), 'filesize' => new external_value(PARAM_INT, 'File size', VALUE_OPTIONAL), 'author' => new external_value(PARAM_TEXT, 'File owner', VALUE_OPTIONAL), 'license' => new external_value(PARAM_TEXT, 'File license', VALUE_OPTIONAL), ])), ])
/files/externallib.php:2461return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'context id', VALUE_DEFAULT, null), 'component' => new external_value(PARAM_COMPONENT, 'component'), 'filearea' => new external_value(PARAM_AREA, 'file area'), 'itemid' => new external_value(PARAM_INT, 'associated id'), 'filepath' => new external_value(PARAM_PATH, 'file path'), 'filename' => new external_value(PARAM_FILE, 'file name'), 'filecontent' => new external_value(PARAM_TEXT, 'file content'), 'contextlevel' => new external_value(PARAM_ALPHA, 'The context level to put the file in, (block, course, coursecat, system, user, module)', VALUE_DEFAULT, null), 'instanceid' => new external_value(PARAM_INT, 'The Instance id of item associated with the context level', VALUE_DEFAULT, null), ])
/files/externallib.php:2941$fileinfo = self::validate_parameters(self::upload_parameters( ), ['contextid' => $contextid, 'component' => $component, 'filearea' => $filearea, 'itemid' => $itemid, 'filepath' => $filepath, 'filename' => $filename, 'filecontent' => $filecontent, 'contextlevel' => $contextlevel, 'instanceid' => $instanceid, ])
/files/externallib.php:3721return ['contextid' => $params['contextid'], 'component' => $params['component'], 'filearea' => $params['filearea'], 'itemid' => $params['itemid'], 'filepath' => $params['filepath'], 'filename' => $params['filename'], 'url' => $info->get_url( ), ]
/files/externallib.php:3931return new external_single_structure(['contextid' => new external_value(PARAM_INT, ''), 'component' => new external_value(PARAM_COMPONENT, ''), 'filearea' => new external_value(PARAM_AREA, ''), 'itemid' => new external_value(PARAM_INT, ''), 'filepath' => new external_value(PARAM_TEXT, ''), 'filename' => new external_value(PARAM_FILE, ''), 'url' => new external_value(PARAM_TEXT, ''), ])
/files/classes/conversion.php:1701$records = $DB->get_records_sql($sql, ['ccontenthash' => $file->get_contenthash( ), 'osourcefileid' => $file->get_id( ), 'ofilepath' => "/{$format}/", 'cformat' => $format, 'oformat' => $format, ])
/files/classes/conversion.php:3781return ['contextid' => \context_system::instance( )->id, 'component' => 'core', 'filearea' => 'documentconversion', 'itemid' => 0, 'filepath' => "/" . $this->get('targetformat') . "/", 'filename' => $file->get_contenthash( ), ]
None:961$columns[] = (new column('name', new lang_string('filename', 'core_repository'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$filesalias}.filename")->set_is_sortable(true)
None:1071$columns[] = (new column('size', new lang_string('size'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("{$filesalias}.filesize")->add_field("CASE WHEN {$filesalias}.filename = '.' THEN 1 ELSE 0 END", 'directory')->set_is_sortable(true)->add_callback(static function ($filesize, stdClass $fileinfo) : string { /**/ } )
None:1261$columns[] = (new column('path', new lang_string('path'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$filesalias}.filepath")->set_is_sortable(true)
None:1371$columns[] = (new column('type', new lang_string('type', 'core_repository'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$filesalias}.mimetype")->add_field("CASE WHEN {$filesalias}.filename = '.' THEN 1 ELSE 0 END", 'directory')->set_is_sortable(true)->add_callback(static function ($mimetype, stdClass $fileinfo) : string { /**/ } )
None:1621$columns[] = (new column('icon', new lang_string('icon'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$filesalias}.mimetype")->add_field("CASE WHEN {$filesalias}.filename = '.' THEN 1 ELSE 0 END", 'directory')->set_disabled_aggregation_all( )->add_callback(static function ($mimetype, stdClass $fileinfo) : string { /**/ } )
None:1921$columns[] = (new column('author', new lang_string('author', 'core_repository'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$filesalias}.author")->set_is_sortable(true)
/report/courseoverview/index.php:861$table->data[] = array(get_string('statsreporttype'), $reporttypemenu, get_string('statstimeperiod'), $timeoptionsmenu, html_writer::label(get_string('numberofcourses'), 'numcourses', false, array('class' => 'accesshide')) . html_writer::empty_tag('input', array('type' => 'text', 'class' => 'form-control', 'id' => 'numcourses', 'name' => 'numcourses', 'size' => '3', 'maxlength' => '2', 'value' => $numcourses)), html_writer::empty_tag('input', array('type' => 'submit', 'class' => 'btn btn-secondary', 'value' => get_string('view'))))
/lib/editor/atto/plugins/recordrtc/lib.php:751$params = array('contextid' => $context->id, 'sesskey' => $sesskey, 'allowedtypes' => $allowedtypes, 'audiobitrate' => $audiobitrate, 'videobitrate' => $videobitrate, 'audiotimelimit' => $audiotimelimit, 'videotimelimit' => $videotimelimit, 'defaulttimelimit' => DEFAULT_TIME_LIMIT, 'audiortcicon' => $audiortcicon, 'videortcicon' => $videortcicon, 'maxrecsize' => $maxrecsize)
/lib/editor/atto/plugins/equation/lib.php:701$library = array('group1' => array('groupname' => 'librarygroup1', 'elements' => get_config('atto_equation', 'librarygroup1'), 'active' => true, ), 'group2' => array('groupname' => 'librarygroup2', 'elements' => get_config('atto_equation', 'librarygroup2'), ), 'group3' => array('groupname' => 'librarygroup3', 'elements' => get_config('atto_equation', 'librarygroup3'), ), 'group4' => array('groupname' => 'librarygroup4', 'elements' => get_config('atto_equation', 'librarygroup4'), ))
/lib/editor/atto/lib.php:1901$params = array('elementid' => $elementid, 'content_css' => $contentcss, 'contextid' => $options['context']->id, 'autosaveEnabled' => $autosave, 'autosaveFrequency' => $autosavefrequency, 'language' => $lang, 'directionality' => $directionality, 'filepickeroptions' => array( ), 'plugins' => $plugins, 'pageHash' => $pagehash, )
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:10141$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'SET lti_result_sourcedid = %s, updated = %s ' . 'WHERE (user_pk = %d)', DataConnector::quoted($user->ltiResultSourcedId), DataConnector::quoted($now), $user->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:10071$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' (resource_link_pk, ' . 'lti_user_id, lti_result_sourcedid, created, updated) ' . 'VALUES (%d, %s, %s, %s, %s)', $user->getResourceLink( )->getRecordId( ), DataConnector::quoted($user->getId(ToolProvider\ToolProvider::ID_SCOPE_ID_ONLY)), DataConnector::quoted($user->ltiResultSourcedId), DataConnector::quoted($now), DataConnector::quoted($now))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:9701$sql = sprintf('SELECT user_pk, resource_link_pk, lti_user_id, lti_result_sourcedid, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' ' . 'WHERE (resource_link_pk = %d) AND (lti_user_id = %s)', $user->getResourceLink( )->getRecordId( ), DataConnector::quoted($user->getId(ToolProvider\ToolProvider::ID_SCOPE_ID_ONLY)))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:9161$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' ' . '(share_key_id, resource_link_pk, auto_approve, expires) ' . "VALUES (%s, %d, {$approve}, '{$expires}')", DataConnector::quoted($shareKey->getId( )), $shareKey->resourceLinkId)
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:8501$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::NONCE_TABLE_NAME . " (consumer_pk, value, expires) VALUES (%d, %s, %s)", $nonce->getConsumer( )->getRecordId( ), DataConnector::quoted($nonce->getValue( )), DataConnector::quoted($expires))
/lib/editor/tiny/plugins/autosave/classes/autosave_manager.php:1011$record = (object) ['userid' => $this->user->id, 'contextid' => $this->contextid, 'pagehash' => $this->pagehash, 'pageinstance' => $this->pageinstance, 'elementid' => $this->elementid, 'drafttext' => $drafttext, 'timemodified' => time( ), ]
/lib/editor/tiny/plugins/autosave/classes/plugininfo.php:461return ['pagehash' => sha1($PAGE->url . '<>' . s($editor->get_text( ))), 'pageinstance' => bin2hex(random_bytes(16)), 'backoffTime' => (defined('BEHAT_SITE_RUNNING') && BEHAT_SITE_RUNNING) ? 0 : 500, ]
/lib/editor/tiny/plugins/equation/classes/plugininfo.php:751$libraries = [['key' => 'group1', 'groupname' => get_string('librarygroup1', 'tiny_equation'), 'elements' => explode("\n", trim(get_config('tiny_equation', 'librarygroup1'))), 'active' => true, ], ['key' => 'group2', 'groupname' => get_string('librarygroup2', 'tiny_equation'), 'elements' => explode("\n", trim(get_config('tiny_equation', 'librarygroup2'))), ], ['key' => 'group3', 'groupname' => get_string('librarygroup3', 'tiny_equation'), 'elements' => explode("\n", trim(get_config('tiny_equation', 'librarygroup3'))), ], ['key' => 'group4', 'groupname' => get_string('librarygroup4', 'tiny_equation'), 'elements' => explode("\n", trim(get_config('tiny_equation', 'librarygroup4'))), ]]
/lib/editor/tiny/classes/editor.php:1651$config = (object) ['css' => $PAGE->theme->editor_css_url( )->out(false), 'context' => $context->id, 'filepicker' => $fpoptions, 'currentLanguage' => current_language( ), 'branding' => property_exists($siteconfig, 'branding') ? !empty($siteconfig->branding) : true, 'language' => ['currentlang' => current_language( ), 'installed' => get_string_manager( )->get_list_of_translations(true), 'available' => get_string_manager( )->get_list_of_languages( )], 'placeholderSelectors' => [ ], 'plugins' => $this->manager->get_plugin_configuration($context, $options, $fpoptions, $this), ]
/lib/editor/tiny/classes/editor.php:551$config = (object) ['css' => $PAGE->theme->editor_css_url( )->out(false), 'context' => $context->id, 'plugins' => $manager->get_plugin_configuration($context, [ ], [ ]), ]
/lib/editor/atto/tests/privacy/provider_test.php:6401$id = $DB->insert_record('editor_atto_autosave', (object) ['elementid' => $elementid, 'contextid' => $context->id, 'userid' => $userid, 'drafttext' => $text, 'draftid' => $draftid, 'pageinstance' => 'example_page_instance_' . rand(1, 1000), 'timemodified' => time( ), 'pagehash' => sha1("{$userid}/{$context->id}/{$elementid}/{$draftid}"), ])
/lib/editor/atto/plugins/media/lib.php:1171$params['help'] = ['addsource' => $OUTPUT->help_icon('addsource', 'atto_media'), 'tracks' => $OUTPUT->help_icon('tracks', 'atto_media'), 'subtitles' => $OUTPUT->help_icon('subtitles', 'atto_media'), 'captions' => $OUTPUT->help_icon('captions', 'atto_media'), 'descriptions' => $OUTPUT->help_icon('descriptions', 'atto_media'), 'chapters' => $OUTPUT->help_icon('chapters', 'atto_media'), 'metadata' => $OUTPUT->help_icon('metadata', 'atto_media')]
/lib/editor/atto/plugins/managefiles/lib.php:501$disabled = !isloggedin( ) || isguestuser( ) || (!isset($options['maxfiles']) || $options['maxfiles'] == 0) || (isset($options['return_types']) && !($options['return_types'] & ~FILE_EXTERNAL))
/lib/lti1p3/src/ServiceRequest.php:1381$errorMessages = [static::TYPE_UNSUPPORTED => $defaultMessage, static::TYPE_AUTH => 'Authenticating:', static::TYPE_GET_KEYSET => 'Getting key set:', static::TYPE_GET_GRADES => 'Getting grades:', static::TYPE_SYNC_GRADE => 'Syncing grade for this lti_user_id:', static::TYPE_CREATE_LINEITEM => 'Creating lineitem:', static::TYPE_DELETE_LINEITEM => 'Deleting lineitem:', static::TYPE_GET_LINEITEMS => 'Getting lineitems:', static::TYPE_GET_LINEITEM => 'Getting a lineitem:', static::TYPE_UPDATE_LINEITEM => 'Updating lineitem:', static::TYPE_GET_GROUPS => 'Getting groups:', static::TYPE_GET_SETS => 'Getting sets:', static::TYPE_GET_MEMBERSHIPS => 'Getting memberships:', ]
/lib/lti1p3/src/LtiMessageLaunch.php:5551return $key->sign($this->jwt['body'][LtiConstants::DEPLOYMENT_ID], $this->jwt['body']['iss'], $this->getAud( ), $this->jwt['body']['exp'], $this->jwt['body']['nonce'])
/lib/lti1p3/src/LtiServiceConnector.php:461$jwtClaim = ['iss' => $clientId, 'sub' => $clientId, 'aud' => $registration->getAuthServer( ), 'iat' => time( ) - 5, 'exp' => time( ) + 60, 'jti' => 'lti-service-token' . hash('sha256', random_bytes(64)), ]
/lib/lti1p3/src/LtiDeepLink.php:191$message_jwt = ['iss' => $this->registration->getClientId( ), 'aud' => [$this->registration->getIssuer( )], 'exp' => time( ) + 600, 'iat' => time( ), 'nonce' => LtiOidcLogin::secureRandomString('nonce-'), LtiConstants::DEPLOYMENT_ID => $this->deployment_id, LtiConstants::MESSAGE_TYPE => LtiConstants::MESSAGE_TYPE_DEEPLINK_RESPONSE, LtiConstants::VERSION => LtiConstants::V1_3, LtiConstants::DL_CONTENT_ITEMS => array_map(function ($resource) { /**/ } , $resources), ]
/lib/editor/tiny/plugins/autosave/classes/external/resume_autosave_session.php:391return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'The context id that owns the editor', VALUE_REQUIRED), 'pagehash' => new external_value(PARAM_ALPHANUMEXT, 'The page hash', VALUE_REQUIRED), 'pageinstance' => new external_value(PARAM_ALPHANUMEXT, 'The page instance', VALUE_REQUIRED), 'elementid' => new external_value(PARAM_RAW, 'The ID of the element', VALUE_REQUIRED), 'draftid' => new external_value(PARAM_INT, 'The new draft item id to resume files to', VALUE_REQUIRED, null, NULL_ALLOWED), ])
/lib/editor/tiny/plugins/media/manage.php:611$url = new moodle_url('/lib/editor/tiny/plugins/media/manage.php', ['itemid' => $itemid, 'maxbytes' => $maxbytes, 'subdirs' => $subdirs, 'accepted_types' => $acceptedtypes, 'return_types' => $returntypes, 'areamaxbytes' => $areamaxbytes, 'context' => $contextid, 'elementid' => $elementid, 'removeorphaneddrafts' => $removeorphaneddrafts, ])
/lib/editor/tiny/plugins/autosave/classes/external/reset_autosave_session.php:391return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'The context id that owns the editor', VALUE_REQUIRED), 'pagehash' => new external_value(PARAM_ALPHANUMEXT, 'The page hash', VALUE_REQUIRED), 'pageinstance' => new external_value(PARAM_ALPHANUMEXT, 'The page instance', VALUE_REQUIRED), 'elementid' => new external_value(PARAM_RAW, 'The ID of the element', VALUE_REQUIRED), ])
/lib/editor/tiny/plugins/autosave/classes/external/update_autosave_session_content.php:391return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'The context id that owns the editor', VALUE_REQUIRED), 'pagehash' => new external_value(PARAM_ALPHANUMEXT, 'The page hash', VALUE_REQUIRED), 'pageinstance' => new external_value(PARAM_ALPHANUMEXT, 'The page instance', VALUE_REQUIRED), 'elementid' => new external_value(PARAM_RAW, 'The ID of the element', VALUE_REQUIRED), 'drafttext' => new external_value(PARAM_RAW, 'The draft text', VALUE_REQUIRED), ])
/lib/php-css-parser/Value/Color.php:411$aColor = ['r' => new Size(intval($sValue[0] . $sValue[1], 16), null, true, $oParserState->currentLine( )), 'g' => new Size(intval($sValue[2] . $sValue[3], 16), null, true, $oParserState->currentLine( )), 'b' => new Size(intval($sValue[4] . $sValue[5], 16), null, true, $oParserState->currentLine( )), 'a' => new Size(round(self::mapRange(intval($sValue[6] . $sValue[7], 16), 0, 255, 0, 1), 2), null, true, $oParserState->currentLine( )), ]
/lib/php-css-parser/Value/Color.php:531$aColor = ['r' => new Size(intval($sValue[0] . $sValue[1], 16), null, true, $oParserState->currentLine( )), 'g' => new Size(intval($sValue[2] . $sValue[3], 16), null, true, $oParserState->currentLine( )), 'b' => new Size(intval($sValue[4] . $sValue[5], 16), null, true, $oParserState->currentLine( )), ]
/lib/lti1p3/src/DeepLinkResources/Resource.php:331$resource = ['type' => $this->type, 'title' => $this->title, 'text' => $this->text, 'url' => $this->url, 'icon' => $this->icon?->toArray( ), 'thumbnail' => $this->thumbnail?->toArray( ), 'iframe' => $this->iframe?->toArray( ), 'window' => $this->window?->toArray( ), 'available' => $this->availability_interval?->toArray( ), 'submission' => $this->submission_interval?->toArray( ), ]
/lib/php-css-parser/RuleSet/DeclarationBlock.php:4141$aBgProperties = ['background-color' => ['transparent'], 'background-image' => ['none'], 'background-repeat' => ['repeat'], 'background-attachment' => ['scroll'], 'background-position' => [new Size(0, '%', null, false, $this->iLineNo), new Size(0, '%', null, false, $this->iLineNo), ], ]
/lib/lti1p3/src/LtiGrade.php:351return ['scoreGiven' => $this->score_given, 'scoreMaximum' => $this->score_maximum, 'comment' => $this->comment, 'activityProgress' => $this->activity_progress, 'gradingProgress' => $this->grading_progress, 'timestamp' => $this->timestamp, 'userId' => $this->user_id, 'submissionReview' => $this->submission_review, 'https://canvas.instructure.com/lti/submission' => $this->canvas_extension, ]
/lib/lti1p3/src/LtiLineitem.php:431return ['id' => $this->id, 'scoreMaximum' => $this->score_maximum, 'label' => $this->label, 'resourceId' => $this->resource_id, 'resourceLinkId' => $this->resource_link_id, 'tag' => $this->tag, 'startDateTime' => $this->start_date_time, 'endDateTime' => $this->end_date_time, 'gradesReleased' => $this->grades_released, ]
/lib/lti1p3/src/JwksEndpoint.php:381$components = ['kty' => 'RSA', 'alg' => 'RS256', 'use' => 'sig', 'e' => JWT::urlsafeB64Encode($key_details['rsa']['e']), 'n' => JWT::urlsafeB64Encode($key_details['rsa']['n']), 'kid' => $kid, ]
/lib/lti1p3/src/LtiAssignmentsGradesService.php:1881return $newLineItem->getTag( ) == ($lineitem['tag'] ?? null) && $newLineItem->getResourceId( ) == ($lineitem['resourceId'] ?? null) && $newLineItem->getResourceLinkId( ) == ($lineitem['resourceLinkId'] ?? null)
/lib/external/externallib.php:4431return new external_function_parameters(array('component' => new external_value(PARAM_COMPONENT, 'component responsible for the update', VALUE_REQUIRED), 'itemtype' => new external_value(PARAM_NOTAGS, 'type of the updated item inside the component', VALUE_REQUIRED), 'itemid' => new external_value(PARAM_RAW, 'identifier of the updated item', VALUE_REQUIRED), 'value' => new external_value(PARAM_RAW, 'new value', VALUE_REQUIRED), ))
/lib/external/externallib.php:3541return new external_function_parameters(array('component' => new external_value(PARAM_COMPONENT, 'Component for the callback e.g. mod_assign'), 'callback' => new external_value(PARAM_ALPHANUMEXT, 'Name of the callback to execute'), 'contextid' => new external_value(PARAM_INT, 'Context ID that the fragment is from'), 'args' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'param name'), 'value' => new external_value(PARAM_RAW, 'param value'))), 'args for the callback are optional', VALUE_OPTIONAL)))
/lib/external/externallib.php:5251return new external_multiple_structure(new external_single_structure(array('template' => new external_value(PARAM_RAW, 'Name of the template'), 'variables' => new external_single_structure(array('message' => new external_value(PARAM_RAW, 'HTML content of the Notification'), 'extraclasses' => new external_value(PARAM_RAW, 'Extra classes to provide to the tmeplate'), 'announce' => new external_value(PARAM_RAW, 'Whether to announce'), 'closebutton' => new external_value(PARAM_RAW, 'Whether to close'), )), )))
/lib/external/externallib.php:4841return new external_single_structure(array('displayvalue' => new external_value(PARAM_RAW, 'display value (may contain link or other html tags)'), 'component' => new external_value(PARAM_NOTAGS, 'component responsible for the update', VALUE_OPTIONAL), 'itemtype' => new external_value(PARAM_NOTAGS, 'itemtype', VALUE_OPTIONAL), 'value' => new external_value(PARAM_RAW, 'value of the item as it is stored', VALUE_OPTIONAL), 'itemid' => new external_value(PARAM_RAW, 'identifier of the updated item', VALUE_OPTIONAL), 'edithint' => new external_value(PARAM_NOTAGS, 'hint for editing element', VALUE_OPTIONAL), 'editlabel' => new external_value(PARAM_RAW, 'label for editing element', VALUE_OPTIONAL), 'editicon' => new external_single_structure(['key' => new external_value(PARAM_RAW, 'Edit icon key', VALUE_OPTIONAL), 'component' => new external_value(PARAM_COMPONENT, 'Edit icon component', VALUE_OPTIONAL), 'title' => new external_value(PARAM_NOTAGS, 'Edit icon title', VALUE_OPTIONAL), ], 'Edit icon', VALUE_OPTIONAL), 'type' => new external_value(PARAM_ALPHA, 'type of the element (text, toggle, select)', VALUE_OPTIONAL), 'options' => new external_value(PARAM_RAW, 'options of the element, format depends on type', VALUE_OPTIONAL), 'linkeverything' => new external_value(PARAM_INT, 'Should everything be wrapped in the edit link or link displayed separately', VALUE_OPTIONAL), ))
/lib/external/externallib.php:1701$translatedstrings[] = array('stringid' => $string['stringid'], 'component' => $string['component'], 'lang' => $lang, 'string' => $stringmanager->get_string($string['stringid'], $string['component'], core_external::format_string_parameters($string['stringparams']), $lang))
/lib/external/externallib.php:1291return new external_function_parameters(array('strings' => new external_multiple_structure(new external_single_structure(array('stringid' => new external_value(PARAM_STRINGID, 'string identifier'), 'component' => new external_value(PARAM_COMPONENT, 'component', VALUE_DEFAULT, 'moodle'), 'lang' => new external_value(PARAM_LANG, 'lang', VALUE_DEFAULT, null), 'stringparams' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'param name - if the string expect only one $a parameter then don\'t send this field, just send the value.', VALUE_OPTIONAL), 'value' => new external_value(PARAM_RAW, 'param value'))), 'the definition of a string param (i.e. {$a->name})', VALUE_DEFAULT, array( )))))))
/lib/external/externallib.php:2031return new external_function_parameters(['contextid' => new external_value(PARAM_INT, 'Context ID. Either use this value, or level and instanceid.', VALUE_DEFAULT, 0), 'contextlevel' => new external_value(PARAM_ALPHA, 'Context level. To be used with instanceid.', VALUE_DEFAULT, ''), 'instanceid' => new external_value(PARAM_INT, 'Context instance ID. To be used with level', VALUE_DEFAULT, 0), 'timestamps' => new external_multiple_structure(new external_single_structure(['timestamp' => new external_value(PARAM_INT, 'unix timestamp'), 'format' => new external_value(PARAM_TEXT, 'format string'), 'type' => new external_value(PARAM_PLUGIN, 'The calendar type', VALUE_DEFAULT), 'fixday' => new external_value(PARAM_INT, 'Remove leading zero for day', VALUE_DEFAULT, 1), 'fixhour' => new external_value(PARAM_INT, 'Remove leading zero for hour', VALUE_DEFAULT, 1), ]))])
/lib/external/externallib.php:1881return new external_multiple_structure(new external_single_structure(array('stringid' => new external_value(PARAM_STRINGID, 'string id'), 'component' => new external_value(PARAM_COMPONENT, 'string component'), 'lang' => new external_value(PARAM_LANG, 'lang'), 'string' => new external_value(PARAM_RAW, 'translated string'))))
/lib/external/tests/privacy/provider_test.php:4951$record = (object) array_merge(['token' => random_string(64), 'privatetoken' => random_string(64), 'tokentype' => EXTERNAL_TOKEN_PERMANENT, 'contextid' => SYSCONTEXTID, 'externalserviceid' => $service->id, 'userid' => $USER->id, 'validuntil' => time( ) + YEARSECS, 'iprestriction' => null, 'sid' => null, 'timecreated' => time( ), 'lastaccess' => time( ), 'creatorid' => $USER->id, ], $params)
/lib/external/tests/privacy/provider_test.php:4501$record = (object) array_merge(['name' => 'Some service', 'enabled' => '1', 'requiredcapability' => '', 'restrictedusers' => '0', 'component' => 'core_external', 'timecreated' => time( ), 'timemodified' => time( ), 'shortname' => 'service' . $i, 'downloadfiles' => '1', 'uploadfiles' => '1', ], $params)
/lib/ltiprovider/src/ToolProvider/ToolProvider.php:7381$this->ok = ((isset($_POST['reg_key']) && (strlen(trim($_POST['reg_key'])) > 0)) && (isset($_POST['reg_password']) && (strlen(trim($_POST['reg_password'])) > 0)) && (isset($_POST['tc_profile_url']) && (strlen(trim($_POST['tc_profile_url'])) > 0)) && (isset($_POST['launch_presentation_return_url']) && (strlen(trim($_POST['launch_presentation_return_url'])) > 0)))
/lib/ltiprovider/src/ToolProvider/ResourceLink.php:10911$ok = (count($parts) === 2) && is_numeric($parts[0]) && is_numeric($parts[1]) && ($parts[0] >= 0) && ($parts[1] > 0)
/lib/external/classes/privacy/provider.php:2891return ['external_service' => $record->externalservicename, 'token' => $notexportedstr, 'private_token' => $record->privatetoken ? $notexportedstr : null, 'ip_restriction' => $record->iprestriction, 'valid_until' => $record->validuntil ? transform::datetime($record->validuntil) : null, 'created_on' => transform::datetime($record->timecreated), 'last_access' => $record->lastaccess ? transform::datetime($record->lastaccess) : null, 'name' => $record->name, ]
/lib/external/classes/privacy/provider.php:1891$data['services_user'][] = ['external_service' => $record->externalservicename, 'ip_restriction' => $record->iprestriction, 'valid_until' => $record->validuntil ? transform::datetime($record->validuntil) : null, 'created_on' => transform::datetime($record->timecreated), ]
/lib/external/tests/util_test.php:1941$expectedfiles = [['filename' => 'example.txt', 'filepath' => '/', 'fileurl' => "{$CFG->wwwroot}/webservice/pluginfile.php/{$context}/{$component}/{$filearea}/{$itemid}/example.txt", 'timemodified' => $timemodified, 'filesize' => $filesize, 'mimetype' => 'text/plain', 'isexternalfile' => false, 'icon' => 'f/text', ], ]
/lib/external/tests/external_externallib_test.php:1181$returnedstrings = \core_external::get_strings(array(array('stringid' => 'addservice', 'component' => 'webservice', 'stringparams' => array(array('name' => 'name', 'value' => $service->name), array('name' => 'id', 'value' => $service->id)), 'lang' => 'en'), array('stringid' => 'addaservice', 'component' => 'webservice', 'lang' => 'en')))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:1571$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::CONSUMER_TABLE_NAME . ' SET ' . 'consumer_key256 = %s, consumer_key = %s, ' . 'name = %s, secret= %s, lti_version = %s, consumer_name = %s, consumer_version = %s, consumer_guid = %s, ' . 'profile = %s, tool_proxy = %s, settings = %s, ' . 'protected = %d, enabled = %d, enable_from = %s, enable_until = %s, last_access = %s, updated = %s ' . 'WHERE consumer_pk = %d', DataConnector::quoted($key256), DataConnector::quoted($key), DataConnector::quoted($consumer->name), DataConnector::quoted($consumer->secret), DataConnector::quoted($consumer->ltiVersion), DataConnector::quoted($consumer->consumerName), DataConnector::quoted($consumer->consumerVersion), DataConnector::quoted($consumer->consumerGuid), DataConnector::quoted($profile), DataConnector::quoted($consumer->toolProxy), DataConnector::quoted($settingsValue), $protected, $enabled, DataConnector::quoted($from), DataConnector::quoted($until), DataConnector::quoted($last), DataConnector::quoted($now), $consumer->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:2091$sql = sprintf('DELETE sk ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' sk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON sk.resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'WHERE c.consumer_pk = %d', $consumer->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:2261$sql = sprintf('DELETE u ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' u ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON u.resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'WHERE c.consumer_pk = %d', $consumer->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:2431$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' prl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ON prl.primary_resource_link_pk = rl.resource_link_pk ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . 'SET prl.primary_resource_link_pk = NULL, prl.share_approved = NULL ' . 'WHERE c.consumer_pk = %d', $consumer->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_pdo_sqlite.php:561$sql = "DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . ' ' . "WHERE EXISTS (SELECT * FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . "WHERE ({$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_SHARE_KEY_TABLE_NAME . '.resource_link_pk = rl.resource_link_pk) AND (c.consumer_pk = :id))'
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_pdo_sqlite.php:731$sql = "DELETE FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' ' . "WHERE EXISTS (SELECT * FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . "WHERE ({$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . '.resource_link_pk = rl.resource_link_pk) AND (c.consumer_pk = :id))'
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_pdo_sqlite.php:911$sql = "UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' ' . 'SET primary_resource_link_pk = NULL, share_approved = NULL ' . "WHERE EXISTS (SELECT * FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' rl ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' c ON rl.context_pk = c.context_pk ' . "WHERE ({$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . '.primary_resource_link_pk = rl.resource_link_pk) AND (c.consumer_pk = :id))'
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:1461$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::CONSUMER_TABLE_NAME . ' (consumer_key256, consumer_key, name, ' . 'secret, lti_version, consumer_name, consumer_version, consumer_guid, profile, tool_proxy, settings, protected, enabled, ' . 'enable_from, enable_until, last_access, created, updated) ' . 'VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %d, %s, %s, %s, %s, %s)', DataConnector::quoted($key256), DataConnector::quoted($key), DataConnector::quoted($consumer->name), DataConnector::quoted($consumer->secret), DataConnector::quoted($consumer->ltiVersion), DataConnector::quoted($consumer->consumerName), DataConnector::quoted($consumer->consumerVersion), DataConnector::quoted($consumer->consumerGuid), DataConnector::quoted($profile), DataConnector::quoted($consumer->toolProxy), DataConnector::quoted($settingsValue), $protected, $enabled, DataConnector::quoted($from), DataConnector::quoted($until), DataConnector::quoted($last), DataConnector::quoted($now), DataConnector::quoted($now))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:6331$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' (consumer_pk, context_pk, ' . 'lti_resource_link_id, settings, primary_resource_link_pk, share_approved, created, updated) ' . 'VALUES (%s, %s, %s, %s, %s, %s, %s, %s)', $consumerId, $contextId, DataConnector::quoted($resourceLink->getId( )), DataConnector::quoted($settingsValue), $primaryResourceLinkId, $approved, DataConnector::quoted($now), DataConnector::quoted($now))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:6401$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' SET ' . 'consumer_pk = %s, lti_resource_link_id = %s, settings = %s, ' . 'primary_resource_link_pk = %s, share_approved = %s, updated = %s ' . 'WHERE (context_pk = %s) AND (resource_link_pk = %d)', $consumerId, DataConnector::quoted($resourceLink->getId( )), DataConnector::quoted($settingsValue), $primaryResourceLinkId, $approved, DataConnector::quoted($now), $contextId, $id)
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:6481$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' SET ' . 'context_pk = %s, lti_resource_link_id = %s, settings = %s, ' . 'primary_resource_link_pk = %s, share_approved = %s, updated = %s ' . 'WHERE (consumer_pk = %s) AND (resource_link_pk = %d)', $contextId, DataConnector::quoted($resourceLink->getId( )), DataConnector::quoted($settingsValue), $primaryResourceLinkId, $approved, DataConnector::quoted($now), $consumerId, $id)
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:7431$sql = sprintf('SELECT u.user_pk, u.lti_result_sourcedid, u.lti_user_id, u.created, u.updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::USER_RESULT_TABLE_NAME . ' AS u ' . "INNER JOIN {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' AS rl ' . 'ON u.resource_link_pk = rl.resource_link_pk ' . 'WHERE ((rl.resource_link_pk = %d) AND (rl.primary_resource_link_pk IS NULL)) OR ' . '((rl.primary_resource_link_pk = %d) AND (share_approved = 1))', $resourceLink->getRecordId( ), $resourceLink->getRecordId( ))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:4431$sql = sprintf("INSERT INTO {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' (consumer_pk, lti_context_id, ' . 'type, settings, created, updated) ' . 'VALUES (%d, %s, %s, %s, %s, %s)', $consumer_pk, DataConnector::quoted($context->ltiContextId), DataConnector::quoted($context->type), DataConnector::quoted($settingsValue), DataConnector::quoted($now), DataConnector::quoted($now))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:4511$sql = sprintf("UPDATE {$this->dbTableNamePrefix}" . DataConnector::CONTEXT_TABLE_NAME . ' SET ' . 'lti_context_id = %s, type = %s, settings = %s, ' . 'updated = %s' . 'WHERE (consumer_pk = %d) AND (context_pk = %d)', DataConnector::quoted($context->ltiContextId), DataConnector::quoted($context->type), DataConnector::quoted($settingsValue), DataConnector::quoted($now), $consumer_pk, $id)
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:5491$sql = sprintf('SELECT resource_link_pk, context_pk, consumer_pk, lti_resource_link_id, settings, primary_resource_link_pk, share_approved, created, updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' ' . 'WHERE (context_pk = %d) AND (lti_resource_link_id = %s)', $resourceLink->getContext( )->getRecordId( ), DataConnector::quoted($resourceLink->getId( )))
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector_mysql.php:5541$sql = sprintf('SELECT r.resource_link_pk, r.context_pk, r.consumer_pk, r.lti_resource_link_id, r.settings, r.primary_resource_link_pk, r.share_approved, r.created, r.updated ' . "FROM {$this->dbTableNamePrefix}" . DataConnector::RESOURCE_LINK_TABLE_NAME . ' r LEFT OUTER JOIN ' . $this->dbTableNamePrefix . DataConnector::CONTEXT_TABLE_NAME . ' c ON r.context_pk = c.context_pk ' . ' WHERE ((r.consumer_pk = %d) OR (c.consumer_pk = %d)) AND (lti_resource_link_id = %s)', $resourceLink->getConsumer( )->getRecordId( ), $resourceLink->getConsumer( )->getRecordId( ), DataConnector::quoted($resourceLink->getId( )))
/lib/portfolio/exporter.php:5311$l = array('userid' => $this->user->id, 'portfolio' => $this->instance->get('id'), 'caller_file' => '', 'caller_component' => $this->callercomponent, 'caller_sha1' => $this->caller->get_sha1( ), 'caller_class' => get_class($this->caller), 'continueurl' => $this->instance->get_static_continue_url( ), 'returnurl' => $this->caller->get_return_url( ), 'tempdataid' => $this->id, 'time' => time( ), )
/lib/portfolio/exporter.php:6451$r = (object) array('data' => base64_encode(serialize($this)), 'expirytime' => time( ) + (60 * 60 * 24), 'userid' => $this->user->id, 'instance' => (empty($this->instance)) ? null : $this->instance->get('id'), )
/lib/htmlpurifier/HTMLPurifier/Printer/ConfigForm.php:2551$attr = array('type' => 'checkbox', 'value' => '1', 'class' => 'null-toggle', 'name' => "$name" . "[Null_$ns.$directive]", 'id' => "$name:Null_$ns.$directive", 'onclick' => "toggleWriteability('$name:$ns.$directive',checked)")
/lib/portfolio/exporter.php:3671$previous = $DB->get_records('portfolio_log', array('userid' => $this->user->id, 'portfolio' => $this->instance->get('id'), 'caller_sha1' => $this->caller->get_sha1( ), ))
/lib/db/upgrade.php:2171$settings = [['presetid' => $starterpreset->id, 'plugin' => 'none', 'name' => 'activitychoosertabmode', 'value' => '4', ], ['presetid' => $fullpreset->id, 'plugin' => 'none', 'name' => 'activitychoosertabmode', 'value' => '3', ], ]
/lib/db/log.php:371$logs = array(array('module' => 'course', 'action' => 'user report', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'course', 'action' => 'view', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'view section', 'mtable' => 'course_sections', 'field' => 'name'), array('module' => 'course', 'action' => 'update', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'hide', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'show', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'move', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'enrol', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'unenrol', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'report log', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'report live', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'report outline', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'report participation', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'course', 'action' => 'report stats', 'mtable' => 'course', 'field' => 'fullname'), array('module' => 'category', 'action' => 'add', 'mtable' => 'course_categories', 'field' => 'name'), array('module' => 'category', 'action' => 'hide', 'mtable' => 'course_categories', 'field' => 'name'), array('module' => 'category', 'action' => 'move', 'mtable' => 'course_categories', 'field' => 'name'), array('module' => 'category', 'action' => 'show', 'mtable' => 'course_categories', 'field' => 'name'), array('module' => 'category', 'action' => 'update', 'mtable' => 'course_categories', 'field' => 'name'), array('module' => 'message', 'action' => 'write', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'message', 'action' => 'read', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'message', 'action' => 'add contact', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'message', 'action' => 'remove contact', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'message', 'action' => 'block contact', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'message', 'action' => 'unblock contact', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), array('module' => 'group', 'action' => 'view', 'mtable' => 'groups', 'field' => 'name'), array('module' => 'tag', 'action' => 'update', 'mtable' => 'tag', 'field' => 'name'), array('module' => 'tag', 'action' => 'flag', 'mtable' => 'tag', 'field' => 'name'), array('module' => 'user', 'action' => 'view', 'mtable' => 'user', 'field' => $DB->sql_concat('firstname', "' '", 'lastname')), )
/lib/db/access.php:571$capabilities = array('moodle/site:config' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array( )), 'moodle/site:configview' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, )), 'moodle/site:readallmessages' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW)), 'moodle/site:manageallmessaging' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/site:deleteanymessage' => array('riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/site:sendmessage' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW, 'user' => CAP_ALLOW)), 'moodle/site:senderrormessage' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)], 'moodle/site:deleteownmessage' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/site:approvecourse' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/backup:backupcourse' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:backup'), 'moodle/backup:backupsection' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/backup:backupcourse'), 'moodle/backup:backupactivity' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/backup:backupcourse'), 'moodle/backup:backuptargetimport' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/backup:backupcourse'), 'moodle/backup:downloadfile' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:backupdownload'), 'moodle/backup:configure' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/backup:userinfo' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/backup:anonymise' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/restore:restorecourse' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:restore'), 'moodle/restore:restoresection' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/restore:restorecourse'), 'moodle/restore:restoreactivity' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/restore:restorecourse'), 'moodle/restore:viewautomatedfilearea' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), ), 'moodle/restore:restoretargetimport' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:import'), 'moodle/restore:uploadfile' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/site:backupupload'), 'moodle/restore:configure' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/restore:rolldates' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('coursecreator' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/restore:userinfo' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/restore:createuser' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/site:manageblocks' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:accessallgroups' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:viewanonymousevents' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, )), 'moodle/site:viewfullnames' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:viewuseridentity' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:viewreports' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:trustcontent' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:uploadusers' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/filter:manage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, )), 'moodle/user:create' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:delete' => array('riskbitmask' => RISK_PERSONAL | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:update' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:viewdetails' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('guest' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:viewalldetails' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/user:update'), 'moodle/user:viewlastip' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/user:update'), 'moodle/user:viewhiddendetails' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:loginas' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:managesyspages' => array('riskbitmap' => RISK_SPAM | RISK_PERSONAL | RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:manageblocks' => array('riskbitmap' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_USER), 'moodle/user:manageownblocks' => array('riskbitmap' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/user:manageownfiles' => array('riskbitmap' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/user:ignoreuserquota' => array('riskbitmap' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'clonepermissionsfrom' => 'moodle/course:ignorefilesizelimits'), 'moodle/my:configsyspages' => array('riskbitmap' => RISK_SPAM | RISK_PERSONAL | RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/role:assign' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/role:review' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/role:override' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/role:safeoverride' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW)), 'moodle/role:manage' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/role:switchroles' => array('riskbitmask' => RISK_XSS | RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/category:manage' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/category:update'), 'moodle/category:viewcourselist' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, )), 'moodle/category:viewhiddencategories' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('coursecreator' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/category:visibility'), 'moodle/cohort:manage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/cohort:assign' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/cohort:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/cohort:configurecustomfields' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'clonepermissionsfrom' => 'moodle/site:config'), 'moodle/group:configurecustomfields' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'clonepermissionsfrom' => 'moodle/site:config'), 'moodle/course:create' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('coursecreator' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:creategroupconversations' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:request' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, ), 'moodle/course:delete' => array('riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/course:update' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, )), 'moodle/course:enrolreview' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, )), 'moodle/course:enrolconfig' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, )), 'moodle/course:reviewotherusers' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, ), 'clonepermissionsfrom' => 'moodle/role:assign'), 'moodle/course:bulkmessaging' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewhiddenuserfields' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewhiddencourses' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('coursecreator' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:visibility' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:managefiles' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:ignoreavailabilityrestrictions' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'teacher' => CAP_ALLOW, ), 'clonepermissionsfrom' => 'moodle/course:viewhiddenactivities'), 'moodle/course:ignorefilesizelimits' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( )), 'moodle/course:manageactivities' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:activityvisibility' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewhiddenactivities' => array('captype' => 'read', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewparticipants' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:changefullname' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:changeshortname' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:changelockedcustomfields' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/course:configurecustomfields' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'clonepermissionsfrom' => 'moodle/site:config'), 'moodle/course:renameroles' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:changeidnumber' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:changecategory' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:changesummary' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/course:setforcedlanguage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/site:viewparticipants' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/course:isincompletionreports' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW, ), ), 'moodle/course:viewscales' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:managescales' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:managegroups' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewhiddengroups' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'READ', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:reset' => array('riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewsuspendedusers' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:tag' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, ), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/blog:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/blog:search' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/blog:viewdrafts' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/blog:create' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/blog:manageentries' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/blog:manageexternal' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('student' => CAP_ALLOW, 'user' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/calendar:manageownentries' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/calendar:managegroupentries' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/calendar:manageentries' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:editprofile' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:editownprofile' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_PROHIBIT, 'user' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:changeownpassword' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_PROHIBIT, 'user' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:readuserposts' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:readuserblogs' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/user:viewuseractivitiesreport' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( )), 'moodle/user:editmessageprofile' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/user:editownmessageprofile' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_PROHIBIT, 'user' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/question:managecategory' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/question:add' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:editmine' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:editall' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:viewmine' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:viewall' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:usemine' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:useall' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:movemine' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:moveall' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:manage'), 'moodle/question:config' => array('riskbitmask' => RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/question:flag' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/question:tagmine' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:editmine'), 'moodle/question:tagall' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/question:editall'), 'moodle/site:doclinks' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:sectionvisibility' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:useremail' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:viewhiddensections' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:setcurrentsection' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:movesections' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:update'), 'moodle/site:mnetlogintoremote' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array( )), 'moodle/grade:viewall' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:viewcoursegrades'), 'moodle/grade:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW)), 'moodle/grade:viewhidden' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:viewcoursegrades'), 'moodle/grade:import' => array('riskbitmask' => RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:export' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:manage' => array('riskbitmask' => RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:edit' => array('riskbitmask' => RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:managegradingforms' => array('riskbitmask' => RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:sharegradingforms' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/grade:managesharedforms' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/grade:manageoutcomes' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:manageletters' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:managegrades'), 'moodle/grade:hide' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/grade:lock' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/grade:unlock' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/my:manageblocks' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/notes:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/notes:manage' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/tag:manage' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/tag:edit' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/tag:flag' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/tag:editblocks' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/block:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/block:edit' => array('riskbitmask' => RISK_SPAM | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_BLOCK, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/portfolio:export' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/comment:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('frontpage' => CAP_ALLOW, 'guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/comment:post' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/comment:delete' => array('riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/webservice:createtoken' => array('riskbitmask' => RISK_CONFIG | RISK_DATALOSS | RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/webservice:managealltokens' => array('riskbitmask' => RISK_CONFIG | RISK_DATALOSS | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array( )), 'moodle/webservice:createmobiletoken' => array('riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/rating:view' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/rating:viewany' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/rating:viewall' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/rating:rate' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:markcomplete' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/course:overridecompletion' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/badges:manageglobalsettings' => array('riskbitmask' => RISK_DATALOSS | RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW, )), 'moodle/badges:viewbadges' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, )), 'moodle/badges:manageownbadges' => array('riskbitmap' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/badges:viewotherbadges' => array('riskbitmap' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/badges:earnbadge' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW, )), 'moodle/badges:createbadge' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:deletebadge' => array('riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:configuredetails' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:configurecriteria' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:configuremessages' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:awardbadge' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:revokebadge' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/badges:viewawarded' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/site:forcelanguage' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array( )), 'moodle/search:query' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('guest' => CAP_ALLOW, 'user' => CAP_ALLOW, 'student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/competency:competencymanage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/competency:competencyview' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:competencygrade' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), ), 'moodle/competency:coursecompetencymanage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), ), 'moodle/competency:coursecompetencyconfigure' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:coursecompetencygradable' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW), 'clonepermissionsfrom' => 'moodle/course:isincompletionreports'), 'moodle/competency:coursecompetencyview' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:evidencedelete' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( ), 'clonepermissionsfrom' => 'moodle/site:config'), 'moodle/competency:planmanage' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:planmanagedraft' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:planmanageown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( ), ), 'moodle/competency:planmanageowndraft' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( ), ), 'moodle/competency:planview' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:planviewdraft' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:planviewown' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:planviewowndraft' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array( ), ), 'moodle/competency:planrequestreview' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/competency:planrequestreviewown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/competency:planreview' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:plancomment' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:plancommentown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:usercompetencyview' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'teacher' => CAP_ALLOW)), 'moodle/competency:usercompetencyrequestreview' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW)), 'moodle/competency:usercompetencyrequestreviewown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/competency:usercompetencyreview' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:usercompetencycomment' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:usercompetencycommentown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:templatemanage' => array('captype' => 'write', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/analytics:listinsights' => array('riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/analytics:managemodels' => array('riskbitmask' => RISK_CONFIG, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:templateview' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSECAT, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:userevidencemanage' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/competency:userevidencemanageown' => array('captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('user' => CAP_ALLOW), ), 'moodle/competency:userevidenceview' => array('captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => array('manager' => CAP_ALLOW), ), 'moodle/site:maintenanceaccess' => array('captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array( )), 'moodle/site:messageanyuser' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)), 'moodle/site:managecontextlocks' => ['captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => [ ], ], 'moodle/course:togglecompletion' => ['captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['user' => CAP_ALLOW, ], ], 'moodle/analytics:listowninsights' => array('captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('user' => CAP_ALLOW)), 'moodle/h5p:setdisplayoptions' => array('captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('editingteacher' => CAP_ALLOW, )), 'moodle/h5p:deploy' => array('riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => array('manager' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/h5p:updatelibraries' => ['riskbitmask' => RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_MODULE, 'archetypes' => ['manager' => CAP_ALLOW, ]], 'moodle/course:recommendactivity' => ['captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['manager' => CAP_ALLOW, ]], 'moodle/contentbank:access' => array('captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/contentbank:upload' => array('riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )), 'moodle/contentbank:deleteanycontent' => ['riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, ]], 'moodle/contentbank:deleteowncontent' => ['captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['user' => CAP_ALLOW, ]], 'moodle/contentbank:manageanycontent' => ['riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, )], 'moodle/contentbank:manageowncontent' => ['captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )], 'moodle/contentbank:useeditor' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, )], 'moodle/contentbank:downloadcontent' => ['captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, ]], 'moodle/contentbank:copyanycontent' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, ]], 'moodle/contentbank:copycontent' => ['riskbitmask' => RISK_SPAM, 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, ]], 'moodle/course:downloadcoursecontent' => ['captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('student' => CAP_ALLOW, 'teacher' => CAP_ALLOW, 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW)], 'moodle/course:configuredownloadcontent' => ['captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array('editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW), ], 'moodle/payment:manageaccounts' => ['captype' => 'write', 'riskbitmask' => RISK_PERSONAL | RISK_CONFIG | RISK_DATALOSS, 'contextlevel' => CONTEXT_COURSE, 'archetypes' => [ ], ], 'moodle/payment:viewpayments' => ['captype' => 'read', 'riskbitmask' => RISK_PERSONAL, 'contextlevel' => CONTEXT_COURSE, 'archetypes' => [ ], ], 'moodle/contentbank:viewunlistedcontent' => ['captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['manager' => CAP_ALLOW, 'coursecreator' => CAP_ALLOW, ]], 'moodle/reportbuilder:view' => ['captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['user' => CAP_ALLOW, ], ], 'moodle/reportbuilder:viewall' => ['captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ], ], 'moodle/reportbuilder:edit' => ['captype' => 'write', 'riskbitmap' => RISK_PERSONAL, 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['manager' => CAP_ALLOW, ], ], 'moodle/reportbuilder:editall' => ['captype' => 'write', 'riskbitmap' => RISK_PERSONAL, 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ], ], 'moodle/reportbuilder:scheduleviewas' => ['captype' => 'read', 'riskbitmap' => RISK_PERSONAL, 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ], ], 'moodle/moodlenet:shareactivity' => ['captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, ]], 'moodle/course:configurecoursecommunication' => ['captype' => 'write', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, ]], 'moodle/moodlenet:sharecourse' => ['captype' => 'read', 'contextlevel' => CONTEXT_COURSE, 'archetypes' => ['editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW, ]], )
/lib/db/install.php:1191$defaults = array('rolesactive' => '0', 'auth' => 'email', 'enrol_plugins_enabled' => 'manual,guest,self,cohort', 'theme' => theme_config::DEFAULT_THEME, 'filter_multilang_converted' => 1, 'siteidentifier' => random_string(32) . get_host_from_url($CFG->wwwroot), 'backup_version' => 2008111700, 'backup_release' => '2.0 dev', 'mnet_dispatcher_mode' => 'off', 'sessiontimeout' => 8 * 60 * 60, 'stringfilters' => '', 'filterall' => 0, 'texteditors' => 'tiny,atto,tinymce,textarea', 'antiviruses' => '', 'media_plugins_sortorder' => 'videojs,youtube', 'upgrade_extracreditweightsstepignored' => 1, 'upgrade_calculatedgradeitemsignored' => 1, 'upgrade_letterboundarycourses' => 1, 'format_plugins_sortorder' => 'topics,weeks,singleactivity,social', )
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:5091$this->info['top'] = $this->info['left'] = $this->info['right'] = $this->info['bottom'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length( ), new HTMLPurifier_AttrDef_CSS_Percentage( ), new HTMLPurifier_AttrDef_Enum(['auto']), ])
/lib/htmlpurifier/HTMLPurifier/HTMLModule/SafeObject.php:251$object = $this->addElement('object', 'Inline', 'Optional: param | Flow | #PCDATA', 'Common', array('type' => 'Enum#application/x-shockwave-flash', 'width' => 'Pixels#' . $max, 'height' => 'Pixels#' . $max, 'data' => 'URI#embedded', 'codebase' => new HTMLPurifier_AttrDef_Enum(array('http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0')), ))
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:2741$this->info['min-width'] = $this->info['min-height'] = $max === null ? $trusted_min_wh : new HTMLPurifier_AttrDef_Switch('img', new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length('0', $max), new HTMLPurifier_AttrDef_Enum(['initial', 'inherit'])]), $trusted_min_wh)
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:2901$this->info['max-width'] = $this->info['max-height'] = $max === null ? $trusted_max_wh : new HTMLPurifier_AttrDef_Switch('img', new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length('0', $max), new HTMLPurifier_AttrDef_Enum(['none', 'initial', 'inherit'])]), $trusted_max_wh)
/lib/htmlpurifier/HTMLPurifier/HTMLModule/Forms.php:511$input = $this->addElement('input', 'Formctrl', 'Empty', 'Common', array('accept' => 'ContentTypes', 'accesskey' => 'Character', 'alt' => 'Text', 'checked' => 'Bool#checked', 'disabled' => 'Bool#disabled', 'maxlength' => 'Number', 'name' => 'CDATA', 'readonly' => 'Bool#readonly', 'size' => 'Number', 'src' => 'URI#embedded', 'tabindex' => 'Number', 'type' => 'Enum#text,password,checkbox,button,radio,submit,reset,file,hidden,image', 'value' => 'CDATA', ))
/lib/htmlpurifier/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php:871$r['h1@align'] = $r['h2@align'] = $r['h3@align'] = $r['h4@align'] = $r['h5@align'] = $r['h6@align'] = $r['p@align'] = $r['div@align'] = new HTMLPurifier_AttrTransform_EnumToCSS('align', $align_lookup)
/lib/htmlpurifier/HTMLPurifier/HTMLModule/SafeEmbed.php:191$embed = $this->addElement('embed', 'Inline', 'Empty', 'Common', array('src*' => 'URI#embedded', 'type' => 'Enum#application/x-shockwave-flash', 'width' => 'Pixels#' . $max, 'height' => 'Pixels#' . $max, 'allowscriptaccess' => 'Enum#never', 'allownetworking' => 'Enum#internal', 'flashvars' => 'Text', 'wmode' => 'Enum#window,transparent,opaque', 'name' => 'ID', ))
/lib/htmlpurifier/HTMLPurifier/HTMLModule/Image.php:221$img = $this->addElement('img', 'Inline', 'Empty', 'Common', array('alt*' => 'Text', 'height' => 'Pixels#' . $max, 'width' => 'Pixels#' . $max, 'longdesc' => 'URI', 'src*' => new HTMLPurifier_AttrDef_URI(true), ))
/lib/openspout/src/Writer/XLSX/Entity/SheetView.php:2171return $this->generateAttributes(['showFormulas' => $this->showFormulas, 'showGridLines' => $this->showGridLines, 'showRowColHeaders' => $this->showRowColHeaders, 'showZeroes' => $this->showZeroes, 'rightToLeft' => $this->rightToLeft, 'tabSelected' => $this->tabSelected, 'showOutlineSymbols' => $this->showOutlineSymbols, 'defaultGridColor' => $this->defaultGridColor, 'view' => $this->view, 'topLeftCell' => $this->topLeftCell, 'colorId' => $this->colorId, 'zoomScale' => $this->zoomScale, 'zoomScaleNormal' => $this->zoomScaleNormal, 'zoomScalePageLayoutView' => $this->zoomScalePageLayoutView, 'workbookViewId' => $this->workbookViewId, ])
/lib/openspout/src/Writer/ODS/Manager/Style/StyleManager.php:1661return <<<EOD <office:styles> <number:number-style style:name="N0"> <number:number number:min-integer-digits="1"/> </number:number-style> <style:style style:data-style-name="N0" style:family="table-cell" style:name="Default"> <style:table-cell-properties fo:background-color="transparent" style:vertical-align="automatic"/> <style:text-properties fo:color="#{$defaultStyle->getFontColor( )}" fo:font-size="{$defaultStyle->getFontSize( )}pt" style:font-size-asian="{$defaultStyle->getFontSize( )}pt" style:font-size-complex="{$defaultStyle->getFontSize( )}pt" style:font-name="{$defaultStyle->getFontName( )}" style:font-name-asian="{$defaultStyle->getFontName( )}" style:font-name-complex="{$defaultStyle->getFontName( )}"/> </style:style> </office:styles> EOD
/lib/openspout/src/Reader/ODS/SheetIterator.php:1461return new Sheet(new RowIterator($this->options, new CellValueFormatter($this->options->SHOULD_FORMAT_DATES, new ODS( )), new XMLProcessor($this->xmlReader)), $this->currentSheetIndex, $sheetName, $isSheetActive, $isSheetVisible)
/lib/jmespath/src/TreeInterpreter.php:1991return is_string($value) || Utils::isArray($value) ? Utils::slice($value, $node['value'][0], $node['value'][1], $node['value'][2]) : null
/lib/external/externallib.php:791return new external_function_parameters(array('stringid' => new external_value(PARAM_STRINGID, 'string identifier'), 'component' => new external_value(PARAM_COMPONENT, 'component', VALUE_DEFAULT, 'moodle'), 'lang' => new external_value(PARAM_LANG, 'lang', VALUE_DEFAULT, null), 'stringparams' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'param name - if the string expect only one $a parameter then don\'t send this field, just send the value.', VALUE_OPTIONAL), 'value' => new external_value(PARAM_RAW, 'param value'))), 'the definition of a string param (i.e. {$a->name})', VALUE_DEFAULT, array( ))))
/lib/openspout/src/Writer/XLSX/Helper/DateIntervalHelper.php:281$days = $interval->y * 365.25 + $interval->m * 30.437 + $interval->d + $interval->h / 24 + $interval->i / 24 / 60 + $interval->s / 24 / 60 / 60
/lib/openspout/src/Writer/XLSX/Helper/DateHelper.php:442$excelDate = floor((146097 * $century) / 4) + floor((1461 * $decade) / 4) + floor((153 * $month + 2) / 5) + $day + 1721119 - $myexcelBaseDate + $excel1900isLeapYear
/lib/openspout/src/Writer/XLSX/Entity/SheetView.php:2441return '<pane' . $this->generateAttributes(['xSplit' => $columnIndex, 'ySplit' => $this->freezeRow - 1, 'topLeftCell' => $this->freezeColumn . $this->freezeRow, 'activePane' => 'bottomRight', 'state' => 'frozen', ]) . '/>'
/lib/jmespath/src/TreeCompiler.php:1431return $this->dispatch($node['children'][0])->write('if ($value !== null) {')->indent( )->dispatch($node['children'][1])->outdent( )->write('}')
/lib/jmespath/src/TreeCompiler.php:1211return $this->write('%s = $value;', $a)->dispatch($node['children'][0])->write('if ($value || $value === "0" || $value === 0) {')->indent( )->write('$value = %s;', $a)->dispatch($node['children'][1])->outdent( )->write('}')
/lib/jmespath/src/TreeCompiler.php:1071return $this->write('%s = $value;', $a)->dispatch($node['children'][0])->write('if (!$value && $value !== "0" && $value !== 0) {')->indent( )->write('$value = %s;', $a)->dispatch($node['children'][1])->outdent( )->write('}')
/lib/db/upgradelib.php:8061return ['total' => (object) ['count' => $total, 'bad' => $totalbad, 'sql' => $totalbadsql], 'standard' => (object) ['count' => $standard, 'bad' => $standardbad, 'sql' => $standardbadsql], 'subscription' => (object) ['count' => $subscription, 'bad' => $subscriptionbad, 'sql' => $subscriptionbadsql], 'override' => (object) ['count' => $override, 'bad' => $overridebad, 'sql' => $overridebadsql], 'action' => (object) ['count' => $action, 'bad' => $actionbad, 'sql' => $actionbadsql], 'other' => (object) ['count' => $other, 'bad' => $otherbad, 'sql' => $otherbadsql], ]
/lib/jmespath/src/Parser.php:2221return ['type' => 'projection', 'from' => 'array', 'children' => [['type' => T::T_FLATTEN, 'children' => [$left]], $this->parseProjection(self::$bp[T::T_FLATTEN])]]
/lib/jmespath/src/TreeCompiler.php:3661return $this->write('%s = $value;', $value)->write('// Visiting condition node')->dispatch($node['children'][0])->write('// Checking result of condition node')->write('if (Utils::isTruthy($value)) {')->indent( )->write('$value = %s;', $value)->dispatch($node['children'][1])->outdent( )->write('} else {')->indent( )->write('$value = null;')->outdent( )->write('}')
/lib/jmespath/src/TreeCompiler.php:2671return $this->write('$value = !is_string($value) && !Utils::isArray($value)')->write(' ? null : Utils::slice($value, %s, %s, %s);', var_export($node['value'][0], true), var_export($node['value'][1], true), var_export($node['value'][2], true))
/lib/jmespath/src/TreeCompiler.php:1851return $this->write('if (is_array($value) || ($value instanceof \\ArrayAccess && $value instanceof \\Countable)) {')->indent( )->write('%s = count($value) + %s;', $a, $node['value'])->write('$value = isset($value[%s]) ? $value[%s] : null;', $a, $a)->outdent( )->write('} else {')->indent( )->write('$value = null;')->outdent( )->write('}')
/lib/filebrowser/file_info_stored.php:4831$file = $fs->create_directory($this->lf->get_contextid( ), $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $filepath, $userid)
/lib/filebrowser/file_info_stored.php:4841return $this->browser->get_file_info($this->context, $this->lf->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/lib/filebrowser/file_info_stored.php:5323return $this->browser->get_file_info($this->context, $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/lib/filebrowser/file_info_stored.php:5793return $this->browser->get_file_info($this->context, $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/lib/filebrowser/file_info_stored.php:6263return $this->browser->get_file_info($this->context, $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/lib/scssphp/Parser.php:14151return [Type::T_STRING, '', [$this->inParens ? '(' : '', $lhs, ($whiteBefore ? ' ' : '') . $op . ($whiteAfter ? ' ' : ''), $rhs, $this->inParens ? ')' : '']]
/lib/scssphp/Util.php:1001$s = \chr(0xF0 | $code >> 18) . \chr(0x80 | $code >> 12 & 0x3F) . \chr(0x80 | $code >> 6 & 0x3F) . \chr(0x80 | $code & 0x3F)
/lib/scssphp/Compiler.php:3831$options = ['importPaths' => $this->importPaths, 'registeredVars' => $this->registeredVars, 'registeredFeatures' => $this->registeredFeatures, 'encoding' => $this->encoding, 'sourceMap' => serialize($this->sourceMap), 'sourceMapOptions' => $this->sourceMapOptions, 'formatter' => $this->configuredFormatter, 'legacyImportPath' => $this->legacyCwdImportPath, ]
/lib/filebrowser/virtual_root_file.php:3141return sha1('/' . $this->get_contextid( ) . '/' . $this->get_component( ) . '/' . $this->get_filearea( ) . '/' . $this->get_itemid( ) . $this->get_filepath( ) . $this->get_filename( ))
/lib/filebrowser/file_info_stored.php:841return array('contextid' => $this->context->id, 'component' => $this->lf->get_component( ), 'filearea' => $this->lf->get_filearea( ), 'itemid' => $this->lf->get_itemid( ), 'filepath' => $this->lf->get_filepath( ), 'filename' => $this->lf->get_filename( ))
/lib/filebrowser/file_info_stored.php:2151return $fs->is_area_empty($this->lf->get_contextid( ), $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ))
/lib/filebrowser/file_info_stored.php:3432$storedfiles = $fs->get_directory_files($this->context->id, $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $this->lf->get_filepath( ), false, true, "filepath, filename")
/lib/filebrowser/file_info_stored.php:3682$storedfiles = $fs->get_directory_files($this->context->id, $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $this->lf->get_filepath( ), false, true, "filepath, filename")
/lib/filebrowser/file_info_stored.php:4051$params = array('contextid' => $this->context->id, 'component' => $this->lf->get_component( ), 'filearea' => $this->lf->get_filearea( ), 'itemid' => $this->lf->get_itemid( ), 'filepath' => $filepath)
/lib/filebrowser/file_info_stored.php:4481return $this->browser->get_file_info($this->context, $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $this->lf->get_filepath( ), '.')
/lib/filebrowser/file_info_stored.php:4581return $this->browser->get_file_info($this->context, $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $filepath, '.')
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:1291$this->info['border-top-color'] = $this->info['border-bottom-color'] = $this->info['border-left-color'] = $this->info['border-right-color'] = $this->info['background-color'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_Enum(['transparent']), new HTMLPurifier_AttrDef_CSS_Color( )])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:1281$border_color = $this->info['border-top-color'] = $this->info['border-bottom-color'] = $this->info['border-left-color'] = $this->info['border-right-color'] = $this->info['background-color'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_Enum(['transparent']), new HTMLPurifier_AttrDef_CSS_Color( )])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:1441$border_width = $this->info['border-top-width'] = $this->info['border-bottom-width'] = $this->info['border-left-width'] = $this->info['border-right-width'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_Enum(['thin', 'medium', 'thick']), new HTMLPurifier_AttrDef_CSS_Length('0')])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:1301$this->info['border-bottom-color'] = $this->info['border-left-color'] = $this->info['border-right-color'] = $this->info['background-color'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_Enum(['transparent']), new HTMLPurifier_AttrDef_CSS_Color( )])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:2001$margin = $this->info['margin-top'] = $this->info['margin-bottom'] = $this->info['margin-left'] = $this->info['margin-right'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length( ), new HTMLPurifier_AttrDef_CSS_Percentage( ), new HTMLPurifier_AttrDef_Enum(['auto'])])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:1451$this->info['border-top-width'] = $this->info['border-bottom-width'] = $this->info['border-left-width'] = $this->info['border-right-width'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_Enum(['thin', 'medium', 'thick']), new HTMLPurifier_AttrDef_CSS_Length('0')])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:2151$padding = $this->info['padding-top'] = $this->info['padding-bottom'] = $this->info['padding-left'] = $this->info['padding-right'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length('0'), new HTMLPurifier_AttrDef_CSS_Percentage(true)])
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:2011$this->info['margin-top'] = $this->info['margin-bottom'] = $this->info['margin-left'] = $this->info['margin-right'] = new HTMLPurifier_AttrDef_CSS_Composite([new HTMLPurifier_AttrDef_CSS_Length( ), new HTMLPurifier_AttrDef_CSS_Percentage( ), new HTMLPurifier_AttrDef_Enum(['auto'])])
/lib/scssphp/Compiler.php:41852$truthy = ($left === static::$null || $right === static::$null) || ($left === static::$false || $left === static::$true) && ($right === static::$false || $right === static::$true)
/lib/scssphp/Compiler.php:41572$truthy = ($left === static::$null || $right === static::$null) || ($left === static::$false || $left === static::$true) && ($right === static::$false || $right === static::$true)
/lib/scssphp/Compiler.php:72591return isset($rgba[3]) ? [Type::T_COLOR, $rgba[0], $rgba[1], $rgba[2], $rgba[3]] : [Type::T_COLOR, $rgba[0], $rgba[1], $rgba[2]]
/lib/scssphp/Compiler.php:61501$loc = isset($this->sourceNames[$this->sourceIndex]) ? $this->getPrettyPath($this->sourceNames[$this->sourceIndex]) . " on line $line, at column $column" : "line: $line, column: $column"
/lib/scssphp/Compiler.php:96751$id = PHP_INT_SIZE === 4 ? mt_rand(0, pow(36, 5)) . str_pad(mt_rand(0, pow(36, 5)) % 10000000, 7, '0', STR_PAD_LEFT) : mt_rand(0, pow(36, 8))
/lib/scssphp/Compiler.php:82331$new = [Type::T_COLOR, $weight1 * $first[1] + $weight2 * $second[1], $weight1 * $first[2] + $weight2 * $second[2], $weight1 * $first[3] + $weight2 * $second[3], ]
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:301$this->info['border-bottom-style'] = $this->info['border-right-style'] = $this->info['border-left-style'] = $this->info['border-top-style'] = new HTMLPurifier_AttrDef_Enum(['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'], false)
/lib/htmlpurifier/HTMLPurifier/CSSDefinition.php:291$border_style = $this->info['border-bottom-style'] = $this->info['border-right-style'] = $this->info['border-left-style'] = $this->info['border-top-style'] = new HTMLPurifier_AttrDef_Enum(['none', 'hidden', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset'], false)
/lib/xapi/classes/external/post_state.php:461return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component name'), 'activityId' => new external_value(PARAM_URL, 'xAPI activity ID IRI'), 'agent' => new external_value(PARAM_RAW, 'The xAPI agent json'), 'stateId' => new external_value(PARAM_ALPHAEXT, 'The xAPI state ID'), 'stateData' => new external_value(PARAM_RAW, 'JSON object with the state data'), 'registration' => new external_value(PARAM_ALPHANUMEXT, 'The xAPI registration UUID', VALUE_DEFAULT, null), ])
/lib/xapi/classes/external/delete_state.php:462return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component name'), 'activityId' => new external_value(PARAM_URL, 'xAPI activity ID IRI'), 'agent' => new external_value(PARAM_RAW, 'The xAPI agent json'), 'stateId' => new external_value(PARAM_ALPHAEXT, 'The xAPI state ID'), 'registration' => new external_value(PARAM_ALPHANUMEXT, 'The xAPI registration UUID', VALUE_DEFAULT, null), ])
/lib/xapi/classes/external/get_state.php:462return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component name'), 'activityId' => new external_value(PARAM_URL, 'xAPI activity ID IRI'), 'agent' => new external_value(PARAM_RAW, 'The xAPI agent json'), 'stateId' => new external_value(PARAM_ALPHAEXT, 'The xAPI state ID'), 'registration' => new external_value(PARAM_ALPHANUMEXT, 'The xAPI registration UUID', VALUE_DEFAULT, null), ])
/lib/xapi/classes/external/get_states.php:461return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component name'), 'activityId' => new external_value(PARAM_URL, 'xAPI activity ID IRI'), 'agent' => new external_value(PARAM_RAW, 'The xAPI agent json'), 'registration' => new external_value(PARAM_ALPHANUMEXT, 'The xAPI registration UUID', VALUE_DEFAULT, null), 'since' => new external_value(PARAM_TEXT, 'Filter ids stored since the timestamp (exclusive)', VALUE_DEFAULT, null), ])
/lib/xapi/classes/local/state.php:911$result = (object) ['userid' => $this->get_user( )->id, 'itemid' => $this->get_activity_id( ), 'stateid' => $this->stateid, 'statedata' => json_encode($this), 'registration' => $this->registration, ]
/lib/xapi/classes/external/delete_states.php:871return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component name'), 'activityId' => new external_value(PARAM_URL, 'xAPI activity ID IRI'), 'agent' => new external_value(PARAM_RAW, 'The xAPI agent json'), 'registration' => new external_value(PARAM_ALPHANUMEXT, 'The xAPI registration UUID', VALUE_DEFAULT, null)])
/lib/xapi/classes/state_store.php:913$data = ['component' => $this->component, 'userid' => $state->get_user( )->id, 'itemid' => $this->activity_id_to_item_id($state->get_activity_id( )), 'stateid' => $state->get_state_id( ), 'registration' => $state->get_registration( ), ]
/lib/xapi/classes/state_store.php:1233$data = ['component' => $this->component, 'userid' => $state->get_user( )->id, 'itemid' => $this->activity_id_to_item_id($state->get_activity_id( )), 'stateid' => $state->get_state_id( ), 'registration' => $state->get_registration( ), ]
/lib/phpxmlrpc/Client.php:19271return $this->createCURLHandle($req, $method, $server, $port, $this->path, array('accepted_charset_encodings' => $this->accepted_charset_encodings, 'accepted_compression' => $this->accepted_compression, 'authtype' => $authType, 'cacert' => $caCert, 'cacertdir' => $caCertDir, 'cert' => $cert, 'certpass' => $certPass, 'cookies' => $this->cookies, 'debug' => $this->debug, 'extracurlopts' => $this->extracurlopts, 'keepalive' => $keepAlive, 'key' => $key, 'keypass' => $keyPass, 'no_multicall' => $this->no_multicall, 'password' => $password, 'proxy' => $proxyHost, 'proxy_authtype' => $proxyAuthType, 'proxy_pass' => $proxyPassword, 'proxyport' => $proxyPort, 'proxy_user' => $proxyUsername, 'request_charset_encoding' => $this->request_charset_encoding, 'request_compression' => $this->request_compression, 'return_type' => $this->return_type, 'sslversion' => $sslVersion, 'timeout' => $timeout, 'username' => $username, 'user_agent' => $this->user_agent, 'use_curl' => $this->use_curl, 'verifyhost' => $this->verifyhost, 'verifypeer' => $this->verifypeer, ))
/lib/xapi/classes/state_store.php:693$data = ['component' => $this->component, 'userid' => $state->get_user( )->id, 'itemid' => $this->activity_id_to_item_id($state->get_activity_id( )), 'stateid' => $state->get_state_id( ), 'registration' => $state->get_registration( ), ]
/lib/phpxmlrpc/Client.php:17911return $this->sendViaSocket($req, $method, $server, $port, $this->path, array('accepted_charset_encodings' => $this->accepted_charset_encodings, 'accepted_compression' => $this->accepted_compression, 'authtype' => $authType, 'cacert' => $caCert, 'cacertdir' => $caCertDir, 'cert' => $cert, 'certpass' => $certPass, 'cookies' => $this->cookies, 'debug' => $this->debug, 'extracurlopts' => $this->extracurlopts, 'extrasockopts' => $this->extrasockopts, 'keepalive' => $this->keepalive, 'key' => $key, 'keypass' => $keyPass, 'no_multicall' => $this->no_multicall, 'password' => $password, 'proxy' => $proxyHost, 'proxy_authtype' => $proxyAuthType, 'proxy_pass' => $proxyPassword, 'proxyport' => $proxyPort, 'proxy_user' => $proxyUsername, 'request_charset_encoding' => $this->request_charset_encoding, 'request_compression' => $this->request_compression, 'return_type' => $this->return_type, 'sslversion' => $sslVersion, 'timeout' => $timeout, 'username' => $username, 'user_agent' => $this->user_agent, 'use_curl' => $this->use_curl, 'verifyhost' => $this->verifyhost, 'verifypeer' => $this->verifypeer, ))
/lib/phpxmlrpc/Client.php:18591return $this->sendViaCURL($req, $method, $server, $port, $this->path, array('accepted_charset_encodings' => $this->accepted_charset_encodings, 'accepted_compression' => $this->accepted_compression, 'authtype' => $authType, 'cacert' => $caCert, 'cacertdir' => $caCertDir, 'cert' => $cert, 'certpass' => $certPass, 'cookies' => $this->cookies, 'debug' => $this->debug, 'extracurlopts' => $this->extracurlopts, 'extrasockopts' => $this->extrasockopts, 'keepalive' => $keepAlive, 'key' => $key, 'keypass' => $keyPass, 'no_multicall' => $this->no_multicall, 'password' => $password, 'proxy' => $proxyHost, 'proxy_authtype' => $proxyAuthType, 'proxy_pass' => $proxyPassword, 'proxyport' => $proxyPort, 'proxy_user' => $proxyUsername, 'request_charset_encoding' => $this->request_charset_encoding, 'request_compression' => $this->request_compression, 'return_type' => $this->return_type, 'sslversion' => $sslVersion, 'timeout' => $timeout, 'username' => $username, 'user_agent' => $this->user_agent, 'use_curl' => $this->use_curl, 'verifyhost' => $this->verifyhost, 'verifypeer' => $this->verifypeer, ))
/lib/phpxmlrpc/Client.php:10081$op = 'POST ' . $uri . " HTTP/1.0\r\n" . 'User-Agent: ' . $opts['user_agent'] . "\r\n" . 'Host: ' . $server . $port . "\r\n" . $credentials . $proxyCredentials . $acceptedEncoding . $encodingHdr . 'Accept-Charset: ' . implode(',', $opts['accepted_charset_encodings']) . "\r\n" . $cookieHeader . 'Content-Type: ' . $req->getContentType( ) . "\r\nContent-Length: " . strlen($payload) . "\r\n\r\n" . $payload
/lib/phpxmlrpc/Client.php:11721$curl = $this->prepareCurlHandle($req, $server, $port, $opts['timeout'], $opts['username'], $opts['password'], $opts['authtype'], $opts['cert'], $opts['certpass'], $opts['cacert'], $opts['cacertdir'], $opts['proxy'], $opts['proxyport'], $opts['proxy_user'], $opts['proxy_pass'], $opts['proxy_authtype'], $method, $opts['keepalive'], $opts['key'], $opts['keypass'], $opts['sslversion'])
/lib/phpxmlrpc/Client.php:8421$r = $this->sendPayloadCURL($req, $this->server, $this->port, $timeout, $this->username, $this->password, $this->authtype, $this->cert, $this->certpass, $this->cacert, $this->cacertdir, $this->proxy, $this->proxyport, $this->proxy_user, $this->proxy_pass, $this->proxy_authtype, $method == 'http11' ? 'http' : $method, $this->keepalive, $this->key, $this->keypass, $this->sslversion)
/lib/phpxmlrpc/Client.php:8671$r = $this->sendPayloadSocket($req, $this->server, $this->port, $timeout, $this->username, $this->password, $this->authtype, $this->cert, $this->certpass, $this->cacert, $this->cacertdir, $this->proxy, $this->proxyport, $this->proxy_user, $this->proxy_pass, $this->proxy_authtype, $method, $this->key, $this->keypass, $this->sslversion)
/lib/webauthn/src/Attestation/AuthenticatorData.php:2001return $this->_der_sequence($this->_der_sequence($this->_der_oid("\x2A\x86\x48\x86\xF7\x0D\x01\x01\x01") . $this->_der_nullValue( )) . $this->_der_bitString($this->_der_sequence($this->_der_unsignedInteger($this->_attestedCredentialData->credentialPublicKey->n) . $this->_der_unsignedInteger($this->_attestedCredentialData->credentialPublicKey->e))))
/lib/xapi/tests/external/get_states_test.php:3751$states = [['activity' => item_activity::create_from_id('1'), 'stateid' => 'aa'], ['activity' => item_activity::create_from_id('1'), 'registration' => 'reg', 'stateid' => 'bb'], ['activity' => item_activity::create_from_id('1'), 'registration' => 'reg2', 'stateid' => 'cc'], ['activity' => item_activity::create_from_id('1'), 'registration' => 'reg', 'stateid' => 'dd'], ['activity' => item_activity::create_from_id('2'), 'stateid' => 'ee'], ['activity' => item_activity::create_from_id('3'), 'component' => 'other', 'stateid' => 'gg'], ['activity' => item_activity::create_from_id('3'), 'component' => 'other', 'registration' => 'reg', 'stateid' => 'ff'], ]
/lib/xapi/tests/external/get_states_test.php:2461return ['Activity with several states' => ['activityiri' => iri::generate('1', 'activity'), 'expected' => ['aa', 'bb', 'cc', 'dd'], ], 'Activity with one state' => ['activityiri' => iri::generate('2', 'activity'), 'expected' => ['ee'], ], 'Inexistent activity' => ['activityiri' => iri::generate('3', 'activity'), 'expected' => [ ], ], ]
/lib/xapi/tests/external/delete_states_test.php:1391return ['Inexistent component' => ['component' => 'inexistent_component', 'expected' => (object) ['exception' => xapi_exception::class], ], 'Compatible component' => ['component' => 'fake_component', 'expected' => (object) ['expectedcount' => 0], ], 'Incompatible component' => ['component' => 'core_xapi', 'expected' => (object) ['exception' => xapi_exception::class], ], ]
/lib/xapi/tests/external/get_state_test.php:2182$result = $external::execute($component, iri::generate($data->get_activity_id( ), 'activity'), json_encode($data->get_agent( )), $data->get_state_id( ), $data->get_registration( ))
/lib/xapi/tests/external/get_state_test.php:1542return ['Existing and valid state' => ['info' => [ ], 'expected' => 'true', ], 'No state (wrong activityid)' => ['info' => ['activity' => item_activity::create_from_id('1')], 'expected' => 'false', ], 'No state (wrong stateid)' => ['info' => ['stateid' => 'food'], 'expected' => 'false', ], 'No state (wrong component)' => ['info' => ['component' => 'mod_h5pactivity'], 'expected' => 'false', ], ]
/lib/xapi/tests/external/post_state_test.php:2041$result = $external::execute($component, iri::generate($data->get_activity_id( ), 'activity'), json_encode($data->get_agent( )), $data->get_state_id( ), json_encode($data->jsonSerialize( )), $data->get_registration( ))
/lib/xapi/tests/external/delete_state_test.php:2232$result = $external::execute($component, iri::generate($data->get_activity_id( ), 'activity'), json_encode($data->get_agent( )), $data->get_state_id( ), $data->get_registration( ))
/lib/xapi/tests/external/delete_state_test.php:1542return ['Existing and valid state' => ['info' => [ ], 'expected' => 'true', ], 'No state (wrong activityid)' => ['info' => ['activity' => item_activity::create_from_id('1')], 'expected' => 'false', ], 'No state (wrong stateid)' => ['info' => ['stateid' => 'food'], 'expected' => 'false', ], 'No state (wrong component)' => ['info' => ['component' => 'mod_h5pactivity'], 'expected' => 'false', ], ]
/lib/xapi/tests/local/statement/item_attachment_test.php:581return (object) ['usageType' => iri::generate('example', 'attachment'), 'display' => (object) ['en-US' => 'Example', ], 'description' => (object) ['en-US' => 'Description example', ], "contentType" => "image/jpg", "length" => 1234, "sha2" => "b94c0f1cffb77475c6f1899111a0181efe1d6177"]
/lib/xapi/tests/local/statement_test.php:651$data = (object) ['usageType' => iri::generate('example', 'attachment'), 'display' => (object) ['en-US' => 'Example', ], 'description' => (object) ['en-US' => 'Description example', ], "contentType" => "image/jpg", "length" => 1234, "sha2" => "b94c0f1cffb77475c6f1899111a0181efe1d6177"]
/lib/xapi/tests/state_store_test.php:4691$states = [['activity' => item_activity::create_from_id('1'), 'stateid' => 'aa'], ['activity' => item_activity::create_from_id('1'), 'registration' => 'reg', 'stateid' => 'bb'], ['activity' => item_activity::create_from_id('1'), 'registration' => 'reg2', 'stateid' => 'cc'], ['activity' => item_activity::create_from_id('2'), 'registration' => 'reg', 'stateid' => 'dd'], ['activity' => item_activity::create_from_id('3'), 'stateid' => 'ee'], ['activity' => item_activity::create_from_id('4'), 'component' => 'other', 'stateid' => 'ff'], ]
/lib/xapi/tests/state_store_test.php:1971return ['Update existing state' => ['info' => [ ], 'expected' => 'updated', ], 'Update existing state (change statedata)' => ['info' => ['statedata' => '{"progress":0,"answers":[[["BB"],[""]],[{"answers":[]}]],"answered":[true,false]}'], 'expected' => 'updated', ], 'Add state (with different itemid)' => ['info' => ['activity' => item_activity::create_from_id('1')], 'expected' => 'added', ], 'Add state (with different stateid)' => ['info' => ['stateid' => 'food'], 'expected' => 'added', ], 'Add state (with different component)' => ['info' => ['component' => 'mod_h5pactivity'], 'expected' => 'added', ], ]
/lib/xapi/tests/state_store_test.php:1671$params = ['component' => $component, 'userid' => $state->get_user( )->id, 'itemid' => $state->get_activity_id( ), 'stateid' => $state->get_state_id( ), 'registration' => $state->get_registration( ), ]
/lib/xapi/tests/state_store_test.php:1171return ['Existing and valid state' => ['info' => [ ], 'expected' => true, ], 'No state (wrong activityid)' => ['info' => ['activity' => item_activity::create_from_id('1')], 'expected' => false, ], 'No state (wrong stateid)' => ['info' => ['stateid' => 'food'], 'expected' => false, ], 'No state (wrong component)' => ['info' => ['component' => 'mod_h5pactivity'], 'expected' => false, ], ]
/lib/xapi/tests/iri_test.php:821return ['Fake IRI without type' => ['paella', "{$CFG->wwwroot}/xapi/element/paella", null, ], 'Real IRI without type' => ['http://adlnet.gov/expapi/activities/example', 'http://adlnet.gov/expapi/activities/example', null, ], 'Fake IRI with type' => ['paella', "{$CFG->wwwroot}/xapi/dish/paella", 'dish', ], 'Real IRI with type' => ['http://adlnet.gov/expapi/activities/example', 'http://adlnet.gov/expapi/activities/example', 'dish', ], ]
/lib/grade/tests/grade_category_test.php:5264$grades = array($this->grade_items[0]->id => 5.374, $this->grade_items[1]->id => 9.4743, $this->grade_items[2]->id => 2.5474, $this->grade_items[4]->id => 7.3754)
/lib/grade/tests/grade_category_test.php:5401$grades = array($this->grade_items[0]->id => 0, $this->grade_items[1]->id => 5, $this->grade_items[2]->id => 2, $this->grade_items[4]->id => 0)
/lib/grade/tests/grade_category_test.php:5541$grades = array($this->grade_items[0]->id => 0, $this->grade_items[1]->id => 5, $this->grade_items[2]->id => 0, $this->grade_items[4]->id => 0)
/lib/grade/tests/grade_category_test.php:5682$grades = array($this->grade_items[0]->id => 0, $this->grade_items[1]->id => 5, $this->grade_items[2]->id => 6, $this->grade_items[4]->id => 1)
/lib/grade/tests/grade_grade_test.php:6571$gradeitem1a = new \grade_item($generator->create_grade_item(['courseid' => $course1->id, 'itemtype' => 'mod', 'itemmodule' => 'assign', 'iteminstance' => $assignment2->id, 'categoryid' => $gradecategoryid, 'hidden' => 1, ]), false)
/lib/grade/tests/grade_category_test.php:4824$grades = array($this->grade_items[0]->id => 5.374, $this->grade_items[1]->id => 9.4743, $this->grade_items[2]->id => 2.5474, $this->grade_items[4]->id => 7.3754)
/lib/grade/tests/grade_category_test.php:4954$grades = array($this->grade_items[0]->id => 5.374, $this->grade_items[1]->id => 9.4743, $this->grade_items[2]->id => 2.5474, $this->grade_items[4]->id => 7.3754)
/lib/grade/tests/grade_category_test.php:5104$grades = array($this->grade_items[0]->id => 5.374, $this->grade_items[1]->id => 9.4743, $this->grade_items[2]->id => 2.5474, $this->grade_items[4]->id => 7.3754)
/lib/mustache/src/Mustache/Compiler.php:991$code .= $this->section($node[Mustache_Tokenizer::NODES], $node[Mustache_Tokenizer::NAME], isset($node[Mustache_Tokenizer::FILTERS]) ? $node[Mustache_Tokenizer::FILTERS] : array( ), $node[Mustache_Tokenizer::INDEX], $node[Mustache_Tokenizer::END], $node[Mustache_Tokenizer::OTAG], $node[Mustache_Tokenizer::CTAG], $level)
/lib/mustache/src/Mustache/Compiler.php:1381$code .= $this->blockArg($node[Mustache_Tokenizer::NODES], $node[Mustache_Tokenizer::NAME], $node[Mustache_Tokenizer::INDEX], $node[Mustache_Tokenizer::END], $node[Mustache_Tokenizer::OTAG], $node[Mustache_Tokenizer::CTAG], $level)
/lib/mustache/src/Mustache/Compiler.php:1501$code .= $this->blockVar($node[Mustache_Tokenizer::NODES], $node[Mustache_Tokenizer::NAME], $node[Mustache_Tokenizer::INDEX], $node[Mustache_Tokenizer::END], $node[Mustache_Tokenizer::OTAG], $node[Mustache_Tokenizer::CTAG], $level)
/lib/mustache/src/Mustache/Compiler.php:1671$code .= $this->variable($node[Mustache_Tokenizer::NAME], isset($node[Mustache_Tokenizer::FILTERS]) ? $node[Mustache_Tokenizer::FILTERS] : array( ), $node[Mustache_Tokenizer::TYPE] === Mustache_Tokenizer::T_ESCAPED, $level)
/lib/behat/classes/behat_session_trait.php:9561$errorinfo = implode("\n", [$this->get_debug_text($errorinfoboxes[0]->getHtml( )), $this->get_debug_text($errorinfoboxes[1]->getHtml( )), html_to_text($errorinfoboxes[2]->find('css', 'ul')->getHtml( )), ])
/lib/behat/classes/behat_config_util.php:5431$config = array('default' => array('formatters' => array('moodle_progress' => array('output_styles' => array('comment' => array('magenta')))), 'suites' => $suites, 'extensions' => array('Behat\MinkExtension' => array('base_url' => $CFG->behat_wwwroot, 'browserkit_http' => null, 'webdriver' => $webdriverwdhost), 'Moodle\BehatExtension' => array('moodledirroot' => $CFG->dirroot, 'steps_definitions' => $allpaths, ))))
/lib/mustache/src/Mustache/Engine.php:6361$chunks = array('charset' => $this->charset, 'delimiters' => $this->delimiters ? $this->delimiters : '{{ }}', 'entityFlags' => $this->entityFlags, 'escape' => isset($this->escape) ? 'custom' : 'default', 'key' => ($source instanceof Mustache_Source) ? $source->getKey( ) : 'source', 'pragmas' => $this->getPragmas( ), 'strictCallables' => $this->strictCallables, 'disableLambdaRendering' => $this->disableLambdaRendering, 'version' => self::VERSION, )
/lib/mustache/src/Mustache/Tokenizer.php:1681$token = array(self::TYPE => $this->tagType, self::NAME => trim($this->buffer), self::OTAG => $this->otag, self::CTAG => $this->ctag, self::LINE => $this->line, self::INDEX => ($this->tagType === self::T_END_SECTION) ? $this->seenTag - $this->otagLen : $i + $this->ctagLen, )
/lib/table/tests/external/dynamic/get_test.php:1701$participantstable = get::execute("core_user", "participants", "user-index-participants-{$course->id}", $this->get_sort_array(['firstname' => SORT_ASC]), $filter, (string) filter::JOINTYPE_ANY, null, null, null, null, [ ], null)
/lib/table/tests/local/filter/string_filter_test.php:951return ['Null' => [null, 'NULL'], '1' => [1, 'integer'], '2' => [2, 'integer'], 'Float 1.0' => [1.0, 'double'], 'Float 1.1' => [1.1, 'double'], 'bool' => [false, 'boolean'], 'array' => [[ ], 'array'], 'stdClass' => [(object) [ ], 'stdClass'], 'Class' => [new filter('example'), filter::class], ]
/lib/phpxmlrpc/Client.php:8341$useCurl = ($this->use_curl == self::USE_CURL_ALWAYS) || ($this->use_curl == self::USE_CURL_AUTO && (in_array($method, array('https', 'http11', 'h2c', 'h2')) || ($this->username != '' && $this->authtype != 1) || ($this->proxy != '' && $this->proxy_user != '' && $this->proxy_authtype != 1)))
/lib/phpxmlrpc/Server.php:10601return array('system.listMethods' => array('function' => 'PhpXmlRpc\Server::_xmlrpcs_listMethods', 'signature' => array(array(Value::$xmlrpcArray)), 'docstring' => 'This method lists all the methods that the XML-RPC server knows how to dispatch', 'signature_docs' => array(array('list of method names')), ), 'system.methodHelp' => array('function' => 'PhpXmlRpc\Server::_xmlrpcs_methodHelp', 'signature' => array(array(Value::$xmlrpcString, Value::$xmlrpcString)), 'docstring' => 'Returns help text if defined for the method passed, otherwise returns an empty string', 'signature_docs' => array(array('method description', 'name of the method to be described')), ), 'system.methodSignature' => array('function' => 'PhpXmlRpc\Server::_xmlrpcs_methodSignature', 'signature' => array(array(Value::$xmlrpcArray, Value::$xmlrpcString)), 'docstring' => 'Returns an array of known signatures (an array of arrays) for the method name passed. If no signatures are known, returns a none-array (test for type != array to detect missing signature)', 'signature_docs' => array(array('list of known signatures, each sig being an array of xmlrpc type names', 'name of method to be described')), ), 'system.multicall' => array('function' => 'PhpXmlRpc\Server::_xmlrpcs_multicall', 'signature' => array(array(Value::$xmlrpcArray, Value::$xmlrpcArray)), 'docstring' => 'Boxcar multiple RPC calls in one request. See http://www.xmlrpc.com/discuss/msgReader$1208 for details', 'signature_docs' => array(array('list of response structs, where each struct has the usual members', 'list of calls, with each call being represented as a struct, with members "methodname" and "params"')), ), 'system.getCapabilities' => array('function' => 'PhpXmlRpc\Server::_xmlrpcs_getCapabilities', 'signature' => array(array(Value::$xmlrpcStruct)), 'docstring' => 'This method lists all the capabilities that the XML-RPC server has: the (more or less standard) extensions to the xmlrpc spec that it adheres to', 'signature_docs' => array(array('list of capabilities, described as structs with a version number and url for the spec')), ), )
/lib/table/classes/external/dynamic/get.php:1871['component' => $component, 'handler' => $handler, 'uniqueid' => $uniqueid, 'sortdata' => $sortdata, 'filters' => $filters, 'jointype' => $jointype, 'firstinitial' => $firstinitial, 'lastinitial' => $lastinitial, 'pagenumber' => $pagenumber, 'pagesize' => $pagesize, 'hiddencolumns' => $hiddencolumns, 'resetpreferences' => $resetpreferences, ] = self::validate_parameters(self::execute_parameters( ), ['component' => $component, 'handler' => $handler, 'uniqueid' => $uniqueid, 'sortdata' => $sortdata, 'filters' => $filters, 'jointype' => $jointype, 'firstinitial' => $firstinitial, 'lastinitial' => $lastinitial, 'pagenumber' => $pagenumber, 'pagesize' => $pagesize, 'hiddencolumns' => $hiddencolumns, 'resetpreferences' => $resetpreferences, ])
/lib/table/classes/external/dynamic/get.php:431return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'Component', VALUE_REQUIRED), 'handler' => new external_value(PARAM_ALPHANUMEXT, 'Handler', VALUE_REQUIRED), 'uniqueid' => new external_value(PARAM_ALPHANUMEXT, 'Unique ID for the container', VALUE_REQUIRED), 'sortdata' => new external_multiple_structure(new external_single_structure(['sortby' => new external_value(PARAM_ALPHANUMEXT, 'The name of a sortable column', VALUE_REQUIRED), 'sortorder' => new external_value(PARAM_ALPHANUMEXT, 'The direction that this column should be sorted by', VALUE_REQUIRED), ]), 'The combined sort order of the table. Multiple fields can be specified.', VALUE_OPTIONAL, [ ]), 'filters' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'Name of the filter', VALUE_REQUIRED), 'jointype' => new external_value(PARAM_INT, 'Type of join for filter values', VALUE_REQUIRED), 'values' => new external_multiple_structure(new external_value(PARAM_RAW, 'Filter value'), 'The value to filter on', VALUE_REQUIRED), 'filteroptions' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'Name of the filter option', VALUE_REQUIRED), 'value' => new external_value(PARAM_RAW, 'Value of the filter option', VALUE_REQUIRED), ]), 'Additional options for this filter', VALUE_OPTIONAL, ), ]), 'The filters that will be applied in the request', VALUE_OPTIONAL), 'jointype' => new external_value(PARAM_INT, 'Type of join to join all filters together', VALUE_REQUIRED), 'firstinitial' => new external_value(PARAM_RAW, 'The first initial to sort filter on', VALUE_REQUIRED, null), 'lastinitial' => new external_value(PARAM_RAW, 'The last initial to sort filter on', VALUE_REQUIRED, null), 'pagenumber' => new external_value(PARAM_INT, 'The page number', VALUE_REQUIRED, null), 'pagesize' => new external_value(PARAM_INT, 'The number of records per page', VALUE_REQUIRED, null), 'hiddencolumns' => new external_multiple_structure(new external_value(PARAM_ALPHANUMEXT, 'Name of column', VALUE_REQUIRED, null)), 'resetpreferences' => new external_value(PARAM_BOOL, 'Whether the table preferences should be reset', VALUE_REQUIRED, null), ])
/lib/table/tests/local/filter/numeric_comparison_filter_test.php:1211return ['Null' => [[null], TypeError::class, "The value supplied was of type 'NULL'. A string representing a json-encoded value was expected.", ], 'Single value string' => [[''], InvalidArgumentException::class, "A json-encoded object containing both a direction, and comparison value was expected.", ], 'Single value integer' => [[42], TypeError::class, "The value supplied was of type 'integer'. A string representing a json-encoded value was expected.", ], 'Single value float' => [[4.2], TypeError::class, "The value supplied was of type 'double'. A string representing a json-encoded value was expected.", ], 'Single value bool' => [[false], TypeError::class, "The value supplied was of type 'boolean'. A string representing a json-encoded value was expected.", ], 'Single value array' => [[[ ]], TypeError::class, "The value supplied was of type 'array'. A string representing a json-encoded value was expected.", ], 'Single value object' => [[(object) [ ]], TypeError::class, "The value supplied was of type 'stdClass'. A string representing a json-encoded value was expected.", ], 'Single value class' => [[new filter('example')], TypeError::class, "The value supplied was of type '" . filter::class . "'. A string representing a json-encoded value was expected.", ], 'json-encoded single value null' => [[json_encode(null)], InvalidArgumentException::class, "A json-encoded object containing both a direction, and comparison value was expected.", ], 'json-encoded single value string' => [[json_encode('')], InvalidArgumentException::class, "The value supplied was a json encoded 'string'. " . "An object containing both a direction, and comparison value was expected.", ], 'json-encoded single value integer' => [[json_encode(42)], InvalidArgumentException::class, "The value supplied was a json encoded 'string'. " . "An object containing both a direction, and comparison value was expected.", ], 'json-encoded single value double' => [[json_encode(4.2)], InvalidArgumentException::class, "The value supplied was a json encoded 'string'. " . "An object containing both a direction, and comparison value was expected.", ], 'json-encoded single value bool' => [[json_encode(false)], InvalidArgumentException::class, "The value supplied was a json encoded 'string'. " . "An object containing both a direction, and comparison value was expected.", ], 'json-encoded single value array' => [[json_encode([ ])], InvalidArgumentException::class, "The value supplied was a json encoded 'string'. " . "An object containing both a direction, and comparison value was expected.", ], 'json-encoded empty object' => [[json_encode((object) [ ])], InvalidArgumentException::class, "A 'direction' must be provided.", ], 'json-encoded single value class' => [[json_encode(new filter('example'))], InvalidArgumentException::class, "A 'direction' must be provided.", ], 'Direction provided, value missing' => [[json_encode(['direction' => '>', ])], InvalidArgumentException::class, "A 'value' must be provided.", ], 'Direction invalid +' => [[json_encode(['direction' => '+', 'value' => 100, ])], InvalidArgumentException::class, "Invalid direction specified '+'."], 'Direction invalid -' => [[json_encode(['direction' => '-', 'value' => 100, ])], InvalidArgumentException::class, "Invalid direction specified '-'."], 'Value string' => [[json_encode(['direction' => '>', 'value' => "example", ])], TypeError::class, "The value supplied was of type 'string'. A numeric value was expected."], 'Value bool' => [[json_encode(['direction' => '>', 'value' => false, ])], TypeError::class, "The value supplied was of type 'boolean'. A numeric value was expected."], 'Value array' => [[json_encode(['direction' => '>', 'value' => [ ], ])], TypeError::class, "The value supplied was of type 'array'. A numeric value was expected."], 'Value stdClass' => [[json_encode(['direction' => '>', 'value' => (object) [ ], ])], TypeError::class, "The value supplied was of type 'stdClass'. A numeric value was expected."], 'Value class' => [[json_encode(['direction' => '>', 'value' => new filter('example'), ])], TypeError::class, "The value supplied was of type 'stdClass'. A numeric value was expected."], ]
/lib/table/tests/local/filter/integer_filter_test.php:951return ['Null' => [null, 'NULL'], 'Empty string' => ['', 'string'], 'Filled string' => ['example', 'string'], 'Float 1.0' => [1.0, 'double'], 'Float 1.1' => [1.1, 'double'], 'bool' => [false, 'boolean'], 'array' => [[ ], 'array'], 'stdClass' => [(object) [ ], 'stdClass'], 'Class' => [new filter('example'), filter::class], ]
/lib/phpunit/tests/phpunit_dataset_test.php:881return ['file not found' => ['fullpath' => '/this/does/not/exist', 'tablename' => 'user', 'exception' => 'from_file, file not found: /this/does/not/exist', 'tables' => [ ], 'columns' => [ ], 'rows' => [ ], ], 'file not readable' => ['fullpath' => $vfsfile->url( ), 'tablename' => 'user', 'exception' => 'from_file, file not readable: ' . $vfsfile->url( ), 'tables' => [ ], 'columns' => [ ], 'rows' => [ ], ], 'wrong extension' => ['fullpath' => __DIR__ . '/fixtures/sample_dataset.txt', 'tablename' => 'user', 'exception' => 'from_file, cannot handle files with extension: txt', 'tables' => [ ], 'columns' => [ ], 'rows' => [ ], ], 'csv loads ok' => ['fullpath' => __DIR__ . '/fixtures/sample_dataset.csv', 'tablename' => 'user', 'exception' => null, 'tables' => ['user'], 'columns' => ['user' => ['id', 'username', 'email']], 'rows' => ['user' => [['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], 'xml loads ok' => ['fullpath' => __DIR__ . '/fixtures/sample_dataset.xml', 'tablename' => 'user', 'exception' => null, 'tables' => ['user'], 'columns' => ['user' => ['id', 'username', 'email']], 'rows' => ['user' => [['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], ]
/lib/phpunit/tests/util_test.php:431return array('Basic update' => array('sql' => "UPDATE {$prefix}user SET username = username || '_test'", 'expectations' => array('user' => true, 'course' => false, ), ), 'Basic update with a fieldname sharing the same prefix' => array('sql' => "UPDATE {$prefix}user SET {$prefix}username = username || '_test'", 'expectations' => array('user' => true, 'course' => false, ), ), 'Basic update with a table which contains the prefix' => array('sql' => "UPDATE {$prefix}user{$prefix} SET username = username || '_test'", 'expectations' => array("user{$prefix}" => true, 'course' => false, ), ), 'Update table with a numeric name' => array('sql' => "UPDATE {$prefix}example42 SET username = username || '_test'", 'expectations' => array('example42' => true, 'user' => false, 'course' => false, ), ), 'Drop basic table' => array('sql' => "DROP TABLE {$prefix}user", 'expectations' => array('user' => true, 'course' => false, ), ), 'Drop table with a numeric name' => array('sql' => "DROP TABLE {$prefix}example42", 'expectations' => array('example42' => true, 'user' => false, 'course' => false, ), ), 'Insert in table' => array('sql' => "INSERT INTO {$prefix}user (username,password) VALUES ('moodle', 'test')", 'expectations' => array('user' => true, 'course' => false, ), ), )
/lib/phpunit/tests/phpunit_dataset_test.php:6741return ['wrong table requested' => ['files' => [__DIR__ . '/fixtures/sample_dataset_insert.xml'], 'filter' => ['wrongtable'], 'exception' => 'dataset_to_database, table is not in the dataset: wrongtable', 'columns' => [ ], 'rows' => [ ], ], 'one table insert' => ['files' => [__DIR__ . '/fixtures/sample_dataset_insert.xml'], 'filter' => [ ], 'exception' => null, 'columns' => ['user' => ['username', 'email'], ], 'rows' => ['user' => [(object) ['username' => 'bozka.novakova', 'email' => 'bozka@example.com'], (object) ['username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], 'one table import' => ['files' => [__DIR__ . '/fixtures/sample_dataset.xml'], 'filter' => [ ], 'exception' => null, 'columns' => ['user' => ['id', 'username', 'email'], ], 'rows' => ['user' => [(object) ['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], (object) ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], 'multiple table many files import' => ['files' => [__DIR__ . '/fixtures/sample_dataset.xml', __DIR__ . '/fixtures/sample_dataset2.xml', ], 'filter' => [ ], 'exception' => null, 'columns' => ['user' => ['id', 'username', 'email'], 'course' => ['id', 'shortname', 'fullname'], ], 'rows' => ['user' => [(object) ['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], (object) ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ], 'course' => [(object) ['id' => 6, 'shortname' => '101', 'fullname' => '1-0-1'], (object) ['id' => 8, 'shortname' => '202', 'fullname' => '2-0-2'], ], ], ], 'multiple table one file import' => ['files' => [__DIR__ . '/fixtures/sample_dataset_many.xml'], 'filter' => [ ], 'exception' => null, 'columns' => ['user' => ['id', 'username', 'email'], 'course' => ['id', 'shortname', 'fullname'], ], 'rows' => ['user' => [(object) ['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], (object) ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ], 'course' => [(object) ['id' => 6, 'shortname' => '101', 'fullname' => '1-0-1'], (object) ['id' => 8, 'shortname' => '202', 'fullname' => '2-0-2'], ], ], ], 'filtering tables' => ['files' => [__DIR__ . '/fixtures/sample_dataset_many.xml'], 'filter' => ['course'], 'exception' => null, 'columns' => ['user' => ['id', 'username', 'email'], 'course' => ['id', 'shortname', 'fullname'], ], 'rows' => ['user' => [ ], 'course' => [(object) ['id' => 6, 'shortname' => '101', 'fullname' => '1-0-1'], (object) ['id' => 8, 'shortname' => '202', 'fullname' => '2-0-2'], ], ], ], ]
/lib/phpunit/tests/phpunit_dataset_test.php:1821return ['wrong type' => ['content' => file_get_contents(__DIR__ . '/fixtures/sample_dataset.xml'), 'type' => 'txt', 'tablename' => 'user', 'exception' => 'from_string, cannot handle contents of type: txt', 'tables' => [ ], 'columns' => [ ], 'rows' => [ ], ], 'missing cvs table' => ['content' => file_get_contents(__DIR__ . '/fixtures/sample_dataset.csv'), 'type' => 'csv', 'tablename' => '', 'exception' => 'from_string, contents of type "cvs" require a $table to be passed, none found', 'tables' => [ ], 'columns' => [ ], 'rows' => [ ], ], 'csv loads ok' => ['fullpath' => file_get_contents(__DIR__ . '/fixtures/sample_dataset.csv'), 'type' => 'csv', 'tablename' => 'user', 'exception' => null, 'tables' => ['user'], 'columns' => ['user' => ['id', 'username', 'email']], 'rows' => ['user' => [['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], 'xml loads ok' => ['fullpath' => file_get_contents(__DIR__ . '/fixtures/sample_dataset.xml'), 'type' => 'xml', 'tablename' => 'user', 'exception' => null, 'tables' => ['user'], 'columns' => ['user' => ['id', 'username', 'email']], 'rows' => ['user' => [['id' => 5, 'username' => 'bozka.novakova', 'email' => 'bozka@example.com'], ['id' => 7, 'username' => 'pepa.novak', 'email' => 'pepa@example.com'], ]], ], ]
/lib/grade/tests/grade_category_test.php:5931$grades = array($this->grade_items[0]->id => 1, $this->grade_items[1]->id => 1, $this->grade_items[2]->id => 1, $this->grade_items[4]->id => 1)
/lib/grade/tests/grade_category_test.php:5802$grades = array($this->grade_items[0]->id => 0, $this->grade_items[1]->id => 5, $this->grade_items[2]->id => 6, $this->grade_items[4]->id => 1)
/lib/testing/generator/component_generator_base.php:1521$filerecord = ['userid' => $user->id, 'contextid' => context_user::instance($user->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => $itemid, 'filepath' => '/' . dirname($targetfile), 'filename' => basename($targetfile), ]
/lib/testing/tests/testing_generator_test.php:801$record = array('auth' => 'email', 'firstname' => 'Žluťoučký', 'lastname' => 'Koníček', 'firstnamephonetic' => 'Zhlutyoucky', 'lastnamephonetic' => 'Koniiczek', 'middlename' => 'Hopper', 'alternatename' => 'horse', 'idnumber' => 'abc1', 'mnethostid' => (string) $CFG->mnet_localhost_id, 'username' => 'konic666', 'password' => 'password1', 'email' => 'email@example.com', 'confirmed' => '1', 'maildisplay' => '1', 'mailformat' => '0', 'maildigest' => '1', 'autosubscribe' => '0', 'trackforums' => '0', 'deleted' => '0', 'timecreated' => '666', )
/lib/aws-sdk/src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:1041return ['HttpStatusCode' => self::getExceptionHttpStatusCode($klass), 'SdkException' => substr(self::getExceptionCode($klass), 0, 128), 'SdkExceptionMessage' => substr(self::getExceptionMessage($klass), 0, 512), 'XAmzId2' => self::getExceptionHeader($klass, 'x-amz-id-2'), 'XAmzRequestId' => self::getExceptionHeader($klass, 'x-amz-request-id'), 'XAmznRequestId' => self::getExceptionHeader($klass, 'x-amzn-RequestId'), ]
/lib/aws-sdk/src/ClientSideMonitoring/ConfigurationProvider.php:1111return Promise\Create::promiseFor(new Configuration($enabled, getenv(self::ENV_HOST) ?: self::DEFAULT_HOST, getenv(self::ENV_PORT) ?: self::DEFAULT_PORT, getenv(self::ENV_CLIENT_ID) ?: self::DEFAULT_CLIENT_ID))
/backup/moodle2/restore_stepslib.php:29881$params = array('name' => $data->name, 'description' => $data->description, 'format' => $data->format, 'courseid' => $data->courseid ? $this->get_courseid( ) : 0, 'groupid' => $data->groupid, 'userid' => $data->userid, 'repeatid' => $this->get_mappingid('event', $data->repeatid), 'modulename' => $data->modulename, 'type' => isset($data->type) ? $data->type : 0, 'eventtype' => $data->eventtype, 'timestart' => $this->apply_date_offset($data->timestart), 'timeduration' => $data->timeduration, 'timesort' => isset($data->timesort) ? $this->apply_date_offset($data->timesort) : null, 'visible' => $data->visible, 'uuid' => $data->uuid, 'sequence' => $data->sequence, 'timemodified' => $data->timemodified, 'priority' => isset($data->priority) ? $data->priority : null, 'location' => isset($data->location) ? $data->location : null)
/lib/aws-sdk/src/Sts/StsClient.php:801return new Credentials($c['AccessKeyId'], $c['SecretAccessKey'], isset($c['SessionToken']) ? $c['SessionToken'] : null, isset($c['Expiration']) && $c['Expiration'] instanceof \DateTimeInterface ? (int) $c['Expiration']->format('U') : null)
/lib/aws-sdk/src/Credentials/CredentialProvider.php:8491return !empty(getenv(EcsCredentialProvider::ENV_URI)) || !empty($_SERVER[EcsCredentialProvider::ENV_URI]) || !empty(getenv(EcsCredentialProvider::ENV_FULL_URI)) || !empty($_SERVER[EcsCredentialProvider::ENV_FULL_URI])
/lib/bennu/iCalendar_properties.php:8191$this->valid_parameters = array('LANGUAGE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'CN' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ROLE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'PARTSTAT' => RFC2445_OPTIONAL | RFC2445_ONCE, 'RSVP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'CUTYPE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'MEMBER' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DELEGATED-TO' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DELEGATED-FROM' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SENT-BY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DIR' => RFC2445_OPTIONAL | RFC2445_ONCE, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:3711$this->valid_properties = array('CLASS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'CREATED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DESCRIPTION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTAMP' => RFC2445_REQUIRED | RFC2445_ONCE, 'DTSTART' => RFC2445_REQUIRED | RFC2445_ONCE, 'GEO' => RFC2445_OPTIONAL | RFC2445_ONCE, 'LAST-MODIFIED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'LOCATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ORGANIZER' => RFC2445_OPTIONAL | RFC2445_ONCE, 'PRIORITY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SEQUENCE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'STATUS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SUMMARY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'TRANSP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'UID' => RFC2445_REQUIRED | RFC2445_ONCE, 'URL' => RFC2445_OPTIONAL | RFC2445_ONCE, 'RECURRENCE-ID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTEND' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DURATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTACH' => RFC2445_OPTIONAL, 'ATTENDEE' => RFC2445_OPTIONAL, 'CATEGORIES' => RFC2445_OPTIONAL, 'COMMENT' => RFC2445_OPTIONAL, 'CONTACT' => RFC2445_OPTIONAL, 'EXDATE' => RFC2445_OPTIONAL, 'EXRULE' => RFC2445_OPTIONAL, 'REQUEST-STATUS' => RFC2445_OPTIONAL, 'RELATED-TO' => RFC2445_OPTIONAL, 'RESOURCES' => RFC2445_OPTIONAL, 'RDATE' => RFC2445_OPTIONAL, 'RRULE' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:4491$this->valid_properties = array('CLASS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'COMPLETED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'CREATED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DESCRIPTION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTAMP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTAP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'GEO' => RFC2445_OPTIONAL | RFC2445_ONCE, 'LAST-MODIFIED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'LOCATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ORGANIZER' => RFC2445_OPTIONAL | RFC2445_ONCE, 'PERCENT' => RFC2445_OPTIONAL | RFC2445_ONCE, 'PRIORITY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'RECURID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SEQUENCE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'STATUS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SUMMARY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'UID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'URL' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DUE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DURATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTACH' => RFC2445_OPTIONAL, 'ATTENDEE' => RFC2445_OPTIONAL, 'CATEGORIES' => RFC2445_OPTIONAL, 'COMMENT' => RFC2445_OPTIONAL, 'CONTACT' => RFC2445_OPTIONAL, 'EXDATE' => RFC2445_OPTIONAL, 'EXRULE' => RFC2445_OPTIONAL, 'RSTATUS' => RFC2445_OPTIONAL, 'RELATED' => RFC2445_OPTIONAL, 'RESOURCES' => RFC2445_OPTIONAL, 'RDATE' => RFC2445_OPTIONAL, 'RRULE' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:5271$this->valid_properties = array('CLASS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'CREATED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DESCRIPTION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTART' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTAMP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'LAST-MODIFIED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ORGANIZER' => RFC2445_OPTIONAL | RFC2445_ONCE, 'RECURRANCE-ID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SEQUENCE' => RFC2445_OPTIONAL | RFC2445_ONCE, 'STATUS' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SUMMARY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'UID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'URL' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTACH' => RFC2445_OPTIONAL, 'ATTENDEE' => RFC2445_OPTIONAL, 'CATEGORIES' => RFC2445_OPTIONAL, 'COMMENT' => RFC2445_OPTIONAL, 'CONTACT' => RFC2445_OPTIONAL, 'EXDATE' => RFC2445_OPTIONAL, 'EXRULE' => RFC2445_OPTIONAL, 'RELATED-TO' => RFC2445_OPTIONAL, 'RDATE' => RFC2445_OPTIONAL, 'RRULE' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:5651$this->valid_properties = array('CONTACT' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTART' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTEND' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DURATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'DTSTAMP' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ORGANIZER' => RFC2445_OPTIONAL | RFC2445_ONCE, 'UID' => RFC2445_OPTIONAL | RFC2445_ONCE, 'URL' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTENDEE' => RFC2445_OPTIONAL, 'COMMENT' => RFC2445_OPTIONAL, 'FREEBUSY' => RFC2445_OPTIONAL, 'RSTATUS' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:6161$this->valid_properties = array('ACTION' => RFC2445_REQUIRED | RFC2445_ONCE, 'TRIGGER' => RFC2445_REQUIRED | RFC2445_ONCE, 'DURATION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'REPEAT' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTACH' => RFC2445_OPTIONAL, 'DESCRIPTION' => RFC2445_OPTIONAL | RFC2445_ONCE, 'SUMMARY' => RFC2445_OPTIONAL | RFC2445_ONCE, 'ATTENDEE' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL)
/lib/bennu/iCalendar_components.php:6931$this->valid_properties = array('DTSTART' => RFC2445_REQUIRED | RFC2445_ONCE, 'TZOFFSETTO' => RFC2445_REQUIRED | RFC2445_ONCE, 'TZOFFSETFROM' => RFC2445_REQUIRED | RFC2445_ONCE, 'COMMENT' => RFC2445_OPTIONAL, 'RDATE' => RFC2445_OPTIONAL, 'RRULE' => RFC2445_OPTIONAL, 'TZNAME' => RFC2445_OPTIONAL, 'TZURL' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL, )
/lib/bennu/iCalendar_parameters.php:1401return ($value == 'NEEDS-ACTION' || $value == 'ACCEPTED' || $value == 'DECLINED' || $value == 'TENTATIVE' || $value == 'DELEGATED' || $value == 'COMPLETED' || $value == 'IN-PROCESS' || rfc2445_is_xname($value))
/lib/bennu/iCalendar_parameters.php:1841return ($value == 'BINARY' || $value == 'BOOLEAN' || $value == 'CAL-ADDRESS' || $value == 'DATE' || $value == 'DATE-TIME' || $value == 'DURATION' || $value == 'FLOAT' || $value == 'INTEGER' || $value == 'PERIOD' || $value == 'RECUR' || $value == 'TEXT' || $value == 'TIME' || $value == 'URI' || $value == 'UTC-OFFSET' || rfc2445_is_xname($value))
/lib/behat/extension/Moodle/BehatExtension/Output/Formatter/MoodleProgressFormatterFactory.php:1101$definition = new Definition('Behat\Testwork\Output\NodeEventListeningFormatter', ['moodle_progress', 'Prints information about then run followed by one character per step.', ['timer' => true], $this->createOutputPrinterDefinition( ), new Definition('Behat\Testwork\Output\Node\EventListener\ChainEventListener', [[new Reference(self::ROOT_LISTENER_ID_MOODLE), new Definition('Behat\Behat\Output\Node\EventListener\Statistics\StatisticsListener', [new Reference('output.moodleprogress.statistics'), new Reference('output.node.printer.moodleprogress.statistics')]), new Definition('Behat\Behat\Output\Node\EventListener\Statistics\ScenarioStatsListener', [new Reference('output.moodleprogress.statistics')]), new Definition('Behat\Behat\Output\Node\EventListener\Statistics\StepStatsListener', [new Reference('output.moodleprogress.statistics'), new Reference(ExceptionExtension::PRESENTER_ID)]), new Definition('Behat\Behat\Output\Node\EventListener\Statistics\HookStatsListener', [new Reference('output.moodleprogress.statistics'), new Reference(ExceptionExtension::PRESENTER_ID)]), new Definition('Behat\Behat\Output\Node\EventListener\AST\SuiteListener', [new Reference('moodle.output.node.printer.moodleprogress.printer')])]])])
/lib/behat/extension/Moodle/BehatExtension/Definition/Printer/ConsoleDefinitionInformationPrinter.php:941$definitiontoprint[] = strtr($template, ['{regex}' => $pattern, '{type}' => str_pad($definition->getType( ), 5, ' ', STR_PAD_LEFT), '{description}' => $description ? $description : '', '{apipath}' => $definition->getPath( )])
/lib/aws-sdk/src/S3Control/S3ControlClient.php:1481return $args + ['use_dual_stack_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => 'Set to true to send requests to an S3 Control Dual Stack' . ' endpoint by default, which enables IPv6 Protocol.' . ' Can be enabled or disabled on individual operations by setting' . ' \'@use_dual_stack_endpoint\' to true or false.', 'default' => false, ], 'use_arn_region' => ['type' => 'config', 'valid' => ['bool', Configuration::class, CacheInterface::class, 'callable'], 'doc' => 'Set to true to allow passed in ARNs to override' . ' client region. Accepts...', 'fn' => [__CLASS__, '_apply_use_arn_region'], 'default' => [UseArnRegionConfigurationProvider::class, 'defaultProvider'], ], ]
/lib/aws-sdk/src/Signature/SignatureV4.php:5471$signingConfig = new SigningConfigAWS(['algorithm' => SigningAlgorithm::SIGv4_ASYMMETRIC, 'signature_type' => SignatureType::HTTP_REQUEST_QUERY_PARAMS, 'credentials_provider' => $credentials_provider, 'signed_body_value' => $this->getPresignedPayload($request), 'region' => "*", 'service' => $this->service, 'date' => time( ), 'expiration_in_seconds' => $expires])
/lib/aws-sdk/src/Arn/Arn.php:761$components = [$this->getPrefix( ), $this->getPartition( ), $this->getService( ), $this->getRegion( ), $this->getAccountId( ), $this->getResource( ), ]
/lib/aws-sdk/src/CloudFront/CloudFrontClient.php:3061return $cookieSigner->getSignedCookie(isset($options['url']) ? $options['url'] : null, isset($options['expires']) ? $options['expires'] : null, isset($options['policy']) ? $options['policy'] : null)
/lib/aws-sdk/src/DynamoDb/LockingSessionConnection.php:241$params = ['TableName' => $this->getTableName( ), 'Key' => $this->formatKey($id), 'Expected' => ['lock' => ['Exists' => false]], 'AttributeUpdates' => ['lock' => ['Value' => ['N' => '1']]], 'ReturnValues' => 'ALL_NEW', ]
/lib/aws-sdk/src/CloudSearchDomain/CloudSearchDomainClient.php:771$req = $r->withMethod('POST')->withBody(Psr7\Utils::streamFor($query))->withHeader('Content-Length', strlen($query))->withHeader('Content-Type', 'application/x-www-form-urlencoded')->withUri($r->getUri( )->withQuery(''))
/lib/aws-sdk/src/CloudTrail/LogFileIterator.php:1621$parts = ['prefix' => isset($options[self::KEY_PREFIX]) ? $options[self::KEY_PREFIX] : null, 'account' => isset($options[self::ACCOUNT_ID]) ? $options[self::ACCOUNT_ID] : self::PREFIX_WILDCARD, 'region' => isset($options[self::LOG_REGION]) ? $options[self::LOG_REGION] : self::PREFIX_WILDCARD, 'date' => $this->determineDateForPrefix($startDate, $endDate), ]
/lib/aws-sdk/src/DynamoDb/StandardSessionConnection.php:981$scan = $this->client->getPaginator('Scan', ['TableName' => $this->getTableName( ), 'AttributesToGet' => [$this->getHashKey( )], 'ScanFilter' => [$this->getSessionLifetimeAttribute( ) => ['ComparisonOperator' => 'LT', 'AttributeValueList' => [['N' => (string) time( )]], ], 'lock' => ['ComparisonOperator' => 'NULL', ]], ])
/lib/aws-sdk/src/Endpoint/Partition.php:1421return ['endpoint' => "{$scheme}://" . $this->formatEndpoint($template, $service, $region, $dnsSuffix), 'signatureVersion' => $this->getSignatureVersion($data), 'signingRegion' => isset($data['credentialScope']['region']) ? $data['credentialScope']['region'] : $region, 'signingName' => isset($data['credentialScope']['service']) ? $data['credentialScope']['service'] : $service, ]
/lib/aws-sdk/src/DefaultsMode/Configuration.php:1211return ['mode' => $this->getMode( ), 'retry_mode' => $this->getRetryMode( ), 'sts_regional_endpoints' => $this->getStsRegionalEndpoints( ), 's3_us_east_1_regional_endpoint' => $this->getS3UsEast1RegionalEndpoints( ), 'connect_timeout_in_milliseconds' => $this->getConnectTimeoutInMillis( ), 'http_request_timeout_in_milliseconds' => $this->getHttpRequestTimeoutInMillis( ), ]
/lib/aws-sdk/src/Api/ErrorParser/JsonParserTrait.php:331return ['request_id' => (string) $response->getHeaderLine('x-amzn-requestid'), 'code' => isset($error_code) ? $error_code : null, 'message' => null, 'type' => $error_type, 'parsed' => $this->parseJson($response->getBody( ), $response)]
/lib/aws-sdk/src/Endpoint/Partition.php:2131return isset($this->data['services'][$service]['isRegionalized']) && false === $this->data['services'][$service]['isRegionalized'] && isset($this->data['services'][$service]['partitionEndpoint'])
/lib/aws-sdk/src/ClientSideMonitoring/AbstractMonitoringMiddleware.php:1381$event = ['Api' => $cmd->getName( ), 'ClientId' => $this->getClientId( ), 'Region' => $this->getRegion( ), 'Service' => $this->getService( ), 'Timestamp' => (int) floor(microtime(true) * 1000), 'UserAgent' => substr($request->getHeaderLine('User-Agent') . ' ' . \Aws\default_user_agent( ), 0, 256), 'Version' => 1]
/lib/aws-sdk/src/Api/Parser/DecodingEventStreamIterator.php:3311return [substr($val, 0, 8) . '-' . substr($val, 8, 4) . '-' . substr($val, 12, 4) . '-' . substr($val, 16, 4) . '-' . substr($val, 20, 12), 16]
/lib/aws-sdk/src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:771return ['AttemptLatency' => self::getAwsExceptionAttemptLatency($klass), 'AwsException' => substr(self::getAwsExceptionErrorCode($klass), 0, 128), 'AwsExceptionMessage' => substr(self::getAwsExceptionMessage($klass), 0, 512), 'DestinationIp' => self::getAwsExceptionDestinationIp($klass), 'DnsLatency' => self::getAwsExceptionDnsLatency($klass), 'HttpStatusCode' => self::getAwsExceptionHttpStatusCode($klass), 'XAmzId2' => self::getAwsExceptionHeader($klass, 'x-amz-id-2'), 'XAmzRequestId' => self::getAwsExceptionHeader($klass, 'x-amz-request-id'), 'XAmznRequestId' => self::getAwsExceptionHeader($klass, 'x-amzn-RequestId'), ]
/lib/aws-sdk/src/ClientSideMonitoring/ApiCallAttemptMonitoringMiddleware.php:661return ['AttemptLatency' => self::getResultAttemptLatency($klass), 'DestinationIp' => self::getResultDestinationIp($klass), 'DnsLatency' => self::getResultDnsLatency($klass), 'HttpStatusCode' => self::getResultHttpStatusCode($klass), 'XAmzId2' => self::getResultHeader($klass, 'x-amz-id-2'), 'XAmzRequestId' => self::getResultHeader($klass, 'x-amz-request-id'), 'XAmznRequestId' => self::getResultHeader($klass, 'x-amzn-RequestId'), ]
/lib/aws-sdk/src/Crypto/DecryptionTraitV2.php:2222return new AesGcmDecryptingStream($this->getStrippedCiphertextStream($cipherTextStream, $cipherOptions['TagLength']), $cek, $cipherOptions['Iv'], $cipherOptions['Tag'], $cipherOptions['Aad'] = isset($cipherOptions['Aad']) ? $cipherOptions['Aad'] : '', $cipherOptions['TagLength'] ?: null, $cipherOptions['KeySize'])
/lib/aws-sdk/src/Crypto/DecryptionTrait.php:1542return new AesGcmDecryptingStream($this->getStrippedCiphertextStream($cipherTextStream, $cipherOptions['TagLength']), $cek, $cipherOptions['Iv'], $cipherOptions['Tag'], $cipherOptions['Aad'] = isset($cipherOptions['Aad']) ? $cipherOptions['Aad'] : '', $cipherOptions['TagLength'] ?: null, $cipherOptions['KeySize'])
/lib/aws-sdk/src/Token/SsoTokenProvider.php:791yield new SsoToken($tokenData['accessToken'], $tokenData['expiresAt'], isset($tokenData['refreshToken']) ? $tokenData['refreshToken'] : null, isset($tokenData['clientId']) ? $tokenData['clientId'] : null, isset($tokenData['clientSecret']) ? $tokenData['clientSecret'] : null, isset($tokenData['registrationExpiresAt']) ? $tokenData['registrationExpiresAt'] : null, isset($tokenData['region']) ? $tokenData['region'] : null, isset($tokenData['startUrl']) ? $tokenData['startUrl'] : null)
/lib/aws-sdk/src/Token/SsoTokenProvider.php:1291$token = new SsoToken($tokenData['accessToken'], $tokenData['expiresAt'], $tokenData['refreshToken'], isset($tokenData['clientId']) ? $tokenData['clientId'] : null, isset($tokenData['clientSecret']) ? $tokenData['clientSecret'] : null, isset($tokenData['registrationExpiresAt']) ? $tokenData['registrationExpiresAt'] : null, isset($tokenData['region']) ? $tokenData['region'] : null, isset($tokenData['startUrl']) ? $tokenData['startUrl'] : null)
/lib/aws-sdk/src/S3/ObjectUploader.php:771return (new MultipartUploader($this->client, $this->body, ['bucket' => $this->bucket, 'key' => $this->key, 'acl' => $this->acl] + $this->options))->promise( )
/lib/aws-sdk/src/S3/ObjectUploader.php:851$command = $this->client->getCommand('PutObject', ['Bucket' => $this->bucket, 'Key' => $this->key, 'Body' => $this->body, 'ACL' => $this->acl, 'AddContentMD5' => $this->addContentMD5] + $this->options['params'])
/lib/aws-sdk/src/Crypto/AesGcmEncryptingStream.php:1001return Psr7\Utils::streamFor(\openssl_encrypt((string) $this->plaintext, $this->getOpenSslName( ), $this->key, OPENSSL_RAW_DATA, $this->initializationVector, $this->tag, $this->aad, $this->tagLength))
/lib/aws-sdk/src/S3/S3Client.php:2401return $args + ['bucket_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => 'Set to true to send requests to a hardcoded ' . 'bucket endpoint rather than create an endpoint as a ' . 'result of injecting the bucket into the URL. This ' . 'option is useful for interacting with CNAME endpoints.', ], 'use_arn_region' => ['type' => 'config', 'valid' => ['bool', Configuration::class, CacheInterface::class, 'callable'], 'doc' => 'Set to true to allow passed in ARNs to override' . ' client region. Accepts...', 'fn' => [__CLASS__, '_apply_use_arn_region'], 'default' => [UseArnRegionConfigurationProvider::class, 'defaultProvider'], ], 'use_accelerate_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => 'Set to true to send requests to an S3 Accelerate' . ' endpoint by default. Can be enabled or disabled on' . ' individual operations by setting' . ' \'@use_accelerate_endpoint\' to true or false. Note:' . ' you must enable S3 Accelerate on a bucket before it can' . ' be accessed via an Accelerate endpoint.', 'default' => false, ], 'use_path_style_endpoint' => ['type' => 'config', 'valid' => ['bool'], 'doc' => 'Set to true to send requests to an S3 path style' . ' endpoint by default.' . ' Can be enabled or disabled on individual operations by setting' . ' \'@use_path_style_endpoint\' to true or false.', 'default' => false, ], 'disable_multiregion_access_points' => ['type' => 'config', 'valid' => ['bool'], 'doc' => 'Set to true to disable the usage of' . ' multi region access points. These are enabled by default.' . ' Can be enabled or disabled on individual operations by setting' . ' \'@disable_multiregion_access_points\' to true or false.', 'default' => false, ], ]
/lib/aws-sdk/src/S3/S3EndpointMiddleware.php:1971$request = $request->withUri($uri->withHost($this->getBucketStyleHost($command, $uri->getHost( )))->withPath($this->getBucketlessPath($uri->getPath( ), $command)))
/lib/aws-sdk/src/S3/S3EndpointMiddleware.php:2661$request = $request->withUri($request->getUri( )->withHost($this->getAccelerateHost($command, $pattern))->withPath($this->getBucketlessPath($request->getUri( )->getPath( ), $command)))
/lib/aws-sdk/src/S3/Transfer.php:3631return (new MultipartUploader($this->client, $filename, ['bucket' => $args['Bucket'], 'key' => $args['Key'], 'before_initiate' => $this->before, 'before_upload' => $this->before, 'before_complete' => $this->before, 'concurrency' => $this->concurrency, 'add_content_md5' => $this->addContentMD5]))->promise( )
/lib/aws-sdk/src/S3/S3EndpointMiddleware.php:1321return S3Client::isBucketDnsCompatible($command['Bucket']) && ($request->getUri( )->getScheme( ) === 'http' || strpos($command['Bucket'], '.') === false) && filter_var($request->getUri( )->getHost( ), FILTER_VALIDATE_IP) === false
/lib/aws-sdk/src/Signature/SignatureV4.php:4231return ['method' => $request->getMethod( ), 'path' => $uri->getPath( ), 'query' => Psr7\Query::parse($uri->getQuery( )), 'uri' => $uri, 'headers' => $request->getHeaders( ), 'body' => $request->getBody( ), 'version' => $request->getProtocolVersion( )]
/lib/aws-sdk/src/Signature/SignatureV4.php:5091$signingConfig = new SigningConfigAWS(['algorithm' => SigningAlgorithm::SIGv4_ASYMMETRIC, 'signature_type' => SignatureType::HTTP_REQUEST_HEADERS, 'credentials_provider' => $credentials_provider, 'signed_body_value' => $this->getPayload($request), 'region' => "*", 'service' => $signingService, 'date' => time( ), ])
/lib/aws-sdk/src/S3/Crypto/S3EncryptionMultipartUploader.php:1501list($this->source, $params) = Promise\Create::promiseFor($this->encrypt($this->source, $this->config['@cipheroptions'] ?: [ ], $this->provider, $envelope))->then(function ($bodyStream) use ($envelope) { /**/ } )->wait( )
/lib/aws-sdk/src/S3/Crypto/S3EncryptionClient.php:1181return Promise\Create::promiseFor($this->encrypt(Psr7\Utils::streamFor($args['Body']), $args['@CipherOptions'] ?: [ ], $provider, $envelope))->then(function ($encryptedBodyStream) use ($args) { /**/ } )->then(function ($putObjectContents) use ($strategy, $envelope) { /**/ } )->then(function ($args) { /**/ } )
/lib/filestorage/tests/file_system_test.php:772$file = $this->getMockBuilder(\stored_file::class)->onlyMethods($mockedmethods)->setConstructorArgs([get_file_storage( ), (object) ['contenthash' => $contenthash, 'filesize' => strlen($filecontent), 'filename' => $filename, ]])->getMock( )
/lib/filestorage/tests/file_system_filedir_test.php:1032$file = $this->getMockBuilder(\stored_file::class)->onlyMethods($mockedmethods)->setConstructorArgs([get_file_storage( ), (object) ['contenthash' => $contenthash, 'filesize' => strlen($filecontent), 'filename' => $filename, ]])->getMock( )
/lib/filestorage/file_storage.php:19651$params = array('component' => is_null($params['component']) ? '' : clean_param($params['component'], PARAM_COMPONENT), 'filearea' => is_null($params['filearea']) ? '' : clean_param($params['filearea'], PARAM_AREA), 'itemid' => is_null($params['itemid']) ? 0 : clean_param($params['itemid'], PARAM_INT), 'filename' => is_null($params['filename']) ? null : clean_param($params['filename'], PARAM_FILE), 'filepath' => is_null($params['filepath']) ? null : clean_param($params['filepath'], PARAM_PATH), 'contextid' => is_null($params['contextid']) ? null : clean_param($params['contextid'], PARAM_INT))
/lib/filestorage/file_storage.php:4321$record = array('contextid' => $context->id, 'component' => 'core', 'filearea' => 'preview', 'itemid' => 0, 'filepath' => '/' . trim($mode, '/') . '/', 'filename' => $file->get_contenthash( ), )
/lib/aws-sdk/src/HandlerList.php:3141return count($this->steps[self::INIT]) + count($this->steps[self::VALIDATE]) + count($this->steps[self::BUILD]) + count($this->steps[self::SIGN]) + count($this->steps[self::ATTEMPT])
/lib/filestorage/tests/file_storage_test.php:19723$originalrecord = array('contextid' => $originalfile->get_contextid( ), 'component' => $originalfile->get_component( ), 'filearea' => $originalfile->get_filearea( ), 'itemid' => $originalfile->get_itemid( ), 'filepath' => $originalfile->get_filepath( ), 'filename' => $originalfile->get_filename( ), )
/lib/filestorage/tests/file_storage_test.php:19093$originalrecord = array('contextid' => $originalfile->get_contextid( ), 'component' => $originalfile->get_component( ), 'filearea' => $originalfile->get_filearea( ), 'itemid' => $originalfile->get_itemid( ), 'filepath' => $originalfile->get_filepath( ), 'filename' => $originalfile->get_filename( ), )
/lib/filestorage/tests/file_storage_test.php:7263$originalrecord = array('contextid' => $originalfile->get_contextid( ), 'component' => $originalfile->get_component( ), 'filearea' => $originalfile->get_filearea( ), 'itemid' => $originalfile->get_itemid( ), 'filepath' => $originalfile->get_filepath( ), 'filename' => $originalfile->get_filename( ), )
/lib/aws-sdk/src/TraceMiddleware.php:1691return !$request ? [ ] : array_filter(['instance' => spl_object_hash($request), 'method' => $request->getMethod( ), 'headers' => $this->redactHeaders($request->getHeaders( )), 'body' => $this->streamStr($request->getBody( )), 'scheme' => $request->getUri( )->getScheme( ), 'port' => $request->getUri( )->getPort( ), 'path' => $request->getUri( )->getPath( ), 'query' => $request->getUri( )->getQuery( ), ])
/lib/aws-sdk/src/ClientResolver.php:9801return $handler($command, $request->withHeader('X-Amz-User-Agent', implode(' ', array_merge($userAgent, $request->getHeader('X-Amz-User-Agent'))))->withHeader('User-Agent', implode(' ', array_merge($userAgent, $request->getHeader('User-Agent')))))
/lib/aws-sdk/src/ClientResolver.php:5951$args['credentials'] = CredentialProvider::fromCredentials(new Credentials($value['key'], $value['secret'], isset($value['token']) ? $value['token'] : null, isset($value['expires']) ? $value['expires'] : null))
/lib/aws-sdk/src/ResultPaginator.php:1821$nextToken = is_scalar($this->config['output_token']) ? [$this->config['input_token'] => $this->config['output_token']] : array_combine($this->config['input_token'], $this->config['output_token'])
/lib/aws-sdk/src/MultiRegionClient.php:381return $args + ['client_factory' => ['type' => 'config', 'valid' => ['callable'], 'doc' => 'A callable that takes an array of client' . ' configuration arguments and returns a regionalized' . ' client.', 'required' => true, 'internal' => true, 'default' => function (array $args) { /**/ } , ], 'partition' => ['type' => 'config', 'valid' => ['string', PartitionInterface::class], 'doc' => 'AWS partition to connect to. Valid partitions' . ' include "aws," "aws-cn," and "aws-us-gov." Used to' . ' restrict the scope of the mapRegions method.', 'default' => function (array $args) { /**/ } , 'fn' => function ($value, array &$args) { /**/ } ], ]
/lib/aws-sdk/src/TraceMiddleware.php:2161$result += ['type' => $e->getAwsErrorType( ), 'code' => $e->getAwsErrorCode( ), 'requestId' => $e->getAwsRequestId( ), 'statusCode' => $e->getStatusCode( ), 'result' => $this->resultArray($e->getResult( )), 'request' => $this->requestArray($e->getRequest( )), 'response' => $this->responseArray($e->getResponse( )), ]
/lib/aws-sdk/src/TraceMiddleware.php:2061$result = ['instance' => spl_object_hash($e), 'class' => get_class($e), 'message' => $e->getMessage( ), 'file' => $e->getFile( ), 'line' => $e->getLine( ), 'trace' => $e->getTraceAsString( ), ]
/lib/aws-sdk/src/TraceMiddleware.php:1831return !$response ? [ ] : ['instance' => spl_object_hash($response), 'statusCode' => $response->getStatusCode( ), 'headers' => $this->redactHeaders($response->getHeaders( )), 'body' => $this->streamStr($response->getBody( ))]
/lib/tests/fixtures/testable_update_api.php:1181$version2015100400info = (object) array('id' => '6796', 'version' => '2015100400', 'release' => '1.1', 'maturity' => '200', 'downloadurl' => 'http://mood.le/plugins/foo_bar/2015100400.zip', 'downloadmd5' => 'd41d8cd98f00b204e9800998ecf8427e', 'vcssystem' => '', 'vcssystemother' => '', 'vcsrepositoryurl' => '', 'vcsbranch' => '', 'vcstag' => '', 'supportedmoodles' => array((object) array('version' => '2015110900', 'release' => '3.0'), ))
/lib/tests/fixtures/testable_update_api.php:1381$version2015100500info = (object) array('id' => '6799', 'version' => '2015100500', 'release' => '2.0beta', 'maturity' => '100', 'downloadurl' => 'http://mood.le/plugins/foo_bar/2015100500.zip', 'downloadmd5' => 'd41d8cd98f00b204e9800998ecf8427e', 'vcssystem' => '', 'vcssystemother' => '', 'vcsrepositoryurl' => '', 'vcsbranch' => '', 'vcstag' => '', 'supportedmoodles' => array((object) array('version' => '2015110900', 'release' => '3.0'), ))
/lib/tests/fixtures/fakeplugins/access/db/access.php:281$capabilities = ['fake/access:fakecapability' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['user' => CAP_ALLOW]], 'fake/access:existingcapability' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['manager' => CAP_ALLOW]], 'fake/access:replacementnoinfo' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['user' => CAP_ALLOW]], 'fake/access:replacementmissing' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['user' => CAP_ALLOW]], 'fake/access:replacementwithwrongcapability' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_CONFIG | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => ['user' => CAP_ALLOW]], ]
/lib/tests/external/check/get_result_admintree_test.php:771return ['get check result (ok, no details)' => ['triggererror' => false, 'check' => new passwordpolicy( ), 'includedetails' => false, 'expectedreturn' => ['status' => result::OK, 'summary' => get_string('check_passwordpolicy_ok', 'report_security'), 'details' => null, 'html' => '', ], ], 'get check result (ok, with details)' => ['triggererror' => false, 'check' => new passwordpolicy( ), 'includedetails' => true, 'expectedreturn' => ['status' => result::OK, 'summary' => get_string('check_passwordpolicy_ok', 'report_security'), 'details' => '', 'html' => '', ], ], 'get check result (error, no details)' => ['triggererror' => true, 'check' => new passwordpolicy( ), 'includedetails' => false, 'expectedreturn' => ['status' => result::WARNING, 'summary' => get_string('check_passwordpolicy_error', 'report_security'), 'details' => null, 'html' => '', ], ], 'get check result (error, with details)' => ['triggererror' => true, 'check' => new passwordpolicy( ), 'includedetails' => true, 'expectedreturn' => ['status' => result::WARNING, 'summary' => get_string('check_passwordpolicy_error', 'report_security'), 'details' => '', 'html' => '', ], ], ]
/lib/tests/task/send_login_notifications_test.php:2502$fakedevice = (object) ['userid' => $USER->id, 'appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'kishUhd', 'uuid' => 'KIhud7s', 'timecreated' => time( ) + MINSECS, 'timemodified' => time( ) + MINSECS]
/lib/tests/fixtures/testable_update_checker.php:981$fakeresponse = array('status' => 'OK', 'provider' => 'https://download.moodle.org/api/1.0/updates.php', 'apiver' => '1.0', 'timegenerated' => time( ), 'forversion' => '2012010100.00', 'forbranch' => '2.3', 'ticket' => sha1('No, I am not going to mention the word "frog" here. Oh crap. I just did.'), 'updates' => array('core' => array(array('version' => 2012060103.00, 'release' => '2.3.3 (Build: 20121201)', 'maturity' => 200, 'url' => 'https://download.moodle.org/', 'download' => 'https://download.moodle.org/download.php/MOODLE_23_STABLE/moodle-2.3.3-latest.zip', ), array('version' => 2012120100.00, 'release' => '2.4dev (Build: 20121201)', 'maturity' => 50, 'url' => 'https://download.moodle.org/', 'download' => 'https://download.moodle.org/download.php/MOODLE_24_STABLE/moodle-2.4.0-latest.zip', ), ), 'mod_foo' => array(array('version' => 2012030501, 'requires' => 2012010100, 'maturity' => 200, 'release' => '1.1', 'url' => 'http://moodle.org/plugins/blahblahblah/', 'download' => 'http://moodle.org/plugins/download.php/blahblahblah', ), array('version' => 2012030502, 'requires' => 2012010100, 'maturity' => 100, 'release' => '1.2 beta', 'url' => 'http://moodle.org/plugins/', ), ), ), )
/lib/tests/fixtures/testable_update_api.php:791$foobarinfo = (object) array('status' => 'OK', 'apiver' => '1.3', 'pluginfo' => (object) array('id' => 42, 'name' => 'Foo bar', 'component' => 'foo_bar', 'source' => '', 'doc' => '', 'bugs' => '', 'discussion' => '', 'version' => false, ), )
/lib/tests/fixtures/testable_update_api.php:941$version2015093000info = (object) array('id' => '6765', 'version' => '2015093000', 'release' => '1.0', 'maturity' => '200', 'downloadurl' => 'http://mood.le/plugins/foo_bar/2015093000.zip', 'downloadmd5' => 'd41d8cd98f00b204e9800998ecf8427e', 'vcssystem' => '', 'vcssystemother' => '', 'vcsrepositoryurl' => '', 'vcsbranch' => '', 'vcstag' => '', 'supportedmoodles' => array((object) array('version' => '2015041700', 'release' => '2.9'), (object) array('version' => '2015110900', 'release' => '3.0'), ))
/lib/filestorage/stored_file.php:6341return $this->fs->create_directory($this->file_record->contextid, $this->file_record->component, $this->file_record->filearea, $this->file_record->itemid, $this->file_record->filepath)
/lib/filestorage/tgz_extractor.php:4831$this->listresults[] = (object) array('original_pathname' => $values[0], 'pathname' => $values[0], 'mtime' => ($values[3] === '?' ? tgz_packer::DEFAULT_TIMESTAMP : (int) $values[3]), 'is_directory' => $values[1] === 'd', 'size' => (int) $values[2])
/lib/filestorage/tgz_packer.php:6102$files = $fs->get_directory_files($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), true, true)
/lib/filestorage/zip_packer.php:1882$files = $fs->get_directory_files($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), true, true)
/lib/tests/external/check/get_result_admintree_test.php:1821return ['setting is in tree, correctly linked' => ['settings' => [$testsetting1, new admin_setting_check('testsetting2', new guestrole( )), new admin_setting_check('testsetting3', new guestrole( )), ], 'searchname' => $testsetting1->name, 'searchid' => $testsetting1->get_id( ), 'expectedcheck' => passwordpolicy::class, ], 'setting is not in tree' => ['settings' => [ ], 'searchname' => $testsetting1->name, 'searchid' => $testsetting1->get_id( ), 'expectedcheck' => '', ], 'setting in tree, but name has conflict' => ['settings' => [$testsetting1, new admin_setting_check('testsetting', new guestrole( )), ], 'searchname' => $testsetting1->name, 'searchid' => $testsetting1->get_id( ), 'expectedcheck' => '', ], ]
/lib/tests/event/events_test.php:2781$eventparams = array('objectid' => $user->id, 'relateduserid' => $user->id, 'courseid' => $course->id, 'context' => $coursecontext, 'other' => array('courseid' => $course->id, 'courseshortname' => $course->shortname, 'coursefullname' => $course->fullname))
/lib/tests/event/draft_file_deleted_test.php:631$eventdata = ['objectid' => $originalfile->get_id( ), 'context' => $usercontext, 'other' => ['itemid' => $originalfile->get_itemid( ), 'filename' => $originalfile->get_filename( ), 'filesize' => $originalfile->get_filesize( ), 'filepath' => $originalfile->get_filepath( ), 'contenthash' => $originalfile->get_contenthash( ), ], ]
/lib/tests/event/draft_file_added_test.php:631$eventdata = ['objectid' => $originalfile->get_id( ), 'context' => $usercontext, 'other' => ['itemid' => $originalfile->get_itemid( ), 'filename' => $originalfile->get_filename( ), 'filesize' => $originalfile->get_filesize( ), 'filepath' => $originalfile->get_filepath( ), 'contenthash' => $originalfile->get_contenthash( ), ]]
/lib/tests/plugininfo/editor_test.php:1151return [['texteditors' => 'textarea,tiny', 'enabledonly' => true, 'expected' => ['textarea', 'tiny', ], ], ['texteditors' => 'tiny,textarea', 'enabledonly' => true, 'expected' => ['tiny', 'textarea', ], ], ['texteditors' => 'tiny', 'enabledonly' => true, 'expected' => ['tiny', ], ], 'Phantom values are removed from the list' => ['texteditors' => 'fakeeditor', 'enabledonly' => true, 'expected' => [ ], ], ['texteditors' => 'textarea,tiny', 'enabledonly' => false, 'expected' => $getorder(['textarea', 'tiny', ]), ], ['texteditors' => 'tiny', 'enabledonly' => false, 'expected' => $getorder(['tiny', ]), ], ]
/lib/tests/content/export/exportable_items/exportable_textarea_test.php:3531$archive = $this->getMockBuilder(zipwriter::class)->setConstructorArgs([$this->getMockBuilder(\ZipStream\ZipStream::class)->getmock( )])->onlyMethods(['add_file_from_stored_file', 'add_file_from_string', 'add_file_from_template', ])->getMock( )
/lib/tests/plugininfo/media_test.php:1181return ['Top item down one' => ['initialorder' => ['videojs', 'html5audio', 'html5video', 'youtube', ], 'pluginname' => 'videojs', 'direction' => base::MOVE_DOWN, 'expected' => $getorder(['html5audio', 'videojs', 'html5video', 'youtube', ]), ], 'Bottom item down one' => ['initialorder' => ['videojs', 'html5audio', 'html5video', 'youtube', ], 'pluginname' => 'youtube', 'direction' => base::MOVE_DOWN, 'expected' => $getorder(['videojs', 'html5audio', 'html5video', 'youtube', ]), ], 'Top item up' => ['initialorder' => ['videojs', 'html5audio', 'html5video', 'youtube', ], 'pluginname' => 'videojs', 'direction' => base::MOVE_UP, 'expected' => $getorder(['videojs', 'html5audio', 'html5video', 'youtube', ]), ], 'Disabled plugin' => ['initialorder' => ['videojs', 'html5audio', 'html5video', ], 'pluginname' => 'youtube', 'direction' => base::MOVE_UP, 'expected' => $getorder(['videojs', 'html5audio', 'html5video', ]), ], 'Non-existent plugin' => ['initialorder' => ['videojs', 'html5audio', 'html5video', 'youtube', ], 'pluginname' => 'moodletube', 'direction' => base::MOVE_UP, 'expected' => $getorder(['videojs', 'html5audio', 'html5video', 'youtube', ]), ], ]
/lib/tests/plugininfo/editor_test.php:2091return [['texteditors' => 'textarea,tiny', 'pluginname' => 'textarea', 'direction' => base::MOVE_DOWN, 'expected' => $getorder(['tiny', 'textarea', ]), 'newtexteditors' => 'tiny,textarea', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'tiny', 'direction' => base::MOVE_DOWN, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'atto', 'direction' => base::MOVE_DOWN, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'tiny', 'direction' => base::MOVE_UP, 'expected' => $getorder(['tiny', 'textarea', ]), 'newtexteditors' => 'tiny,textarea', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'tiny', 'direction' => base::MOVE_UP, 'expected' => $getorder(['tiny', 'textarea', ]), 'newtexteditors' => 'tiny,textarea', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'atto', 'direction' => base::MOVE_UP, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'atto', 'direction' => base::MOVE_UP, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['texteditors' => 'textarea,tiny', 'pluginname' => 'fakeeditor', 'direction' => base::MOVE_UP, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ]
/lib/tests/output/mustache_template_source_loader_test.php:3931return ['single template include' => ['loader' => $loader, 'source' => $bar, 'expected' => ['templates' => ['core' => ['baz']], 'strings' => [ ]]], 'single string include' => ['loader' => $loader, 'source' => $baz, 'expected' => ['templates' => [ ], 'strings' => ['core' => ['hide']]]], 'no include' => ['loader' => $loader, 'source' => $bop, 'expected' => ['templates' => [ ], 'strings' => [ ]]], 'all include' => ['loader' => $loader, 'source' => $foo, 'expected' => ['templates' => ['core' => ['bar'], 'test' => ['bop']], 'strings' => ['core' => ['help']]]], 'string: component on new line' => ['loader' => $loader, 'source' => $multiline1, 'expected' => ['templates' => [ ], 'strings' => ['mod_forum' => ['authorreplyingprivatelytoauthor']]]], 'string: identifier on own line' => ['loader' => $loader, 'source' => $multiline2, 'expected' => ['templates' => [ ], 'strings' => ['mod_forum' => ['authorreplyingprivatelytoauthor']]]], 'string: all parts on new lines' => ['loader' => $loader, 'source' => $multiline3, 'expected' => ['templates' => [ ], 'strings' => ['mod_forum' => ['authorreplyingprivatelytoauthor']]]], 'string: id and component on own line' => ['loader' => $loader, 'source' => $multiline4, 'expected' => ['templates' => [ ], 'strings' => ['mod_forum' => ['authorreplyingprivatelytoauthor']]]], 'string: no component' => ['loader' => $loader, 'source' => $multiline5, 'expected' => ['templates' => [ ], 'strings' => ['core' => ['hide']]]], ]
/lib/tests/output/mustache_template_source_loader_test.php:3781$cache = ['core' => ['foo' => $foo, 'bar' => $bar, 'baz' => $baz, 'bop' => $bop, 'multiline1' => $multiline1, 'multiline2' => $multiline2, 'multiline3' => $multiline3, 'multiline4' => $multiline4, 'multiline5' => $multiline5, ]]
/lib/tests/content/export/exportable_items/exportable_textarea_test.php:3051$archive = $this->getMockBuilder(zipwriter::class)->setConstructorArgs([$this->getMockBuilder(\ZipStream\ZipStream::class)->getmock( )])->onlyMethods(['is_file_in_archive', 'add_file_from_string', 'add_file_from_stored_file', ])->getMock( )
/lib/tests/navigation/output/primary_test.php:1931return ['Simple custom menu' => ["Course search|/course/search.php Google|https://google.com.au/ Netflix|https://netflix.com/au", [(object) ['text' => 'Course search', 'url' => 'https://www.example.com/moodle/course/search.php', 'title' => '', 'sort' => 1, 'children' => [ ], 'haschildren' => false, ], (object) ['text' => 'Google', 'url' => 'https://google.com.au/', 'title' => '', 'sort' => 2, 'children' => [ ], 'haschildren' => false, ], (object) ['text' => 'Netflix', 'url' => 'https://netflix.com/au', 'title' => '', 'sort' => 3, 'children' => [ ], 'haschildren' => false, ], ]], 'Complex, nested custom menu' => ["Moodle community|http://moodle.org -Moodle free support|http://moodle.org/support -Moodle development|http://moodle.org/development --Moodle Tracker|http://tracker.moodle.org --Moodle Docs|https://docs.moodle.org -Moodle News|http://moodle.org/news Moodle company -Moodle commercial hosting|http://moodle.com/hosting -Moodle commercial support|http://moodle.com/support", [(object) ['text' => 'Moodle community', 'url' => 'http://moodle.org', 'title' => '', 'sort' => 1, 'children' => [(object) ['text' => 'Moodle free support', 'url' => 'http://moodle.org/support', 'title' => '', 'sort' => 2, 'children' => [ ], 'haschildren' => false, ], (object) ['text' => 'Moodle development', 'url' => 'http://moodle.org/development', 'title' => '', 'sort' => 3, 'children' => [(object) ['text' => 'Moodle Tracker', 'url' => 'http://tracker.moodle.org', 'title' => '', 'sort' => 4, 'children' => [ ], 'haschildren' => false, ], (object) ['text' => 'Moodle Docs', 'url' => 'https://docs.moodle.org', 'title' => '', 'sort' => 5, 'children' => [ ], 'haschildren' => false, ], ], 'haschildren' => true, ], (object) ['text' => 'Moodle News', 'url' => 'http://moodle.org/news', 'title' => '', 'sort' => 6, 'children' => [ ], 'haschildren' => false, ], ], 'haschildren' => true, ], (object) ['text' => 'Moodle company', 'url' => null, 'title' => '', 'sort' => 7, 'children' => [(object) ['text' => 'Moodle commercial hosting', 'url' => 'http://moodle.com/hosting', 'title' => '', 'sort' => 8, 'children' => [ ], 'haschildren' => false, ], (object) ['text' => 'Moodle commercial support', 'url' => 'http://moodle.com/support', 'title' => '', 'sort' => 9, 'children' => [ ], 'haschildren' => false, ], ], 'haschildren' => true, ], ]]]
/lib/tests/moodlenet/helpers.php:361$record = (object) ['name' => 'MoodleNet', 'image' => 'https://moodle.net/favicon.ico', 'baseurl' => 'https://moodlenet.example.com', 'loginscopes' => '', 'loginscopesoffline' => '', 'loginparamsoffline' => '', 'showonloginpage' => issuer::SERVICEONLY, 'servicetype' => 'moodlenet', 'enabled' => $enabled, ]
/lib/tests/moodlenet/activity_sender_test.php:2591return ['Success' => ['http_response' => new Response(201, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/activity_backup_1.mbz', ]), ), 'expected' => ['response_code' => 201, 'resource_url' => 'https://moodlenet.example.com/drafts/view/activity_backup_1.mbz', ], ], 'Fail with 200 status code' => ['http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/activity_backup_2.mbz', ]), ), 'expected' => ['response_code' => 200, 'resource_url' => 'https://moodlenet.example.com/drafts/view/activity_backup_2.mbz', ], ], 'Fail with 401 status code' => ['http_response' => new Response(401, ), 'expected' => ['response_code' => 401, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `401 Unauthorized` response', ], ], 'Fail with 404 status code' => ['http_response' => new Response(404, ), 'expected' => ['response_code' => 404, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `404 Not Found` response', ], ], ]
/lib/tests/task/send_login_notifications_test.php:2012$fakedevice = (object) ['userid' => $USER->id, 'appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'kishUhd', 'uuid' => 'KIhud7s', 'timecreated' => time( ) + MINSECS, 'timemodified' => time( ) + MINSECS]
/lib/tests/task/manager_test.php:391return [['concurrencylimit' => 5, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), ], 'expected' => [adhoc_test_task::class, adhoc_test_task::class, adhoc_test_task::class, adhoc_test_task::class, adhoc_test_task::class, ], ], ['concurrencylimit' => 5, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), ], 'expected' => [adhoc_test_task::class, adhoc_test_task::class, adhoc_test_task::class, adhoc_test_task::class, ], ], ['concurrencylimit' => 1, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), ], 'expected' => [ ], ], ['concurrencylimit' => 2, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), ], 'expected' => [ ], ], ['concurrencylimit' => 2, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test3_task(time( ) - 20, null), ], 'expected' => [adhoc_test3_task::class], ], ['concurrencylimit' => 2, 'limit' => 2, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test_task(time( ) - 20, null), new adhoc_test2_task(time( ) - 20, null), ], 'expected' => [adhoc_test_task::class, adhoc_test_task::class, ], ], ['concurrencylimit' => 2, 'limit' => 2, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test2_task(time( ) - 20, null), ], 'expected' => [adhoc_test2_task::class, ], ], ['concurrencylimit' => 3, 'limit' => 100, 'pertasklimits' => [ ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, null), new adhoc_test3_task(time( ) - 20, time( )), new adhoc_test3_task(time( ) - 20, time( )), new adhoc_test3_task(time( ) - 20, null), new adhoc_test4_task(time( ) - 20, time( )), new adhoc_test4_task(time( ) - 20, time( )), new adhoc_test4_task(time( ) - 20, null), new adhoc_test5_task(time( ) - 20, time( )), new adhoc_test5_task(time( ) - 20, time( )), new adhoc_test5_task(time( ) - 20, null), ], 'expected' => [adhoc_test_task::class, adhoc_test2_task::class, adhoc_test3_task::class, adhoc_test4_task::class, adhoc_test5_task::class, ], ], ['concurrencylimit' => 3, 'limit' => 100, 'pertasklimits' => ['adhoc_test_task' => 2, 'adhoc_test2_task' => 2, 'adhoc_test3_task' => 2, 'adhoc_test4_task' => 2, 'adhoc_test5_task' => 2, ], 'tasks' => [new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, time( )), new adhoc_test_task(time( ) - 20, null), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, time( )), new adhoc_test2_task(time( ) - 20, null), new adhoc_test3_task(time( ) - 20, time( )), new adhoc_test3_task(time( ) - 20, time( )), new adhoc_test3_task(time( ) - 20, null), new adhoc_test4_task(time( ) - 20, time( )), new adhoc_test4_task(time( ) - 20, time( )), new adhoc_test4_task(time( ) - 20, null), new adhoc_test5_task(time( ) - 20, time( )), new adhoc_test5_task(time( ) - 20, time( )), new adhoc_test5_task(time( ) - 20, null), ], 'expected' => [ ], ], ]
/lib/tests/moodlenet/course_partial_sender_test.php:1171$package = $method->invoke(new course_partial_sender($this->course->id, $USER->id, $moodlenetclient, $this->mockoauthclient, [$this->activities[1]->cmid, $this->activities[2]->cmid], resource_sender::SHARE_FORMAT_BACKUP))
/lib/tests/moodlenet/course_sender_test.php:2632return ['Success' => ['http_response' => new Response(201, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_1.mbz', ]), ), 'expected' => ['response_code' => 201, 'resource_url' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_1.mbz', ], ], 'Fail with 200 status code' => ['http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_2.mbz', ]), ), 'expected' => ['response_code' => 200, 'resource_url' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_2.mbz', ], ], 'Fail with 401 status code' => ['http_response' => new Response(401, ), 'expected' => ['response_code' => 401, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `401 Unauthorized` response', ], ], 'Fail with 404 status code' => ['http_response' => new Response(404, ), 'expected' => ['response_code' => 404, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `404 Not Found` response', ], ], ]
/lib/tests/moodlenet/course_partial_sender_test.php:2592return ['Success' => ['http_response' => new Response(201, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_1.mbz', ]), ), 'expected' => ['response_code' => 201, 'resource_url' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_1.mbz', ], ], 'Fail with 200 status code' => ['http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(['homepage' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_2.mbz', ]), ), 'expected' => ['response_code' => 200, 'resource_url' => 'https://moodlenet.example.com/drafts/view/testcourse_backup_2.mbz', ], ], 'Fail with 401 status code' => ['http_response' => new Response(401, ), 'expected' => ['response_code' => 401, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `401 Unauthorized` response', ], ], 'Fail with 404 status code' => ['http_response' => new Response(404, ), 'expected' => ['response_code' => 404, 'resource_url' => '', 'exception' => 'Client error: ' . '`POST https://moodlenet.example.com/.pkg/@moodlenet/ed-resource/basic/v1/create` ' . 'resulted in a `404 Not Found` response', ], ], ]
/lib/tests/moodlenet/course_partial_sender_test.php:2151$coursepartialsender = new course_partial_sender($this->course->id, $USER->id, $moodlenetclient, $this->mockoauthclient, [$this->activities[1]->cmid, $this->activities[2]->cmid], resource_sender::SHARE_FORMAT_BACKUP)
/lib/tests/accesslib_test.php:47191$expectedteacher = [$teacherrole->id => (object) ['id' => $teacherrole->id, 'name' => '', 'shortname' => $teacherrole->shortname, 'sortorder' => $teacherrole->sortorder, 'coursealias' => null], $studentrole->id => (object) ['id' => $studentrole->id, 'name' => '', 'shortname' => $studentrole->shortname, 'sortorder' => $studentrole->sortorder, 'coursealias' => null], $customrole->id => (object) ['id' => $customrole->id, 'name' => 'Custom role', 'shortname' => $customrole->shortname, 'sortorder' => $customrole->sortorder, 'coursealias' => null]]
/lib/tests/accesslib_test.php:47461$expectedstudent = [$teacherrole->id => (object) ['id' => $teacherrole->id, 'name' => '', 'shortname' => $teacherrole->shortname, 'sortorder' => $teacherrole->sortorder, 'coursealias' => null], $studentrole->id => (object) ['id' => $studentrole->id, 'name' => '', 'shortname' => $studentrole->shortname, 'sortorder' => $studentrole->sortorder, 'coursealias' => null]]
/lib/tests/accesslib_test.php:30371return array(array('users' => array(array('enrolled' => true, 'active' => true, ), array('enrolled' => true, 'active' => true, ), ), 'counts' => array('enrolled' => 2, 'active' => 2, 'suspended' => 0, ), ), array('users' => array(array('status' => ENROL_USER_SUSPENDED, 'enrolled' => true, 'suspended' => true, ), ), 'counts' => array('enrolled' => 1, 'active' => 0, 'suspended' => 1, ), ), array('users' => array(array('enrolled' => true, 'active' => true, ), array('status' => ENROL_USER_SUSPENDED, 'enrolled' => true, 'suspended' => true, ), ), 'counts' => array('enrolled' => 2, 'active' => 1, 'suspended' => 1, ), ), array('users' => array(array('timestart' => DAYSECS, 'enrolled' => true, 'active' => false, 'suspended' => true, ), ), 'counts' => array('enrolled' => 1, 'active' => 0, 'suspended' => 1, ), ), array('users' => array(array('timeend' => -DAYSECS, 'enrolled' => true, 'active' => false, 'suspended' => true, ), ), 'counts' => array('enrolled' => 1, 'active' => 0, 'suspended' => 1, ), ), array('users' => array(array('timeend' => -DAYSECS, 'enrolled' => true, 'active' => false, 'suspended' => true, ), array('timestart' => DAYSECS, 'enrolled' => true, 'active' => false, 'suspended' => true, ), ), 'counts' => array('enrolled' => 2, 'active' => 0, 'suspended' => 2, ), ), )
/lib/tests/accesslib_test.php:46911$expected = [$teacherrole->id => (object) ['id' => $teacherrole->id, 'name' => '', 'shortname' => $teacherrole->shortname, 'sortorder' => $teacherrole->sortorder, 'coursealias' => null], $studentrole->id => (object) ['id' => $studentrole->id, 'name' => '', 'shortname' => $studentrole->shortname, 'sortorder' => $studentrole->sortorder, 'coursealias' => null]]
/lib/tests/weblib_test.php:12271return ['Google Maps CDN (HTTPS)' => [new \moodle_url('https://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), 'Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL'], 'Google Maps CDN (HTTP)' => [new \moodle_url('http://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), 'Coding error detected, it must be fixed by a programmer: out_as_local_url called on a non-local URL'], ]
/lib/tests/weblib_test.php:13041return ['Google Maps CDN (HTTPS)' => [new \moodle_url('https://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), false], 'Google Maps CDN (HTTP)' => [new \moodle_url('http://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), false], 'wwwroot' => [new \moodle_url($wwwroot), true], 'wwwroot/' => [new \moodle_url($wwwroot . '/'), true], 'Environment XML file' => [new \moodle_url('/admin/environment.xml'), true], 'H5P JS internal resource' => [new \moodle_url('/h5p/js/embed.js'), true], ]
/lib/tests/formatting_test.php:2541return [[s($text), 0, $text, FORMAT_PLAIN, ['trusted' => true], ], ["<p>lala xx</p>\n", 0, $text, FORMAT_MARKDOWN, ['trusted' => true], ], ['<div class="text_to_html">lala xx</div>', 0, $text, FORMAT_MOODLE, ['trusted' => true], ], ['lala xx', 0, $text, FORMAT_HTML, ['trusted' => true], ], [s($text), 0, $text, FORMAT_PLAIN, ['trusted' => false], ], ["<p>lala xx</p>\n", 0, $text, FORMAT_MARKDOWN, ['trusted' => false], ], ['<div class="text_to_html">lala xx</div>', 0, $text, FORMAT_MOODLE, ['trusted' => false], ], ['lala xx', 0, $text, FORMAT_HTML, ['trusted' => false], ], [s($text), 1, $text, FORMAT_PLAIN, ['trusted' => true], ], ["<p>lala xx</p>\n", 1, $text, FORMAT_MARKDOWN, ['trusted' => true], ], ['<div class="text_to_html">lala <object>xx</object></div>', 1, $text, FORMAT_MOODLE, ['trusted' => true], ], ['lala <object>xx</object>', 1, $text, FORMAT_HTML, ['trusted' => true], ], [s($text), 1, $text, FORMAT_PLAIN, ['trusted' => false], ], ["<p>lala xx</p>\n", 1, $text, FORMAT_MARKDOWN, ['trusted' => false], ], ['<div class="text_to_html">lala xx</div>', 1, $text, FORMAT_MOODLE, ['trusted' => false], ], ['lala xx', 1, $text, FORMAT_HTML, ['trusted' => false], ], ["<p>lala <object>xx</object></p>\n", 1, $text, FORMAT_MARKDOWN, ['trusted' => true, 'clean' => false], ], ["<p>lala <object>xx</object></p>\n", 1, $text, FORMAT_MARKDOWN, ['trusted' => false, 'clean' => false], ], ]
/lib/tests/weblib_test.php:11011$draftareas = array(array('urlbase' => 'draftfile.php', 'contextid' => '5', 'component' => 'user', 'filearea' => 'draft', 'itemid' => '99999999', 'filename' => 'test1.jpg', 0 => "{$CFG->wwwroot}/draftfile.php/5/user/draft/99999999/test1.jpg", 1 => 'draftfile.php', 2 => '5', 3 => 'user', 4 => 'draft', 5 => '99999999', 6 => 'test1.jpg'), array('urlbase' => 'draftfile.php', 'contextid' => '5', 'component' => 'user', 'filearea' => 'draft', 'itemid' => '99999998', 'filename' => 'test2.jpg', 0 => "{$CFG->wwwroot}/draftfile.php/5/user/draft/99999998/test2.jpg", 1 => 'draftfile.php', 2 => '5', 3 => 'user', 4 => 'draft', 5 => '99999998', 6 => 'test2.jpg'))
/lib/tests/output/mustache_template_source_loader_test.php:1451return ['with comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'test', 'includecomments' => true, 'expected' => '{{! a comment }}The rest of the template'], 'without comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'test', 'includecomments' => false, 'expected' => 'The rest of the template'], ]
/lib/tests/output/mustache_template_source_loader_test.php:2101return ['no template includes w comments' => ['loader' => $loader, 'component' => 'test', 'name' => 'foo', 'includecomments' => true, 'expected' => ['templates' => ['test' => ['foo' => $foo2]], 'strings' => [ ]]], 'no template includes w/o comments' => ['loader' => $loader, 'component' => 'test', 'name' => 'foo', 'includecomments' => false, 'expected' => ['templates' => ['test' => ['foo' => $foo2nocomment]], 'strings' => [ ]]], 'no template includes with string w comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'baz', 'includecomments' => true, 'expected' => ['templates' => ['core' => ['baz' => $baz]], 'strings' => ['core' => ['hide' => 'Hide']]]], 'no template includes with string w/o comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'baz', 'includecomments' => false, 'expected' => ['templates' => ['core' => ['baz' => $baznocomment]], 'strings' => ['core' => ['hide' => 'Hide']]]], 'full with comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'foo', 'includecomments' => true, 'expected' => ['templates' => ['core' => ['foo' => $foo, 'bar' => $bar, 'baz' => $baz], 'test' => ['foo' => $foo2, 'bop' => $bop, 'bim' => $bim]], 'strings' => ['core' => ['help' => 'Help', 'hide' => 'Hide']]]], 'full without comments' => ['loader' => $loader, 'component' => 'core', 'name' => 'foo', 'includecomments' => false, 'expected' => ['templates' => ['core' => ['foo' => $foonocomment, 'bar' => $barnocomment, 'baz' => $baznocomment], 'test' => ['foo' => $foo2nocomment, 'bop' => $bopnocomment, 'bim' => $bimnocomment]], 'strings' => ['core' => ['help' => 'Help', 'hide' => 'Hide']]]]]
/lib/tests/accesslib_test.php:51502$contexts = (object) ['system' => \context_system::instance( ), 'cat1' => \context_coursecat::instance($cat1->id), 'cat2' => \context_coursecat::instance($cat2->id), 'cat1course1' => \context_course::instance($cat1course1->id), 'cat1course1forum' => \context_module::instance($cat1course1forum->cmid), ]
/lib/tests/oauth2/discovery/auth_server_config_reader_test.php:871return ['Valid, good issuer URL, good config' => ['issuer_url' => 'https://app.example.com', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['request' => ['url' => 'https://app.example.com/.well-known/oauth-authorization-server'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Valid, issuer URL with path component confirming well known suffix placement' => ['issuer_url' => 'https://app.example.com/some/path', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['request' => ['url' => 'https://app.example.com/.well-known/oauth-authorization-server/some/path'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Valid, single trailing / path only' => ['issuer_url' => 'https://app.example.com/', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['request' => ['url' => 'https://app.example.com/.well-known/oauth-authorization-server'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Invalid, non HTTPS issuer URL' => ['issuer_url' => 'http://app.example.com', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['exception' => \moodle_exception::class]], 'Invalid, query string in issuer URL' => ['issuer_url' => 'https://app.example.com?test=cat', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['exception' => \moodle_exception::class]], 'Invalid, fragment in issuer URL' => ['issuer_url' => 'https://app.example.com/#cat', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['exception' => \moodle_exception::class]], 'Valid, port in issuer URL' => ['issuer_url' => 'https://app.example.com:8080/some/path', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => null, 'expected' => ['request' => ['url' => 'https://app.example.com:8080/.well-known/oauth-authorization-server/some/path'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Valid, alternate well known suffix, no path' => ['issuer_url' => 'https://app.example.com', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => 'openid-configuration', 'expected' => ['request' => ['url' => 'https://app.example.com/.well-known/openid-configuration'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Valid, alternate well known suffix, with path' => ['issuer_url' => 'https://app.example.com/some/path/', 'http_response' => new Response(200, ['Content-Type' => 'application/json'], json_encode(["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]])), 'well_known_suffix' => 'openid-configuration', 'expected' => ['request' => ['url' => 'https://app.example.com/.well-known/openid-configuration/some/path/'], 'metadata' => ["issuer" => "https://app.example.com", "authorization_endpoint" => "https://app.example.com/authorize", "token_endpoint" => "https://app.example.com/token", "token_endpoint_auth_methods_supported" => ["client_secret_basic", "private_key_jwt"], "token_endpoint_auth_signing_alg_values_supported" => ["RS256", "ES256"], "userinfo_endpoint" => "https://app.example.com/userinfo", "jwks_uri" => "https://app.example.com/jwks.json", "registration_endpoint" => "https://app.example.com/register", "scopes_supported" => ["openid", "profile", "email", ], "response_types_supported" => ["code", "code token"], "service_documentation" => "http://app.example.com/service_documentation.html", "ui_locales_supported" => ["en-US", "en-GB", "fr-FR", ]]]], 'Invalid, bad response' => ['issuer_url' => 'https://app.example.com', 'http_response' => new Response(404), 'well_known_suffix' => null, 'expected' => ['exception' => ClientException::class]]]
/lib/tests/accesslib_test.php:49181return array_merge(['includeself: true, testing self' => ['/1/4/17/291/1001/17105', '/1/4/17/291/1001/17105', true, true, ], 'includeself: false, testing self' => ['/1/4/17/291/1001/17105', '/1/4/17/291/1001/17105', false, false, ], ], $provideboth('testing child', '/1/4/17/291/1001/17105', '/1/4/17/291/1001', true), $provideboth('testing parent', '/1/4/17/291/1001', '/1/4/17/291/1001/17105', false), $provideboth('testing grandchild', '/1/4/17/291/1001/17105', '/1', true), $provideboth('testing grandparent', '/1', '/1/4/17/291/1001/17105', false))
/lib/tests/accesslib_test.php:50632$contexts = (object) ['system' => \context_system::instance( ), 'cat1' => \context_coursecat::instance($cat1->id), 'cat2' => \context_coursecat::instance($cat2->id), 'cat1course1' => \context_course::instance($cat1course1->id), 'cat1course1forum' => \context_module::instance($cat1course1forum->cmid), ]
/lib/tests/accesslib_test.php:47661$expectedteacher = [$studentrole->id => (object) ['id' => $studentrole->id, 'name' => '', 'shortname' => $studentrole->shortname, 'sortorder' => $studentrole->sortorder, 'coursealias' => null], $customrole->id => (object) ['id' => $customrole->id, 'name' => 'Custom role', 'shortname' => $customrole->shortname, 'sortorder' => $customrole->sortorder, 'coursealias' => null], $teacherrole->id => (object) ['id' => $teacherrole->id, 'name' => '', 'shortname' => $teacherrole->shortname, 'sortorder' => $teacherrole->sortorder, 'coursealias' => null], ]
/lib/tests/accesslib_test.php:48171return array_merge(['includeself: true, testing self' => ['/1/4/17/291/1001/17105', '/1/4/17/291/1001/17105', true, true, ], 'includeself: false, testing self' => ['/1/4/17/291/1001/17105', '/1/4/17/291/1001/17105', false, false, ], ], $provideboth('testing parent', '/1/4/17/291/1001/17105', '/1/4/17/291/1001', false), $provideboth('testing child', '/1/4/17/291/1001', '/1/4/17/291/1001/17105', true), $provideboth('testing grandchild', '/1', '/1/4/17/291/1001/17105', true))
/lib/tests/outputrequirementslib_test.php:1791return ['Environment XML file' => [new \moodle_url('/admin/environment.xml'), 0, $wwwroot . $admin . 'environment.xml'], 'Google Maps CDN (HTTPS)' => [new \moodle_url('https://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), 1, 'https://maps.googleapis.com/maps/api/js?key=googlemapkey3&sensor=false'], 'Google Maps CDN (HTTP)' => [new \moodle_url('http://maps.googleapis.com/maps/api/js', ['key' => 'googlemapkey3', 'sensor' => 'false']), 0, 'http://maps.googleapis.com/maps/api/js?key=googlemapkey3&sensor=false'], 'H5P JS internal resource (slasharguments on)' => [new \moodle_url('/h5p/js/embed.js'), 1, $wwwroot . '/lib/javascript.php/1/h5p/js/embed.js'], 'H5P JS internal resource (slasharguments off)' => [new \moodle_url('/h5p/js/embed.js'), 0, $wwwroot . '/lib/javascript.php?rev=1&jsfile=%2Fh5p%2Fjs%2Fembed.js'], 'A custom Moodle CSS Handler' => [new \moodle_url('/mod/data/css.php?d=1234567890'), 1, $wwwroot . '/mod/data/css.php?d=1234567890'], 'A custom Moodle JS Handler (slasharguments on)' => [new \moodle_url('/mod/data/js.php?d=1234567890'), 1, $wwwroot . '/mod/data/js.php?d=1234567890'], 'A custom Moodle JS Handler (slasharguments off)' => [new \moodle_url('/mod/data/js.php?d=1234567890'), 0, $wwwroot . '/mod/data/js.php?d=1234567890'], ]
/lib/tests/persistent_test.php:7251return array('shortname' => array('type' => PARAM_TEXT, 'default' => ''), 'idnumber' => array('type' => PARAM_TEXT, ), 'description' => array('type' => PARAM_TEXT, 'default' => ''), 'descriptionformat' => array('choices' => array(FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN), 'type' => PARAM_INT, 'default' => FORMAT_HTML), 'parentid' => array('type' => PARAM_INT, 'default' => 0), 'path' => array('type' => PARAM_RAW, 'default' => ''), 'sortorder' => array('type' => PARAM_INT, 'message' => new lang_string('invalidrequest', 'error')), 'scaleid' => array('type' => PARAM_INT, 'default' => null, 'null' => NULL_ALLOWED))
/lib/tests/persistent_test.php:2471$data = (object) array('shortname' => 'ddd', 'idnumber' => 'abc', 'description' => 'xyz', 'descriptionformat' => FORMAT_PLAIN, 'parentid' => 999, 'path' => '/a/b/c', 'sortorder' => 12, 'id' => 1, 'timecreated' => 2, 'timemodified' => 3, 'usermodified' => 4, 'scaleid' => null, 'invalidparam' => 'abc')
/lib/tests/persistent_test.php:2271$data = (object) array('shortname' => 'ddd', 'idnumber' => 'abc', 'description' => 'xyz', 'descriptionformat' => FORMAT_PLAIN, 'parentid' => 999, 'path' => '/a/b/c', 'sortorder' => 12, 'id' => 1, 'timecreated' => 2, 'timemodified' => 3, 'usermodified' => 4, 'scaleid' => null, )
/lib/tests/persistent_test.php:2081$expected = (object) array('shortname' => '', 'idnumber' => null, 'description' => '', 'descriptionformat' => FORMAT_HTML, 'parentid' => 0, 'path' => '', 'sortorder' => null, 'id' => 0, 'timecreated' => 0, 'timemodified' => 0, 'usermodified' => 0, 'scaleid' => null, )
/lib/tests/persistent_test.php:1011$expected = array('shortname' => array('type' => PARAM_TEXT, 'default' => '', 'null' => NULL_NOT_ALLOWED), 'idnumber' => array('type' => PARAM_TEXT, 'null' => NULL_NOT_ALLOWED), 'description' => array('type' => PARAM_TEXT, 'default' => '', 'null' => NULL_NOT_ALLOWED), 'descriptionformat' => array('choices' => array(FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN), 'type' => PARAM_INT, 'default' => FORMAT_HTML, 'null' => NULL_NOT_ALLOWED), 'parentid' => array('type' => PARAM_INT, 'default' => 0, 'null' => NULL_NOT_ALLOWED), 'path' => array('type' => PARAM_RAW, 'default' => '', 'null' => NULL_NOT_ALLOWED), 'sortorder' => array('type' => PARAM_INT, 'message' => new lang_string('invalidrequest', 'error'), 'null' => NULL_NOT_ALLOWED), 'scaleid' => array('default' => null, 'type' => PARAM_INT, 'null' => NULL_ALLOWED), 'id' => array('default' => 0, 'type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED), 'timecreated' => array('default' => 0, 'type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED), 'timemodified' => array('default' => 0, 'type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED), 'usermodified' => array('default' => 0, 'type' => PARAM_INT, 'null' => NULL_NOT_ALLOWED), )
/lib/tests/oauth2_test.php:1231return [[(object) ['access_token' => 'fdas...', 'token_type' => 'Bearer', 'expires_in' => '3600', 'id_token' => 'llfsd..', ], HOURSECS - 10], [(object) ['access_token' => 'fdas...', 'token_type' => 'Bearer', 'id_token' => 'llfsd..', ], WEEKSECS], ]
/lib/tests/component_test.php:7981return ['Getting a file with underscores' => ['classname' => 'Test_With_Underscores', 'prefix' => "Test", 'path' => 'test/src', 'separators' => ['_'], 'result' => $CFG->dirroot . "/test/src/With/Underscores.php", ], 'Getting a file with slashes' => ['classname' => 'Test\\With\\Slashes', 'prefix' => "Test", 'path' => 'test/src', 'separators' => ['\\'], 'result' => $CFG->dirroot . "/test/src/With/Slashes.php", ], 'Getting a file with multiple namespaces' => ['classname' => 'Test\\With\\Multiple\\Namespaces', 'prefix' => "Test\\With", 'path' => 'test/src', 'separators' => ['\\'], 'result' => $CFG->dirroot . "/test/src/Multiple/Namespaces.php", ], 'Getting a file with multiple namespaces (non-existent)' => ['classname' => 'Nonexistent\\Namespace\\Test', 'prefix' => "Test", 'path' => 'test/src', 'separators' => ['\\'], 'result' => false, ], ]
/lib/tests/grades_external_test.php:1851$result = core_grades_external::update_grades('test', $course->id, 'mod_assign', $assigmentcm->id, 0, array(array('studentid' => $student1->id, 'grade' => $student1grade), array('studentid' => $student2->id, 'grade' => $student2grade)))
/lib/tests/ip_utils_test.php:951return [["*.com", true], ["*.example.com", true], ["*.example.com", true], ["*.sub.example.com", true], ["*.sub-domain.example-domain.com", true], ["*." . str_repeat('sub.', 60) . "example.com", true], ["*." . str_repeat('example', 9) . ".com", true], ["*com", false], ["*example.com", false], [" *.example.com", false], ["*.example.com ", false], ["*-example.com", false], ["*.-example.com", false], ["*.example.com/", false], ["sub.*.example.com", false], ["sub.*example.com", false], ["*.*.example.com", false], ["example.com", false], ["*." . str_repeat('sub.', 60) . "1example.com", false], ["*." . str_repeat('example', 9) . "1.com", false], ["*.example.com.", true], [".*.example.com.", false], ["*.香港", false], [null, false], ]
/lib/tests/ip_utils_test.php:451return [["com", true], ["i.net", true], ["0.org", true], ["0.a", true], ["0.1", false], ["example.com", true], ["sub.example.com", true], ["sub-domain.example-domain.net", true], ["123.com", true], ["123.a11", true], [str_repeat('sub.', 60) . "1-example.com", true], [str_repeat('example', 9) . ".com", true], ["localhost", true], [" example.com", false], ["example.com ", false], ["example.com/", false], ["*.example.com", false], ["*example.com", false], ["example.123", false], ["-example.com", false], ["example-.com", false], [".example.com", false], ["127.0.0.1", false], [str_repeat('sub.', 60) . "11-example.com", false], [str_repeat('example', 9) . "1.com", false], ["example.com.", true], [".example.com.", false], ["見.香港", false], [null, false], ]
/lib/tests/messagelib_test.php:9972$conversation = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id, $user3->id], 'Group project discussion', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/lib/tests/messagelib_test.php:9122$conversation = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id, $user3->id], 'Group project discussion', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/lib/tests/gradelib_test.php:2191return ['If the user is the last person to have modified the grade_item then show the date that it was graded' => [$g1, $u1, $d1, ], 'If there is no grade and there is no feedback, then show graded date as null' => [$g3, $u1, null, ], 'If the user is not the last person to have modified the grade_item, ' . 'and there is no submission date, then show the date that it was submitted' => [$g1, $u2, $d2, ], 'If the user is not the last person to have modified the grade_item, ' . 'but there is no submission date, then show the date that it was graded' => [$g2, $u2, $d1, ], 'If the user is the last person to have modified the grade_item, ' . 'and there is no submission date, then still show the date that it was graded' => [$g2, $u1, $d1, ], ]
/lib/tests/outputrequirementslib_test.php:3331return ['Provide a null argument' => [null, 'Coding error detected, it must be fixed by a programmer: ' . 'Invalid JS url, it has to be shortened url starting with / or moodle_url instance.'], 'Provide an internal absolute URL' => [$wwwroot . '/lib/javascript.php/1/h5p/js/embed.js', 'Coding error detected, it must be fixed by a programmer: ' . 'Invalid JS url, it has to be shortened url starting with / or moodle_url instance. ' . '(' . $wwwroot . '/lib/javascript.php/1/h5p/js/embed.js)'], 'Provide an external absolute URL' => ['https://maps.googleapis.com/maps/api/js?key=googlemapkey3&sensor=false', 'Coding error detected, it must be fixed by a programmer: ' . 'Invalid JS url, it has to be shortened url starting with / or moodle_url instance. ' . '(https://maps.googleapis.com/maps/api/js?key=googlemapkey3&sensor=false)'], 'A non-JS internal resource using an absolute URL' => [$wwwroot . '/theme/boost/pix/favicon.ico', 'Coding error detected, it must be fixed by a programmer: ' . 'Invalid JS url, it has to be shortened url starting with / or moodle_url instance. (' . $wwwroot . '/theme/boost/pix/favicon.ico)'], 'A non-existant internal resource using an absolute URL' => [$wwwroot . '/path/to/file.ext', 'Coding error detected, it must be fixed by a programmer: ' . 'Invalid JS url, it has to be shortened url starting with / or moodle_url instance. (' . $wwwroot . '/path/to/file.ext)'], 'A non-existant internal resource. WARN the developer!' => ['/path/to/file1.ext', 'Coding error detected, it must be fixed by a programmer: ' . 'Attempt to require a JavaScript file that does not exist. (/path/to/file1.ext)'], 'A non-existant internal resource using moodle_url. WARN the developer!' => [new \moodle_url('/path/to/file2.ext'), 'Coding error detected, it must be fixed by a programmer: ' . 'Attempt to require a JavaScript file that does not exist. (/path/to/file2.ext)'], ]
/lib/tests/outputrequirementslib_test.php:2601return ['Environment XML file' => ['/admin/environment.xml', 0, $wwwroot . $admin . 'environment.xml'], 'Data JS' => ['/mod/data/data.js', 1, $wwwroot . '/lib/javascript.php/1/mod/data/data.js'], 'SCORM Request JS' => ['/mod/scorm/request.js', 1, $wwwroot . '/lib/javascript.php/1/mod/scorm/request.js'], 'Wiki Editors Buttons JS' => ['/mod/wiki/editors/wiki/buttons.js', 1, $wwwroot . '/lib/javascript.php/1/mod/wiki/editors/wiki/buttons.js'], 'A non-JS internal resource' => ['/theme/boost/pix/favicon.ico', 0, $wwwroot . '/theme/boost/pix/favicon.ico'], 'A custom Moodle CSS Handler' => ['/mod/data/css.php?d=1234567890', 1, $wwwroot . '/mod/data/css.php?d=1234567890'], 'A custom Moodle JS Handler (slasharguments on)' => ['/mod/data/js.php?d=1234567890', 1, $wwwroot . '/mod/data/js.php?d=1234567890'], 'A custom Moodle JS Handler (slasharguments off)' => ['/mod/data/js.php?d=1234567890', 0, $wwwroot . '/mod/data/js.php?d=1234567890'], ]
/lib/tests/grouplib_test.php:19291$users = [1 => $generator->create_user( ), 2 => $generator->create_user( ), 3 => $generator->create_user( ), 4 => $generator->create_user( ), 5 => $generator->create_user( ), ]
/lib/tests/xhprof_test.php:871return ['sorted_case' => ['rundata' => array_flip(['A', 'A==>B', 'A==>C', 'A==>__Mustache4', 'B==>__Mustache1', '__Mustache1==>__Mustache2', '__Mustache4==>__Mustache2', '__Mustache4==>E', 'E==>F', 'C==>F', '__Mustache2==>F', '__Mustache2==>D', 'D==>__Mustache3', '__Mustache3==>F', ]), 'expectations' => ['topofirst' => 'A', 'topolast' => '__Mustache3==>F', 'topocount' => 14, 'topoorder' => [['before' => 'A==>C', 'after' => 'C==>F'], ['before' => 'D==>__Mustache3', 'after' => '__Mustache3==>F'], ], 'reducecount' => 8, 'reduceremoved' => ['__Mustache1==>__Mustache2', '__Mustache4==>__Mustache2', '__Mustache2==>F', '__Mustache2==>D', '__Mustache2==>D', '__Mustache3==>F', ], ], ], 'unsorted_case' => ['rundata' => array_flip(['A==>__Mustache4', '__Mustache3==>F', 'A==>B', 'A==>C', 'B==>__Mustache1', '__Mustache1==>__Mustache2', '__Mustache4==>__Mustache2', '__Mustache4==>E', 'E==>F', 'C==>F', '__Mustache2==>F', '__Mustache2==>D', 'D==>__Mustache3', 'A', ]), 'expectations' => ['topofirst' => 'A', 'topolast' => '__Mustache3==>F', 'topocount' => 14, 'topoorder' => [['before' => 'A==>C', 'after' => 'C==>F'], ['before' => 'D==>__Mustache3', 'after' => '__Mustache3==>F'], ], 'reducecount' => 8, 'reduceremoved' => ['__Mustache1==>__Mustache2', '__Mustache4==>__Mustache2', '__Mustache2==>F', '__Mustache2==>D', '__Mustache2==>D', '__Mustache3==>F', ], ], ], ]
/lib/tests/grouplib_test.php:23181$groups = ['all-p' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_ALL]), 'members-p' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_MEMBERS]), 'all-n' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_ALL, 'participation' => false]), 'members-n' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_MEMBERS, 'participation' => false]), 'own' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_OWN]), 'none' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_NONE]), ]
/lib/tests/grouplib_test.php:19451$groups = ['all' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_ALL]), 'members' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_MEMBERS]), 'own' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_OWN]), 'none' => $generator->create_group(['courseid' => $course->id, 'visibility' => GROUPS_VISIBILITY_NONE]), ]
/lib/tests/component_test.php:4711$expected = ['mod' => "$CFG->dirroot/mod", 'editor' => "$CFG->dirroot/lib/editor", 'tool' => "$CFG->dirroot/$CFG->admin/tool", 'local' => "$CFG->dirroot/local", ]
/lib/tests/param_test.php:431return [[PARAM_RAW, param::RAW], [PARAM_RAW_TRIMMED, param::RAW_TRIMMED], [PARAM_FLOAT, param::FLOAT], [PARAM_INT, param::INT], [param::RAW->value, param::RAW], [param::RAW_TRIMMED->value, param::RAW_TRIMMED], [param::FLOAT->value, param::FLOAT], [param::INT->value, param::INT], [param::COMPONENT->value, param::COMPONENT], [PARAM_INTEGER, param::INT], [PARAM_NUMBER, param::FLOAT], ]
/lib/tests/component_test.php:6781return ['PSR-0 Classloading - Root' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0_main', 'file' => "{$directory}psr0/main.php", ], 'PSR-0 Classloading - Sub namespace - underscores' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0_subnamespace_example', 'file' => "{$directory}psr0/subnamespace/example.php", ], 'PSR-0 Classloading - Sub namespace - slashes' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0\\subnamespace\\slashes', 'file' => "{$directory}psr0/subnamespace/slashes.php", ], 'PSR-0 Classloading - non-existent file' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0_subnamespace_nonexistent_file', 'file' => false, ], 'PSR-4 Classloading - Root' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\main', 'file' => "{$directory}psr4/main.php", ], 'PSR-4 Classloading - Sub namespace' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\subnamespace\\example', 'file' => "{$directory}psr4/subnamespace/example.php", ], 'PSR-4 Classloading - Ensure underscores are not converted to paths' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\subnamespace\\underscore_example', 'file' => "{$directory}psr4/subnamespace/underscore_example.php", ], 'PSR-4 Classloading - non-existent file' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\subnamespace\\nonexistent', 'file' => false, ], 'Overlap - Ensure no unexpected problems with PSR-4 when overlapping namespaces.' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'overlap\\subnamespace\\example', 'file' => "{$directory}overlap/subnamespace/example.php", ], 'Overlap - Ensure no unexpected problems with PSR-0 overlapping namespaces.' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'overlap_subnamespace_example2', 'file' => "{$directory}overlap/subnamespace/example2.php", ], 'PSR-4 namespaces can come from multiple sources - first source' => ['psr0' => $psr0, 'psr4' => ['Psr\\Http\\Message' => ['lib/psr/http-message/src', 'lib/psr/http-factory/src', ], ], 'classname' => 'Psr\Http\Message\ServerRequestInterface', 'includedfiles' => "{$dirroot}/lib/psr/http-message/src/ServerRequestInterface.php", ], 'PSR-4 namespaces can come from multiple sources - second source' => ['psr0' => [ ], 'psr4' => ['Psr\\Http\\Message' => ['lib/psr/http-message/src', 'lib/psr/http-factory/src', ], ], 'classname' => 'Psr\Http\Message\ServerRequestFactoryInterface', 'includedfiles' => "{$dirroot}/lib/psr/http-factory/src/ServerRequestFactoryInterface.php", ], ]
/lib/tests/component_test.php:5791return ['PSR-0 Classloading - Root' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0_main', 'includedfiles' => "{$directory}psr0/main.php", ], 'PSR-0 Classloading - Sub namespace - underscores' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0_subnamespace_example', 'includedfiles' => "{$directory}psr0/subnamespace/example.php", ], 'PSR-0 Classloading - Sub namespace - slashes' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr0\\subnamespace\\slashes', 'includedfiles' => "{$directory}psr0/subnamespace/slashes.php", ], 'PSR-4 Classloading - Root' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\main', 'includedfiles' => "{$directory}psr4/main.php", ], 'PSR-4 Classloading - Sub namespace' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\subnamespace\\example', 'includedfiles' => "{$directory}psr4/subnamespace/example.php", ], 'PSR-4 Classloading - Ensure underscores are not converted to paths' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'psr4\\subnamespace\\underscore_example', 'includedfiles' => "{$directory}psr4/subnamespace/underscore_example.php", ], 'Overlap - Ensure no unexpected problems with PSR-4 when overlapping namespaces.' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'overlap\\subnamespace\\example', 'includedfiles' => "{$directory}overlap/subnamespace/example.php", ], 'Overlap - Ensure no unexpected problems with PSR-0 overlapping namespaces.' => ['psr0' => $psr0, 'psr4' => $psr4, 'classname' => 'overlap_subnamespace_example2', 'includedfiles' => "{$directory}overlap/subnamespace/example2.php", ], ]
/lib/tests/scss_test.php:381return ["File import 1" => ["path" => "../test.php", "valid" => false], "File import 2" => ["path" => "../test.py", "valid" => false], "File import 3" => ["path" => $realroot . "/scss/moodle.scss", "valid" => true], "File import 4" => ["path" => $realroot . "/scss/../../../config.php", "valid" => false], "File import 5" => ["path" => "/../../../../etc/passwd", "valid" => false], "File import 6" => ["path" => "random", "valid" => false]]
/lib/tests/htmlpurifier_test.php:3781return $generatetestcases('Plain audio', $audioattrs + ['src="http://example.com/jam.wav"'], ['<audio %1$s>Looks like you can\'t slam the jams.</audio>', '<div class="text_to_html"><audio %1$s>Looks like you can\'t slam the jams.</audio></div>']) + $generatetestcases('Audio with one source', $audioattrs, ['<audio %1$s><source src="http://example.com/getup.wav">No tasty jams for you.</audio>', '<div class="text_to_html">' . '<audio %1$s>' . '<source src="http://example.com/getup.wav" />' . 'No tasty jams for you.' . '</audio>' . '</div>']) + $generatetestcases('Audio with multiple sources', $audioattrs, ['<audio %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav">' . '<source src="http://example.com/getup.mp3" type="audio/mpeg">' . '<source src="http://example.com/getup.ogg" type="audio/ogg">' . 'No tasty jams for you.' . '</audio>', '<div class="text_to_html">' . '<audio %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav" />' . '<source src="http://example.com/getup.mp3" type="audio/mpeg" />' . '<source src="http://example.com/getup.ogg" type="audio/ogg" />' . 'No tasty jams for you.' . '</audio>' . '</div>']) + $generatetestcases('Audio with sources and tracks', $audioattrs, ['<audio %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav">' . '<track kind="subtitles" src="http://example.com/subtitles_en.vtt" label="English" srclang="en">' . '<track kind="subtitles" src="http://example.com/subtitles_es.vtt" label="Espanol" srclang="es">' . 'No tasty jams for you.' . '</audio>', '<div class="text_to_html">' . '<audio %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav" />' . '<track kind="subtitles" src="http://example.com/subtitles_en.vtt" label="English" srclang="en" />' . '<track kind="subtitles" src="http://example.com/subtitles_es.vtt" label="Espanol" srclang="es" />' . 'No tasty jams for you.' . '</audio>' . '</div>']) + $generatetestcases('Plain video', $videoattrs + ['src="http://example.com/prettygood.mp4'], ['<video %1$s>Oh, that\'s pretty bad 😦</video>', '<div class="text_to_html"><video %1$s>Oh, that\'s pretty bad 😦</video></div>']) + $generatetestcases('Video with illegal subtag', $videoattrs + ['src="http://example.com/prettygood.mp4'], ['<video %1$s><subtag></subtag>Oh, that\'s pretty bad 😦</video>', '<div class="text_to_html"><video %1$s>Oh, that\'s pretty bad 😦</video></div>']) + $generatetestcases('Video with legal subtag', $videoattrs + ['src="http://example.com/prettygood.mp4'], ['<video %1$s>Did not work <a href="http://example.com/prettygood.mp4">click here to download</a></video>', '<div class="text_to_html"><video %1$s>Did not work <a href="http://example.com/prettygood.mp4">' . 'click here to download</a></video></div>']) + $generatetestcases('Video inside an inline tag', $videoattrs + ['src="http://example.com/prettygood.mp4'], ['<em><video %1$s>Oh, that\'s pretty bad 😦</video></em>', '<div class="text_to_html"><em><video %1$s>Oh, that\'s pretty bad 😦</video></em></div>']) + $generatetestcases('Video inside a block tag', $videoattrs + ['src="http://example.com/prettygood.mp4'], ['<p><video %1$s>Oh, that\'s pretty bad 😦</video></p>', '<div class="text_to_html"><p><video %1$s>Oh, that\'s pretty bad 😦</video></p></div>']) + $generatetestcases('Source tag without video or audio', $videoattrs, ['some text <source src="http://example.com/getup.wav" type="audio/wav"> the end', '<div class="text_to_html">some text the end</div>']) + $generatetestcases('Video with one source', $videoattrs, ['<video %1$s><source src="http://example.com/prettygood.mp4">Oh, that\'s pretty bad 😦</video>', '<div class="text_to_html">' . '<video %1$s>' . '<source src="http://example.com/prettygood.mp4" />' . 'Oh, that\'s pretty bad 😦' . '</video>' . '</div>']) + $generatetestcases('Video with multiple sources', $videoattrs, ['<video %1$s>' . '<source src="http://example.com/prettygood.mp4" type="video/mp4">' . '<source src="http://example.com/eljefe.mp4" type="video/mp4">' . '<source src="http://example.com/turnitup.mov" type="video/mov">' . 'Oh, that\'s pretty bad 😦' . '</video>', '<div class="text_to_html">' . '<video %1$s>' . '<source src="http://example.com/prettygood.mp4" type="video/mp4" />' . '<source src="http://example.com/eljefe.mp4" type="video/mp4" />' . '<source src="http://example.com/turnitup.mov" type="video/mov" />' . 'Oh, that\'s pretty bad 😦' . '</video>' . '</div>']) + $generatetestcases('Video with sources and tracks', $audioattrs, ['<video %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav">' . '<track kind="subtitles" src="http://example.com/subtitles_en.vtt" label="English" srclang="en">' . '<track kind="subtitles" src="http://example.com/subtitles_es.vtt" label="Espanol" srclang="es">' . 'No tasty jams for you.' . '</video>', '<div class="text_to_html">' . '<video %1$s>' . '<source src="http://example.com/getup.wav" type="audio/wav" />' . '<track kind="subtitles" src="http://example.com/subtitles_en.vtt" label="English" srclang="en" />' . '<track kind="subtitles" src="http://example.com/subtitles_es.vtt" label="Espanol" srclang="es" />' . 'No tasty jams for you.' . '</video>' . '</div>']) + ['Video with invalid crossorigin' => ['<video src="http://example.com/turnitup.mov" crossorigin="can i pls hab?">' . 'Oh, that\'s pretty bad 😦' . '</video>', '<div class="text_to_html">' . '<video src="http://example.com/turnitup.mov">' . 'Oh, that\'s pretty bad 😦' . '</video>' . '</div>']] + ['Audio with invalid crossorigin' => ['<audio src="http://example.com/getup.wav" crossorigin="give me. the jams.">' . 'nyemnyemnyem' . '</audio>', '<div class="text_to_html">' . '<audio src="http://example.com/getup.wav">' . 'nyemnyemnyem' . '</audio>' . '</div>']] + ['Other attributes' => ['<video src="http://example.com/turnitdown.mov" class="nofilter" data-something="data attribute" someattribute="somevalue" onclick="boom">' . '<source src="http://example.com/getup.wav" type="audio/wav" class="shouldberemoved" data-sourcedata="source data" onmouseover="kill session" />' . '<track src="http://example.com/subtitles_en.vtt" class="shouldberemoved" data-trackdata="track data" onmouseover="removeme" />' . 'Do not remove attribute class but remove other attributes' . '</video>', '<div class="text_to_html">' . '<video src="http://example.com/turnitdown.mov" class="nofilter">' . '<source src="http://example.com/getup.wav" type="audio/wav" />' . '<track src="http://example.com/subtitles_en.vtt" />' . 'Do not remove attribute class but remove other attributes' . '</video>' . '</div>']]
/lib/tests/filelib_test.php:17611$editor = ['itemid' => $draftitemid, 'text' => " <img src=\"{$CFG->wwwroot}/draftfile.php/{$usercontext->id}/user/draft/{$draftitemid}/file%203.png\" alt=\"\"> <img src=\"{$CFG->wwwroot}/draftfile.php/{$usercontext->id}/user/draft/{$draftitemid}/file1.png\" alt=\"\"> <span>{$CFG->wwwroot}/draftfile.php/{$usercontext->id}/user/draft/{$draftitemid}/file4.png</span>"]
/lib/tests/filelib_test.php:14131$filerecord = array('component' => 'user', 'filearea' => 'draft', 'itemid' => isset($filedata['itemid']) ? $filedata['itemid'] : file_get_unused_draft_itemid( ), 'author' => isset($filedata['author']) ? $filedata['author'] : fullname($USER), 'filepath' => isset($filedata['filepath']) ? $filedata['filepath'] : '/', 'filename' => isset($filedata['filename']) ? $filedata['filename'] : 'file.txt', )
/lib/tests/modinfolib_test.php:5741$mods[2] = $this->getDataGenerator( )->create_module('book', array('course' => $course->id, 'indent' => 5, 'availability' => $availabilityvalue, 'showdescription' => false, 'completion' => true, 'completionview' => true, 'completionexpected' => time( ) + 5000, ))
/lib/tests/filelib_test.php:18491$filerecord = ['component' => $file2->get_component( ), 'filearea' => $file2->get_filearea( ), 'itemid' => $file2->get_itemid( ), 'contextid' => $file2->get_contextid( ), 'filepath' => '/', 'filename' => $file2->get_filename( )]
/lib/tests/upgradelib_test.php:6661$newlettersscale = array(array('contextid' => $contextid, 'lowerboundary' => 90.00000, 'letter' => 'A'), array('contextid' => $contextid, 'lowerboundary' => 85.00000, 'letter' => 'A-'), array('contextid' => $contextid, 'lowerboundary' => 80.00000, 'letter' => 'B+'), array('contextid' => $contextid, 'lowerboundary' => 75.00000, 'letter' => 'B'), array('contextid' => $contextid, 'lowerboundary' => 70.00000, 'letter' => 'B-'), array('contextid' => $contextid, 'lowerboundary' => 65.00000, 'letter' => 'C+'), array('contextid' => $contextid, 'lowerboundary' => 54.00000, 'letter' => 'C'), array('contextid' => $contextid, 'lowerboundary' => 50.00000, 'letter' => 'C-'), array('contextid' => $contextid, 'lowerboundary' => 40.00000, 'letter' => 'D+'), array('contextid' => $contextid, 'lowerboundary' => 25.00000, 'letter' => 'D'), array('contextid' => $contextid, 'lowerboundary' => 0.00000, 'letter' => 'F'), )
/lib/tests/upgradelib_test.php:6381$newlettersscale = array(array('contextid' => $contextid, 'lowerboundary' => 90.00000, 'letter' => 'A'), array('contextid' => $contextid, 'lowerboundary' => 85.00000, 'letter' => 'A-'), array('contextid' => $contextid, 'lowerboundary' => 80.00000, 'letter' => 'B+'), array('contextid' => $contextid, 'lowerboundary' => 75.00000, 'letter' => 'B'), array('contextid' => $contextid, 'lowerboundary' => 70.00000, 'letter' => 'B-'), array('contextid' => $contextid, 'lowerboundary' => 65.00000, 'letter' => 'C+'), array('contextid' => $contextid, 'lowerboundary' => 57.00000, 'letter' => 'C'), array('contextid' => $contextid, 'lowerboundary' => 50.00000, 'letter' => 'C-'), array('contextid' => $contextid, 'lowerboundary' => 40.00000, 'letter' => 'D+'), array('contextid' => $contextid, 'lowerboundary' => 25.00000, 'letter' => 'D'), array('contextid' => $contextid, 'lowerboundary' => 0.00000, 'letter' => 'F'), )
/lib/tests/configonlylib_test.php:1901return ['Negative value' => [-1, false], 'Empty value' => [0, false], 'A time before the minimum accepted value' => [min_get_minimum_revision( ) - 1, false], 'The minimum accepted value' => [min_get_minimum_revision( ), true], 'The current time' => [time( ), true], 'A time in the future' => [time( ) + DAYSECS, false]]
/lib/tests/date_legacy_test.php:1992$ex = array('seconds' => $date[4], 'minutes' => $date[3], 'hours' => $date[2], 'mday' => $date[1], 'wday' => (int) $expected->format('w'), 'mon' => $date[0], 'year' => $year, 'yday' => (int) $expected->format('z'), 'weekday' => $expected->format('l'), 'month' => $expected->format('F'), )
/lib/tests/date_legacy_test.php:2262$ex = array('seconds' => $date[4], 'minutes' => $date[3], 'hours' => $date[2], 'mday' => $date[1], 'wday' => (int) $expected->format('w'), 'mon' => $date[0], 'year' => $year, 'yday' => (int) $expected->format('z'), 'weekday' => $expected->format('l'), 'month' => $expected->format('F'), )
/lib/tests/curl_security_helper_test.php:711return [[$simpledns, "http://localhost/x.png", "", "", false], [$simpledns, "http://localhost:80/x.png", "", "", false], [$simpledns, "https://localhost/x.png", "", "", false], [$simpledns, "http://localhost:443/x.png", "", "", false], [$simpledns, "localhost/x.png", "", "", false], [$simpledns, "localhost:443/x.png", "", "", false], [$simpledns, "http://127.0.0.1/x.png", "", "", false], [$simpledns, "127.0.0.1/x.png", "", "", false], [$simpledns, "http://localhost:8080/x.png", "", "", false], [$simpledns, "http://192.168.1.10/x.png", "", "", false], [$simpledns, "https://192.168.1.10/x.png", "", "", false], [$simpledns, "http://sub.example.com/x.png", "", "", false], [$simpledns, "http://s-1.d-1.com/x.png", "", "", false], [$simpledns, "http://localhost/x.png", "localhost", "", true], [$simpledns, "localhost/x.png", "localhost", "", true], [$simpledns, "localhost:0/x.png", "localhost", "", true], [$simpledns, "ftp://localhost/x.png", "localhost", "", true], [$simpledns, "http://sub.example.com/x.png", "localhost", "", false], [$simpledns, "http://example.com/x.png", "example.com", "", true], [$simpledns, "http://sub.example.com/x.png", "example.com", "", false], [$simpledns, "http://sub.example.com/x.png", "*.com", "", true], [$simpledns, "http://example.com/x.png", "*.example.com", "", false], [$simpledns, "http://sub.example.com/x.png", "*.example.com", "", true], [$simpledns, "http://sub.example.com/x.png", "*.sub.example.com", "", false], [$simpledns, "http://sub.example.com/x.png", "*.example", "", false], [$simpledns, "http://localhost/x.png", "127.0.0.1", "", true], [$simpledns, "http://127.0.0.1/x.png", "127.0.0.1", "", true], [$simpledns, "http://localhost/x.png", "127.0.0.0/24", "", true], [$simpledns, "http://127.0.0.1/x.png", "127.0.0.0/24", "", true], [$simpledns, "http://localhost/x.png", "127.0.0.0-30", "", true], [$simpledns, "http://127.0.0.1/x.png", "127.0.0.0-30", "", true], [$simpledns, "http://localhost/x.png", "", "80\n443", false], [$simpledns, "http://localhost:80/x.png", "", "80\n443", false], [$simpledns, "https://localhost/x.png", "", "80\n443", false], [$simpledns, "http://localhost:443/x.png", "", "80\n443", false], [$simpledns, "http://sub.example.com:8080/x.png", "", "80\n443", true], [$simpledns, "http://sub.example.com:-80/x.png", "", "80\n443", true], [$simpledns, "http://sub.example.com:aaa/x.png", "", "80\n443", true], [$simpledns, "http://localhost/x.png", "127.0.0.1", "80\n443", true], [$simpledns, "http://127.0.0.1/x.png", "127.0.0.1", "80\n443", true], [$multiplerecorddns, "http://sub.example.com", '1.2.3.4', "", true], [$multiplerecorddns, "http://sub.example.com", '5.6.7.8', "", true], [[ ], "http://example.com", "127.0.0.1", "", true], [$simpledns, "http://0.0.0.0/x.png", "0.0.0.0", "", true], [$simpledns, "http://2852039166/x.png", "169.254.169.254", "", true], [$simpledns, "http://169。254。169。254/", "127.0.0.1", "", true], [$simpledns, "http://169。254。169。254/", "1.2.3.4", "", true], [$simpledns, "http://169。254。169。254/", "127.0.0.1", "80\n443", true]]
/lib/tests/session_manager_test.php:8571return ['both same objects' => ['a' => ['example' => (object) ['array' => 'a']], 'b' => ['example' => (object) ['array' => 'a']], 'expected' => [ ], ], 'both same arrays' => ['a' => ['example' => ['array' => 'a']], 'b' => ['example' => ['array' => 'a']], 'expected' => [ ], ], 'both the same with nested objects' => ['a' => ['example' => (object) ['array' => 'a', 'deeper' => (object) [ ]]], 'b' => ['example' => (object) ['array' => 'a', 'deeper' => (object) [ ]]], 'expected' => [ ], ], 'first array larger' => ['a' => ['x' => 1, 'y' => 2], 'b' => ['x' => 1], 'expected' => ['y' => 2]], 'second array larger' => ['a' => ['x' => 1], 'b' => ['x' => 1, 'y' => 2], 'expected' => ['y' => 2]], 'objects with different values but same keys' => ['a' => ['example' => (object) ['array' => 'a']], 'b' => ['example' => $compareobjectb], 'expected' => ['example' => $compareobjectb]], 'different arrays with top level indexes' => ['a' => ['x', 'y'], 'b' => ['x', 'y', 'z'], 'expected' => [2 => 'z']], 'different types but same values as first level' => ['a' => ['example' => (object) ['array' => 'a']], 'b' => ['example' => ['array' => 'a']], 'expected' => ['example' => ['array' => 'a']]], 'different types but same values nested' => ['a' => ['example' => (object) ['array' => ['a' => 'test']]], 'b' => ['example' => (object) ['array' => (object) ['a' => 'test']]], 'expected' => [ ]]]
/lib/tests/upgrade_util_test.php:561return ['Not threadsafe - Valid SSL (GnuTLS)' => [['ssl_version' => 'GnuTLS/4.20'] + $base, self::PHP_ZTS_DISABLED, true], 'Not threadsafe - Valid SSL (OpenSSL)' => [['ssl_version' => 'OpenSSL'] + $base, self::PHP_ZTS_DISABLED, true], 'Not threadsafe - Valid SSL (WinSSL)' => [['ssl_version' => 'WinSSL'] + $base, self::PHP_ZTS_DISABLED, true], 'Not threadsafe - Invalid SSL' => [['ssl_version' => ''] + $base, self::PHP_ZTS_DISABLED, false], 'Threadsafe - Valid SSL (OpenSSL)' => [['ssl_version' => 'OpenSSL/1729'] + $base, self::PHP_ZTS_ENABLED, true], 'Threadsafe - Valid SSL (GnuTLS)' => [['ssl_version' => 'GnuTLS/3.14'] + $base, self::PHP_ZTS_ENABLED, true], 'Threadsafe - Invalid SSL' => [['ssl_version' => ''] + $base, self::PHP_ZTS_ENABLED, false], 'Threadsafe - Invalid SSL (but not empty)' => [['ssl_version' => 'Not GnuTLS or OpenSSL'] + $base, self::PHP_ZTS_ENABLED, false]]
/lib/tests/moodle_url_test.php:2751return ['With indexed array params' => ['url' => "@{$baseurl}/?tags[0]=123&tags[1]=456", 'expected' => [0 => ['name' => 'tags[0]', 'value' => '123'], 1 => ['name' => 'tags[1]', 'value' => '456']]], 'Without indexed array params' => ['url' => "@{$baseurl}/?tags[]=123&tags[]=456", 'expected' => [0 => ['name' => 'tags[0]', 'value' => '123'], 1 => ['name' => 'tags[1]', 'value' => '456']]], 'with no params' => ['url' => "@{$baseurl}/", 'expected' => [ ]], 'with no array params' => ['url' => "@{$baseurl}/?param1=1&param2=2&param3=3", 'expected' => [0 => ['name' => 'param1', 'value' => '1'], 1 => ['name' => 'param2', 'value' => '2'], 2 => ['name' => 'param3', 'value' => '3'], ]], 'array embedded with other params' => ['url' => "@{$baseurl}/?param1=1&tags[0]=123&tags[1]=456&param2=2&param3=3", 'expected' => [0 => ['name' => 'param1', 'value' => '1'], 1 => ['name' => 'tags[0]', 'value' => '123'], 2 => ['name' => 'tags[1]', 'value' => '456'], 3 => ['name' => 'param2', 'value' => '2'], 4 => ['name' => 'param3', 'value' => '3'], ]], 'params with array at the end' => ['url' => "@{$baseurl}/?param1=1&tags[]=123&tags[]=456", 'expected' => [0 => ['name' => 'param1', 'value' => '1'], 1 => ['name' => 'tags[0]', 'value' => '123'], 2 => ['name' => 'tags[1]', 'value' => '456'], ]], ]
/lib/tests/moodle_url_test.php:3491return ['Standard with slashargs' => ['slashargs' => true, 'args' => [1, 'mod_forum', 'posts', 422, '/my/location/', 'file.png', ], 'expected' => "@{$baseurl}/1/mod_forum/posts/422/my/location/file.png@", ], 'Standard without slashargs' => ['slashargs' => false, 'args' => [1, 'mod_forum', 'posts', 422, '/my/location/', 'file.png', ], 'expected' => "@{$baseurl}\?file=%2F1%2Fmod_forum%2Fposts%2F422%2Fmy%2Flocation%2Ffile.png@", ], 'Token included with slashargs' => ['slashargs' => true, 'args' => [1, 'mod_forum', 'posts', 422, '/my/location/', 'file.png', false, true, ], 'expected' => "@{$tokenbaseurl}/[^/]*/1/mod_forum/posts/422/my/location/file.png@", ], 'Token included without slashargs' => ['slashargs' => false, 'args' => [1, 'mod_forum', 'posts', 422, '/my/location/', 'file.png', false, true, ], 'expected' => "@{$tokenbaseurl}\?file=%2F1%2Fmod_forum%2Fposts%2F422%2Fmy%2Flocation%2Ffile.png&amp;token=[a-z0-9]*@", ], ]
/lib/tests/grading_external_test.php:5831$guidedefinition = array('method' => 'guide', 'name' => 'test', 'description' => '', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $teacher->id, 'timemodified' => 1, 'usermodified' => $teacher->id, 'timecopied' => 0)
/lib/tests/datalib_test.php:8211$record = ['username' => 'user_' . $key, 'firstname' => $key . '_first', 'lastname' => 'last_' . $key, 'department' => 'department_' . $key, 'profile_field_specialid' => 'special_' . $key, 'lastaccess' => ord($key)]
/lib/tests/datalib_test.php:9201return ['Valid option, no direction specified' => [$orderbymap, 'somecustomvalue', '', ' ORDER BY c.startdate, c.shortname', ], 'Valid option, valid direction specified' => [$orderbymap, 'courseid', 'DESC', ' ORDER BY c.id DESC', ], 'Valid option, valid lowercase direction specified' => [$orderbymap, 'courseid', 'asc', ' ORDER BY c.id ASC', ], 'Valid option, invalid direction specified' => [$orderbymap, 'courseid', 'BOOP', ' ORDER BY c.id', ], 'Valid option, invalid lowercase direction specified' => [$orderbymap, 'courseid', 'boop', ' ORDER BY c.id', ], 'Invalid option default fallback, with valid direction' => [$orderbymap, 'thisdoesnotexist', 'ASC', ' ORDER BY c.fullname ASC', ], 'Invalid option default fallback, with invalid direction' => [$orderbymap, 'thisdoesnotexist', 'BOOP', ' ORDER BY c.fullname', ], 'Invalid option without default, with valid direction' => [$orderbymapnodefault, 'thisdoesnotexist', 'ASC', '', ], 'Invalid option without default, with invalid direction' => [$orderbymapnodefault, 'thisdoesnotexist', 'NOPE', '', ], ]
/lib/tests/datalib_test.php:10081return ['Valid options, no directions specified' => [$orderbymap, ['courseid', 'firstname'], [ ], ' ORDER BY c.id, u.firstname', ], 'Valid options, some direction specified' => [$orderbymap, ['courseid', 'firstname'], ['DESC'], ' ORDER BY c.id DESC, u.firstname', ], 'Valid options, all directions specified' => [$orderbymap, ['courseid', 'firstname'], ['ASC', 'desc'], ' ORDER BY c.id ASC, u.firstname DESC', ], 'Valid options, valid and invalid directions specified' => [$orderbymap, ['courseid', 'firstname'], ['BOOP', 'DESC'], ' ORDER BY c.id, u.firstname DESC', ], 'Valid options, all invalid directions specified' => [$orderbymap, ['courseid', 'firstname'], ['BOOP', 'SNOOT'], ' ORDER BY c.id, u.firstname', ], 'Valid and invalid option default fallback, with valid directions' => [$orderbymap, ['thisdoesnotexist', 'courseid'], ['asc', 'DESC'], ' ORDER BY c.startdate ASC, c.id DESC', ], 'Valid and invalid option default fallback, with invalid direction' => [$orderbymap, ['courseid', 'thisdoesnotexist'], ['BOOP', 'SNOOT'], ' ORDER BY c.id, c.startdate', ], 'Valid and invalid option without default, with valid direction' => [$orderbymapnodefault, ['thisdoesnotexist', 'courseid'], ['ASC', 'DESC'], ' ORDER BY c.id DESC', ], 'Valid and invalid option without default, with invalid direction' => [$orderbymapnodefault, ['thisdoesnotexist', 'courseid'], ['BOOP', 'SNOOT'], ' ORDER BY c.id', ], 'Invalid option only without default, with valid direction' => [$orderbymapnodefault, ['thisdoesnotexist'], ['ASC'], '', ], 'Invalid option only without default, with invalid direction' => [$orderbymapnodefault, ['thisdoesnotexist'], ['BOOP'], '', ], 'Single valid option, direction specified' => [$orderbymap, ['firstname'], ['ASC'], ' ORDER BY u.firstname ASC', ], 'Single valid option, direction not specified' => [$orderbymap, ['firstname'], [ ], ' ORDER BY u.firstname', ], ]
/lib/tests/core_renderer_template_exploit_test.php:521return ['nested JS helper' => ['templates' => ['test' => '{{#testpix}} core, move, {{#js}} some nasty JS {{/js}}{{/testpix}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false], 'other nested helper' => ['templates' => ['test' => '{{#testpix}} core, move, {{#test1}} some text {{/test1}}{{/testpix}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $singlerender, 'test1' => $norender, ], 'js' => 'some nasty JS', 'expected' => 'core, move, some text', 'include' => false], 'double nested helper' => ['templates' => ['test' => '{{#testpix}} core, move, {{#test1}} some text {{#js}} some nasty JS {{/js}} {{/test1}}{{/testpix}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $singlerender, 'test1' => $norender, ], 'js' => 'some nasty JS', 'expected' => 'core, move, some text {{}}', 'include' => false], 'js helper not nested' => ['templates' => ['test' => '{{#testpix}} core, move, some text {{/testpix}}{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move, some text', 'include' => true], 'js in context not in helper' => ['templates' => ['test' => '{{#testpix}} core, move, {{/testpix}}{{hack}}', ], 'torender' => 'test', 'context' => ['hack' => '{{#js}} some nasty JS {{/js}}'], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move, {{#js}} some nasty JS {{/js}}', 'include' => false], 'js in context' => ['templates' => ['test' => '{{#testpix}} core, move, {{hack}}{{/testpix}}', ], 'torender' => 'test', 'context' => ['hack' => '{{#js}} some nasty JS {{/js}}'], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move, {{}}', 'include' => false], 'js in context double depth with single render' => ['templates' => ['test' => '{{#testpix}} core, move, {{first}}{{/testpix}}', ], 'torender' => 'test', 'context' => ['first' => '{{second}}', 'second' => '{{#js}} some nasty JS {{/js}}'], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move, {{second}}', 'include' => false], 'js in context double depth with recursive render' => ['templates' => ['test' => '{{#testpix}} core, move, {{first}}{{/testpix}}', ], 'torender' => 'test', 'context' => ['first' => '{{second}}', 'second' => '{{#js}} some nasty JS {{/js}}'], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false], 'partial' => ['templates' => ['test' => '{{#testpix}} core, move, blah{{/testpix}}, {{> test2}}', 'test2' => 'some content', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, blah, some content', 'include' => false], 'partial nested' => ['templates' => ['test' => '{{#testpix}} core, move, {{> test2}}{{/testpix}}', 'test2' => 'some content', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, some content', 'include' => false], 'partial with js' => ['templates' => ['test' => '{{#testpix}} core, move, blah{{/testpix}}, {{> test2}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, blah,', 'include' => true], 'partial nested with js' => ['templates' => ['test' => '{{#testpix}} core, move, {{> test2}}{{/testpix}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => [ ], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false], 'partial with js from context' => ['templates' => ['test' => '{{#testpix}} core, move, blah{{/testpix}}, {{{foo}}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => ['foo' => '{{> test2}}'], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, blah, {{> test2}}', 'include' => false], 'partial nested with js from context recursive render' => ['templates' => ['test' => '{{#testpix}} core, move, {{foo}}{{/testpix}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => ['foo' => '{{> test2}}'], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false], 'partial nested with js from context single render' => ['templates' => ['test' => '{{#testpix}} core, move, {{foo}}{{/testpix}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => ['foo' => '{{> test2}}'], 'helpers' => ['testpix' => $singlerender], 'js' => 'some nasty JS', 'expected' => 'core, move, {{&gt; test2}}', 'include' => false], 'partial double nested with js from context recursive render' => ['templates' => ['test' => '{{#testpix}} core, move, {{foo}}{{/testpix}}', 'test2' => '{{#js}} some nasty JS {{/js}}', ], 'torender' => 'test', 'context' => ['foo' => '{{bar}}', 'bar' => '{{> test2}}'], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false], 'array context depth 1' => ['templates' => ['test' => '{{#items}}{{#testpix}} core, move, {{.}}{{/testpix}}{{/items}}'], 'torender' => 'test', 'context' => ['items' => ['legit', '{{#js}}some nasty JS{{/js}}']], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, legit core, move,', 'include' => false], 'array context depth 2' => ['templates' => ['test' => '{{#items}}{{#subitems}}{{#testpix}} core, move, {{.}}{{/testpix}}{{/subitems}}{{/items}}'], 'torender' => 'test', 'context' => ['items' => [['subitems' => ['legit', '{{#js}}some nasty JS{{/js}}']], ]], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, legit core, move,', 'include' => false], 'object context depth 1' => ['templates' => ['test' => '{{#items}}{{#testpix}} core, move, {{.}}{{/testpix}}{{/items}}'], 'torender' => 'test', 'context' => (object) ['items' => ['legit', '{{#js}}some nasty JS{{/js}}']], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, legit core, move,', 'include' => false], 'object context depth 2' => ['templates' => ['test' => '{{#items}}{{#subitems}}{{#testpix}} core, move, {{.}}{{/testpix}}{{/subitems}}{{/items}}'], 'torender' => 'test', 'context' => (object) ['items' => [(object) ['subitems' => ['legit', '{{#js}}some nasty JS{{/js}}']], ]], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move, legit core, move,', 'include' => false], 'change delimeters' => ['templates' => ['test' => '{{#testpix}} core, move, {{{foo}}}{{/testpix}}'], 'torender' => 'test', 'context' => ['foo' => '{{=<% %>=}} <%#js%>some nasty JS,<%/js%>'], 'helpers' => ['testpix' => $recursiverender], 'js' => 'some nasty JS', 'expected' => 'core, move,', 'include' => false]]
/lib/tests/navigationlib_test.php:6451return ['The navigation node has an action link.' => [navigation_node::create('Node', new action_link(new \moodle_url('/'), '', new popup_action('click', new \moodle_url('/'))), navigation_node::TYPE_SETTING), true], 'The navigation node does not have an action link.' => [navigation_node::create('Node', new \moodle_url('/'), navigation_node::TYPE_SETTING), false], ]
/lib/tests/navigationlib_test.php:6761$expected = (object) ['id' => $node->action->attributes['id'], 'event' => $node->action->actions[0]->event, 'jsfunction' => $node->action->actions[0]->jsfunction, 'jsfunctionargs' => json_encode($node->action->actions[0]->jsfunctionargs)]
/lib/tests/navigationlib_test.php:6981return ['The navigation node has an action link with an action attached.' => [navigation_node::create('Node', new action_link(new \moodle_url('/'), '', new popup_action('click', new \moodle_url('/'))), navigation_node::TYPE_SETTING), ], 'The navigation node has an action link without an action.' => [navigation_node::create('Node', new action_link(new \moodle_url('/'), '', null), navigation_node::TYPE_SETTING), ], 'The navigation node does not have an action link.' => [navigation_node::create('Node', new \moodle_url('/'), navigation_node::TYPE_SETTING), ], ]
/lib/tests/grading_external_test.php:852$rubricdefinition = array('areaid' => $areaid, 'method' => 'rubric', 'name' => 'test', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $USER->id, 'timemodified' => 1, 'usermodified' => $USER->id, 'timecopied' => 0)
/lib/tests/statslib_test.php:1391$this->replacements = array('[start_0]' => $start - 14410, '[start_1]' => $start + 14410, '[start_2]' => $start + 14420, '[start_3]' => $start + 14430, '[start_4]' => $start + 100800, '[end]' => stats_get_next_day_start($start), '[end_no_logs]' => stats_get_next_day_start($startnolog), '[guest_id]' => $guest->id, '[user1_id]' => $user1->id, '[user2_id]' => $user2->id, '[course1_id]' => $course1->id, '[site_id]' => SITEID, '[frontpage_roleid]' => (int) $CFG->defaultfrontpageroleid, '[guest_roleid]' => $gr->id, '[student_roleid]' => $studentrole->id, )
/lib/tests/context_block_test.php:691$blocks[] = $DB->insert_record('block_instances', ['blockname' => 'calendar_month', 'parentcontextid' => $context->id, 'showinsubcontexts' => 1, 'requiredbytheme' => 0, 'pagetypepattern' => 'my-index', 'subpagepattern' => 1, 'defaultregion' => 'content', 'defaultweight' => 1, 'timecreated' => time( ), 'timemodified' => time( ), ])
/lib/tests/context_block_test.php:561$contextlist = [\context_system::instance( ), \context_user::instance($user->id), \context_coursecat::instance($coursecat->id), \context_course::instance($course->id), \context_module::instance($activity->cmid), ]
/lib/tests/grading_external_test.php:4982$rubricdefinition = array('id' => $definition->id, 'method' => 'rubric', 'name' => 'test changed', 'description' => '', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $teacher->id, 'timemodified' => 1, 'usermodified' => $teacher->id, 'timecopied' => 0)
/lib/tests/grading_external_test.php:4232$rubricdefinition = array('id' => $definition->id, 'method' => 'rubric', 'name' => 'test changed', 'description' => '', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $teacher->id, 'timemodified' => 1, 'usermodified' => $teacher->id, 'timecopied' => 0)
/lib/tests/grading_external_test.php:3451$rubricdefinition = array('method' => 'rubric', 'name' => 'test', 'description' => '', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $teacher->id, 'timemodified' => 1, 'usermodified' => $teacher->id, 'timecopied' => 0)
/lib/tests/grading_external_test.php:2412$rubricdefinition = array('areaid' => $areaid, 'method' => 'rubric', 'name' => 'test', 'status' => 20, 'copiedfromid' => 1, 'timecreated' => 1, 'usercreated' => $USER->id, 'timemodified' => 1, 'usermodified' => $USER->id, 'timecopied' => 0)
/lib/tests/client_test.php:871$dataset = ["name" => (object) ["firstname" => "John", "lastname" => "Doe", ], "contact" => (object) ["email" => "john@example.com", "phone" => (object) ["mobile" => "010000000", "home" => "020000000"], ], "picture" => [["url" => "www.google.com", "description" => "This is a URL", ], ["url" => "www.facebook.com", "description" => "This is another URL", ]]]
/lib/tests/moodlelib_test.php:53211$PERF->locks = [(object) ['type' => 'phpunit', 'resource' => 'lock1', 'wait' => 0.59, 'success' => true, 'held' => '6.04'], (object) ['type' => 'phpunit', 'resource' => 'lock2', 'wait' => 0.91, 'success' => false]]
/lib/tests/moodlelib_test.php:46401return ['integer' => [386, false, ], 'boolean' => [true, false, ], 'static_method_as_literal' => ['my_foobar_class::my_foobar_method', 'my_foobar_class::my_foobar_method', ], 'static_method_of_literal_class' => [['my_foobar_class', 'my_foobar_method'], 'my_foobar_class::my_foobar_method', ], 'static_method_of_object' => [[$this, 'my_foobar_method'], 'core\moodlelib_test::my_foobar_method', ], 'method_of_object' => [[new lang_string('parentlanguage', 'core_langconfig'), 'my_foobar_method'], 'lang_string::my_foobar_method', ], 'function_as_literal' => ['my_foobar_callback', 'my_foobar_callback', ], 'function_as_closure' => [function ($a) { /**/ } , 'Closure::__invoke', ], ]
/lib/tests/moodlelib_test.php:45951return ['empty array' => [[ ], 0, ], 'string value' => [['one'], 1, ], 'string values' => [['one', 'two'], 2, ], 'arrays' => [[[ ], [ ]], 2, ], 'nulls' => [[null, null, null, null], 4, ], 'mixed' => [['a', 1, null, (object) [ ], [ ]], 5, ], ]
/lib/tests/moodlelib_test.php:38511return [[0, ''], [4, 'one two three four'], [1, "a'b"], [1, '1+1=2'], [1, ' one-sided '], [2, 'one&nbsp;two'], [1, 'email@example.com'], [2, 'first\part second/part'], [4, '<p>one two<br></br>three four</p>'], [4, '<p>one two<br>three four</p>'], [4, '<p>one two<br />three four</p>'], [3, ' one ... three '], [1, 'just...one'], [3, ' one & three '], [1, 'just&one'], [2, 'em—dash'], [2, 'en–dash'], [4, '1³ £2 €3.45 $6,789'], [2, 'ブルース カンベッル'], [4, '<p>one two</p><p>three four</p>'], [4, '<p>one two</p><p><br/></p><p>three four</p>'], [4, '<p>one</p><ul><li>two</li><li>three</li></ul><p>four.</p>'], [1, '<p>em<b>phas</b>is.</p>'], [1, '<p>em<i>phas</i>is.</p>'], [1, '<p>em<strong>phas</strong>is.</p>'], [1, '<p>em<em>phas</em>is.</p>'], [2, "one\ntwo"], [2, "one\rtwo"], [2, "one\ttwo"], [2, "one\vtwo"], [2, "one\ftwo"], [1, "SO<sub>4</sub><sup>2-</sup>"], [6, '4+4=8 i.e. O(1) a,b,c,d I’m black&blue_really'], [1, '<span>a</span><span>b</span>'], [1, '<span>a</span><span>b</span>', FORMAT_PLAIN], [1, '<span>a</span><span>b</span>', FORMAT_HTML], [1, '<span>a</span><span>b</span>', FORMAT_MOODLE], [1, '<span>a</span><span>b</span>', FORMAT_MARKDOWN], [1, 'aa <argh <bleh>pokus</bleh>'], [2, 'aa <argh <bleh>pokus</bleh>', FORMAT_HTML], [6, $copypasted], [6, $copypasted, FORMAT_PLAIN], [3, $copypasted, FORMAT_HTML], [3, $copypasted, FORMAT_MOODLE], ]
/lib/tests/moodlelib_test.php:35881return ["Simple name" => ["username" => "simplename", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/simplename"], "Period in between words in username" => ["username" => "period.inbetween", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/period%2Einbetween"], "Trailing periods in username" => ["username" => "trailingperiods...", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/trailingperiods%2E%2E%2E"], "At symbol in username" => ["username" => "at@symbol", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/at%40symbol"], "Dash symbol in username" => ["username" => "has-dash", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/has-dash"], "Underscore in username" => ["username" => "under_score", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/under_score"], "Many different characters in username" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => null, "expected" => $CFG->wwwroot . "/login/confirm.php?data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom relative confirmation url" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => "/custom/local/url.php", "expected" => $CFG->wwwroot . "/custom/local/url.php?data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom relative confirmation url with parameters" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => "/custom/local/url.php?with=param", "expected" => $CFG->wwwroot . "/custom/local/url.php?with=param&data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom local confirmation url" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => $CFG->wwwroot . "/custom/local/url.php", "expected" => $CFG->wwwroot . "/custom/local/url.php?data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom local confirmation url with parameters" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => $CFG->wwwroot . "/custom/local/url.php?with=param", "expected" => $CFG->wwwroot . "/custom/local/url.php?with=param&data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom external confirmation url" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => "http://moodle.org/custom/external/url.php", "expected" => "http://moodle.org/custom/external/url.php?data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom external confirmation url with parameters" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => "http://moodle.org/ext.php?with=some&param=eters", "expected" => "http://moodle.org/ext.php?with=some&param=eters&data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], "Custom external confirmation url with parameters" => ["username" => "many_-.@characters@_@-..-..", "confirmationurl" => "http://moodle.org/ext.php?with=some&data=test", "expected" => "http://moodle.org/ext.php?with=some&data=/many_-%2E%40characters%40_%40-%2E%2E-%2E%2E"], ]
/lib/tests/moodlelib_test.php:43861return [['email' => 'fromuser@example.com', 'config' => '', 'result' => false], ['email' => 'fromuser@example.com', 'config' => 'example.com test.com', 'result' => get_string('emailnotallowed', '', 'example.com test.com')], ['email' => 'fromuser@example.com', 'config' => 'EXAMPLE.com test.com', 'result' => get_string('emailnotallowed', '', 'EXAMPLE.com test.com')], ['email' => 'fromuser@EXAMPLE.com', 'config' => 'example.com test.com', 'result' => get_string('emailnotallowed', '', 'example.com test.com')], ['email' => 'fromuser@something.example.com', 'config' => '.example.com test.com', 'result' => get_string('emailnotallowed', '', '.example.com test.com')], ['email' => 'fromuser@something.example.com', 'config' => '.EXAMPLE.com test.com', 'result' => get_string('emailnotallowed', '', '.EXAMPLE.com test.com')], ['email' => 'fromuser@something.EXAMPLE.com', 'config' => '.example.com test.com', 'result' => get_string('emailnotallowed', '', '.example.com test.com')], ['email' => 'fromuser@moodle.com', 'config' => 'example.com test.com', 'result' => false], ['email' => 'fromuser@something.example.com', 'config' => 'example.com test.com', 'result' => false], ]
/lib/tests/moodlelib_test.php:43071return [['email' => 'fromuser@example.com', 'config' => '', 'result' => false], ['email' => 'fromuser@example.com', 'config' => 'example.com test.com', 'result' => false], ['email' => 'fromuser@example.com', 'config' => 'EXAMPLE.com test.com', 'result' => false], ['email' => 'fromuser@EXAMPLE.com', 'config' => 'example.com test.com', 'result' => false], ['email' => 'fromuser@something.example.com', 'config' => '.example.com test.com', 'result' => false], ['email' => 'fromuser@something.example.com', 'config' => '.EXAMPLE.com test.com', 'result' => false], ['email' => 'fromuser@something.EXAMPLE.com', 'config' => '.example.com test.com', 'result' => false], ['email' => 'fromuser@moodle.com', 'config' => 'example.com test.com', 'result' => get_string('emailonlyallowed', '', 'example.com test.com')], ['email' => 'fromuser@something.example.com', 'config' => 'example.com test.com', 'result' => get_string('emailonlyallowed', '', 'example.com test.com')], ]
/lib/tests/moodlelib_test.php:12241return ['Empty array without hash' => [[ ], null, [ ], false, ], 'Empty array with hash' => [[ ], null, [ ], true, ], 'Array with less than 100 characters' => [[$shortfilename, $shortfilename, $shortfilename], null, [$shortfilename, $shortfilename, $shortfilename], false, ], 'Array with more than 100 characters without hash' => [[$longfilename, $longfilename, $longfilename], null, [$expected, $expected, $expected], false, ], 'Array with more than 100 characters with hash' => [[$longfilename, $longfilename, $longfilename], null, [$expectedwithhash, $expectedwithhash, $expectedwithhash], true, ], 'Array with more than 100 characters with extension' => [[$extfilename, $extfilename, $extfilename], null, [$expectedext, $expectedext, $expectedext], false, ], 'Array with more than 100 characters with extension and hash' => [[$extfilename, $extfilename, $extfilename], null, [$expectedextwithhash, $expectedextwithhash, $expectedextwithhash], true, ], 'Array with more than 100 characters mix (short, long, with extension) without hash' => [[$shortfilename, $longfilename, $extfilename], null, [$shortfilename, $expected, $expectedext], false, ], 'Array with more than 100 characters mix (short, long, with extension) with hash' => [[$shortfilename, $longfilename, $extfilename], null, [$shortfilename, $expectedwithhash, $expectedextwithhash], true, ], 'Array with less than 50 characters without hash' => [[$longfilename, $longfilename, $longfilename], 50, [$expected50, $expected50, $expected50], false, ], 'Array with less than 50 characters with hash' => [[$longfilename, $longfilename, $longfilename], 50, [$expected50withhash, $expected50withhash, $expected50withhash], true, ], 'Array with less than 50 characters with extension' => [[$extfilename, $extfilename, $extfilename], 50, [$expected50ext, $expected50ext, $expected50ext], false, ], 'Array with less than 50 characters with extension and hash' => [[$extfilename, $extfilename, $extfilename], 50, [$expected50extwithhash, $expected50extwithhash, $expected50extwithhash], true, ], 'Array with less than 50 characters mix (short, long, with extension) without hash' => [[$shortfilename, $longfilename, $extfilename], 50, [$expected50, $expected50, $expected50ext], false, ], 'Array with less than 50 characters mix (short, long, with extension) with hash' => [[$shortfilename, $longfilename, $extfilename], 50, [$expected50short, $expected50withhash, $expected50extwithhash], true, ], ]
/lib/tests/moodlelib_test.php:11111return ['More than 100 characters' => [$filename, null, 'sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium tot', false, ], 'More than 100 characters with hash' => [$filename, null, 'sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque l - 3bec1da8b8', true, ], 'More than 100 characters with extension' => ["{$filename}.zip", null, 'sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium tot.zip', false, ], 'More than 100 characters with extension and hash' => ["{$filename}.zip", null, 'sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque l - 3bec1da8b8.zip', true, ], 'Limit filename to 50 chars' => [$filename, 50, 'sed ut perspiciatis unde omnis iste natus error si', false, ], 'Limit filename to 50 chars with hash' => [$filename, 50, 'sed ut perspiciatis unde omnis iste n - 3bec1da8b8', true, ], 'Limit filename to 50 chars with extension' => ["{$filename}.zip", 50, 'sed ut perspiciatis unde omnis iste natus error si.zip', false, ], 'Limit filename to 50 chars with extension and hash' => ["{$filename}.zip", 50, 'sed ut perspiciatis unde omnis iste n - 3bec1da8b8.zip', true, ], 'Test filename that contains less than 100 characters' => [$shortfilename, null, $shortfilename, false, ], 'Test filename that contains less than 100 characters and hash' => [$shortfilename, null, $shortfilename, true, ], 'Test filename that contains less than 100 characters with extension' => ["{$shortfilename}.zip", null, "{$shortfilename}.zip", false, ], 'Test filename that contains less than 100 characters with extension and hash' => ["{$shortfilename}.zip", null, "{$shortfilename}.zip", true, ], ]
/lib/tests/moodlelib_test.php:34731return ['cachedir' => [$CFG->cachedir], 'dataroot' => [$CFG->dataroot], 'dirroot' => [$CFG->dirroot], 'localcachedir' => [$CFG->localcachedir], 'tempdir' => [$CFG->tempdir], 'localrequestdir_request_directory' => [make_request_directory( )], 'localrequestdir_request_storage_directory' => [get_request_storage_directory( )], 'relative' => [null]]
/lib/tests/moodlelib_test.php:24521$ar = array('id' => $obj->id, 'contextlevel' => $obj->contextlevel, 'instanceid' => $obj->instanceid, 'path' => $obj->path, 'depth' => $obj->depth, 'locked' => $obj->locked, )
/lib/dml/tests/dml_test.php:7051$overlapparams = array('p' => $rec1->id, 'param1' => $rec1->{$intnearmax}, 'param2' => $rec1->{$decnearmax}, $nearmaxparam => $rec1->{$strnearmax}, $maxparam => $rec1->{$intmax}, 'param_' => $rec1->{$decmax}, 'param__' => $rec1->{$strmax})
/lib/dml/tests/dml_table_test.php:1061return ['single table' => ['fieldlist' => ['id' => ['id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE, null], 'course' => ['course', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, '0'], 'flag' => ['flag', XMLDB_TYPE_CHAR, '255', null, null, null, 'lala'], ], 'primarykey' => 'id', 'prefix' => 's', 'result' => (object) ['sid' => 1, 'scourse' => 42, 'sflag' => 'foo', ], 'expectedrecord' => (object) ['id' => 1, 'course' => 42, 'flag' => 'foo', ], ], 'single table amongst others' => ['fieldlist' => ['id' => ['id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE, null], 'course' => ['course', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, '0'], 'flag' => ['flag', XMLDB_TYPE_CHAR, '255', null, null, null, 'lala'], ], 'primarykey' => 'id', 'prefix' => 's', 'result' => (object) ['sid' => 1, 'scourse' => 42, 'sflag' => 'foo', 'oid' => 'id', 'ocourse' => 'course', 'oflag' => 'flag', ], 'expectedrecord' => (object) ['id' => 1, 'course' => 42, 'flag' => 'foo', ], ], ]
/lib/dml/tests/dml_test.php:50831$result = array(3 => (object) array('id' => 3, 'course' => 5, 'name' => 'def'), 1 => (object) array('id' => 1, 'course' => 3, 'name' => 'xyz'), 4 => (object) array('id' => 4, 'course' => 2, 'name' => 'abc'), 2 => (object) array('id' => 2, 'course' => 3, 'name' => 'abc'))
/lib/dml/tests/dml_test.php:50701$result = array('mid' => (object) array('casecol' => 'mid', 'countrecs' => 1, 'maxname' => 'def'), 'last' => (object) array('casecol' => 'last', 'countrecs' => 1, 'maxname' => 'xyz'), 'first' => (object) array('casecol' => 'first', 'countrecs' => 2, 'maxname' => 'abc'))
/lib/google/src/Google/Service/Replicapool.php:2871$this->zoneOperations = new Google_Service_Replicapool_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Replicapool.php:651$this->instanceGroupManagers = new Google_Service_Replicapool_InstanceGroupManagers_Resource($this, $this->serviceName, 'instanceGroupManagers', array('methods' => array('abandonInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'deleteInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/instanceGroupManagers', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'size' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/instanceGroupManagers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'recreateInstances' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resize' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'size' => array('location' => 'query', 'type' => 'integer', 'required' => true, ), ), ), 'setInstanceTemplate' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setTargetPools' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/dml/sqlsrv_native_moodle_database.php:2111$options = ['UID' => $this->dbuser, 'PWD' => $this->dbpass, 'Database' => $this->dbname, 'CharacterSet' => 'UTF-8', 'MultipleActiveResultSets' => true, 'ConnectionPooling' => !empty($this->dboptions['dbpersist']), 'ReturnDatesAsStrings' => true, ]
/lib/dml/sqlite3_pdo_moodle_database.php:2211$columninfo = array('name' => strtolower($row['name']), 'not_null' => (boolean) $row['notnull'], 'primary_key' => (boolean) $row['pk'], 'has_default' => !is_null($row['dflt_value']), 'default_value' => $row['dflt_value'], 'auto_increment' => false, 'binary' => false, )
/lib/google/src/Google/Service/Licensing.php:541$this->licenseAssignments = new Google_Service_Licensing_LicenseAssignments_Resource($this, $this->serviceName, 'licenseAssignments', array('methods' => array('delete' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => '{productId}/sku/{skuId}/user', 'httpMethod' => 'POST', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'listForProduct' => array('path' => '{productId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listForProductAndSku' => array('path' => '{productId}/sku/{skuId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PATCH', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PUT', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Autoscaler.php:601$this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource($this, $this->serviceName, 'autoscalers', array('methods' => array('delete' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{project}/zones/{zone}/autoscalers', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/zones/{zone}/autoscalers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Autoscaler.php:1921$this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('delete' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Autoscaler.php:2691$this->zones = new Google_Service_Autoscaler_Zones_Resource($this, $this->serviceName, 'zones', array('methods' => array('list' => array('path' => '{project}/zones', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:3841$this->associationsessions = new Google_Service_AdSenseHost_Associationsessions_Resource($this, $this->serviceName, 'associationsessions', array('methods' => array('start' => array('path' => 'associationsessions/start', 'httpMethod' => 'GET', 'parameters' => array('productCode' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), 'websiteUrl' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'websiteLocale' => array('location' => 'query', 'type' => 'string', ), 'userLocale' => array('location' => 'query', 'type' => 'string', ), ), ), 'verify' => array('path' => 'associationsessions/verify', 'httpMethod' => 'GET', 'parameters' => array('token' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:4281$this->customchannels = new Google_Service_AdSenseHost_Customchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('delete' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'DELETE', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'POST', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'PATCH', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'customChannelId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'PUT', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:5211$this->reports = new Google_Service_AdSenseHost_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('startDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:5781$this->urlchannels = new Google_Service_AdSenseHost_Urlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('delete' => array('path' => 'adclients/{adClientId}/urlchannels/{urlChannelId}', 'httpMethod' => 'DELETE', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'urlChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'adclients/{adClientId}/urlchannels', 'httpMethod' => 'POST', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:941$this->accounts_adclients = new Google_Service_AdSenseHost_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/adclients', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:1371$this->accounts_adunits = new Google_Service_AdSenseHost_AccountsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('delete' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getAdCode' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'hostCustomChannelId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), 'insert' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'includeInactive' => array('location' => 'query', 'type' => 'boolean', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adUnitId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:2891$this->accounts_reports = new Google_Service_AdSenseHost_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:3511$this->adclients = new Google_Service_AdSenseHost_Adclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('get' => array('path' => 'adclients/{adClientId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'adclients', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:6821$this->users = new Google_Service_SQLAdmin_Users_Resource($this, $this->serviceName, 'users', array('methods' => array('delete' => array('path' => 'projects/{project}/instances/{instance}/users', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'host' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'name' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{project}/instances/{instance}/users', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/instances/{instance}/users', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{project}/instances/{instance}/users', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'host' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'name' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Resourceviews.php:711$this->zoneOperations = new Google_Service_Resourceviews_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Resourceviews.php:1281$this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource($this, $this->serviceName, 'zoneViews', array('methods' => array('addResources' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'getService' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}/getService', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceName' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => '{project}/zones/{zone}/resourceViews', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => '{project}/zones/{zone}/resourceViews', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'listResources' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}/resources', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'listState' => array('location' => 'query', 'type' => 'string', ), 'format' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'serviceName' => array('location' => 'query', 'type' => 'string', ), ), ), 'removeResources' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'setService' => array('path' => '{project}/zones/{zone}/resourceViews/{resourceView}/setService', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'resourceView' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/AdSenseHost.php:631$this->accounts = new Google_Service_AdSenseHost_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array('filterAdClientId' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:6621$this->tiers = new Google_Service_SQLAdmin_Tiers_Resource($this, $this->serviceName, 'tiers', array('methods' => array('list' => array('path' => 'projects/{project}/tiers', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:5671$this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource($this, $this->serviceName, 'sslCerts', array('methods' => array('createEphemeral' => array('path' => 'projects/{project}/instances/{instance}/createEphemeral', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sha1Fingerprint' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sha1Fingerprint' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{project}/instances/{instance}/sslCerts', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/instances/{instance}/sslCerts', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:5191$this->operations = new Google_Service_SQLAdmin_Operations_Resource($this, $this->serviceName, 'operations', array('methods' => array('get' => array('path' => 'projects/{project}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:2711$this->instances = new Google_Service_SQLAdmin_Instances_Resource($this, $this->serviceName, 'instances', array('methods' => array('clone' => array('path' => 'projects/{project}/instances/{instance}/clone', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'projects/{project}/instances/{instance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'export' => array('path' => 'projects/{project}/instances/{instance}/export', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'failover' => array('path' => 'projects/{project}/instances/{instance}/failover', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{project}/instances/{instance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'import' => array('path' => 'projects/{project}/instances/{instance}/import', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{project}/instances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'projects/{project}/instances/{instance}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'promoteReplica' => array('path' => 'projects/{project}/instances/{instance}/promoteReplica', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'resetSslConfig' => array('path' => 'projects/{project}/instances/{instance}/resetSslConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'restart' => array('path' => 'projects/{project}/instances/{instance}/restart', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'restoreBackup' => array('path' => 'projects/{project}/instances/{instance}/restoreBackup', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'startReplica' => array('path' => 'projects/{project}/instances/{instance}/startReplica', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'stopReplica' => array('path' => 'projects/{project}/instances/{instance}/stopReplica', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{project}/instances/{instance}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:1371$this->databases = new Google_Service_SQLAdmin_Databases_Resource($this, $this->serviceName, 'databases', array('methods' => array('delete' => array('path' => 'projects/{project}/instances/{instance}/databases/{database}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'database' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{project}/instances/{instance}/databases/{database}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'database' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'projects/{project}/instances/{instance}/databases', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/instances/{instance}/databases', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'patch' => array('path' => 'projects/{project}/instances/{instance}/databases/{database}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'database' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'projects/{project}/instances/{instance}/databases/{database}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'database' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/SQLAdmin.php:641$this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource($this, $this->serviceName, 'backupRuns', array('methods' => array('delete' => array('path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'projects/{project}/instances/{instance}/backupRuns', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/Pubsub.php:1291$this->topics = new Google_Service_Pubsub_Topics_Resource($this, $this->serviceName, 'topics', array('methods' => array('create' => array('path' => 'topics', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'topics/{+topic}', 'httpMethod' => 'DELETE', 'parameters' => array('topic' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'topics/{+topic}', 'httpMethod' => 'GET', 'parameters' => array('topic' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'topics', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'query' => array('location' => 'query', 'type' => 'string', ), ), ), 'publish' => array('path' => 'topics/publish', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'publishBatch' => array('path' => 'topics/publishBatch', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Pubsub.php:581$this->subscriptions = new Google_Service_Pubsub_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('acknowledge' => array('path' => 'subscriptions/acknowledge', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'create' => array('path' => 'subscriptions', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'subscriptions/{+subscription}', 'httpMethod' => 'DELETE', 'parameters' => array('subscription' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'subscriptions/{+subscription}', 'httpMethod' => 'GET', 'parameters' => array('subscription' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'query' => array('location' => 'query', 'type' => 'string', ), ), ), 'modifyAckDeadline' => array('path' => 'subscriptions/modifyAckDeadline', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'modifyPushConfig' => array('path' => 'subscriptions/modifyPushConfig', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'pull' => array('path' => 'subscriptions/pull', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'pullBatch' => array('path' => 'subscriptions/pullBatch', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Classroom.php:4111$this->userProfiles = new Google_Service_Classroom_UserProfiles_Resource($this, $this->serviceName, 'userProfiles', array('methods' => array('get' => array('path' => 'v1/userProfiles/{userId}', 'httpMethod' => 'GET', 'parameters' => array('userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Classroom.php:3461$this->invitations = new Google_Service_Classroom_Invitations_Resource($this, $this->serviceName, 'invitations', array('methods' => array('accept' => array('path' => 'v1/invitations/{id}:accept', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'create' => array('path' => 'v1/invitations', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/invitations/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/invitations/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/invitations', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'userId' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Classroom.php:2781$this->courses_teachers = new Google_Service_Classroom_CoursesTeachers_Resource($this, $this->serviceName, 'teachers', array('methods' => array('create' => array('path' => 'v1/courses/{courseId}/teachers', 'httpMethod' => 'POST', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1/courses/{courseId}/teachers/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/courses/{courseId}/teachers/{userId}', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/courses/{courseId}/teachers', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Classroom.php:2061$this->courses_students = new Google_Service_Classroom_CoursesStudents_Resource($this, $this->serviceName, 'students', array('methods' => array('create' => array('path' => 'v1/courses/{courseId}/students', 'httpMethod' => 'POST', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'enrollmentCode' => array('location' => 'query', 'type' => 'string', ), ), ), 'delete' => array('path' => 'v1/courses/{courseId}/students/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/courses/{courseId}/students/{userId}', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/courses/{courseId}/students', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Classroom.php:1531$this->courses_aliases = new Google_Service_Classroom_CoursesAliases_Resource($this, $this->serviceName, 'aliases', array('methods' => array('create' => array('path' => 'v1/courses/{courseId}/aliases', 'httpMethod' => 'POST', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'v1/courses/{courseId}/aliases/{alias}', 'httpMethod' => 'DELETE', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'alias' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/courses/{courseId}/aliases', 'httpMethod' => 'GET', 'parameters' => array('courseId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Classroom.php:741$this->courses = new Google_Service_Classroom_Courses_Resource($this, $this->serviceName, 'courses', array('methods' => array('create' => array('path' => 'v1/courses', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'delete' => array('path' => 'v1/courses/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'v1/courses/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'v1/courses', 'httpMethod' => 'GET', 'parameters' => array('teacherId' => array('location' => 'query', 'type' => 'string', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'studentId' => array('location' => 'query', 'type' => 'string', ), 'pageSize' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'v1/courses/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'v1/courses/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/IdentityToolkit.php:521$this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource($this, $this->serviceName, 'relyingparty', array('methods' => array('createAuthUri' => array('path' => 'createAuthUri', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'deleteAccount' => array('path' => 'deleteAccount', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'downloadAccount' => array('path' => 'downloadAccount', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'getAccountInfo' => array('path' => 'getAccountInfo', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'getOobConfirmationCode' => array('path' => 'getOobConfirmationCode', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'getPublicKeys' => array('path' => 'publicKeys', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'getRecaptchaParam' => array('path' => 'getRecaptchaParam', 'httpMethod' => 'GET', 'parameters' => array( ), ), 'resetPassword' => array('path' => 'resetPassword', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'setAccountInfo' => array('path' => 'setAccountInfo', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'uploadAccount' => array('path' => 'uploadAccount', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'verifyAssertion' => array('path' => 'verifyAssertion', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'verifyPassword' => array('path' => 'verifyPassword', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:5331$this->template = new Google_Service_Fusiontables_Template_Resource($this, $this->serviceName, 'template', array('methods' => array('delete' => array('path' => 'tables/{tableId}/templates/{templateId}', 'httpMethod' => 'DELETE', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}/templates/{templateId}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'insert' => array('path' => 'tables/{tableId}/templates', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'tables/{tableId}/templates', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'tables/{tableId}/templates/{templateId}', 'httpMethod' => 'PATCH', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => 'tables/{tableId}/templates/{templateId}', 'httpMethod' => 'PUT', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'templateId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:3041$this->table = new Google_Service_Fusiontables_Table_Resource($this, $this->serviceName, 'table', array('methods' => array('copy' => array('path' => 'tables/{tableId}/copy', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'copyPresentation' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'delete' => array('path' => 'tables/{tableId}', 'httpMethod' => 'DELETE', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'importRows' => array('path' => 'tables/{tableId}/import', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startLine' => array('location' => 'query', 'type' => 'integer', ), 'isStrict' => array('location' => 'query', 'type' => 'boolean', ), 'encoding' => array('location' => 'query', 'type' => 'string', ), 'delimiter' => array('location' => 'query', 'type' => 'string', ), 'endLine' => array('location' => 'query', 'type' => 'integer', ), ), ), 'importTable' => array('path' => 'tables/import', 'httpMethod' => 'POST', 'parameters' => array('name' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'delimiter' => array('location' => 'query', 'type' => 'string', ), 'encoding' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'tables', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'list' => array('path' => 'tables', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'tables/{tableId}', 'httpMethod' => 'PATCH', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replaceViewDefinition' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'replaceRows' => array('path' => 'tables/{tableId}/replace', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'startLine' => array('location' => 'query', 'type' => 'integer', ), 'isStrict' => array('location' => 'query', 'type' => 'boolean', ), 'encoding' => array('location' => 'query', 'type' => 'string', ), 'delimiter' => array('location' => 'query', 'type' => 'string', ), 'endLine' => array('location' => 'query', 'type' => 'integer', ), ), ), 'update' => array('path' => 'tables/{tableId}', 'httpMethod' => 'PUT', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'replaceViewDefinition' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:4711$this->task = new Google_Service_Fusiontables_Task_Resource($this, $this->serviceName, 'task', array('methods' => array('delete' => array('path' => 'tables/{tableId}/tasks/{taskId}', 'httpMethod' => 'DELETE', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}/tasks/{taskId}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'taskId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'tables/{tableId}/tasks', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'startIndex' => array('location' => 'query', 'type' => 'integer', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:1601$this->query = new Google_Service_Fusiontables_Query_Resource($this, $this->serviceName, 'query', array('methods' => array('sql' => array('path' => 'query', 'httpMethod' => 'POST', 'parameters' => array('sql' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'typed' => array('location' => 'query', 'type' => 'boolean', ), 'hdrs' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'sqlGet' => array('path' => 'query', 'httpMethod' => 'GET', 'parameters' => array('sql' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'typed' => array('location' => 'query', 'type' => 'boolean', ), 'hdrs' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:2061$this->style = new Google_Service_Fusiontables_Style_Resource($this, $this->serviceName, 'style', array('methods' => array('delete' => array('path' => 'tables/{tableId}/styles/{styleId}', 'httpMethod' => 'DELETE', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'styleId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}/styles/{styleId}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'styleId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'insert' => array('path' => 'tables/{tableId}/styles', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'tables/{tableId}/styles', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'tables/{tableId}/styles/{styleId}', 'httpMethod' => 'PATCH', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'styleId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), 'update' => array('path' => 'tables/{tableId}/styles/{styleId}', 'httpMethod' => 'PUT', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'styleId' => array('location' => 'path', 'type' => 'integer', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Admin.php:541$this->mail = new Google_Service_Admin_Mail_Resource($this, $this->serviceName, 'mail', array('methods' => array('insert' => array('path' => '{userKey}/mail', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Fusiontables.php:621$this->column = new Google_Service_Fusiontables_Column_Resource($this, $this->serviceName, 'column', array('methods' => array('delete' => array('path' => 'tables/{tableId}/columns/{columnId}', 'httpMethod' => 'DELETE', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'columnId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'tables/{tableId}/columns/{columnId}', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'columnId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'insert' => array('path' => 'tables/{tableId}/columns', 'httpMethod' => 'POST', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'tables/{tableId}/columns', 'httpMethod' => 'GET', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), ), ), 'patch' => array('path' => 'tables/{tableId}/columns/{columnId}', 'httpMethod' => 'PATCH', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'columnId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'update' => array('path' => 'tables/{tableId}/columns/{columnId}', 'httpMethod' => 'PUT', 'parameters' => array('tableId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'columnId' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Webmasters.php:1941$this->urlcrawlerrorscounts = new Google_Service_Webmasters_Urlcrawlerrorscounts_Resource($this, $this->serviceName, 'urlcrawlerrorscounts', array('methods' => array('query' => array('path' => 'sites/{siteUrl}/urlCrawlErrorsCounts/query', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'category' => array('location' => 'query', 'type' => 'string', ), 'platform' => array('location' => 'query', 'type' => 'string', ), 'latestCountsOnly' => array('location' => 'query', 'type' => 'boolean', ), ), ), )))
/lib/google/src/Google/Service/Webmasters.php:2261$this->urlcrawlerrorssamples = new Google_Service_Webmasters_Urlcrawlerrorssamples_Resource($this, $this->serviceName, 'urlcrawlerrorssamples', array('methods' => array('get' => array('path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'url' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'category' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'platform' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'sites/{siteUrl}/urlCrawlErrorsSamples', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'category' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'platform' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'markAsFixed' => array('path' => 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', 'httpMethod' => 'DELETE', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'url' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'category' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'platform' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Webmasters.php:811$this->sitemaps = new Google_Service_Webmasters_Sitemaps_Resource($this, $this->serviceName, 'sitemaps', array('methods' => array('delete' => array('path' => 'sites/{siteUrl}/sitemaps/{feedpath}', 'httpMethod' => 'DELETE', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'feedpath' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'sites/{siteUrl}/sitemaps/{feedpath}', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'feedpath' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'sites/{siteUrl}/sitemaps', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'sitemapIndex' => array('location' => 'query', 'type' => 'string', ), ), ), 'submit' => array('path' => 'sites/{siteUrl}/sitemaps/{feedpath}', 'httpMethod' => 'PUT', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), 'feedpath' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/Webmasters.php:1501$this->sites = new Google_Service_Webmasters_Sites_Resource($this, $this->serviceName, 'sites', array('methods' => array('add' => array('path' => 'sites/{siteUrl}', 'httpMethod' => 'PUT', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'delete' => array('path' => 'sites/{siteUrl}', 'httpMethod' => 'DELETE', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'get' => array('path' => 'sites/{siteUrl}', 'httpMethod' => 'GET', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), 'list' => array('path' => 'sites', 'httpMethod' => 'GET', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Cloudlatencytest.php:541$this->statscollection = new Google_Service_Cloudlatencytest_Statscollection_Resource($this, $this->serviceName, 'statscollection', array('methods' => array('updateaggregatedstats' => array('path' => 'updateaggregatedstats', 'httpMethod' => 'POST', 'parameters' => array( ), ), 'updatestats' => array('path' => 'updatestats', 'httpMethod' => 'POST', 'parameters' => array( ), ), )))
/lib/google/src/Google/Service/Webmasters.php:611$this->searchanalytics = new Google_Service_Webmasters_Searchanalytics_Resource($this, $this->serviceName, 'searchanalytics', array('methods' => array('query' => array('path' => 'sites/{siteUrl}/searchAnalytics/query', 'httpMethod' => 'POST', 'parameters' => array('siteUrl' => array('location' => 'path', 'type' => 'string', 'required' => true, ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:15071$this->videos = new Google_Service_YouTube_Videos_Resource($this, $this->serviceName, 'videos', array('methods' => array('delete' => array('path' => 'videos', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'getRating' => array('path' => 'videos/getRating', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'insert' => array('path' => 'videos', 'httpMethod' => 'POST', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'stabilize' => array('location' => 'query', 'type' => 'boolean', ), 'onBehalfOfContentOwnerChannel' => array('location' => 'query', 'type' => 'string', ), 'notifySubscribers' => array('location' => 'query', 'type' => 'boolean', ), 'autoLevels' => array('location' => 'query', 'type' => 'boolean', ), ), ), 'list' => array('path' => 'videos', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), 'regionCode' => array('location' => 'query', 'type' => 'string', ), 'locale' => array('location' => 'query', 'type' => 'string', ), 'videoCategoryId' => array('location' => 'query', 'type' => 'string', ), 'chart' => array('location' => 'query', 'type' => 'string', ), 'maxResults' => array('location' => 'query', 'type' => 'integer', ), 'pageToken' => array('location' => 'query', 'type' => 'string', ), 'hl' => array('location' => 'query', 'type' => 'string', ), 'myRating' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), ), ), 'rate' => array('path' => 'videos/rate', 'httpMethod' => 'POST', 'parameters' => array('id' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'rating' => array('location' => 'query', 'type' => 'string', 'required' => true, ), ), ), 'reportAbuse' => array('path' => 'videos/reportAbuse', 'httpMethod' => 'POST', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'update' => array('path' => 'videos', 'httpMethod' => 'PUT', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:16631$this->watermarks = new Google_Service_YouTube_Watermarks_Resource($this, $this->serviceName, 'watermarks', array('methods' => array('set' => array('path' => 'watermarks/set', 'httpMethod' => 'POST', 'parameters' => array('channelId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), 'unset' => array('path' => 'watermarks/unset', 'httpMethod' => 'POST', 'parameters' => array('channelId' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:14511$this->videoAbuseReportReasons = new Google_Service_YouTube_VideoAbuseReportReasons_Resource($this, $this->serviceName, 'videoAbuseReportReasons', array('methods' => array('list' => array('path' => 'videoAbuseReportReasons', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'hl' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/lib/google/src/Google/Service/YouTube.php:14751$this->videoCategories = new Google_Service_YouTube_VideoCategories_Resource($this, $this->serviceName, 'videoCategories', array('methods' => array('list' => array('path' => 'videoCategories', 'httpMethod' => 'GET', 'parameters' => array('part' => array('location' => 'query', 'type' => 'string', 'required' => true, ), 'regionCode' => array('location' => 'query', 'type' => 'string', ), 'id' => array('location' => 'query', 'type' => 'string', ), 'hl' => array('location' => 'query', 'type' => 'string', ), ), ), )))
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:7991$attempt = (object) array('id' => '21', 'uniqueid' => '21', 'quiz' => '6', 'userid' => '7', 'attempt' => '2', 'sumgrades' => '0.00000', 'timestart' => '1309103130', 'timefinish' => '1309103136', 'timemodified' => '1309103136', 'layout' => '30,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:7682$quiz = (object) array('id' => '6', 'course' => '3', 'name' => 'Simply quiz', 'intro' => '<p>One quiz with 1 true/false Q</p>', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '10.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1309103209', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:8711$qstates = array(313 => (object) array('id' => '313', 'attempt' => '21', 'question' => '30', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1309103130', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 314 => (object) array('id' => '314', 'attempt' => '21', 'question' => '30', 'seq_number' => '1', 'answer' => '54', 'timestamp' => '1309103132', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '10.0000000', ), 315 => (object) array('id' => '315', 'attempt' => '21', 'question' => '30', 'seq_number' => '2', 'answer' => '54', 'timestamp' => '1309103132', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '10.0000000', ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:8122$question = (object) array('id' => '30', 'category' => '10', 'parent' => '0', 'name' => '1 + 1 = 2 ?', 'questiontext' => '<p>1 +1 = 2 ?</p>', 'questiontextformat' => '1', 'generalfeedback' => '<p>this is general feedback</p>', 'generalfeedbackformat' => '1', 'penalty' => '1.0000000', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => '127.0.0.1+110626154410+wFrWwP', 'version' => '127.0.0.1+110626154410+u7CoaA', 'hidden' => '0', 'timecreated' => '1309103050', 'timemodified' => '1309103050', 'createdby' => '6', 'modifiedby' => '6', 'maxmark' => '10.0000000', 'options' => (object) array('id' => '4', 'question' => '30', 'trueanswer' => '53', 'falseanswer' => '54', 'answers' => array(53 => (object) array('id' => '53', 'question' => '30', 'answer' => 'True', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '<p>this is correct (for true) feedback</p>', 'feedbackformat' => '1', ), 54 => (object) array('id' => '54', 'question' => '30', 'answer' => 'False', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '<p>this is incorrect (for false) feedback</p>', 'feedbackformat' => '1', ), ), ), 'defaultmark' => '1.0000000', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:9571$quiz = (object) array('id' => '1', 'course' => '2', 'name' => 'Test Quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'adaptive', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '1.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1309441728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:9121$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 30, 'variant' => 1, 'maxmark' => 10.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => '1 +1 = 2 ?', 'rightanswer' => 'True', 'responsesummary' => 'False', 'timemodified' => 1309103132, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1309103130, 'userid' => 7, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1309103132, 'userid' => 7, 'data' => array('answer' => '0'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedwrong', 'fraction' => 0.0, 'timecreated' => 1309103132, 'userid' => 7, 'data' => array('answer' => 0, '-finish' => 1, '-_try' => 1, '-_rawfraction' => 0), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:10071$question = (object) array('id' => '1', 'category' => '2', 'parent' => '0', 'name' => 'Does 1 + 1 = 2?', 'questiontext' => '', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '1.0000000', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => 'localhost:8888+110630134237+QzfsHZ', 'version' => 'localhost:8888+110630134237+IaYGE6', 'hidden' => '0', 'timecreated' => '1309441357', 'timemodified' => '1309441357', 'createdby' => '3', 'modifiedby' => '3', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '1', 'question' => '1', 'trueanswer' => '1', 'falseanswer' => '2', 'answers' => array(1 => (object) array('id' => '1', 'question' => '1', 'answer' => 'True', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', ), 2 => (object) array('id' => '2', 'question' => '1', 'answer' => 'False', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', ), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:9941$attempt = (object) array('id' => '3', 'uniqueid' => '3', 'quiz' => '1', 'userid' => '4', 'attempt' => '2', 'sumgrades' => null, 'timestart' => '1309441460', 'timefinish' => '1309441471', 'timemodified' => '1309441969', 'layout' => '1,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:11071$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 1, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => '', 'rightanswer' => 'True', 'responsesummary' => 'True', 'timemodified' => 1309441463, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1309441460, 'userid' => 4, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => 1, 'timecreated' => 1309441463, 'userid' => 4, 'data' => array('answer' => 1, '-submit' => 1, '-_try' => 1, '-_rawfraction' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1309441463, 'userid' => 4, 'data' => array('answer' => 1, '-finish' => 1, '-_try' => 1, '-_rawfraction' => 1), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:10661$qstates = array(5 => (object) array('id' => '5', 'attempt' => '3', 'question' => '1', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1309441460', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 6 => (object) array('id' => '6', 'attempt' => '3', 'question' => '1', 'seq_number' => '1', 'answer' => '1', 'timestamp' => '1309441463', 'event' => '3', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '1.0000000', ), 7 => (object) array('id' => '7', 'attempt' => '3', 'question' => '1', 'seq_number' => '1', 'answer' => '1', 'timestamp' => '1309441463', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '1.0000000', ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '1', 'course' => '3', 'name' => 'Test quiz 1', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questionsperpage' => '0', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'timecreated' => '0', 'timemodified' => '1278603396', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'sumgrades' => '1.00000', 'grade' => '10.00000', 'questiondecimalpoints' => '-1', 'showuserpicture' => '0', 'introformat' => '0', 'preferredbehaviour' => 'deferredfeedback', 'reviewattempt' => '69904', 'reviewcorrectness' => '69904', 'reviewmarks' => '69904', 'reviewspecificfeedback' => '69904', 'reviewgeneralfeedback' => '69904', 'reviewrightanswer' => '69904', 'reviewoverallfeedback' => '4368', )
/question/type/ddimageortext/tests/form/edit_form_test.php:741$submitteddata = ['category' => $category->id, 'bgimage' => '', 'nodropzone' => 0, 'noitems' => 5, 'drags' => [['dragitemtype' => 'image'], ['dragitemtype' => 'image'], ['dragitemtype' => 'word'], ['dragitemtype' => 'word'], ['dragitemtype' => 'word'], ], 'dragitem' => [0, 0, 0, 0, 0, ], 'draglabel' => ['frog', '<b>toad</b>', 'cat', '<span lang="fr"><b>chien</b></span>', '<textarea>evil!</textarea>', ], ]
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:891$question = (object) array('id' => '2', 'category' => '2', 'parent' => '0', 'name' => 'Which is the amphibian', 'questiontext' => 'Which is the amphibian?', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev.open.ac.uk+100708154547+JrHygi', 'version' => 'tjh238.vledev.open.ac.uk+100708154548+a3zh8v', 'hidden' => '0', 'timecreated' => '1278603947', 'timemodified' => '1278603947', 'createdby' => '3', 'modifiedby' => '3', 'defaultmark' => '1.0000000', 'penalty' => '0.3333333', 'maxmark' => '1.00000', 'options' => (object) array('id' => '1', 'question' => '2', 'layout' => '0', 'answers' => array(3 => (object) array('question' => '2', 'answer' => 'Cat', 'feedback' => '', 'fraction' => '0.0000000', 'id' => 3, ), 4 => (object) array('question' => '2', 'answer' => 'Frog', 'feedback' => '', 'fraction' => '1.0000000', 'id' => 4, ), 5 => (object) array('question' => '2', 'answer' => 'Ant', 'feedback' => '', 'fraction' => '0.0000000', 'id' => 5, ), 6 => (object) array('question' => '2', 'answer' => 'Dog', 'feedback' => '', 'fraction' => '0.0000000', 'id' => 6, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'none', 'showstandardinstruction' => 0, 'shownumcorrect' => '0', ), 'hints' => array(1 => (object) array('hint' => 'First hint', 'questionid' => '2', 'shownumcorrect' => null, 'clearwrong' => null, 'options' => null, 'id' => 1, ), 2 => (object) array('hint' => 'Second hint', 'questionid' => '2', 'shownumcorrect' => null, 'clearwrong' => null, 'options' => null, 'id' => 2, ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:761$attempt = (object) array('id' => '2', 'uniqueid' => '2', 'quiz' => '2', 'userid' => '4', 'attempt' => '1', 'timestart' => '1278604557', 'timefinish' => '1278604570', 'timemodified' => '1278604597', 'layout' => '2,0', 'preview' => '0', 'sumgrades' => '0.90000', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:2271$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 2, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Which is the amphibian?', 'rightanswer' => 'Frog', 'responsesummary' => 'Frog', 'timemodified' => 1278604597, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1278604557, 'userid' => 4, 'data' => array('_order' => '5,4,6,3'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1278604562, 'userid' => 4, 'data' => array('-finish' => '1', 'answer' => '1'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'mangrpartial', 'fraction' => 0.9, 'timecreated' => 1278604597, 'userid' => null, 'data' => array('-comment' => 'Well done!', '-mark' => '0.9', '-maxmark' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:1831$qstates = array(0 => (object) array('id' => '4', 'attempt' => '2', 'question' => '2', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '5,4,6,3:', 'timestamp' => '1278604557', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', ), 1 => (object) array('id' => '5', 'attempt' => '2', 'question' => '2', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '5,4,6,3:4', 'timestamp' => '1278604562', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.3333333', ), 2 => (object) array('id' => '6', 'attempt' => '2', 'question' => '2', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '5,4,6,3:4', 'timestamp' => '1278604597', 'event' => '9', 'grade' => '0.9', 'raw_grade' => '0.9', 'penalty' => '0', ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:1801$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 3865, 'variant' => 1, 'maxmark' => 5, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'The term ‘integration server’ is another name for an application server, true or false?', 'rightanswer' => 'False', 'responsesummary' => 'False', 'timemodified' => 1177841361, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1177841172, 'userid' => 1888, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177841361, 'userid' => 1888, 'data' => array('answer' => 0), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1177841361, 'userid' => 1888, 'data' => array('answer' => 0, '-finish' => 1), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:2241$quiz = (object) array('id' => '551', 'course' => '2828', 'name' => 'Unit 4 Quiz', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '4', 'grade' => '4', 'timecreated' => '0', 'timemodified' => '1190277883', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:2551$attempt = (object) array('id' => '23226', 'uniqueid' => '23226', 'quiz' => '551', 'userid' => '80300', 'attempt' => '2', 'sumgrades' => '0', 'timestart' => '1200326384', 'timefinish' => '0', 'timemodified' => '1200326384', 'layout' => '9043,0,9057,0,9062,0,9241,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:2681$question = (object) array('id' => '9062', 'category' => '481', 'parent' => '0', 'name' => 'U04_NA_In viaggio_Q3', 'questiontext' => '<p><img title="my market" height="336" alt="my market" hspace="0" src="http://learnacct.open.ac.uk/file.php/2828/Naples_My_market.jpg" /></p> <p>What can you buy in this shop? Is this list accurate?</p> <p><br />Mark true or false (for the list as a whole).</p> <p><i>single tickets</i></p> <p><i>weekly season tickets</i></p> <p><i>monthly season tickets</i></p> <p><i>wine and grappa</i></p> <p><i>fruit and vegetables</i></p> <p><i>tobacco </i></p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070820163735+PqUlDM', 'version' => 'learn.open.ac.uk+080304160318+owhQUb', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '1204646598', 'createdby' => null, 'modifiedby' => '97230', 'unlimited' => '0', 'maxmark' => '1', 'options' => (object) array('id' => '199', 'question' => '9062', 'trueanswer' => '28221', 'falseanswer' => '28222', 'answers' => array(28221 => (object) array('question' => '9062', 'answer' => 'True', 'fraction' => '0', 'feedback' => '<p>The correct answer is \'false\'. The only items on the list not sold at My Market are tobacco and weekly season tickets. It sells everything else! <br /><em>Biglietto unico</em> is a single ticket for bus, funicular railway or metro (underground) while <em>abbonamento mensile</em> is a monthly season ticket.<br />The shop also sells wine and grappa, as you can see them in the window, and fruit and vegetables as it says in the sign. Small shops in Naples often sell a variety of things, not always connected! </p>', 'id' => 28221, ), 28222 => (object) array('question' => '9062', 'answer' => 'False', 'fraction' => '1', 'feedback' => 'The correct anstwer is \'false\'. The only items on the list not sold at My Market are tobacco and weekly season tickets. It sells everything else! <em>Biglietto</em> <em>unico</em> is a single ticket for bus, funicular railway or metro (underground) while \'abbonamento mensile\' is a monthly season ticket. It also sells wine and grappa, as you can see them in the window, and fruit and vegetables as it says in the sign! Small shops in Naples often sell a variety of things, not always connected! ', 'id' => 28222, ), ), ), 'hints' => false, )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:3351$qstates = array(848426 => (object) array('attempt' => '23226', 'question' => '9062', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1200326384', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 848426, ), 848428 => (object) array('attempt' => '23226', 'question' => '9062', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '28221', 'timestamp' => '1200326384', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 848428, ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:3661$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 9062, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "[my market] \n\nWhat can you buy in this shop? Is this list accurate? \n\nMark true or false (for the list as a whole). \n\n_single tickets_ \n\n_weekly season tickets_ \n\n_monthly season tickets_ \n\n_wine and grappa_ \n\n_fruit and vegetables_ \n\n_tobacco _", 'rightanswer' => 'False', 'responsesummary' => 'True', 'timemodified' => 1200326384, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1200326384, 'userid' => 80300, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1200326384, 'userid' => 80300, 'data' => array('answer' => 1), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:4021$quiz = (object) array('id' => '3', 'course' => '1095', 'name' => 'Introduction quiz', 'intro' => 'Use this self-assessment quiz after you have read the course introduction. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1150107000', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '0', 'shufflequestions' => '1', 'shuffleanswers' => '1', 'sumgrades' => '9', 'grade' => '9', 'timecreated' => '0', 'timemodified' => '1150127779', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:4331$attempt = (object) array('id' => '19', 'uniqueid' => '19', 'quiz' => '3', 'userid' => '49542', 'attempt' => '1', 'sumgrades' => '9', 'timestart' => '1150301292', 'timefinish' => '1150301347', 'timemodified' => '1150454872', 'layout' => '96,108,102,101,106,113,104,98,111,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:4461$question = (object) array('id' => '111', 'category' => '5', 'parent' => '0', 'name' => 'Q7', 'questiontext' => 'Web services, integration servers, XML, application servers, message-oriented middleware and remote procedure call can be used to enable integrated systems?', 'questiontextformat' => '1', 'defaultgrade' => '1', 'penalty' => '0', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => 'learn.open.ac.uk+060612113518+uuFWow', 'version' => 'learn.open.ac.uk+060612154736+HeFOV0', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '24', 'question' => '111', 'trueanswer' => '312', 'falseanswer' => '313', 'answers' => array(312 => (object) array('question' => '111', 'answer' => 'True', 'fraction' => '1', 'feedback' => 'They are all used in storing data or connecting together components of an integrated system.', 'id' => 312, ), 313 => (object) array('question' => '111', 'answer' => 'False', 'fraction' => '0', 'feedback' => 'They are all used in storing data or connecting together components of an integrated system.', 'id' => 313, ), ), ), 'hints' => false, )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:5031$qstates = array(242 => (object) array('attempt' => '19', 'question' => '111', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1150301292', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 242, ), 252 => (object) array('attempt' => '19', 'question' => '111', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '', 'timestamp' => '1150454872', 'event' => '9', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0', 'id' => 252, ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:5341$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 111, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Web services, integration servers, XML, application servers, message-oriented middleware and remote procedure call can be used to enable integrated systems?', 'rightanswer' => 'True', 'responsesummary' => '', 'timemodified' => 1150454872, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1150301292, 'userid' => 49542, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => null, 'timecreated' => 1150454872, 'userid' => 49542, 'data' => array('-finish' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'mangrright', 'fraction' => 1, 'timecreated' => 1150454872, 'userid' => null, 'data' => array('-comment' => '', '-maxmark' => 1, '-mark' => 1), ), ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:5782$quiz = (object) array('id' => '6', 'course' => '3', 'name' => 'Simply quiz', 'intro' => '<p>One quiz with 1 true/false Q</p>', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '10.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1309103209', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:6091$attempt = (object) array('id' => '20', 'uniqueid' => '20', 'quiz' => '6', 'userid' => '7', 'attempt' => '1', 'sumgrades' => '10.00000', 'timestart' => '1309103112', 'timefinish' => '1309103120', 'timemodified' => '1309103120', 'layout' => '30,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:6222$question = (object) array('id' => '30', 'category' => '10', 'parent' => '0', 'name' => '1 + 1 = 2 ?', 'questiontext' => '<p>1 +1 = 2 ?</p>', 'questiontextformat' => '1', 'generalfeedback' => '<p>this is general feedback</p>', 'generalfeedbackformat' => '1', 'penalty' => '1.0000000', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => '127.0.0.1+110626154410+wFrWwP', 'version' => '127.0.0.1+110626154410+u7CoaA', 'hidden' => '0', 'timecreated' => '1309103050', 'timemodified' => '1309103050', 'createdby' => '6', 'modifiedby' => '6', 'maxmark' => '10.0000000', 'options' => (object) array('id' => '4', 'question' => '30', 'trueanswer' => '53', 'falseanswer' => '54', 'answers' => array(53 => (object) array('id' => '53', 'question' => '30', 'answer' => 'True', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '<p>this is correct (for true) feedback</p>', 'feedbackformat' => '1', ), 54 => (object) array('id' => '54', 'question' => '30', 'answer' => 'False', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '<p>this is incorrect (for false) feedback</p>', 'feedbackformat' => '1', ), ), ), 'defaultmark' => '1.0000000', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:6811$qstates = array(310 => (object) array('id' => '310', 'attempt' => '20', 'question' => '30', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1309103112', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 311 => (object) array('id' => '311', 'attempt' => '20', 'question' => '30', 'seq_number' => '1', 'answer' => '53', 'timestamp' => '1309103115', 'event' => '3', 'grade' => '10.0000000', 'raw_grade' => '10.0000000', 'penalty' => '10.0000000', ), 312 => (object) array('id' => '312', 'attempt' => '20', 'question' => '30', 'seq_number' => '1', 'answer' => '53', 'timestamp' => '1309103115', 'event' => '6', 'grade' => '10.0000000', 'raw_grade' => '10.0000000', 'penalty' => '10.0000000', ), )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:7221$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 30, 'variant' => 1, 'maxmark' => 10.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => '1 +1 = 2 ?', 'rightanswer' => 'True', 'responsesummary' => 'True', 'timemodified' => 1309103115, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1309103112, 'userid' => 7, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => 1.0, 'timecreated' => 1309103115, 'userid' => 7, 'data' => array('answer' => '1', '-_try' => '1', '-_rawfraction' => '1', '-submit' => '1'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1.0, 'timecreated' => 1309103115, 'userid' => 7, 'data' => array('answer' => '1', '-_try' => '1', '-_rawfraction' => '1', '-finish' => '1'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:10071$quiz = (object) array('id' => '58', 'course' => '3420', 'name' => 'Practice Quiz', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '3', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '2', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '10', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1200043605', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:9791$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 72, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Why were standards such an important driver in the growth of systems integration?', 'rightanswer' => 'Because they enable stored data and interfaces to be standardised.', 'responsesummary' => '', 'timemodified' => 1150203042, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1150203042, 'userid' => 26290, 'data' => array('_order' => '200,201,202'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:9172$question = (object) array('id' => '72', 'category' => '10', 'parent' => '0', 'name' => 'Q02', 'questiontext' => 'Why were standards such an important driver in the growth of systems integration?', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+060612113403+Fz0GGO', 'version' => 'learn.open.ac.uk+060612160802+I6ctMQ', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '44', 'question' => '72', 'layout' => '0', 'answers' => array(200 => (object) array('question' => '72', 'answer' => 'Because they enable stored data and interfaces to be standardised.', 'fraction' => '1', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 200, ), 201 => (object) array('question' => '72', 'answer' => 'Because they enable the members of an integration team to communicate together.', 'fraction' => '0', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 201, ), 202 => (object) array('question' => '72', 'answer' => 'Because they produce good quality documentation.', 'fraction' => '0', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 202, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:9042$attempt = (object) array('id' => '17', 'uniqueid' => '17', 'quiz' => '8', 'userid' => '26290', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1150203042', 'timefinish' => '0', 'timemodified' => '1150203042', 'layout' => '93,76,82,75,87,74,90,94,73,77,81,95,79,92,88,80,91,86,72,83,84,89,85,78,71,0', 'preview' => '1', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:11731$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 179, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Where will the 19th International Biology Olympiad be held?', 'rightanswer' => 'Mumbai, India', 'responsesummary' => 'Tokyo, Japan', 'timemodified' => 1198254261, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1198254245, 'userid' => 51335, 'data' => array('_order' => '375,372,374,373'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1198254261, 'userid' => 51335, 'data' => array('answer' => '0', '-finish' => '1'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:11291$qstates = array(243 => (object) array('attempt' => '38', 'question' => '179', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '375,372,374,373:', 'timestamp' => '1198254245', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 243, ), 254 => (object) array('attempt' => '38', 'question' => '179', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '375,372,374,373:375', 'timestamp' => '1198254261', 'event' => '3', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0.1', 'id' => 254, ), 273 => (object) array('attempt' => '38', 'question' => '179', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '375,372,374,373:375', 'timestamp' => '1198254261', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0.1', 'id' => 273, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:10521$question = (object) array('id' => '179', 'category' => '51', 'parent' => '0', 'name' => 'Question 2', 'questiontext' => '<p>Where will the 19th International Biology Olympiad be held?</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'openlearn.open.ac.uk+071210172238+HpCRWO', 'version' => 'openlearn.open.ac.uk+071211115640+SZulvf', 'hidden' => '0', 'generalfeedback' => '<p></p>', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '71', 'question' => '179', 'layout' => '0', 'answers' => array(372 => (object) array('question' => '179', 'answer' => 'Mumbai, India', 'fraction' => '1', 'feedback' => '', 'id' => 372, ), 373 => (object) array('question' => '179', 'answer' => 'Rome, Italy', 'fraction' => '-1', 'feedback' => '', 'id' => 373, ), 374 => (object) array('question' => '179', 'answer' => 'Oslo, Norway', 'fraction' => '-1', 'feedback' => '', 'id' => 374, ), 375 => (object) array('question' => '179', 'answer' => 'Tokyo, Japan', 'fraction' => '-1', 'feedback' => '', 'id' => 375, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:10391$attempt = (object) array('id' => '38', 'uniqueid' => '38', 'quiz' => '58', 'userid' => '51335', 'attempt' => '1', 'sumgrades' => '5', 'timestart' => '1198254245', 'timefinish' => '1198254438', 'timemodified' => '1198254352', 'layout' => '178,179,180,181,182,183,184,185,189,187,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:13541$qstates = array(5107187 => (object) array('attempt' => '174745', 'question' => '26132', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '77406,77407,77408,77409,77410,77411,77412:', 'timestamp' => '1249488674', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 5107187, ), 5107188 => (object) array('attempt' => '174745', 'question' => '26132', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1249488674', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 5107188, ), 5107190 => (object) array('attempt' => '174745', 'question' => '26132', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '77406,77407,77408,77409,77410,77411,77412:77407', 'timestamp' => '1249488763', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 5107190, ), 5162301 => (object) array('attempt' => '174745', 'question' => '26132', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '77406,77407,77408,77409,77410,77411,77412:77407', 'timestamp' => '1249488763', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 5162301, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:12561$question = (object) array('id' => '26132', 'category' => '2506', 'parent' => '0', 'name' => '01 most useful', 'questiontext' => 'Which was the most useful K315 information literacy or ICT activity?', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+080529101041+d4XuNI', 'version' => 'learn.open.ac.uk+100725192556+KIetVC', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1212055841', 'timemodified' => '1280085956', 'createdby' => '28856', 'modifiedby' => '25299', 'unlimited' => '0', 'maxmark' => '0', 'options' => (object) array('id' => '11628', 'question' => '26132', 'layout' => '0', 'answers' => array(77406 => (object) array('question' => '26132', 'answer' => 'Introduction to & evaluation of MyStuff (Course Introduction)', 'fraction' => '0', 'feedback' => '', 'id' => 77406, ), 77407 => (object) array('question' => '26132', 'answer' => 'Values Exchange case studies', 'fraction' => '1', 'feedback' => '', 'id' => 77407, ), 77408 => (object) array('question' => '26132', 'answer' => 'Secure accommodation orders (Unit 2, Activity 3.3)', 'fraction' => '0', 'feedback' => '', 'id' => 77408, ), 77409 => (object) array('question' => '26132', 'answer' => 'Advanced search tools (Unit 3, Activity 1.3)', 'fraction' => '0', 'feedback' => '', 'id' => 77409, ), 77410 => (object) array('question' => '26132', 'answer' => 'Different types of information (Unit 7, Activity 1.2)', 'fraction' => '0', 'feedback' => '', 'id' => 77410, ), 77411 => (object) array('question' => '26132', 'answer' => 'Informing your practice with empirical evidence (Unit 8, Activity 3.1)', 'fraction' => '0', 'feedback' => '', 'id' => 77411, ), 77412 => (object) array('question' => '26132', 'answer' => 'Reviewing and saving your work (Unit 12, Activity 2.2)', 'fraction' => '0', 'feedback' => '', 'id' => 77412, ), ), 'single' => '1', 'shuffleanswers' => '0', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:12431$attempt = (object) array('id' => '174744', 'uniqueid' => '174745', 'quiz' => '1832', 'userid' => '181806', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1249488674', 'timefinish' => '1250702880', 'timemodified' => '1249488674', 'layout' => '26132,26128,0,26143,26140,0,26144,26141,0,26145,26142,0,26126,26127,0,26134,26135,0,26131,26133,0,26130,26129,0,26136,26137,0,26139,26138,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:12091$quiz = (object) array('id' => '1832', 'course' => '4912', 'name' => 'Unit 12 IL & ICT review quiz', 'intro' => '<p>This quiz has been developed to help you review your skills development in information literacy and ICT and to gather feedback on the use of the skills activities within K315 and within the Social Work degree Practice Learning courses.</p> <p>We would welcome your input (allow 10-15 minutes). The data you provide will be anonymised and used for research purposes only. This project is administered under the OU’s general data protection policy guidelines, which can be seen here: <a href="http://www3.open.ac.uk/our-student-policies/pdf/dataprotection.pdf">http://www3.open.ac.uk/our-student-policies/pdf/dataprotection.pdf</a></p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'penaltyscheme' => '1', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71565312', 'questionsperpage' => '2', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1232636874', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:15021$question = (object) array('id' => '60137', 'category' => '6026', 'parent' => '0', 'name' => 'Assessing information sources - No. 3', 'questiontext' => 'For source 3, the \'Loose Change\' video, select the statements to indicate \'yes\':', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+080811153454+BMEq1t', 'version' => 'learn.open.ac.uk+081010072800+oSu1g3', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1218468894', 'timemodified' => '1223623680', 'createdby' => '26409', 'modifiedby' => '351133', 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '23896', 'question' => '60137', 'layout' => '0', 'answers' => array(181821 => (object) array('question' => '60137', 'answer' => 'Would you regard this source as objective?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181821, ), 181822 => (object) array('question' => '60137', 'answer' => 'Does the source provide references?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181822, ), 181823 => (object) array('question' => '60137', 'answer' => 'Are all viewpoints considered?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181823, ), 181824 => (object) array('question' => '60137', 'answer' => 'Are quotations placed in their full context?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181824, ), 181825 => (object) array('question' => '60137', 'answer' => 'Does the source include conclusions based on evidence?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181825, ), 181826 => (object) array('question' => '60137', 'answer' => 'Would you trust this source?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181826, ), 181827 => (object) array('question' => '60137', 'answer' => 'Has it been peer-reviewed?', 'fraction' => '0.142857', 'feedback' => '', 'id' => 181827, ), ), 'single' => '0', 'shuffleanswers' => '0', 'correctfeedback' => 'This is a very polemical source which clearly has a standpoint. Whether or not you would use this material would be largely dependent on your reseach question. If you did use it, you would need to be clear that you would require academic sources that would support the claims being made.<br />', 'partiallycorrectfeedback' => 'This is a very polemical source which clearly has a standpoint. Whether or not you would use this material would be largely dependent on your reseach question. If you did use it, you would need to be clear that you would require academic sources that would support the claims being made.<br /><br />', 'incorrectfeedback' => 'This is a very polemical source which clearly has a standpoint. Whether or not you would use this material would be largely dependent on your reseach question. If you did use it, you would need to be clear that you would require academic sources that would support the claims being made.<br /><br />', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:14891$attempt = (object) array('id' => '229025', 'uniqueid' => '229026', 'quiz' => '3273', 'userid' => '597153', 'attempt' => '4', 'sumgrades' => '0.999999', 'timestart' => '1258492857', 'timefinish' => '1258492862', 'timemodified' => '1258492857', 'layout' => '60135,60136,60137,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:14551$quiz = (object) array('id' => '3273', 'course' => '5862', 'name' => 'Assessing information sources', 'intro' => 'Assessing information sources - literature review table', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'penaltyscheme' => '1', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '4', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '0', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'questions' => '60135,60136,60137,0', 'sumgrades' => '3', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1223992271', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:14111$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 26132, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Which was the most useful K315 information literacy or ICT activity?', 'rightanswer' => 'Values Exchange case studies', 'responsesummary' => 'Values Exchange case studies', 'timemodified' => 1249488763, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1249488674, 'userid' => 181806, 'data' => array('_order' => '77406,77407,77408,77409,77410,77411,77412'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1249488763, 'userid' => 181806, 'data' => array('answer' => '1'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'finished', 'fraction' => null, 'timecreated' => 1249488763, 'userid' => 181806, 'data' => array('answer' => '1', '-finish' => '1'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:3152$question = (object) array('id' => '72', 'category' => '10', 'parent' => '0', 'name' => 'Q02', 'questiontext' => 'Why were standards such an important driver in the growth of systems integration?', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+060612113403+Fz0GGO', 'version' => 'learn.open.ac.uk+060612160802+I6ctMQ', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '44', 'question' => '72', 'layout' => '0', 'answers' => array(200 => (object) array('question' => '72', 'answer' => 'Because they enable stored data and interfaces to be standardised.', 'fraction' => '1', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 200, ), 201 => (object) array('question' => '72', 'answer' => 'Because they enable the members of an integration team to communicate together.', 'fraction' => '0', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 201, ), 202 => (object) array('question' => '72', 'answer' => 'Because they produce good quality documentation.', 'fraction' => '0', 'feedback' => 'Standards enable the various components of an integrated system to communicate using well defined mechanisms and enable the components to have a standard view of stored data.', 'id' => 202, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:3851$qstates = array(196 => (object) array('attempt' => '17', 'question' => '72', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '200,202,201:', 'timestamp' => '1150203042', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 196, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:2712$quiz = (object) array('id' => '8', 'course' => '1095', 'name' => 'End of course quiz', 'intro' => 'Use this self-assessment quiz to judge your overall understanding. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1150107600', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '0', 'shufflequestions' => '1', 'shuffleanswers' => '1', 'sumgrades' => '25', 'grade' => '25', 'timecreated' => '0', 'timemodified' => '1150107596', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:3022$attempt = (object) array('id' => '17', 'uniqueid' => '17', 'quiz' => '8', 'userid' => '26290', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1150203042', 'timefinish' => '0', 'timemodified' => '1150203042', 'layout' => '93,76,82,75,87,74,90,94,73,77,81,95,79,92,88,80,91,86,72,83,84,89,85,78,71,0', 'preview' => '1', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:4701$attempt = (object) array('id' => '181', 'uniqueid' => '181', 'quiz' => '13', 'userid' => '9932', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1161946984', 'timefinish' => '1161947130', 'timemodified' => '1161947130', 'layout' => '218,221,219,220,223,224,222,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:4831$question = (object) array('id' => '218', 'category' => '21', 'parent' => '0', 'name' => 'Answering the question that is asked', 'questiontext' => '<p>I have demonstrated the ability to analyse and <strong>answer the question</strong> that is asked. (<a title="Advice" href="http://learnacct.open.ac.uk/mod/resourcepage/view.php?id=5989">Click for advice on this skill</a>)', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+060822084343+5JvlNr', 'version' => 'learn.open.ac.uk+060822084343+CQPfhb', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '152', 'question' => '218', 'layout' => '0', 'answers' => array(664 => (object) array('question' => '218', 'answer' => 'Agree', 'fraction' => '0', 'feedback' => ' ', 'id' => 664, ), 665 => (object) array('question' => '218', 'answer' => 'Uncertain', 'fraction' => '0', 'feedback' => ' ', 'id' => 665, ), 666 => (object) array('question' => '218', 'answer' => 'Disagree', 'fraction' => '0', 'feedback' => ' ', 'id' => 666, ), 667 => (object) array('question' => '218', 'answer' => 'Strongly disagree', 'fraction' => '0', 'feedback' => ' ', 'id' => 667, ), 668 => (object) array('question' => '218', 'answer' => 'Strongly agree', 'fraction' => '0', 'feedback' => ' ', 'id' => 668, ), ), 'single' => '0', 'shuffleanswers' => '0', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:4031$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 72, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Why were standards such an important driver in the growth of systems integration?', 'rightanswer' => 'Because they enable stored data and interfaces to be standardised.', 'responsesummary' => '', 'timemodified' => 1150203042, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1150203042, 'userid' => 26290, 'data' => array('_order' => '200,202,201'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:4311$quiz = (object) array('id' => '13', 'course' => '1416', 'name' => 'Self assessment', 'intro' => '<p>This quiz enables you to rate how much you have demonstrated certain skills in assignments. </p> <p>Each question is phrased so that you agree or disagree with a statement that describes your level of attainment, and is accompanied by a link to advice on recognising and practising the skill. </p> <p>The quiz is intended to form part of a dialogue on skills improvement between you and your tutor. Hence there is no "right" answer to it, and it is awarded no marks towards the course result. </p> <p>Any benefits to you depend on your being realistic about what you have demonstrated. Reserve the extreme ratings for when you think you have demonstrated mastery or complete incompetence! <br /> </p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '4', 'decimalpoints' => '0', 'review' => '71760879', 'questionsperpage' => '0', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '7', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1160991947', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:6341$quiz = (object) array('id' => '95', 'course' => '1181', 'name' => 'Study Guide 7 Quiz', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '2', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '59', 'grade' => '59', 'timecreated' => '0', 'timemodified' => '1170427431', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:6651$attempt = (object) array('id' => '3237', 'uniqueid' => '3237', 'quiz' => '95', 'userid' => '120555', 'attempt' => '1', 'sumgrades' => '35.4166', 'timestart' => '1177006492', 'timefinish' => '1177008802', 'timemodified' => '1177008794', 'layout' => '2855,2856,0,2857,2858,0,2859,2860,0,2861,2862,0,2863,2864,0,2865,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:5671$qstates = array(3888 => (object) array('attempt' => '181', 'question' => '218', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '664,665,666,667,668:', 'timestamp' => '1161946984', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 3888, ), 3891 => (object) array('attempt' => '181', 'question' => '218', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '664,665,666,667,668:664', 'timestamp' => '1161947130', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 3891, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:5981$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 218, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'I have demonstrated the ability to analyse and ANSWER THE QUESTION that is asked. (Click for advice on this skill)', 'rightanswer' => '', 'responsesummary' => 'Agree', 'timemodified' => 1161947130, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1161946984, 'userid' => 9932, 'data' => array('_order' => '664,665,666,667,668'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1161947130, 'userid' => 9932, 'data' => array('choice0' => 1, 'choice1' => 0, 'choice2' => 0, 'choice3' => 0, 'choice4' => 0, '-finish' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:8211$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 2855, 'variant' => 1, 'maxmark' => 5, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Which of the following techniques can identify non-functional requirements?', 'rightanswer' => 'Verb identification.; Misuse cases.', 'responsesummary' => 'Verb identification.; Adjective identification.', 'timemodified' => 1177008016, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1177006492, 'userid' => 120555, 'data' => array('_order' => '8356,8357,8358,8359,8360'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177007066, 'userid' => 120555, 'data' => array('choice0' => 0, 'choice1' => 1, 'choice2' => 0, 'choice3' => 1, 'choice4' => 0), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177008016, 'userid' => 120555, 'data' => array('choice0' => 0, 'choice1' => 1, 'choice2' => 0, 'choice3' => 1, 'choice4' => 0), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedpartial', 'fraction' => 0.16667, 'timecreated' => 1177008016, 'userid' => 120555, 'data' => array('choice0' => 0, 'choice1' => 1, 'choice2' => 0, 'choice3' => 1, 'choice4' => 0, '-finish' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:8732$quiz = (object) array('id' => '8', 'course' => '1095', 'name' => 'End of course quiz', 'intro' => 'Use this self-assessment quiz to judge your overall understanding. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1150107600', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '0', 'shufflequestions' => '1', 'shuffleanswers' => '1', 'sumgrades' => '25', 'grade' => '25', 'timecreated' => '0', 'timemodified' => '1150107596', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:6781$question = (object) array('id' => '2855', 'category' => '114', 'parent' => '0', 'name' => 'Question 1', 'questiontext' => '<p>Which of the following techniques can identify non-functional requirements?</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+061221143845+nohATp', 'version' => 'learn.open.ac.uk+070131102906+bviJOZ', 'hidden' => '0', 'generalfeedback' => 'The correct answers are b and c. For further information about this question see Study Guide 7 SAQ 2.1(b and c) Misuse cases were discussed in SG4', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '5', 'options' => (object) array('id' => '943', 'question' => '2855', 'layout' => '0', 'answers' => array(8356 => (object) array('question' => '2855', 'answer' => 'Use cases.', 'fraction' => '-0.33333', 'feedback' => '', 'id' => 8356, ), 8357 => (object) array('question' => '2855', 'answer' => 'Verb identification.', 'fraction' => '0.5', 'feedback' => '', 'id' => 8357, ), 8358 => (object) array('question' => '2855', 'answer' => 'Misuse cases.', 'fraction' => '0.5', 'feedback' => '', 'id' => 8358, ), 8359 => (object) array('question' => '2855', 'answer' => 'Adjective identification.', 'fraction' => '-0.33333', 'feedback' => '', 'id' => 8359, ), 8360 => (object) array('question' => '2855', 'answer' => 'Noun identification.', 'fraction' => '-0.33333', 'feedback' => '', 'id' => 8360, ), ), 'single' => '0', 'shuffleanswers' => '0', 'correctfeedback' => 'Your answer is correct.', 'partiallycorrectfeedback' => 'Your answer is partially correct.', 'incorrectfeedback' => 'Your answer is incorrect.', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:7641$qstates = array(72307 => (object) array('attempt' => '3237', 'question' => '2855', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '8356,8357,8358,8359,8360:', 'timestamp' => '1177006492', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 72307, ), 72318 => (object) array('attempt' => '3237', 'question' => '2855', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '8356,8357,8358,8359,8360:8357,8359', 'timestamp' => '1177007066', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.83335', 'penalty' => '0', 'id' => 72318, ), 72328 => (object) array('attempt' => '3237', 'question' => '2855', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '8356,8357,8358,8359,8360:8357,8359', 'timestamp' => '1177008016', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.83335', 'penalty' => '0', 'id' => 72328, ), 72341 => (object) array('attempt' => '3237', 'question' => '2855', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => '8356,8357,8358,8359,8360:8357,8359', 'timestamp' => '1177008016', 'event' => '6', 'grade' => '0.83335', 'raw_grade' => '0.83335', 'penalty' => '0', 'id' => 72341, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:25101$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 247, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => '[CUT]', 'rightanswer' => 'Well developed', 'responsesummary' => 'Well developed', 'timemodified' => 1177777116, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1177777016, 'userid' => 9721, 'data' => array('_order' => '666,667,668'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177777116, 'userid' => 9721, 'data' => array('answer' => 0), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'finished', 'fraction' => null, 'timecreated' => 1177777116, 'userid' => 9721, 'data' => array('answer' => 0, '-finish' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:24661$qstates = array(1208 => (object) array('attempt' => '94', 'question' => '247', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '666,667,668:', 'timestamp' => '1177777016', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1208, ), 1219 => (object) array('attempt' => '94', 'question' => '247', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '666,667,668:666', 'timestamp' => '1177777116', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1219, ), 1220 => (object) array('attempt' => '94', 'question' => '247', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '666,667,668:666', 'timestamp' => '1177777116', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1220, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:25922$attempt = (object) array('id' => '95', 'uniqueid' => '94', 'quiz' => '22', 'userid' => '9721', 'attempt' => '1', 'timestart' => '1177777016', 'timefinish' => '1177777128', 'timemodified' => '1177777101', 'layout' => '242,0,243,0,244,0,245,0,246,0,247,0', 'preview' => '0', 'sumgrades' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:25542$quiz = (object) array('id' => '22', 'course' => '272', 'name' => 'ICT self-assessment quiz', 'intro' => '<p>Work through the ICT skills self-assessment quiz in order to assess your ability to use ICT for study on the Youth Justice Programme. Doing this will also help you to plan a short programme of learning.</p> <p>Use the questions to rate your ability in each area as either:</p> <ul> <li>\'Well developed\'</li> <li>\'Not sure\', or</li> <li>\'Needs development\'.</li> </ul> <p>Once you have done that, and seen the feedback associated with your answers, you will need to think about prioritising the skills that need development. You will also need to allocate some time in order to develop the skills you need to concentrate on. Within the feedback for each question are some subject-related links which you may find useful.</p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '4', 'decimalpoints' => '0', 'review' => '71760879', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1174581121', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:23452$quiz = (object) array('id' => '22', 'course' => '272', 'name' => 'ICT self-assessment quiz', 'intro' => '<p>Work through the ICT skills self-assessment quiz in order to assess your ability to use ICT for study on the Youth Justice Programme. Doing this will also help you to plan a short programme of learning.</p> <p>Use the questions to rate your ability in each area as either:</p> <ul> <li>\'Well developed\'</li> <li>\'Not sure\', or</li> <li>\'Needs development\'.</li> </ul> <p>Once you have done that, and seen the feedback associated with your answers, you will need to think about prioritising the skills that need development. You will also need to allocate some time in order to develop the skills you need to concentrate on. Within the feedback for each question are some subject-related links which you may find useful.</p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '4', 'decimalpoints' => '0', 'review' => '71760879', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1174581121', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:23011$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 3863, 'variant' => 1, 'maxmark' => 5, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is SOAP?', 'rightanswer' => 'It is the transport mechanism used with web services.', 'responsesummary' => 'It is the transport mechanism used with web services.', 'timemodified' => 1179303963, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1179303963, 'userid' => 30631, 'data' => array('_order' => '11686,11687,11688'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1179303218, 'userid' => 30631, 'data' => array('answer' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1179303218, 'userid' => 30631, 'data' => array('answer' => 1, '-finish' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:23961$question = (object) array('id' => '247', 'category' => '12', 'parent' => '0', 'name' => 'Regular access to a computer', 'questiontext' => '[CUT]', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070321164105+qIeJ9g', 'hidden' => '0', 'version' => 'learn.open.ac.uk+070427170153+plBFqV', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', 'options' => (object) array('id' => '180', 'question' => '247', 'layout' => '0', 'answers' => array(666 => (object) array('question' => '247', 'answer' => 'Well developed', 'feedback' => 'It\'s good that you don\'t feel as though you will have problems accessing a computer in order to study within the Youth Justice Programme. However, you may find the OU Library\'s information page on <a href="http://library.open.ac.uk/libraries/update/access_computers.html" target="blank"><b>Using public access computers in libraries and other venues</b></a> of interest.', 'fraction' => '1', 'id' => 666, ), 667 => (object) array('question' => '247', 'answer' => 'Not sure', 'feedback' => 'We recommend that you visit the OU Library\'s information page on <a href="http://library.open.ac.uk/libraries/update/access_computers.html" target="blank"><b>Using public access computers in libraries and other venues</b></a>.', 'fraction' => '1', 'id' => 667, ), 668 => (object) array('question' => '247', 'answer' => 'Needs development', 'feedback' => 'We recommend that you visit the OU Library\'s information page on <a href="http://library.open.ac.uk/libraries/update/access_computers.html" target="blank"><b>Using public access computers in libraries and other venues</b></a>.', 'fraction' => '1', 'id' => 668, ), ), 'single' => '1', 'shuffleanswers' => '0', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:23832$attempt = (object) array('id' => '95', 'uniqueid' => '94', 'quiz' => '22', 'userid' => '9721', 'attempt' => '1', 'timestart' => '1177777016', 'timefinish' => '1177777128', 'timemodified' => '1177777101', 'layout' => '242,0,243,0,244,0,245,0,246,0,247,0', 'preview' => '0', 'sumgrades' => '0', )
/question/type/multichoice/tests/helper.php:2711$qdata->options->answers = array(13 => (object) array('id' => 13, 'answer' => 'One', 'answerformat' => FORMAT_PLAIN, 'fraction' => 1, 'feedback' => 'One is the oddest.', 'feedbackformat' => FORMAT_HTML, ), 14 => (object) array('id' => 14, 'answer' => 'Two', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.0, 'feedback' => 'Two is even.', 'feedbackformat' => FORMAT_HTML, ), 15 => (object) array('id' => 15, 'answer' => 'Three', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0, 'feedback' => 'Three is odd.', 'feedbackformat' => FORMAT_HTML, ), 16 => (object) array('id' => 16, 'answer' => 'Four', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.0, 'feedback' => 'Four is even.', 'feedbackformat' => FORMAT_HTML, ), )
/question/type/multichoice/tests/helper.php:1162$qdata->hints = array(1 => (object) array('hint' => 'Hint 1.', 'hintformat' => FORMAT_HTML, 'shownumcorrect' => 1, 'clearwrong' => 0, 'options' => 0, ), 2 => (object) array('hint' => 'Hint 2.', 'hintformat' => FORMAT_HTML, 'shownumcorrect' => 1, 'clearwrong' => 1, 'options' => 1, ), )
/question/type/multichoice/tests/question_single_test.php:1321$mc->answers = array(11 => new question_answer(11, '1', 0.3333333, '', FORMAT_HTML), 12 => new question_answer(12, '2', -1, '', FORMAT_HTML), 13 => new question_answer(13, '3', 0.3333333, '', FORMAT_HTML), 14 => new question_answer(14, '4', -1, '', FORMAT_HTML), 15 => new question_answer(15, '5', 0.3333333, '', FORMAT_HTML), 16 => new question_answer(16, '6', -1, '', FORMAT_HTML), )
/question/type/multichoice/tests/helper.php:3062$qdata->hints = array(1 => (object) array('hint' => 'Hint 1.', 'hintformat' => FORMAT_HTML, 'shownumcorrect' => 1, 'clearwrong' => 0, 'options' => 0, ), 2 => (object) array('hint' => 'Hint 2.', 'hintformat' => FORMAT_HTML, 'shownumcorrect' => 1, 'clearwrong' => 1, 'options' => 1, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:26771$qstates = array(1211 => (object) array('attempt' => '94', 'question' => '242', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '651,652,653:', 'timestamp' => '1177777016', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1211, ), 1214 => (object) array('attempt' => '94', 'question' => '242', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '651,652,653:651', 'timestamp' => '1177777040', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1214, ), 1223 => (object) array('attempt' => '94', 'question' => '242', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '651,652,653:651', 'timestamp' => '1177777040', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 1223, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:26051$question = (object) array('id' => '242', 'category' => '12', 'parent' => '0', 'name' => 'Using the internet', 'questiontext' => '<p><strong>Using the internet</strong></p> <p><font face="Verdana,Verdana" size="2">Many study resources are available online, and you will also be expected to find things out yourself using the web.</font></p> <p><i><font face="Verdana,Verdana" size="2">How would you rate your skills in using browsers and managing documents you find on the internet? </font></i></p>', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070321161800+WlAJ5D', 'hidden' => '0', 'version' => 'learn.open.ac.uk+070329133200+dO4WQO', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', 'options' => (object) array('id' => '175', 'question' => '242', 'layout' => '0', 'answers' => array(651 => (object) array('question' => '242', 'answer' => 'Well developed', 'feedback' => 'You obviously feel confident about using the internet in order to manage your documentation and find information on the World Wide Web. However, you may still find the OU\'s <a href="http://www.open.ac.uk/webguide/" target="blank"><b>Web Guide</b></a> site of interest.', 'fraction' => '1', 'id' => 651, ), 652 => (object) array('question' => '242', 'answer' => 'Not sure', 'feedback' => 'We recommend that you visit the OU\'s <a href="http://www.open.ac.uk/webguide/" target="blank"><b>Web Guide</b></a> site and work through some of the tips and advice about using the web effectively.', 'fraction' => '1', 'id' => 652, ), 653 => (object) array('question' => '242', 'answer' => 'Needs development', 'feedback' => 'We recommend that you visit the OU\'s <a href="http://www.open.ac.uk/webguide/" target="blank"><b>Web Guide</b></a> site and work through some of the tips and advice about using the web effectively.', 'fraction' => '1', 'id' => 653, ), ), 'single' => '1', 'shuffleanswers' => '0', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', ), 'hints' => false, )
/question/type/multichoice/tests/helper.php:811$qdata->options->answers = array(13 => (object) array('id' => 13, 'answer' => 'One', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.5, 'feedback' => 'One is odd.', 'feedbackformat' => FORMAT_HTML, ), 14 => (object) array('id' => 14, 'answer' => 'Two', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.0, 'feedback' => 'Two is even.', 'feedbackformat' => FORMAT_HTML, ), 15 => (object) array('id' => 15, 'answer' => 'Three', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.5, 'feedback' => 'Three is odd.', 'feedbackformat' => FORMAT_HTML, ), 16 => (object) array('id' => 16, 'answer' => 'Four', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0.0, 'feedback' => 'Four is even.', 'feedbackformat' => FORMAT_HTML, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:27211$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 242, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "USING THE INTERNET \n\nMany study resources are available online, and you will also be expected to find things out yourself using the web. \n\n_How would you rate your skills in using browsers and managing documents you find on the internet? _", 'rightanswer' => 'Well developed', 'responsesummary' => 'Well developed', 'timemodified' => 1177777040, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1177777016, 'userid' => 9721, 'data' => array('_order' => '651,652,653'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177777040, 'userid' => 9721, 'data' => array('answer' => '0'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'finished', 'fraction' => null, 'timecreated' => 1177777040, 'userid' => 9721, 'data' => array('answer' => '0', '-finish' => 1), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:17331$question = (object) array('id' => '163', 'category' => '15', 'parent' => '0', 'name' => 'Question 04', 'questiontext' => 'Can we have a \'realist\' or objective social science?', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+060614160624+gkAYii', 'version' => 'learn.open.ac.uk+060614160624+LYm8Rl', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '117', 'question' => '163', 'layout' => '0', 'answers' => array(456 => (object) array('question' => '163', 'answer' => 'No', 'fraction' => '0', 'feedback' => 'This is a common position but it does overlook areas in which it is possible to observe, tally and describe in pretty objective (low-inference) ways. Much social geography is of this sort.', 'id' => 456, ), 457 => (object) array('question' => '163', 'answer' => 'Yes', 'fraction' => '0', 'feedback' => 'A great deal of social science is to do with making sense of subjective phenomena. We might expect social scientists to be honest and careful but, where subjective phenomena are concerned there can be no objective truth. However, there are areas in which it is possible to observe, tally and describe in pretty objective (low-inference) ways. Much social geography is of this sort.', 'id' => 457, ), 458 => (object) array('question' => '163', 'answer' => 'Sometimes', 'fraction' => '1', 'feedback' => 'This is a judicious response to two positions, each of which has strengths but neither of which covers the range of social science practices.', 'id' => 458, ), ), 'single' => '1', 'shuffleanswers' => '0', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:18031$qstates = array(5922 => (object) array('attempt' => '302', 'question' => '163', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '456,457,458:', 'timestamp' => '1163428543', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 5922, ), 5941 => (object) array('attempt' => '302', 'question' => '163', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '456,457,458:', 'timestamp' => '1163428576', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 5941, ), 5942 => (object) array('attempt' => '302', 'question' => '163', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '456,457,458:', 'timestamp' => '1163428577', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 5942, ), 14713 => (object) array('attempt' => '302', 'question' => '163', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => '456,457,458:456', 'timestamp' => '1165355190', 'event' => '3', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 14713, ), 14715 => (object) array('attempt' => '302', 'question' => '163', 'originalquestion' => '0', 'seq_number' => '4', 'answer' => '456,457,458:458', 'timestamp' => '1165355352', 'event' => '3', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '1', 'id' => 14715, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:18731$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 163, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Can we have a \'realist\' or objective social science?', 'rightanswer' => 'Sometimes', 'responsesummary' => 'Sometimes', 'timemodified' => 1165355352, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1163428543, 'userid' => 63173, 'data' => array('_order' => '456,457,458'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1163428576, 'userid' => 63173, 'data' => array( ), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1163428577, 'userid' => 63173, 'data' => array( ), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1165355352, 'userid' => 63173, 'data' => array('answer' => '2', '-finish' => '1'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:19251$quiz = (object) array('id' => '4070', 'course' => '5139', 'name' => 'Reading practice: Session 16', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'penaltyscheme' => '1', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '0', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '8', 'grade' => '8', 'timecreated' => '0', 'timemodified' => '1265136533', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'showscores' => '1', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:16001$qstates = array(6676031 => (object) array('attempt' => '229026', 'question' => '60137', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '181821,181822,181823,181824,181825,181826,181827:181821,181822,181823,181824,181825,181826', 'timestamp' => '1258492857', 'event' => '0', 'grade' => '0', 'raw_grade' => '0.857142', 'penalty' => '0', 'id' => 6676031, ), 6676034 => (object) array('attempt' => '229026', 'question' => '60137', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '181821,181822,181823,181824,181825,181826,181827:', 'timestamp' => '1258492857', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0.1', 'id' => 6676034, ), 6676055 => (object) array('attempt' => '229026', 'question' => '60137', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '181821,181822,181823,181824,181825,181826,181827:', 'timestamp' => '1258492857', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0.1', 'id' => 6676055, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:16441$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 60137, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "For source 3, the 'Loose Change' video, select the statements to indicate 'yes':", 'rightanswer' => 'Would you regard this source as objective?; Does the source provide references?; Are all viewpoints considered?; Are quotations placed in their full context?; Does the source include conclusions based on evidence?; Would you trust this source?; Has it been peer-reviewed?', 'responsesummary' => 'Would you regard this source as objective?; Does the source provide references?; Are all viewpoints considered?; Are quotations placed in their full context?; Does the source include conclusions based on evidence?; Would you trust this source?', 'timemodified' => 1258492857, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1258492857, 'userid' => 597153, 'data' => array('_order' => '181821,181822,181823,181824,181825,181826,181827'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1258492857, 'userid' => 597153, 'data' => array('choice0' => 0, 'choice1' => 0, 'choice2' => 0, 'choice3' => 0, 'choice4' => 0, 'choice5' => 0, 'choice6' => 0, '-finish' => '1'), ), ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:16801$quiz = (object) array('id' => '10', 'course' => '608', 'name' => 'TMA 01, Part 1 (Activity 12)', 'intro' => '<p>Activity 12 is a multiple-choice assessment quiz. It is Part 1 of TMA 01 and contributes 20 per cent of the marks for the TMA. It invites you to check your understandings of the topics with which you engaged in Activities 6–11.</p> <p>Activity 12 is distinctive in that you are welcome to try as much as you want at any one time and to try as often as you wish. However, you have to get <strong>full marks</strong> on it in order to proceed to the second part of TMA 01, Activity 15.</p> <p>There are 30 questions, which can be attempted in any order. When you are ready to attempt a question, choose your answer and then \'Submit\'. You will get feedback. If you need to try again, follow the same process. When you are satisfied with your answer to one question, go on to another. Remember to choose \'Submit\' for each answer that you want to be saved.</p> <p>You do not have to do the questions all at one sitting: at any time you can choose \'Save without submitting\'. This saves the current state of all questions so you can come back later to do some more.</p> <p>When you are satisfied with your answers to all 30 questions, choose \'Submit all and finish\'. This marks all questions, closes the current quiz attempt and gives the PCAP team formal notification that you have successfully completed this part of the TMA. <strong>Should you inadvertently choose this option you will need to start from scratch when you next attempt the task.</strong></p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '2', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '30', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1266247621', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:17201$attempt = (object) array('id' => '302', 'uniqueid' => '302', 'quiz' => '10', 'userid' => '63173', 'attempt' => '1', 'sumgrades' => '30', 'timestart' => '1163428543', 'timefinish' => '1166546613', 'timemodified' => '1166546472', 'layout' => '161,0,160,0,162,0,163,0,164,0,165,0,166,0,190,0,191,0,192,0,193,0,194,0,195,0,196,0,197,0,198,0,168,0,169,0,170,0,171,0,172,0,173,0,174,0,175,0,176,0,177,0,178,0,179,0,180,0,181,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:21301$quiz = (object) array('id' => '203', 'course' => '2359', 'name' => 'Quiz 1', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '2', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '50', 'grade' => '50', 'timecreated' => '0', 'timemodified' => '1176461532', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:21611$attempt = (object) array('id' => '4338', 'uniqueid' => '4338', 'quiz' => '203', 'userid' => '30631', 'attempt' => '2', 'sumgrades' => '30', 'timestart' => '1179303963', 'timefinish' => '1179303960', 'timemodified' => '1179303420', 'layout' => '3859,3860,0,3861,3862,0,3863,3864,0,3865,3866,0,3867,3868,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:21741$question = (object) array('id' => '3863', 'category' => '187', 'parent' => '0', 'name' => 'Question 5', 'questiontext' => 'What is SOAP?', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070404142540+CpseAv', 'version' => 'learn.open.ac.uk+070405112519+qNb2kt', 'hidden' => '0', 'generalfeedback' => '<p></p>', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '5', 'options' => (object) array('id' => '1439', 'question' => '3863', 'layout' => '0', 'answers' => array(11686 => (object) array('question' => '3863', 'answer' => 'It is a technology used for sending bulk data through the internet.', 'fraction' => '0', 'feedback' => 'Your answer is incorrect. <br />The correct answer is b. ', 'id' => 11686, ), 11687 => (object) array('question' => '3863', 'answer' => 'It is the transport mechanism used with web services.', 'fraction' => '1', 'feedback' => 'Your answer is correct ', 'id' => 11687, ), 11688 => (object) array('question' => '3863', 'answer' => 'It is a distributed object technology', 'fraction' => '0', 'feedback' => 'Your answer is incorrect. <br />The correct answer is b. ', 'id' => 11688, ), ), 'single' => '1', 'shuffleanswers' => '0', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'abc', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:22441$qstates = array(112159 => (object) array('attempt' => '4338', 'question' => '3863', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '11686,11687,11688:', 'timestamp' => '1179303963', 'event' => '8', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 112159, ), 112164 => (object) array('attempt' => '4338', 'question' => '3863', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '11686,11687,11688:', 'timestamp' => '1179303963', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 112164, ), 112176 => (object) array('attempt' => '4338', 'question' => '3863', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '11686,11687,11688:11687', 'timestamp' => '1179303218', 'event' => '2', 'grade' => '0', 'raw_grade' => '5', 'penalty' => '0', 'id' => 112176, ), 112195 => (object) array('attempt' => '4338', 'question' => '3863', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '11686,11687,11688:11687', 'timestamp' => '1179303218', 'event' => '6', 'grade' => '5', 'raw_grade' => '5', 'penalty' => '0', 'id' => 112195, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:19591$attempt = (object) array('id' => '428769', 'uniqueid' => '428770', 'quiz' => '4070', 'userid' => '605575', 'attempt' => '3', 'sumgrades' => '7', 'timestart' => '1275088684', 'timefinish' => '1275089588', 'timemodified' => '1275089451', 'layout' => '89002,0,89040,0,89042,0,89043,0,89044,0,89045,0,89046,0,89047,0', 'preview' => '0', )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:19721$question = (object) array('id' => '89040', 'category' => '6016', 'parent' => '0', 'name' => 'R2S16', 'questiontext' => '<p>Read the text below and then answer the question based on the information given.</p><p><span lang="ZH-CN">我大哥没有我二哥高,我比我二哥高。</span></p><p>Who is the tallest?</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.33', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+100204101142+Bygd63', 'version' => 'learn.open.ac.uk+100204101142+exBG6F', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1265278302', 'timemodified' => '1265278302', 'createdby' => '532546', 'modifiedby' => '532546', 'unlimited' => '0', 'maxmark' => '1', 'options' => (object) array('id' => '33730', 'question' => '89040', 'layout' => '0', 'answers' => array(300601 => (object) array('question' => '89040', 'answer' => '我。', 'fraction' => '1', 'feedback' => '', 'id' => 300601, ), 300602 => (object) array('question' => '89040', 'answer' => '我大哥。', 'fraction' => '0', 'feedback' => '', 'id' => 300602, ), 300603 => (object) array('question' => '89040', 'answer' => '我二哥。', 'fraction' => '0', 'feedback' => '', 'id' => 300603, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'answernumbering' => 'none', 'showstandardinstruction' => 0, ), 'hints' => false, )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:20421$qstates = array(11002780 => (object) array('attempt' => '428770', 'question' => '89040', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '300603,300602,300601:', 'timestamp' => '1275088684', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 11002780, ), 11002813 => (object) array('attempt' => '428770', 'question' => '89040', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '300601', 'timestamp' => '1275089101', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0.33', 'id' => 11002813, ), 11002905 => (object) array('attempt' => '428770', 'question' => '89040', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '300603,300602,300601:300601', 'timestamp' => '1275089101', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.33', 'id' => 11002905, ), )
/question/type/multichoice/tests/upgrade_old_attempt_data_test.php:20861$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 89040, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "Read the text below and then answer the question based on the information given.\n\n我大哥没有我二哥高,我比我二哥高。\n\nWho is the tallest?", 'rightanswer' => '我。', 'responsesummary' => '我。', 'timemodified' => 1275089101, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1275088684, 'userid' => 605575, 'data' => array('_order' => '300603,300602,300601'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1275089101, 'userid' => 605575, 'data' => array('answer' => '2'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1275089101, 'userid' => 605575, 'data' => array('answer' => '2', '-finish' => '1'), ), ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:2761$attempt = (object) array('id' => '17778', 'uniqueid' => '17778', 'quiz' => '789', 'userid' => '111471', 'attempt' => '1', 'sumgrades' => '4.6', 'timestart' => '1161205933', 'timefinish' => '1161206024', 'timemodified' => '1161206024', 'layout' => '10219,10220,10216,10217,10218,0', 'preview' => '0', )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:2441$quiz = (object) array('id' => '789', 'course' => '3500', 'name' => 'Modes of integration quiz', 'intro' => '<p><font size="2">Use this quiz to test your knowledge of when you have completed <span style="font-style: italic">Modes of Integration</span>.</font> </p> <p><font size="2">This quiz is for your information only, the results will not be used as part of the work based activity. </font></p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1147960800', 'timeclose' => '1233414000', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '0', 'shufflequestions' => '1', 'shuffleanswers' => '1', 'sumgrades' => '5', 'grade' => '5', 'timecreated' => '0', 'timemodified' => '1191939532', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:2001$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 4239, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "Complete the following sentence. \n\nIn general, the procedures for analysing cost data for decision making are: \n\nIgnore all sunk costs, ignore all ______ costs, use remaining costs for decision making purposes.", 'rightanswer' => 'unavoidable*', 'responsesummary' => 'irrelevant', 'timemodified' => 1178639607, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1178549306, 'userid' => 55568, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1178639607, 'userid' => 55568, 'data' => array('answer' => 'irrelevant'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1178639607, 'userid' => 55568, 'data' => array('answer' => 'irrelevant', '-finish' => 1), ), ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:1561$qstates = array(92129 => (object) array('attempt' => '4025', 'question' => '4239', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1178549306', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 92129, ), 94433 => (object) array('attempt' => '4025', 'question' => '4239', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'irrelevant', 'timestamp' => '1178639607', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '1', 'id' => 94433, ), 94517 => (object) array('attempt' => '4025', 'question' => '4239', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'irrelevant', 'timestamp' => '1178639607', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '1', 'id' => 94517, ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:791$question = (object) array('id' => '4239', 'category' => '204', 'parent' => '0', 'name' => '4hdP73 Book 11 Section 2.1 ignore unavoidable costs when analysing data', 'questiontext' => 'Complete the following sentence. <p>In general, the procedures for analysing cost data for decision making are: </p> <p>Ignore all sunk costs, ignore all ______ costs, use remaining costs for decision making purposes. </p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070417143728+6z2qbB', 'version' => 'learn.open.ac.uk+070417143728+BJ8YOd', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('answers' => array(12944 => (object) array('question' => '4239', 'answer' => 'unavoidable*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is unavoidable costs. Well done! <p> Book 11 Section 2.1', 'id' => 12944, ), 12945 => (object) array('question' => '4239', 'answer' => 'irrelevant*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is unavoidable (or \'irrelevant\') costs. Well done! <p> Book 11 Section 2.1', 'id' => 12945, ), 12946 => (object) array('question' => '4239', 'answer' => 'comitte*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is unavoidable costs. Well done! <i> <p> Book 11 Section 2.1', 'id' => 12946, ), 12947 => (object) array('question' => '4239', 'answer' => 'commite*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is unavoidable costs. Well done! <i> <p> Book 11 Section 2.1', 'id' => 12947, ), 12948 => (object) array('question' => '4239', 'answer' => '*', 'fraction' => '0', 'feedback' => 'The correct answer is unavoidable costs. <p> Book 11 Section 2.1', 'id' => 12948, ), ), 'usecase' => '0', ), 'hints' => false, )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '4025', 'uniqueid' => '4025', 'quiz' => '221', 'userid' => '55568', 'attempt' => '1', 'sumgrades' => '30', 'timestart' => '1178549306', 'timefinish' => '1178641326', 'timemodified' => '1178549306', 'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0', 'preview' => '0', )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:353$quiz = (object) array('id' => '221', 'course' => '187', 'name' => 'Practice CTMA04', 'intro' => 'This is the Practice CTMA04. Your mark for this CTMA <span style="font-style: italic">does not </span>contribute to your continuous assessment mark for B680.<br /><br />This CTMA covers material primarily in Books 10 and 11, however some of the questions may return to material you covered in Books 0 to 9. There are 100 questions in total.<br /><br />It is a function of this testing software that it cannot provide for every possible spelling error that you make. The onus is therefore on you, the student, to ensure that your spelling is correct. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1178492400', 'timeclose' => '1193875200', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '100', 'grade' => '100', 'timecreated' => '0', 'timemodified' => '1195232889', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:4241$expectedqa = (object) array('behaviour' => 'informationitem', 'questionid' => 8719, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "MUSIC TEACHING AND LEARNING \n\nIn this section we ask you to audit your knowledge, skills and understanding against the key issues covered by the non-core online and face-to-face module units. You will be invited to identify your strengths and provide evidence of your experience and understanding.\n\nIn this set of questions, you should select from the drop-down menu ‘None’, ‘Some’, ‘Good’ or ‘Strong’.", 'rightanswer' => '', 'responsesummary' => '', 'timemodified' => 1187168654, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1187168654, 'userid' => 24474, 'data' => array( ), ), ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:5801$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 4184, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "Complete the following sentence by providing an appropriate word for the indicated gap. \n\nCapital investment appraisal involves both quantitative and ______ issues.", 'rightanswer' => 'qualitative*', 'responsesummary' => 'subjective', 'timemodified' => 1178825180, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1178636138, 'userid' => 83485, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1178636171, 'userid' => 83485, 'data' => array('answer' => 'qualitative'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1178825180, 'userid' => 83485, 'data' => array('answer' => 'subjective'), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1178825180, 'userid' => 83485, 'data' => array('answer' => 'subjective', '-finish' => 1), ), ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:5231$qstates = array(94330 => (object) array('attempt' => '4058', 'question' => '4184', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1178636138', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 94330, ), 94415 => (object) array('attempt' => '4058', 'question' => '4184', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'qualitative', 'timestamp' => '1178636171', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '1', 'id' => 94415, ), 100142 => (object) array('attempt' => '4058', 'question' => '4184', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'subjective', 'timestamp' => '1178825180', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 100142, ), 100733 => (object) array('attempt' => '4058', 'question' => '4184', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => 'subjective', 'timestamp' => '1178825180', 'event' => '3', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 100733, ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:4611$question = (object) array('id' => '4184', 'category' => '204', 'parent' => '0', 'name' => '4abP1 Book 11 Section 3.1 capit invest appraisal defn', 'questiontext' => 'Complete the following sentence by providing an appropriate word for the indicated gap. <p>Capital investment appraisal involves both quantitative and ______ issues. </p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070417143727+tO4yGs', 'version' => 'learn.open.ac.uk+070417143727+fieanX', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('answers' => array(12768 => (object) array('question' => '4184', 'answer' => 'qualitative*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is qualitative issues. Well done! <p> Book 11 Section 3.1', 'id' => 12768, ), 12769 => (object) array('question' => '4184', 'answer' => 'qual*tat*ve*', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is qualitative issues. Well done! <i>(but watch your spelling!)</i> <p> Book 11 Section 3.1', 'id' => 12769, ), 12770 => (object) array('question' => '4184', 'answer' => '*', 'fraction' => '0', 'feedback' => 'The correct answer is qualitative issues. <p> Book 11 Section 3.1', 'id' => 12770, ), ), 'usecase' => '0', ), 'hints' => false, )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:4481$attempt = (object) array('id' => '4058', 'uniqueid' => '4058', 'quiz' => '221', 'userid' => '83485', 'attempt' => '1', 'sumgrades' => '19', 'timestart' => '1178636138', 'timefinish' => '1178874880', 'timemodified' => '1178636138', 'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0', 'preview' => '0', )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:4173$quiz = (object) array('id' => '221', 'course' => '187', 'name' => 'Practice CTMA04', 'intro' => 'This is the Practice CTMA04. Your mark for this CTMA <span style="font-style: italic">does not </span>contribute to your continuous assessment mark for B680.<br /><br />This CTMA covers material primarily in Books 10 and 11, however some of the questions may return to material you covered in Books 0 to 9. There are 100 questions in total.<br /><br />It is a function of this testing software that it cannot provide for every possible spelling error that you make. The onus is therefore on you, the student, to ensure that your spelling is correct. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1178492400', 'timeclose' => '1193875200', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '100', 'grade' => '100', 'timecreated' => '0', 'timemodified' => '1195232889', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:3811$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 10216, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'In information-oriented integration what is the document which describes all the data structures in a potential integrated system and their relationships, for example, the fact that one database contained on a server will consist of a subset of another database contained in another server?', 'rightanswer' => '*Enterprise data model*', 'responsesummary' => 'enterprise data dictionary', 'timemodified' => 1161206024, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1161205933, 'userid' => 111471, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedpartial', 'fraction' => 0.8, 'timecreated' => 1161206024, 'userid' => 111471, 'data' => array('answer' => 'enterprise data dictionary', '-finish' => 1), ), ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:3501$qstates = array(677543 => (object) array('attempt' => '17778', 'question' => '10216', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1161205933', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 677543, ), 677550 => (object) array('attempt' => '17778', 'question' => '10216', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'enterprise data dictionary', 'timestamp' => '1161206024', 'event' => '6', 'grade' => '0.8', 'raw_grade' => '0.8', 'penalty' => '0.1', 'id' => 677550, ), )
/question/type/shortanswer/tests/upgrade_old_attempt_data_test.php:2891$question = (object) array('id' => '10216', 'category' => '528', 'parent' => '0', 'name' => 'Q2', 'questiontext' => '<font size="2">In information-oriented integration what is the document which describes all the data structures in a potential integrated system and their relationships, for example, the fact that one database contained on a server will consist of a subset of another database contained in another server?</font>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'vledemo.open.ac.uk+060512111049+aApRic', 'version' => 'vledemo.open.ac.uk+060719152101+aydsEU', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('answers' => array(31846 => (object) array('question' => '10216', 'answer' => '*Enterprise data model*', 'fraction' => '1', 'feedback' => 'It is the \'Enterprise data model\'.', 'id' => 31846, ), 31847 => (object) array('question' => '10216', 'answer' => '*Enterprise*', 'fraction' => '0.8', 'feedback' => 'It is the \'Enterprise data model\'.', 'id' => 31847, ), 31848 => (object) array('question' => '10216', 'answer' => '*', 'fraction' => '0', 'feedback' => 'It is the \'Enterprise data model\'.', 'id' => 31848, ), ), 'usecase' => '0', ), 'hints' => false, )
/question/type/description/tests/upgrade_old_attempt_data_test.php:1441$expectedqa = (object) array('behaviour' => 'informationitem', 'questionid' => 4940, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'The following questions are based on the Northampton Art Gallery case study and associated web links. The questions cover artists and works that were available during the study weeks for Block 3. Some items may no longer be available on websites but will be available in the readings for Block 3.', 'rightanswer' => '', 'responsesummary' => '', 'timemodified' => 1185289572, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1185289572, 'userid' => 13, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'finished', 'fraction' => null, 'timecreated' => 1185289572, 'userid' => 13, 'data' => array('-finish' => 1), ), ), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:1801$quiz = (object) array('id' => '442', 'course' => '2591', 'name' => 'Needs Analysis (online version)', 'intro' => '<h3>Information </h3>The purpose of the Needs Analysis is to help you identify your professional development needs and those programme modules which will best address them. <br /><br />This Needs Analysis will form the basis of a discussion with your mentor from which will emerge your Professional Development Plan (PDP). Identifying professional development needs is an integral part of the process of professional development. The PDP and the subsequent professional development opportunities it identifies will be effective only if the Needs Analysis is completed fully and accurately. You will get much more out of the programme if you give plenty of time at this early stage to the Needs Analysis. <br /><br /><h3>1. Personal and Professional Information</h3>In addition to personal information you will be asked to outline any professional qualifications and experience to date. <br /><br /><h3>2. Professional and Musical Skills</h3>In this section you will be asked to record your skills, knowledge and experience against a range of professional activities which closely relate to the focus of the music CPD programme. You will be asked to provide brief examples of evidence of those areas in which you have significant experience. <br /><br /><h3>3. Issues in Music Teaching and Learning</h3>This section is organised under three areas: Learning Musically, Teaching Musically and Making Music. <br /><br />In this section we ask you to audit your knowledge, skills and understanding against the key issues covered by the online and face-to-face module units. You will be invited to identify your strengths and provide evidence of your experience and understanding. <br /><br />', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '1', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71719269', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1202212400', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:791$question = (object) array('id' => '4940', 'category' => '247', 'parent' => '0', 'name' => 'Northampton Gallery Case Study', 'questiontext' => 'The following questions are based on the Northampton Art Gallery case study and associated web links. The questions cover artists and works that were available during the study weeks for Block 3. Some items may no longer be available on websites but will be available in the readings for Block 3.', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'description', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070501114616+rtsfKk', 'version' => 'learn.open.ac.uk+070501114616+ZY94d5', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:1131$qstates = array(297730 => (object) array('attempt' => '6802', 'question' => '4940', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1185289572', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 297730, ), 297740 => (object) array('attempt' => '6802', 'question' => '4940', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '', 'timestamp' => '1185289572', 'event' => '8', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 297740, ), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '278', 'course' => '2950', 'name' => 'test quiz 1', 'intro' => 'my demonstration quiz ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '5', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1178101987', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '6802', 'uniqueid' => '6802', 'quiz' => '278', 'userid' => '13', 'attempt' => '1', 'sumgrades' => '2.33333', 'timestart' => '1185289572', 'timefinish' => '1185289637', 'timemodified' => '1185289590', 'layout' => '4940,0,5043,0,4945,0,4942,0,5566,0', 'preview' => '1', )
/question/type/multichoice/tests/question_single_test.php:2422$newmc->answers = array(23 => new question_answer(13, 'A', 1, 'A is right', FORMAT_HTML), 24 => new question_answer(14, 'B', -0.3333333, 'B is wrong', FORMAT_HTML), 25 => new question_answer(15, 'C', -0.3333333, 'C is wrong', FORMAT_HTML), )
/question/type/multichoice/tests/question_single_test.php:2702$newmc->answers = array(23 => new question_answer(13, 'A', 1, 'A is right', FORMAT_HTML), 24 => new question_answer(14, 'B', -0.3333333, 'B is wrong', FORMAT_HTML), 25 => new question_answer(15, 'C', -0.3333333, 'C is wrong', FORMAT_HTML), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:3721$question = (object) array('id' => '8719', 'category' => '427', 'parent' => '0', 'name' => 'Music Teaching and Learning', 'questiontext' => '<h3>Music Teaching and Learning </h3><br />In this section we ask you to audit your knowledge, skills and understanding against the key issues covered by the non-core online and face-to-face module units. You will be invited to identify your strengths and provide evidence of your experience and understanding.<br /><br />In this set of questions, you should select from the drop-down menu ‘None’, ‘Some’, ‘Good’ or ‘Strong’.<br /><br />', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'description', 'length' => '0', 'stamp' => 'learn.open.ac.uk+070430145701+r8LVld', 'version' => 'learn.open.ac.uk+070430145834+FxIAjw', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:4061$qstates = array(361166 => (object) array('attempt' => '7401', 'question' => '8719', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1187168654', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 361166, ), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:3251$quiz = (object) array('id' => '466', 'course' => '3464', 'name' => 'Music CPD Needs Analysis', 'intro' => '<h3>Information </h3>The purpose of the Needs Analysis is to help you identify your professional development needs and those programme modules which will best address them. <br /><br />This Needs Analysis will form the basis of a discussion with your mentor from which will emerge your Professional Development Plan (PDP). Identifying professional development needs is an integral part of the process of professional development. The PDP and the subsequent professional development opportunities it identifies will be effective only if the Needs Analysis is completed fully and accurately. You will get much more out of the programme if you give plenty of time at this early stage to the Needs Analysis. <br /><br /> <h3>1. Personal and Professional Information</h3>In addition to personal information you will be asked to outline any professional qualifications and experience to date. <br /><br /> <h3>2. Professional and Musical Skills</h3>In this section you will be asked to record your skills, knowledge and experience against a range of professional activities which closely relate to the focus of the music CPD programme. You will be asked to provide brief examples of evidence of those areas in which you have significant experience. <br /><br /> <h3>3. Issues in Music Teaching and Learning</h3>This section is organised under three areas: Learning Musically, Teaching Musically and Making Music. <br /><br />In this section we ask you to audit your knowledge, skills and understanding against the key issues covered by the online and face-to-face module units. You will be invited to identify your strengths and provide evidence of your experience and understanding. <br /> <br />', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '1', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71719269', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1184685800', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:3591$attempt = (object) array('id' => '7401', 'uniqueid' => '7401', 'quiz' => '466', 'userid' => '24474', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1187168654', 'timefinish' => '0', 'timemodified' => '1187168769', 'layout' => '8691,0,8690,8692,8693,8694,0,8695,0,8696,0,8697,0,8698,0,8699,0,8700,0,8701,8702,0,8703,8704,0,8705,8706,0,8707,8708,0,8709,8710,0,8711,8712,0,8713,8714,0,8715,8716,0,8717,8718,0,8719,0,8720,8721,8722,0,8723,8724,8725,0,8726,8727,8728,8729,0,8730,8731,8732,0,8733,8734,8735,0,8736,8737,8738,8739,0,8740,8741,0,8742,8743,8744,0,8745,8746,8747,0,8748,8749,8750,0,8752,8751,8753,8754,0', 'preview' => '1', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:2581$qstates = array(476039 => (object) array('attempt' => '11230', 'question' => '8492', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1192648793', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 476039, ), 480877 => (object) array('attempt' => '11230', 'question' => '8492', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '', 'timestamp' => '1192648793', 'event' => '7', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 480877, ), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:2891$expectedqa = (object) array('behaviour' => 'informationitem', 'questionid' => 8492, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "PERSONAL AND PROFESSIONAL INFORMATION\n\nHere we want you to enter personal information and outline your professional qualifications and experience to date.", 'rightanswer' => '', 'responsesummary' => '', 'timemodified' => 1192648793, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1192648793, 'userid' => 193184, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'finished', 'fraction' => null, 'timecreated' => 1192648793, 'userid' => 193184, 'data' => array('-finish' => 1), ), ), )
/question/type/description/tests/upgrade_old_attempt_data_test.php:2111$attempt = (object) array('id' => '11230', 'uniqueid' => '11230', 'quiz' => '442', 'userid' => '193184', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1192648793', 'timefinish' => '1192742609', 'timemodified' => '1192742300', 'layout' => '8492,0,8487,8488,8489,8490,0,8441,0,8443,0,8486,0,8444,0,8445,0,8494,0,8446,8429,0,8447,8430,0,8448,8431,0,8449,8432,0,8450,8433,0,8451,8434,0,8452,8435,0,8453,8436,0,8454,8437,0,8493,0,8455,8456,8457,0,8458,8459,8460,0,8461,8462,8463,8438,0,8464,8465,8466,0,8467,8468,8469,0,8470,8471,8472,8439,0,8473,8440,0,8474,8475,8476,0,8477,8478,8479,0,8480,8481,8482,0,8483,8484,8485,8442,0', 'preview' => '0', )
/question/type/description/tests/upgrade_old_attempt_data_test.php:2241$question = (object) array('id' => '8492', 'category' => '131', 'parent' => '0', 'name' => 'Personal and Professional Information', 'questiontext' => '<h3>Personal and Professional Information</h3><br />Here we want you to enter personal information and outline your professional qualifications and experience to date.', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'description', 'length' => '0', 'stamp' => 'learn.open.ac.uk+070808083925+qTmPpB', 'version' => 'learn.open.ac.uk+070907143809+3ltY7I', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', )
/question/type/calculated/backup/moodle1/lib.php:901$options = array('calculate_option' => array('id' => $this->converter->get_nextid( ), 'synchronize' => 0, 'single' => 0, 'shuffleanswers' => 0, 'correctfeedback' => null, 'correctfeedbackformat' => FORMAT_HTML, 'partiallycorrectfeedback' => null, 'partiallycorrectfeedbackformat' => FORMAT_HTML, 'incorrectfeedback' => null, 'incorrectfeedbackformat' => FORMAT_HTML, 'answernumbering' => 'abc'))
/question/type/random/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '2177', 'course' => '5174', 'name' => 'iCMA 41', 'intro' => '<p>Welcome. This is the first K101 Interactive Computer Marked Assignment (iCMA).</p> <p>After the open date, begin by clicking <b>Start attempt</b> and a pop-up box will appear. Click OK and this will take you to the questions.</p> <p> </p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1236556800', 'timeclose' => '1238713140', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '1', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '0', 'review' => '67268673', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '5', 'grade' => '100', 'timecreated' => '0', 'timemodified' => '1236269160', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:681$attempt = (object) array('id' => '125687', 'uniqueid' => '125688', 'quiz' => '2177', 'userid' => '509191', 'attempt' => '1', 'sumgrades' => '5', 'timestart' => '1236590532', 'timefinish' => '1238184306', 'timemodified' => '1238182560', 'layout' => '28698,0,34245,0,34248,0,35005,0,35009,0,35013,0', 'preview' => '0', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:811$question = (object) array('id' => '34248', 'category' => '3762', 'parent' => '34248', 'name' => 'Random Question (Q2)', 'questiontext' => '1', 'questiontextformat' => '0', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'random', 'length' => '1', 'stamp' => 'learn.open.ac.uk+090218115858+6H1FBE', 'version' => 'learn.open.ac.uk+090218115858+REDwJ6', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1234958338', 'timemodified' => '1234958338', 'createdby' => '219095', 'modifiedby' => '219095', 'unlimited' => '0', 'maxmark' => '1', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:1151$qstates = array(3820084 => (object) array('attempt' => '125688', 'question' => '34248', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => 'random34999-103135,103136,103137:', 'timestamp' => '1236590532', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 3820084, ), 4009916 => (object) array('attempt' => '125688', 'question' => '34248', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'random34999-103135,103136,103137:103137', 'timestamp' => '1238182723', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0.1', 'id' => 4009916, ), 4010008 => (object) array('attempt' => '125688', 'question' => '34248', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'random34999-103135,103136,103137:103137', 'timestamp' => '1238182723', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.1', 'id' => 4010008, ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:1561$realquestion = (object) array('id' => '34999', 'category' => '3762', 'parent' => '0', 'name' => 'K101 iCMA41 Qs 2-v2', 'questiontext' => '<p>(Notice in the panel at the left that the question you have just done is now greyed out. Remember that you can <b>revisit any questions</b> by clicking on the <b>numbered boxes</b>. Click Q1 now to try this out and then click Q2 to return here.)</p> <p><img style="margin-left: 0px; margin-right: 0px;" src="http://learn.open.ac.uk/file.php/5174/K101images/icma41/K101CMA41-Q1-v0.gif" alt="Table 1 showing Number of households receiving home care (England)" title="Table 1 showing Number of households receiving home care (England)" width="512" height="284" /></p> <p><b>(<a target="_blank" href="http://learn.open.ac.uk/file.php/5174/iCMA-PDFs-resizableimages/k101-iCMA41-Q2-v2-ResizableFigure.pdf" title="PDF document containing iCMA image - to enable enlargement">Link to resizable Table 1</a>) </b></p> <p>Which was the first year when more than a quarter of a million households received care from independent agencies?</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+090227173002+mbdE0X', 'version' => 'learn.open.ac.uk+090304190917+xAB5Nf', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1235755802', 'timemodified' => '1236193757', 'createdby' => '25299', 'modifiedby' => '25299', 'unlimited' => '0', 'options' => (object) array('id' => '15211', 'question' => '34999', 'layout' => '0', 'answers' => array(103135 => (object) array('question' => '34999', 'answer' => '2001', 'fraction' => '0', 'feedback' => '', 'id' => 103135, ), 103136 => (object) array('question' => '34999', 'answer' => '2003', 'fraction' => '0', 'feedback' => '', 'id' => 103136, ), 103137 => (object) array('question' => '34999', 'answer' => '2005', 'fraction' => '1', 'feedback' => '', 'id' => 103137, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => 'Your answer is correct. Well done.', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => 'Your answer is incorrect. The correct answer is: 2005.', 'answernumbering' => 'abc', ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:2191$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 34999, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "(Notice in the panel at the left that the question you have just done is now greyed out. Remember that you can REVISIT ANY QUESTIONS by clicking on the NUMBERED BOXES. Click Q1 now to try this out and then click Q2 to return here.) \n\n[Table 1 showing Number of households receiving home care (England)] \n\n(LINK TO RESIZABLE TABLE 1) \n\nWhich was the first year when more than a quarter of a million households received care from independent agencies?", 'rightanswer' => '2005', 'responsesummary' => '2005', 'timemodified' => 1238182723, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1236590532, 'userid' => 509191, 'data' => array('_order' => '103135,103136,103137'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1238182723, 'userid' => 509191, 'data' => array('answer' => 2), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1238182723, 'userid' => 509191, 'data' => array('answer' => 2, '-finish' => 1), ), ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:2631$quiz = (object) array('id' => '4410', 'course' => '5444', 'name' => 'Block 3, Session 5 Quiz', 'intro' => 'Pour chacune des questions suivantes vous avez trois réponses possibles. Cochez la bonne. (Cliquez sur « Check » pour vérifier votre réponse.)', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'optionflags' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '3', 'shufflequestions' => '1', 'shuffleanswers' => '1', 'sumgrades' => '15', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1269429396', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:6001$qstates = array(272 => (object) array('id' => '272', 'attempt' => '15', 'question' => '18', 'seq_number' => '0', 'answer' => 'dataset1-|||||', 'timestamp' => '1305830744', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 279 => (object) array('id' => '279', 'attempt' => '15', 'question' => '18', 'seq_number' => '1', 'answer' => 'dataset1-123|||||cm', 'timestamp' => '1305830775', 'event' => '3', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 280 => (object) array('id' => '280', 'attempt' => '15', 'question' => '18', 'seq_number' => '2', 'answer' => 'dataset1-12.4|||||', 'timestamp' => '1305830787', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '0.5000000', 'penalty' => '0.1000000', ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:6421$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 18, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 9.9 m + 2.5 m? _______________ Remember to type a unit.', 'rightanswer' => '12.4 m', 'responsesummary' => '12.4', 'timemodified' => 1305830787, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830744, 'userid' => 3, 'data' => array('_separators' => '.$,', '_var_a' => '9.9', '_var_b' => '2.5'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => 0, 'timecreated' => 1305830775, 'userid' => 3, 'data' => array('answer' => '123 cm', '-_try' => 1, '-_rawfraction' => 0, '-submit' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => 0, 'timecreated' => 1305830787, 'userid' => 3, 'data' => array('answer' => '12.4'), ), ), )
/question/type/calculated/tests/question_type_test.php:1241$answer = $answerbase + ['answer' => $fromform->answer[$key], 'fraction' => (float) $fromform->fraction[$key], 'tolerance' => $fromform->tolerance[$key], 'tolerancetype' => $fromform->tolerancetype[$key], 'correctanswerlength' => $fromform->correctanswerlength[$key], 'correctanswerformat' => $fromform->correctanswerformat[$key], 'feedback' => $fromform->feedback[$key]['text'], 'feedbackformat' => $fromform->feedback[$key]['format'], ]
/question/type/calculated/tests/helper.php:591$q->answers = [13 => new \qtype_calculated\qtype_calculated_answer(13, '{a} + {b}', 1.0, 'Very good.', FORMAT_HTML, 0), 14 => new \qtype_calculated\qtype_calculated_answer(14, '{a} - {b}', 0.0, 'Add. not subtract!.', FORMAT_HTML, 0), 17 => new \qtype_calculated\qtype_calculated_answer(17, '*', 0.0, 'Completely wrong.', FORMAT_HTML, 0), ]
/question/type/calculated/tests/helper.php:762$q->datasetloader = new qtype_calculated_test_dataset_loader(0, [['a' => 1, 'b' => 5], ['a' => 3, 'b' => 4], ['a' => 3, 'b' => 0.01416], ['a' => 31, 'b' => 0.01416], ])
/question/type/calculated/tests/helper.php:1081$qdata->options->answers = [13 => new \qtype_calculated\qtype_calculated_answer(13, '{a} + {b}', 1.0, 'Very good.', FORMAT_HTML, 0.001), 14 => new \qtype_calculated\qtype_calculated_answer(14, '{a} - {b}', 0.0, 'Add. not subtract!.', FORMAT_HTML, 0.001), 17 => new \qtype_calculated\qtype_calculated_answer(17, '*', 0.0, 'Completely wrong.', FORMAT_HTML, 0), ]
/question/type/calculated/tests/helper.php:2242$q->datasetloader = new qtype_calculated_test_dataset_loader(0, [['a' => 1, 'b' => 5], ['a' => 3, 'b' => 4], ['a' => 3, 'b' => 0.01416], ['a' => 31, 'b' => 0.01416], ])
/question/type/calculated/backup/moodle1/lib.php:771$record = array('id' => $this->converter->get_nextid( ), 'answer' => $calculatedrecord['answer'], 'tolerance' => $calculatedrecord['tolerance'], 'tolerancetype' => $calculatedrecord['tolerancetype'], 'correctanswerlength' => $calculatedrecord['correctanswerlength'], 'correctanswerformat' => $calculatedrecord['correctanswerformat'])
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:2693$attempt = (object) array('id' => '14', 'uniqueid' => '14', 'quiz' => '4', 'userid' => '4', 'attempt' => '2', 'sumgrades' => '2.80000', 'timestart' => '1305830661', 'timefinish' => '1305830729', 'timemodified' => '1305830729', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:2329$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:3591$qstates = array(261 => (object) array('id' => '261', 'attempt' => '14', 'question' => '18', 'seq_number' => '0', 'answer' => 'dataset11-|||||', 'timestamp' => '1305830661', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 265 => (object) array('id' => '265', 'attempt' => '14', 'question' => '18', 'seq_number' => '1', 'answer' => 'dataset11-9.6|||||', 'timestamp' => '1305830714', 'event' => '3', 'grade' => '0.5000000', 'raw_grade' => '0.5000000', 'penalty' => '0.1000000', ), 266 => (object) array('id' => '266', 'attempt' => '14', 'question' => '18', 'seq_number' => '2', 'answer' => 'dataset11-9.6|||||m', 'timestamp' => '1305830722', 'event' => '3', 'grade' => '0.9000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 269 => (object) array('id' => '269', 'attempt' => '14', 'question' => '18', 'seq_number' => '3', 'answer' => 'dataset11-9.6|||||m', 'timestamp' => '1305830722', 'event' => '6', 'grade' => '0.9000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:2823$question = (object) array('id' => '18', 'category' => '2', 'parent' => '0', 'name' => 'Calculated', 'questiontext' => '<p>What is {a} m + {b} m?</p><p>_______________</p><p>Remember to type a unit.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculated', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184316+ELvZeg', 'version' => 'tjh238.vledev2.open.ac.uk+110519184317+exx1Bm', 'hidden' => '0', 'timecreated' => '1305830596', 'timemodified' => '1305830596', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '2', 'question' => '18', 'synchronize' => '0', 'single' => '0', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '0', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '0', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '0', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(28 => (object) array('id' => '28', 'question' => '18', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array(0 => (object) array('id' => '9', 'question' => '18', 'multiplier' => 1, 'unit' => 'm', ), ), 'unitgradingtype' => '1', 'unitpenalty' => '0.5000000', 'showunits' => '0', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:4739$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:4131$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 18, 'variant' => 11, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 5.1 m + 4.5 m? _______________ Remember to type a unit.', 'rightanswer' => '9.6 m', 'responsesummary' => '9.6 m', 'timemodified' => 1305830722, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830661, 'userid' => 4, 'data' => array('_separators' => '.$,', '_var_a' => '5.1', '_var_b' => '4.5'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => 0.5, 'timecreated' => 1305830714, 'userid' => 4, 'data' => array('answer' => 9.6, '-_try' => 1, '-_rawfraction' => 0.5, '-submit' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'todo', 'fraction' => 0.9, 'timecreated' => 1305830722, 'userid' => 4, 'data' => array('answer' => '9.6 m', '-_try' => 2, '-_rawfraction' => 1, '-submit' => 1), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 0.9, 'timecreated' => 1305830722, 'userid' => 4, 'data' => array('answer' => '9.6 m', '-_try' => 2, '-_rawfraction' => 1, '-finish' => 1), ), ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:5233$question = (object) array('id' => '18', 'category' => '2', 'parent' => '0', 'name' => 'Calculated', 'questiontext' => '<p>What is {a} m + {b} m?</p><p>_______________</p><p>Remember to type a unit.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculated', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184316+ELvZeg', 'version' => 'tjh238.vledev2.open.ac.uk+110519184317+exx1Bm', 'hidden' => '0', 'timecreated' => '1305830596', 'timemodified' => '1305830596', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '2', 'question' => '18', 'synchronize' => '0', 'single' => '0', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '0', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '0', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '0', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(28 => (object) array('id' => '28', 'question' => '18', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array(0 => (object) array('id' => '9', 'question' => '18', 'multiplier' => 1, 'unit' => 'm', ), ), 'unitgradingtype' => '1', 'unitpenalty' => '0.5000000', 'showunits' => '0', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:5103$attempt = (object) array('id' => '15', 'uniqueid' => '15', 'quiz' => '4', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '0.70000', 'timestart' => '1305830744', 'timefinish' => '0', 'timemodified' => '1305830792', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/shortanswer/tests/helper.php:821$qdata->options->answers = array(13 => new question_answer(13, 'frog', 1.0, 'Frog is a very good answer.', FORMAT_HTML), 14 => new question_answer(14, 'toad', 0.8, 'Toad is an OK good answer.', FORMAT_HTML), 15 => new question_answer(15, '*', 0.0, 'That is a bad answer.', FORMAT_HTML), )
/question/type/shortanswer/tests/helper.php:541$sa->answers = array(13 => new question_answer(13, 'frog', 1.0, 'Frog is a very good answer.', FORMAT_HTML), 14 => new question_answer(14, 'toad', 0.8, 'Toad is an OK good answer.', FORMAT_HTML), 15 => new question_answer(15, '*', 0.0, 'That is a bad answer.', FORMAT_HTML), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:349$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculated/questiontype.php:8231$datasetdefs[$defid]->options = $form->calcdistribution[$key + 1] . ':' . $form->calcmin[$key + 1] . ':' . $form->calcmax[$key + 1] . ':' . $form->calclength[$key + 1]
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:843$question = (object) array('id' => '18', 'category' => '2', 'parent' => '0', 'name' => 'Calculated', 'questiontext' => '<p>What is {a} m + {b} m?</p><p>_______________</p><p>Remember to type a unit.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculated', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184316+ELvZeg', 'version' => 'tjh238.vledev2.open.ac.uk+110519184317+exx1Bm', 'hidden' => '0', 'timecreated' => '1305830596', 'timemodified' => '1305830596', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '2', 'question' => '18', 'synchronize' => '0', 'single' => '0', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '0', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '0', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '0', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(28 => (object) array('id' => '28', 'question' => '18', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array(0 => (object) array('id' => '9', 'question' => '18', 'multiplier' => 1, 'unit' => 'm', ), ), 'unitgradingtype' => '1', 'unitpenalty' => '0.5000000', 'showunits' => '0', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:713$attempt = (object) array('id' => '13', 'uniqueid' => '13', 'quiz' => '4', 'userid' => '4', 'attempt' => '1', 'sumgrades' => '0.00000', 'timestart' => '1305830650', 'timefinish' => '1305830656', 'timemodified' => '1305830656', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:1911$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 18, 'variant' => 10, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 7.5 m + 4.9 m? _______________ Remember to type a unit.', 'rightanswer' => '12.4 m', 'responsesummary' => '', 'timemodified' => 1305830650, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('_separators' => '.$,', '_var_a' => '7.5', '_var_b' => '4.9'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => null, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('answer' => '', '-finish' => 1, '-_try' => 1, '-_rawfraction' => 0), ), ), )
/question/type/calculated/tests/upgrade_old_attempt_data_test.php:1611$qstates = array(255 => (object) array('id' => '255', 'attempt' => '13', 'question' => '18', 'seq_number' => '0', 'answer' => 'dataset10-|||||', 'timestamp' => '1305830650', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 258 => (object) array('id' => '258', 'attempt' => '13', 'question' => '18', 'seq_number' => '1', 'answer' => 'dataset10-|||||', 'timestamp' => '1305830650', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:4949$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:5313$attempt = (object) array('id' => '15', 'uniqueid' => '15', 'quiz' => '4', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '0.70000', 'timestart' => '1305830744', 'timefinish' => '0', 'timemodified' => '1305830792', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:4081$qstates = array(260 => (object) array('id' => '260', 'attempt' => '14', 'question' => '17', 'seq_number' => '0', 'answer' => 'dataset8-25,24,27,26:', 'timestamp' => '1305830661', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 264 => (object) array('id' => '264', 'attempt' => '14', 'question' => '17', 'seq_number' => '1', 'answer' => 'dataset8-25,24,27,26:25', 'timestamp' => '1305830699', 'event' => '3', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 268 => (object) array('id' => '268', 'attempt' => '14', 'question' => '17', 'seq_number' => '2', 'answer' => 'dataset8-25,24,27,26:25', 'timestamp' => '1305830699', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:4501$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 17, 'variant' => 8, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 3.7 + 6.0?', 'rightanswer' => '9.7', 'responsesummary' => '9.7', 'timemodified' => 1305830699, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830661, 'userid' => 4, 'data' => array('_order' => '25,24,27,26', '_var_a' => '3.7', '_var_b' => '6.0'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => 1, 'timecreated' => 1305830699, 'userid' => 4, 'data' => array('answer' => '0', '-submit' => 1, '-_try' => 1, '-_rawfraction' => 1), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1305830699, 'userid' => 4, 'data' => array('answer' => '0', '-finish' => 1, '-_try' => 1, '-_rawfraction' => 1), ), ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:7261$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 17, 'variant' => 7, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 4.4 + 8.2?', 'rightanswer' => '12.6', 'responsesummary' => '-3.8', 'timemodified' => 1305830768, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830744, 'userid' => 3, 'data' => array('_order' => '26,24,25,27', '_var_a' => '4.4', '_var_b' => '8.2'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => 0, 'timecreated' => 1305830759, 'userid' => 3, 'data' => array('answer' => '3', '-submit' => 1, '-_try' => 1, '-_rawfraction' => 0), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'todo', 'fraction' => 0, 'timecreated' => 1305830761, 'userid' => 3, 'data' => array('answer' => '1', '-submit' => 1, '-_try' => 2, '-_rawfraction' => 0), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'todo', 'fraction' => 0, 'timecreated' => 1305830764, 'userid' => 3, 'data' => array('answer' => '0', '-submit' => 1, '-_try' => 3, '-_rawfraction' => 0), ), 4 => (object) array('sequencenumber' => 4, 'state' => 'todo', 'fraction' => 0.7, 'timecreated' => 1305830766, 'userid' => 3, 'data' => array('answer' => '2', '-submit' => 1, '-_try' => 4, '-_rawfraction' => 1), ), 5 => (object) array('sequencenumber' => 5, 'state' => 'todo', 'fraction' => 0.7, 'timecreated' => 1305830768, 'userid' => 3, 'data' => array('answer' => '1', '-submit' => 1, '-_try' => 5, '-_rawfraction' => 0), ), ), )
/question/type/calculatedmulti/tests/helper.php:661$q->answers = array(13 => new \qtype_calculated\qtype_calculated_answer(13, '{={a} + {b}}', 1.0, 'Very good.', FORMAT_HTML, 0), 14 => new \qtype_calculated\qtype_calculated_answer(14, '{={a} - {b}}', 0.0, 'Add. not subtract!', FORMAT_HTML, 0), 17 => new \qtype_calculated\qtype_calculated_answer(17, '{={a} + 2 * {b}}', 0.0, 'Just add.', FORMAT_HTML, 0), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:5443$question = (object) array('id' => '17', 'category' => '2', 'parent' => '0', 'name' => 'Calculated multiple-choice', 'questiontext' => '<p>What is {a} + {b}?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedmulti', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184120+gpbLCv', 'version' => 'tjh238.vledev2.open.ac.uk+110519184120+P5jpWJ', 'hidden' => '0', 'timecreated' => '1305830480', 'timemodified' => '1305830480', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '1', 'question' => '17', 'synchronize' => '0', 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(24 => (object) array('id' => '24', 'question' => '17', 'answer' => '{={a} - {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 25 => (object) array('id' => '25', 'question' => '17', 'answer' => '{={a} + {b}}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 26 => (object) array('id' => '26', 'question' => '17', 'answer' => '{={a} / {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 27 => (object) array('id' => '27', 'question' => '17', 'answer' => '{={a} * {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), ), 'hints' => array( ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:6481$qstates = array(271 => (object) array('id' => '271', 'attempt' => '15', 'question' => '17', 'seq_number' => '0', 'answer' => 'dataset7-26,24,25,27:', 'timestamp' => '1305830744', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 274 => (object) array('id' => '274', 'attempt' => '15', 'question' => '17', 'seq_number' => '1', 'answer' => 'dataset7-26,24,25,27:27', 'timestamp' => '1305830759', 'event' => '3', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 275 => (object) array('id' => '275', 'attempt' => '15', 'question' => '17', 'seq_number' => '2', 'answer' => 'dataset7-26,24,25,27:24', 'timestamp' => '1305830761', 'event' => '3', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 276 => (object) array('id' => '276', 'attempt' => '15', 'question' => '17', 'seq_number' => '3', 'answer' => 'dataset7-26,24,25,27:26', 'timestamp' => '1305830764', 'event' => '3', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 277 => (object) array('id' => '277', 'attempt' => '15', 'question' => '17', 'seq_number' => '4', 'answer' => 'dataset7-26,24,25,27:25', 'timestamp' => '1305830766', 'event' => '3', 'grade' => '0.7000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 278 => (object) array('id' => '278', 'attempt' => '15', 'question' => '17', 'seq_number' => '5', 'answer' => 'dataset7-26,24,25,27:24', 'timestamp' => '1305830768', 'event' => '3', 'grade' => '0.7000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:843$question = (object) array('id' => '17', 'category' => '2', 'parent' => '0', 'name' => 'Calculated multiple-choice', 'questiontext' => '<p>What is {a} + {b}?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedmulti', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184120+gpbLCv', 'version' => 'tjh238.vledev2.open.ac.uk+110519184120+P5jpWJ', 'hidden' => '0', 'timecreated' => '1305830480', 'timemodified' => '1305830480', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '1', 'question' => '17', 'synchronize' => '0', 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(24 => (object) array('id' => '24', 'question' => '17', 'answer' => '{={a} - {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 25 => (object) array('id' => '25', 'question' => '17', 'answer' => '{={a} + {b}}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 26 => (object) array('id' => '26', 'question' => '17', 'answer' => '{={a} / {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 27 => (object) array('id' => '27', 'question' => '17', 'answer' => '{={a} * {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), ), 'hints' => array( ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:1881$qstates = array(254 => (object) array('id' => '254', 'attempt' => '13', 'question' => '17', 'seq_number' => '0', 'answer' => 'dataset3-24,26,27,25:', 'timestamp' => '1305830650', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 257 => (object) array('id' => '257', 'attempt' => '13', 'question' => '17', 'seq_number' => '1', 'answer' => 'dataset3-24,26,27,25:', 'timestamp' => '1305830650', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:349$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:713$attempt = (object) array('id' => '13', 'uniqueid' => '13', 'quiz' => '4', 'userid' => '4', 'attempt' => '1', 'sumgrades' => '0.00000', 'timestart' => '1305830650', 'timefinish' => '1305830656', 'timemodified' => '1305830656', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:2913$attempt = (object) array('id' => '14', 'uniqueid' => '14', 'quiz' => '4', 'userid' => '4', 'attempt' => '2', 'sumgrades' => '2.80000', 'timestart' => '1305830661', 'timefinish' => '1305830729', 'timemodified' => '1305830729', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:3043$question = (object) array('id' => '17', 'category' => '2', 'parent' => '0', 'name' => 'Calculated multiple-choice', 'questiontext' => '<p>What is {a} + {b}?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedmulti', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110519184120+gpbLCv', 'version' => 'tjh238.vledev2.open.ac.uk+110519184120+P5jpWJ', 'hidden' => '0', 'timecreated' => '1305830480', 'timemodified' => '1305830480', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '1', 'question' => '17', 'synchronize' => '0', 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => 'abc', 'shownumcorrect' => '0', 'answers' => array(24 => (object) array('id' => '24', 'question' => '17', 'answer' => '{={a} - {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 25 => (object) array('id' => '25', 'question' => '17', 'answer' => '{={a} + {b}}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 26 => (object) array('id' => '26', 'question' => '17', 'answer' => '{={a} / {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), 27 => (object) array('id' => '27', 'question' => '17', 'answer' => '{={a} * {b}}', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), ), 'hints' => array( ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:2181$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 17, 'variant' => 3, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 4.3 + 5.4?', 'rightanswer' => '9.7', 'responsesummary' => '', 'timemodified' => 1305830650, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('_order' => '24,26,27,25', '_var_a' => '4.3', '_var_b' => '5.4'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => null, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('-finish' => 1, '-_try' => 1, '-_rawfraction' => 0), ), ), )
/question/type/calculatedmulti/tests/upgrade_old_attempt_data_test.php:2549$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:7802$quiz = (object) array('id' => '2', 'course' => '2', 'name' => 'Numerical quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '5.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305273177', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:7361$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 83248, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "The figure below shows a graph for converting between miles and kilometres. \n\n[ The graph has a horizontal axis, labelled miles, with a scale marked from 0 to 50 in steps of 5, and a vertical axis, labelled kilometres, with a scale from 0 to 80 in steps of 10. The straight line of the graph starts at the origin and slopes up to the right, and appears to pass through the point corresponding to 25 miles and 40 kilometres, and through the point corresponding to 50 miles and 80 kilometres. ] \n\nBy taking a reading from the graph, estimate how many kilometres are equivalent to 40 miles. \n\nRound your answer to the nearest kilometre and type it in the box below. \n\n(Your answer should be a single number, without units.)", 'rightanswer' => '64 km', 'responsesummary' => '64', 'timemodified' => 1268471437, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1267605659, 'userid' => 239341, 'data' => array('_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1268471437, 'userid' => 239341, 'data' => array('answer' => '64'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1268471437, 'userid' => 239341, 'data' => array('answer' => '64', '-finish' => '1'), ), ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:6451$realquestion = (object) array('id' => '83248', 'category' => '6882', 'parent' => '0', 'name' => '42.02.03.GraphConvert.E', 'questiontext' => '<p> The figure below shows a graph for converting between miles and kilometres. </p><p><img src="http://learnacct.open.ac.uk/file.php/5233/quizImages/u2/figs/42.02.07.GraphConvert.png" alt=" The graph has a horizontal axis, labelled miles, with a scale marked from 0 to 50 in steps of 5, and a vertical axis, labelled kilometres, with a scale from 0 to 80 in steps of 10. The straight line of the graph starts at the origin and slopes up to the right, and appears to pass through the point corresponding to 25 miles and 40 kilometres, and through the point corresponding to 50 miles and 80 kilometres. "></img> </p><p>By taking a reading from the graph, estimate how many kilometres are equivalent to 40 miles. </p><p>Round your answer to the nearest kilometre and type it in the box below. </p><p>(Your answer should be a single number, without units.) </p>', 'questiontextformat' => '0', 'defaultmark' => '3', 'penalty' => '0.333333', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'learn.open.ac.uk+100108135957+SZhkKF', 'version' => 'learn.open.ac.uk+100108135957+ej40PM', 'hidden' => '0', 'generalfeedback' => '<p> Conversion graph for miles and kilometres. </p><p><img src="http://learnacct.open.ac.uk/file.php/5233/quizImages/u2/figs/42.02.07.GraphConvert.E.png" alt=" The figure is the same as in the question, with some two additional lines drawn. So, the graph has a horizontal axis, labelled miles, with a scale marked from 0 to 50 in steps of 5, and a vertical axis, labelled kilometres, with a scale from 0 to 80 in steps of 10. The straight line of the graph starts at the origin and slopes up to the right, and appears to pass through the point corresponding to 25 miles and 40 kilometres, and through the point corresponding to 50 miles and 80 kilometres. The first additional line is vertical line drawn upwards from the horizontal axis from the point corresponding to 40 miles to the point where it meets the sloping line of the graph. From that point a horizontal line is drawn to meet the vertical axis at the point corresponding to 64 kilometres approximately."></img> </p><p>So 40 miles is approximately 64 km. </p><p>See Unit 2, Subsection 2.3. </p>', 'generalfeedbackformat' => '1', 'timecreated' => '1262959197', 'timemodified' => '0', 'createdby' => '123783', 'modifiedby' => null, 'unlimited' => '0', 'options' => (object) array('answers' => array(278332 => (object) array('question' => '83248', 'answer' => '64', 'fraction' => '1', 'feedback' => 'Your answer is correct.', 'tolerance' => '1', 'id' => 278332, ), 278333 => (object) array('question' => '83248', 'answer' => '64', 'fraction' => '0', 'feedback' => 'Your answer is incorrect. It is close, but not quite accurate enough.', 'tolerance' => '5', 'id' => 278333, ), 278334 => (object) array('question' => '83248', 'answer' => '25', 'fraction' => '0', 'feedback' => 'Your answer is incorrect. Remember you are converting from miles to kilometres.', 'tolerance' => '5', 'id' => 278334, ), 278335 => (object) array('question' => '83248', 'answer' => '*', 'fraction' => '0', 'feedback' => 'Your answer is incorrect.', 'tolerance' => '0', 'id' => 278335, ), ), 'units' => array(0 => (object) array('question' => '83248', 'multiplier' => 1, 'unit' => 'km', 'id' => 2030, ), 1 => (object) array('question' => '83248', 'multiplier' => 1, 'unit' => 'kilometres', 'id' => 2031, ), ), ), 'hints' => array(44315 => (object) array('questionid' => '83248', 'hint' => 'See Unit 2, Subsection 2.3.', 'rest' => null, 'id' => 44315, ), 44316 => (object) array('questionid' => '83248', 'hint' => '<p> Find the measurement on the horizontal axis, draw a line vertically up to meet the conversion line and read off the corresponding value on the vertical axis. </p><p>See Unit 2, Subsection 2.3. </p>', 'rest' => null, 'id' => 44316, ), ), 'maxmark' => '1', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:5911$qstates = array(8809801 => (object) array('attempt' => '331815', 'question' => '81247', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => 'random83248-', 'timestamp' => '1267605659', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 8809801, ), 9081885 => (object) array('attempt' => '331815', 'question' => '81247', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '64', 'timestamp' => '1268384692', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0.333333', 'id' => 9081885, ), 9107452 => (object) array('attempt' => '331815', 'question' => '81247', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'random83248-64', 'timestamp' => '1268471437', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0.333333', 'id' => 9107452, ), 9646306 => (object) array('attempt' => '331815', 'question' => '81247', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'random83248-64', 'timestamp' => '1268471437', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.333333', 'id' => 9646306, ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:9321$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 14, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is twice 1.5 m?', 'rightanswer' => '3 m', 'responsesummary' => '300 cm', 'timemodified' => 1305273666, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305273645, 'userid' => 3, 'data' => array('_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1305273666, 'userid' => 3, 'data' => array('answer' => '300', 'unit' => 'cm'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1305273666, 'userid' => 3, 'data' => array('answer' => '300', 'unit' => 'cm', '-finish' => 1), ), ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:8911$qstates = array(145 => (object) array('id' => '145', 'attempt' => '7', 'question' => '14', 'seq_number' => '0', 'answer' => '|||||', 'timestamp' => '1305273645', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 150 => (object) array('id' => '150', 'attempt' => '7', 'question' => '14', 'seq_number' => '1', 'answer' => '300|||||cm', 'timestamp' => '1305273666', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 155 => (object) array('id' => '155', 'attempt' => '7', 'question' => '14', 'seq_number' => '2', 'answer' => '300|||||cm', 'timestamp' => '1305273666', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:8241$question = (object) array('id' => '14', 'category' => '2', 'parent' => '0', 'name' => 'MC units', 'questiontext' => '<p>What is twice 1.5 m?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110513075703+anXKfw', 'version' => 'tjh238.vledev2.open.ac.uk+110513075807+HiXe4P', 'hidden' => '0', 'timecreated' => '1305273423', 'timemodified' => '1305273487', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('answers' => array(21 => (object) array('id' => '21', 'question' => '14', 'answer' => '3', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '', ), ), 'units' => array(0 => (object) array('id' => '5', 'question' => '14', 'multiplier' => 1, 'unit' => 'm', ), 1 => (object) array('id' => '6', 'question' => '14', 'multiplier' => 100, 'unit' => 'cm', ), ), 'unitgradingtype' => '2', 'unitpenalty' => '0.5000000', 'showunits' => '1', 'unitsleft' => '0', 'instructions' => '<p>Write an answer like 3 m.</p>', 'instructionsformat' => '1', ), 'defaultmark' => '1.0000000', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:8111$attempt = (object) array('id' => '7', 'uniqueid' => '7', 'quiz' => '2', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '5.00000', 'timestart' => '1305273645', 'timefinish' => '1305273672', 'timemodified' => '1305273672', 'layout' => '6,12,13,15,14,0', 'preview' => '0', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:3971$realquestion = (object) array('id' => '98355', 'category' => '9148', 'parent' => '0', 'name' => '20', 'questiontext' => 'En France, le covoiturage est une pratique qui a été au départ préconisé par « les écolos et les verts », mais depuis, elle :', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.33', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'learn.open.ac.uk+100324131532+CExeWh', 'version' => 'learn.open.ac.uk+100326162411+qEo2Bg', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1269436532', 'timemodified' => '1269620651', 'createdby' => '220574', 'modifiedby' => '220574', 'unlimited' => '0', 'options' => (object) array('id' => '37042', 'question' => '98355', 'layout' => '0', 'answers' => array(341066 => (object) array('question' => '98355', 'answer' => 'a été soutenue par les partis de droite.', 'fraction' => '0', 'feedback' => '', 'id' => 341066, ), 341067 => (object) array('question' => '98355', 'answer' => 'n’est plus uniquement un positionnement écologiste.', 'fraction' => '1', 'feedback' => '', 'id' => 341067, ), 341068 => (object) array('question' => '98355', 'answer' => 'est une idée de gauche, du centre, de droite, d’extrême gauche ou d’extrême droite.', 'fraction' => '0', 'feedback' => '', 'id' => 341068, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => 'Vrai.', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => 'Faux.', 'answernumbering' => 'abc', ), 'hints' => false, 'maxmark' => '1', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:3431$qstates = array(10786382 => (object) array('attempt' => '418703', 'question' => '101984', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => 'random98355-341067,341066,341068:', 'timestamp' => '1274178725', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 10786382, ), 10786398 => (object) array('attempt' => '418703', 'question' => '101984', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'random98355-341067,341066,341068:341061', 'timestamp' => '1274178725', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0.33', 'id' => 10786398, ), 10786515 => (object) array('attempt' => '418703', 'question' => '101984', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'random98355-341067,341066,341068:341067', 'timestamp' => '1274179164', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0.33', 'id' => 10786515, ), 10786541 => (object) array('attempt' => '418703', 'question' => '101984', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => 'random98355-341067,341066,341068:341067', 'timestamp' => '1274179164', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.33', 'id' => 10786541, ), )
/question/type/random/tests/upgrade_old_attempt_data_test.php:3081$question = (object) array('id' => '101984', 'category' => '9148', 'parent' => '101984', 'name' => 'Random Question (Block 3, Session 5 Quiz)', 'questiontext' => '1', 'questiontextformat' => '0', 'image' => '', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'random', 'length' => '1', 'stamp' => 'learn.open.ac.uk+100416133531+H1yive', 'version' => 'learn.open.ac.uk+100416133531+KrpbHq', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1271424931', 'timemodified' => '1271424931', 'createdby' => '220574', 'modifiedby' => '220574', 'unlimited' => '0', 'maxmark' => '1', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:2951$attempt = (object) array('id' => '418702', 'uniqueid' => '418703', 'quiz' => '4410', 'userid' => '62892', 'attempt' => '2', 'sumgrades' => '9', 'timestart' => '1274178725', 'timefinish' => '1274179255', 'timemodified' => '1274178763', 'layout' => '101989,101985,101994,0,101988,101986,101992,0,101997,101990,101991,0,101984,101995,101987,0,101983,101993,101996,0', 'preview' => '0', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:5561$question = (object) array('id' => '81247', 'category' => '6882', 'parent' => '81247', 'name' => 'Random Question (42.02.03.GraphConvert)', 'questiontext' => '1', 'questiontextformat' => '0', 'image' => '', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'random', 'length' => '1', 'stamp' => 'learn.open.ac.uk+091215084951+AYsG5O', 'version' => 'learn.open.ac.uk+091215084951+VSqp4u', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1260866991', 'timemodified' => '1260866991', 'createdby' => '27595', 'modifiedby' => '27595', 'unlimited' => '0', 'maxmark' => '1', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:5431$attempt = (object) array('id' => '331814', 'uniqueid' => '331815', 'quiz' => '2624', 'userid' => '239341', 'attempt' => '1', 'sumgrades' => '9.13333', 'timestart' => '1267605659', 'timefinish' => '1270202969', 'timemodified' => '1269508052', 'layout' => '68646,0,81245,0,81246,0,81247,0,81248,0,81249,0,81250,0,82795,0,82797,0,82798,0,82799,0,82800,0,82801,0,82802,0,82803,0,82804,0,82805,0,82806,0,82807,0', 'preview' => '0', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:5111$quiz = (object) array('id' => '2624', 'course' => '5233', 'name' => 'iCMA 42', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1267056000', 'timeclose' => '1271890740', 'optionflags' => '0', 'attempts' => '1', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '67268673', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '18', 'grade' => '18', 'timecreated' => '0', 'timemodified' => '1271852647', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/random/tests/upgrade_old_attempt_data_test.php:4591$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 98355, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'En France, le covoiturage est une pratique qui a été au départ préconisé par « les écolos et les verts », mais depuis, elle :', 'rightanswer' => 'n’est plus uniquement un positionnement écologiste.', 'responsesummary' => 'n’est plus uniquement un positionnement écologiste.', 'timemodified' => 1274179164, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1274178725, 'userid' => 62892, 'data' => array('_order' => '341067,341066,341068'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1274178725, 'userid' => 62892, 'data' => array('answer' => '-1'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1274179164, 'userid' => 62892, 'data' => array('answer' => '0'), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1274179164, 'userid' => 62892, 'data' => array('answer' => '0', '-finish' => '1'), ), ), )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:2051$expectedqa = (object) array('behaviour' => 'manualgraded', 'questionid' => 90056, 'variant' => 1, 'maxmark' => 2, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "Give two examples of facilities within XML schemas that cannot be found in Document Type Definitions (DTDs).\n_(2 marks)_", 'rightanswer' => '', 'responsesummary' => "Variable can be typed \n\nxml Schemas fully support Namespaces", 'timemodified' => 1273068477, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1271667586, 'userid' => 118065, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1271670445, 'userid' => 118065, 'data' => array('answer' => '<p>Variable typeing</p> <p>Namespaces</p>', 'answerformat' => FORMAT_HTML), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1271671440, 'userid' => 118065, 'data' => array('answer' => '<p>Variable can be typed</p> <p>xml Schemas fully support Namespaces</p>', 'answerformat' => FORMAT_HTML), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'needsgrading', 'fraction' => null, 'timecreated' => 1271671440, 'userid' => 118065, 'data' => array('answer' => '<p>Variable can be typed</p> <p>xml Schemas fully support Namespaces</p>', '-finish' => 1, 'answerformat' => FORMAT_HTML), ), 4 => (object) array('sequencenumber' => 4, 'state' => 'mangrright', 'fraction' => 1, 'timecreated' => 1273068477, 'userid' => null, 'data' => array('-comment' => '', '-mark' => 2, '-maxmark' => 2, 'answerformat' => FORMAT_HTML), ), ), )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:2682$quiz = (object) array('id' => '142', 'course' => '187', 'name' => 'Questionnaire', 'intro' => '<p>B680 is pioneering the use of the eAssessment module in the OU VLE (Virtual Learning Environment). We believe that the module is fit for purpose but we need users\' (students and ALs) experience to confirm this. Your answers to this short questionnaire therefore are of wide importance to the OU VLE Development Programme. If you could complete this short questionnaire after attempting Practice CTMA04 <b></b>it would be greatly appreciated.</p> <p>The questionnaire has 15 questions and we would like you to answer as many of these as possible. When you have completed your answers you will see a End test button, similar to the one in Practice CTMA 04, which you will need to click. This will move you to a Summary page. Please click the \'Submit all and finish\' button when you are happy to submit your final answers. <strong>Please complete the questionnaire only once.</strong> At a later stage the B680 Course Team will analyse the students\' answers to the questions. <br /></p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1178202609', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:3002$attempt = (object) array('id' => '4246', 'uniqueid' => '4246', 'quiz' => '142', 'userid' => '96864', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1179134211', 'timefinish' => '1179134998', 'timemodified' => '1179134869', 'layout' => '3664,3716,0,3663,3717,0,3718,3719,0,3720,0,3733,3727,0,3728,3730,0,3731,3732,0,3726,3729,0', 'preview' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:3132$question = (object) array('id' => '3729', 'category' => '163', 'parent' => '0', 'name' => 'Question 98', 'questiontext' => 'If you answered ‘No’ to the previous question please expand on your problem here.<br /><b></b><br />', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'essay', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070312094434+k2HaUF', 'version' => 'learn.open.ac.uk+070501173219+spx2IM', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', 'options' => (object) array('answers' => array(11264 => (object) array('question' => '3729', 'answer' => '', 'fraction' => '0', 'feedback' => '', 'id' => 11264, ), ), ), 'hints' => false, )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '4140', 'course' => '5012', 'name' => 'M887 Online Examination: 19th April 2010, 10am - 1pm', 'intro' => '<h2>M887 Examination Paper 19th April 2010</h2> <h2>Postgraduate Computing<br />Web Systems Integration<br /></h2> <h2>Begin by pressing Start Attempt (below)</h2>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1271665800', 'timeclose' => '1271682000', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '1', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '100', 'grade' => '100', 'timecreated' => '0', 'timemodified' => '1272274569', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:701$attempt = (object) array('id' => '388325', 'uniqueid' => '388326', 'quiz' => '4140', 'userid' => '118065', 'attempt' => '1', 'sumgrades' => '51', 'timestart' => '1271667586', 'timefinish' => '1271678351', 'timemodified' => '1273069013', 'layout' => '90042,0,90043,0,90045,0,90052,0,90053,0,90054,0,90055,0,90056,0,90057,0,90058,0,90059,0,90046,0,90044,0,90047,0,90048,0,90049,0', 'preview' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:831$question = (object) array('id' => '90056', 'category' => '8619', 'parent' => '0', 'name' => 'Question 6', 'questiontext' => '<p> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><meta name="ProgId" content="Word.Document"></meta><meta name="Generator" content="Microsoft Word 11"></meta><meta name="Originator" content="Microsoft Word 11"></meta><link rel="File-List" href="file:///C:\\DOCUME~1\\pgt2\\LOCALS~1\\Temp\\msohtml1\\01\\clip_filelist.xml"></link><style></style>Give two examples of facilities within XML schemas that cannot be found in Document Type Definitions (DTDs).<br /><i>(2 marks)</i></p>', 'questiontextformat' => '1', 'defaultmark' => '2', 'penalty' => '0', 'qtype' => 'essay', 'length' => '1', 'stamp' => 'learn.open.ac.uk+100205101651+5eB30s', 'version' => 'learn.open.ac.uk+100209161823+oZCX9n', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1265365011', 'timemodified' => '1265732303', 'createdby' => '219095', 'modifiedby' => '25483', 'unlimited' => '0', 'maxmark' => '2', 'options' => (object) array('answers' => array(303772 => (object) array('question' => '90056', 'answer' => '', 'fraction' => '0', 'feedback' => '', 'id' => 303772, ), ), ), 'hints' => false, )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:1311$qstates = array(10094242 => (object) array('attempt' => '388326', 'question' => '90056', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1271667586', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 10094242, ), 10096161 => (object) array('attempt' => '388326', 'question' => '90056', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '<p>Variable typeing</p> <p>Namespaces</p>', 'timestamp' => '1271670445', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 10096161, ), 10097144 => (object) array('attempt' => '388326', 'question' => '90056', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '<p>Variable can be typed</p> <p>xml Schemas fully support Namespaces</p>', 'timestamp' => '1271671440', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 10097144, ), 10103710 => (object) array('attempt' => '388326', 'question' => '90056', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => '<p>Variable can be typed</p> <p>xml Schemas fully support Namespaces</p>', 'timestamp' => '1271671440', 'event' => '8', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 10103710, ), 10517712 => (object) array('attempt' => '388326', 'question' => '90056', 'originalquestion' => '0', 'seq_number' => '4', 'answer' => '<p>Variable can be typed</p> <p>xml Schemas fully support Namespaces</p>', 'timestamp' => '1273068477', 'event' => '9', 'grade' => '2', 'raw_grade' => '2', 'penalty' => '0', 'id' => 10517712, ), )
/question/type/essay/renderer.php:1241$out .= plagiarism_get_links(['context' => $options->context->id, 'component' => $qa->get_question( )->qtype->plugin_name( ), 'area' => $qa->get_usage_id( ), 'itemid' => $qa->get_slot( ), 'userid' => $step->get_user_id( ), 'file' => $file])
/question/type/essay/renderer.php:3071$output .= html_writer::tag('div', $this->prepare_response($name, $qa, $step, $context), ['role' => 'textbox', 'aria-readonly' => 'true', 'aria-labelledby' => $labelbyid, 'class' => $this->class_name( ) . ' qtype_essay_response readonly', 'style' => 'min-height: ' . ($lines * 1.5) . 'em;', ])
/question/type/essay/renderer.php:5201return html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $inputname . ':itemid', 'value' => $draftitemid)) . html_writer::tag('noscript', html_writer::tag('div', html_writer::tag('object', '', array('type' => 'text/html', 'data' => $nonjspickerurl, 'height' => 160, 'width' => 600, 'style' => 'border: 1px solid #000;'))))
/question/type/essay/question.php:2441$settings = ['responseformat' => $this->responseformat, 'responserequired' => $this->responserequired, 'responsefieldlines' => $this->responsefieldlines, 'attachments' => $this->attachments, 'attachmentsrequired' => $this->attachmentsrequired, 'maxbytes' => $this->maxbytes, 'filetypeslist' => $this->filetypeslist, 'responsetemplate' => $this->responsetemplate, 'responsetemplateformat' => $this->responsetemplateformat, 'minwordlimit' => $this->minwordlimit, 'maxwordlimit' => $this->maxwordlimit, ]
/question/type/calculatedsimple/tests/helper.php:561$q->answers = array(13 => new \qtype_calculated\qtype_calculated_answer(13, '{a} + {b}', 1.0, 'Very good.', FORMAT_HTML, 0), 14 => new \qtype_calculated\qtype_calculated_answer(14, '{a} - {b}', 0.0, 'Add. not subtract!.', FORMAT_HTML, 0), 17 => new \qtype_calculated\qtype_calculated_answer(17, '*', 0.0, 'Completely wrong.', FORMAT_HTML, 0), )
/question/type/essay/questiontype.php:1311return array('editor' => get_string('formateditor', 'qtype_essay'), 'editorfilepicker' => get_string('formateditorfilepicker', 'qtype_essay'), 'plain' => get_string('formatplain', 'qtype_essay'), 'monospaced' => get_string('formatmonospaced', 'qtype_essay'), 'noinline' => get_string('formatnoinline', 'qtype_essay'), )
/question/type/essay/renderer.php:661$answer .= plagiarism_get_links(['context' => $options->context->id, 'component' => $qa->get_question( )->qtype->plugin_name( ), 'area' => $qa->get_usage_id( ), 'itemid' => $qa->get_slot( ), 'userid' => $step->get_user_id( ), 'content' => $qa->get_response_summary( )])
/question/type/essay/renderer.php:1181$out = html_writer::link($qa->get_response_file_url($file), $this->output->pix_icon(file_file_icon($file), get_mimetype_description($file), 'moodle', array('class' => 'icon')) . ' ' . s($file->get_filename( )))
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:4943$question = (object) array('id' => '16', 'category' => '2', 'parent' => '0', 'name' => 'Calculated simple', 'questiontext' => '<p>What is {={a}} + {={b}} ?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedsimple', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110517161007+2Barhu', 'version' => 'tjh238.vledev2.open.ac.uk+110517161008+Mu6OQu', 'hidden' => '0', 'timecreated' => '1305648607', 'timemodified' => '1305648607', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('synchronize' => 0, 'single' => 0, 'answernumbering' => 'abc', 'shuffleanswers' => 0, 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctfeedbackformat' => 0, 'partiallycorrectfeedbackformat' => 0, 'incorrectfeedbackformat' => 0, 'answers' => array(23 => (object) array('id' => '23', 'question' => '16', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '<p>Well done!</p>', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '0.1000000', 'showunits' => '3', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:4813$attempt = (object) array('id' => '15', 'uniqueid' => '15', 'quiz' => '4', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '0.70000', 'timestart' => '1305830744', 'timefinish' => '0', 'timemodified' => '1305830792', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:5921$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 16, 'variant' => 6, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 6.1 + 7 ?', 'rightanswer' => '13.1', 'responsesummary' => '13.1', 'timemodified' => 1305830755, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830744, 'userid' => 3, 'data' => array('_separators' => '.$,', '_var_a' => '6.1', '_var_b' => '7'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1305830755, 'userid' => 3, 'data' => array('answer' => 13.1), ), ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:5621$qstates = array(270 => (object) array('id' => '270', 'attempt' => '15', 'question' => '16', 'seq_number' => '0', 'answer' => 'dataset6-|||||', 'timestamp' => '1305830744', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 273 => (object) array('id' => '273', 'attempt' => '15', 'question' => '16', 'seq_number' => '1', 'answer' => 'dataset6-13.1|||||', 'timestamp' => '1305830755', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:3371$qstates = array(259 => (object) array('id' => '259', 'attempt' => '14', 'question' => '16', 'seq_number' => '0', 'answer' => 'dataset4-|||||', 'timestamp' => '1305830661', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 262 => (object) array('id' => '262', 'attempt' => '14', 'question' => '16', 'seq_number' => '1', 'answer' => 'dataset4-9.00|||||', 'timestamp' => '1305830668', 'event' => '3', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 263 => (object) array('id' => '263', 'attempt' => '14', 'question' => '16', 'seq_number' => '2', 'answer' => 'dataset4-15.40|||||', 'timestamp' => '1305830679', 'event' => '3', 'grade' => '0.9000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 267 => (object) array('id' => '267', 'attempt' => '14', 'question' => '16', 'seq_number' => '3', 'answer' => 'dataset4-15.40|||||', 'timestamp' => '1305830679', 'event' => '6', 'grade' => '0.9000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:2693$question = (object) array('id' => '16', 'category' => '2', 'parent' => '0', 'name' => 'Calculated simple', 'questiontext' => '<p>What is {={a}} + {={b}} ?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedsimple', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110517161007+2Barhu', 'version' => 'tjh238.vledev2.open.ac.uk+110517161008+Mu6OQu', 'hidden' => '0', 'timecreated' => '1305648607', 'timemodified' => '1305648607', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('synchronize' => 0, 'single' => 0, 'answernumbering' => 'abc', 'shuffleanswers' => 0, 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctfeedbackformat' => 0, 'partiallycorrectfeedbackformat' => 0, 'incorrectfeedbackformat' => 0, 'answers' => array(23 => (object) array('id' => '23', 'question' => '16', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '<p>Well done!</p>', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '0.1000000', 'showunits' => '3', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:4449$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:3911$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 16, 'variant' => 4, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 6.4 + 9 ?', 'rightanswer' => '15.4', 'responsesummary' => '15.40', 'timemodified' => 1305830679, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830661, 'userid' => 4, 'data' => array('_separators' => '.$,', '_var_a' => '6.4', '_var_b' => '9'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => 0, 'timecreated' => 1305830668, 'userid' => 4, 'data' => array('answer' => '9.00', '-submit' => 1, '-_try' => 1, '-_rawfraction' => 0), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'todo', 'fraction' => 0.9, 'timecreated' => 1305830679, 'userid' => 4, 'data' => array('answer' => '15.40', '-submit' => 1, '-_try' => 2, '-_rawfraction' => 1), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 0.9, 'timecreated' => 1305830679, 'userid' => 4, 'data' => array('answer' => '15.40', '-finish' => 1, '-_try' => 2, '-_rawfraction' => 1), ), ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:1821$expectedqa = (object) array('behaviour' => 'adaptive', 'questionid' => 16, 'variant' => 7, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is 3 + 6 ?', 'rightanswer' => '9', 'responsesummary' => '', 'timemodified' => 1305830650, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('_separators' => '.$,', '_var_a' => '3', '_var_b' => '6'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1305830650, 'userid' => 4, 'data' => array('answer' => '', '-finish' => 1, '-_try' => 1, '-_rawfraction' => 0), ), ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:1521$qstates = array(253 => (object) array('id' => '253', 'attempt' => '13', 'question' => '16', 'seq_number' => '0', 'answer' => 'dataset7-|||||', 'timestamp' => '1305830650', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 256 => (object) array('id' => '256', 'attempt' => '13', 'question' => '16', 'seq_number' => '1', 'answer' => 'dataset7-|||||', 'timestamp' => '1305830650', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:2563$attempt = (object) array('id' => '14', 'uniqueid' => '14', 'quiz' => '4', 'userid' => '4', 'attempt' => '2', 'sumgrades' => '2.80000', 'timestart' => '1305830661', 'timefinish' => '1305830729', 'timemodified' => '1305830729', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:2199$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:349$quiz = (object) array('id' => '4', 'course' => '2', 'name' => 'Calculated quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '3.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305648351', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptive', 'reviewattempt' => '69888', 'reviewcorrectness' => '69888', 'reviewmarks' => '69888', 'reviewspecificfeedback' => '69888', 'reviewgeneralfeedback' => '69888', 'reviewrightanswer' => '69888', 'reviewoverallfeedback' => '4352', )
/question/type/calculatedmulti/tests/helper.php:1091$q->answers = array(13 => new \qtype_calculated\qtype_calculated_answer(13, '{a} + {b}!', 0.5, 'Good', FORMAT_HTML, 0), 14 => new \qtype_calculated\qtype_calculated_answer(14, '{={a} + {b}}', 0.5, 'Good', FORMAT_HTML, 0), 17 => new \qtype_calculated\qtype_calculated_answer(17, '{={a} - {b}}', -0.5, 'Wrong.', FORMAT_HTML, 0), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:843$question = (object) array('id' => '16', 'category' => '2', 'parent' => '0', 'name' => 'Calculated simple', 'questiontext' => '<p>What is {={a}} + {={b}} ?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultmark' => '1.0000000', 'penalty' => '0.1', 'qtype' => 'calculatedsimple', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110517161007+2Barhu', 'version' => 'tjh238.vledev2.open.ac.uk+110517161008+Mu6OQu', 'hidden' => '0', 'timecreated' => '1305648607', 'timemodified' => '1305648607', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('synchronize' => 0, 'single' => 0, 'answernumbering' => 'abc', 'shuffleanswers' => 0, 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctfeedbackformat' => 0, 'partiallycorrectfeedbackformat' => 0, 'incorrectfeedbackformat' => 0, 'answers' => array(23 => (object) array('id' => '23', 'question' => '16', 'answer' => '{a} + {b}', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '<p>Well done!</p>', 'feedbackformat' => '1', 'tolerance' => '0.01', 'tolerancetype' => '1', 'correctanswerlength' => '2', 'correctanswerformat' => '1', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '0.1000000', 'showunits' => '3', 'unitsleft' => '0', ), 'hints' => array( ), )
/question/type/calculatedsimple/tests/upgrade_old_attempt_data_test.php:713$attempt = (object) array('id' => '13', 'uniqueid' => '13', 'quiz' => '4', 'userid' => '4', 'attempt' => '1', 'sumgrades' => '0.00000', 'timestart' => '1305830650', 'timefinish' => '1305830656', 'timemodified' => '1305830656', 'layout' => '16,0,17,0,18,0', 'preview' => '0', )
/question/format/gift/tests/giftformat_test.php:761$qdata = (object) array('id' => 666, 'name' => 'Q8', 'questiontext' => 'How are you?', 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'qtype' => 'essay', 'options' => (object) array('responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => '', 'graderinfoformat' => FORMAT_HTML, ), )
/question/format/gift/tests/giftformat_test.php:1221$expectedq = (object) array('name' => 'Moodle activities', 'questiontext' => 'Match the <b>activity</b> to the description.', 'questiontextformat' => FORMAT_HTML, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_HTML, 'qtype' => 'match', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'shuffleanswers' => '1', 'correctfeedback' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( ), ), 'partiallycorrectfeedback' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( ), ), 'incorrectfeedback' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( ), ), 'subquestions' => array(0 => array('text' => 'An activity supporting asynchronous discussions.', 'format' => FORMAT_HTML, 'files' => array( ), ), 1 => array('text' => 'A teacher asks a question and specifies a choice of multiple responses.', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => 'A bank of record entries which participants can add to.', 'format' => FORMAT_PLAIN, 'files' => array( ), ), 3 => array('text' => 'A collection of web pages that anyone can add to or edit.', 'format' => FORMAT_MARKDOWN, 'files' => array( ), ), 4 => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( ), ), ), 'subanswers' => array(0 => 'Forum', 1 => 'Choice', 2 => 'Database', 3 => 'Wiki', 4 => 'Chat', ), )
/question/format/xml/tests/xmlformat_test.php:11671$qdata->options->answers = array(13 => new qtype_numerical_answer(13, '42', 1, 'Well done!', FORMAT_HTML, 0.001), 14 => new qtype_numerical_answer(14, '13', 0, 'What were you thinking?!', FORMAT_HTML, 1), 15 => new qtype_numerical_answer(15, '*', 0, 'Completely wrong.', FORMAT_HTML, ''), )
/question/format/gift/tests/giftformat_test.php:531$expectedq = (object) array('name' => 'Q8', 'questiontext' => 'How are you?', 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'essay', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( )), )
/question/format/xml/tests/xmlformat_test.php:1671$q->options->answers = array(13 => new question_answer(13, 'frog', 1.0, 'Frog is a very good answer.', FORMAT_HTML), 14 => new question_answer(14, 'toad', 0.8, 'Toad is an OK good answer.', FORMAT_HTML), 15 => new question_answer(15, '*', 0.0, 'That is a bad answer.', FORMAT_HTML), )
/question/format/xml/tests/xmlformat_test.php:10021$qdata->options->answers = array(13 => new question_answer(13, '1', 0, '', FORMAT_HTML), 14 => new question_answer(14, '2', 1, '', FORMAT_HTML), 15 => new question_answer(15, '3', 0, '', FORMAT_HTML), 16 => new question_answer(16, '4', 1, '', FORMAT_HTML), )
/question/format/xml/tests/qformat_xml_import_export_test.php:4201$muquestion = $generator->create_question('truefalse', null, ['category' => $categorymu->id, 'name' => 'Mu Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Mu Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1'])
/question/format/xml/tests/qformat_xml_import_export_test.php:4511$category = $generator->create_question_category(['name' => 'Alpha', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Alpha category for test', 'infoformat' => '0', 'idnumber' => 'The inequalities < & >', 'stamp' => make_unique_id_code( ), 'parent' => '0', 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:4011$lambdaquestion = $generator->create_question('truefalse', null, ['category' => $categorylambda->id, 'name' => 'Lambda Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Lambda Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1'])
/question/format/xml/tests/qformat_xml_import_export_test.php:4121$categorymu = $generator->create_question_category(['name' => 'Mu', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Mu category for test', 'infoformat' => '0', 'stamp' => make_unique_id_code( ), 'parent' => $categoryiota->id, 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3811$kappaquestion1 = $generator->create_question('truefalse', null, ['category' => $categorykappa->id, 'name' => 'Kappa Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Kappa Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1', 'idnumber' => ''])
/question/format/xml/tests/qformat_xml_import_export_test.php:3931$categorylambda = $generator->create_question_category(['name' => 'Lambda', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Lambda category for test', 'infoformat' => '0', 'stamp' => make_unique_id_code( ), 'parent' => $categorykappa->id, 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3601$categorykappa = $generator->create_question_category(['name' => 'Kappa', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Kappa category for test', 'infoformat' => '4', 'stamp' => make_unique_id_code( ), 'parent' => $categoryiota->id, 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3681$kappaquestion = $generator->create_question('essay', null, ['category' => $categorykappa->id, 'name' => 'Kappa Essay Question', 'questiontext' => ['text' => 'Testing Kappa Essay Question'], 'generalfeedback' => '', 'responseformat' => 'editor', 'responserequired' => 1, 'responsefieldlines' => 10, 'attachments' => 0, 'attachmentsrequired' => 0, 'graderinfo' => ['format' => '1', 'text' => ''], 'responsetemplate' => ['format' => '1', 'text' => ''], 'idnumber' => ''])
/question/format/xml/tests/qformat_xml_import_export_test.php:3411$categoryiota = $generator->create_question_category(['name' => 'Iota', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Iota category for test', 'infoformat' => '2', 'stamp' => make_unique_id_code( ), 'parent' => '0', 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3491$iotaquestion = $generator->create_question('truefalse', null, ['category' => $categoryiota->id, 'name' => 'Iota Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Iota Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3111$question = $generator->create_question('truefalse', null, ['category' => $categoryzeta->id, 'name' => 'Zeta Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Zeta Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1'])
/question/format/xml/tests/qformat_xml_import_export_test.php:3031$categoryzeta = $generator->create_question_category(['name' => 'Zeta', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Zeta category for test', 'infoformat' => '0', 'stamp' => make_unique_id_code( ), 'parent' => $categoryepsilon->id, 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:2951$categoryepsilon = $generator->create_question_category(['name' => 'Epsilon', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Epsilon category for test', 'infoformat' => '4', 'stamp' => make_unique_id_code( ), 'parent' => $categorydelta->id, 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:2871$categorydelta = $generator->create_question_category(['name' => 'Delta', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Delta category for test', 'infoformat' => '2', 'stamp' => make_unique_id_code( ), 'parent' => '0', 'sortorder' => '999'])
/question/format/xml/tests/qformat_xml_import_export_test.php:2611$question = $generator->create_question('truefalse', null, ['category' => $category->id, 'name' => 'Alpha Question', 'questiontext' => ['format' => '1', 'text' => '<p>Testing Alpha Question</p>'], 'generalfeedback' => ['format' => '1', 'text' => ''], 'correctanswer' => '1', 'feedbacktrue' => ['format' => '1', 'text' => ''], 'feedbackfalse' => ['format' => '1', 'text' => ''], 'penalty' => '1'])
/question/format/xml/tests/qformat_xml_import_export_test.php:2521$category = $generator->create_question_category(['name' => 'Alpha', 'contextid' => context_course::instance($SITE->id)->id, 'info' => 'This is Alpha category for test', 'infoformat' => '0', 'idnumber' => 'alpha-idnumber', 'stamp' => make_unique_id_code( ), 'parent' => '0', 'sortorder' => '999'])
/question/type/essay/tests/privacy/provider_test.php:951return ['default mark 2' => ['defaultmark', 2, 2], 'responseformat editror ' => ['responseformat', 'editor', get_string('formateditor', 'qtype_essay')], 'responseformat editor and filepicker ' => ['responseformat', 'editorfilepicker', get_string('formateditorfilepicker', 'qtype_essay')], 'responseformat plain ' => ['responseformat', 'plain', get_string('formatplain', 'qtype_essay')], 'responseformat monospaced ' => ['responseformat', 'monospaced', get_string('formatmonospaced', 'qtype_essay')], 'responseformat noinline ' => ['responseformat', 'noinline', get_string('formatnoinline', 'qtype_essay')], 'responserequired yes' => ['responserequired', 1, get_string('responseisrequired', 'qtype_essay')], 'responserequired no ' => ['responserequired', 0, get_string('responsenotrequired', 'qtype_essay')], 'responsefieldlines 10' => ['responsefieldlines', 10, '10 lines'], 'attachments none' => ['attachments', 0, get_string('no')], 'attachments 3' => ['attachments', 3, '3'], 'attachments unlimited' => ['attachments', -1, get_string('unlimited')], 'attachmentsrequired optional' => ['attachmentsrequired', 0, get_string('attachmentsoptional', 'qtype_essay')], 'attachmentsrequired 1' => ['attachmentsrequired', 1, '1'], 'maxbytes 50KB' => ['maxbytes', 51200, '50KB']]
/question/type/essay/tests/form/edit_form_test.php:1081return ['Attachments allowed=0, required=0, valid' => [0, 0, $valid], 'Attachments allowed=0, required=1, invalid, so required is set to 0 when saving' => [0, 1, $valid], 'Attachments allowed=0, required=2, invalid, so required is set to 0 when saving' => [0, 2, $valid], 'Attachments allowed=0, required=3, invalid, so required is set to 0 when saving' => [0, 3, $valid], 'Attachments allowed=1, required=0, valid' => [1, 0, $valid], 'Attachments allowed=1, required=1, valid' => [1, 1, $valid], 'Attachments allowed=1, required=2, invalid' => [1, 2, $invalid], 'Attachments allowed=2, required=3, invalid' => [2, 3, $invalid], 'Attachments allowed=3, required=4, invalid' => [3, 4, $invalid], 'Attachments allowed=-1, required=4, valid' => [-1, 4, $valid], ]
/question/type/essay/tests/question_test.php:3931return ['No limit' => [null, null, ''], 'min and max, answer within range' => [10, 25, get_string('wordcount', 'qtype_essay', 14)], 'min and max, answer too short' => [15, 25, get_string('wordcounttoofew', 'qtype_essay', ['count' => 14, 'limit' => 15])], 'min and max, answer too long' => [5, 12, get_string('wordcounttoomuch', 'qtype_essay', ['count' => 14, 'limit' => 12])], 'min only, answer within range' => [14, null, get_string('wordcount', 'qtype_essay', 14)], 'min only, answer too short' => [15, null, get_string('wordcounttoofew', 'qtype_essay', ['count' => 14, 'limit' => 15])], 'max only, answer within range' => [null, 14, get_string('wordcount', 'qtype_essay', 14)], 'max only, answer too short' => [null, 13, get_string('wordcounttoomuch', 'qtype_essay', ['count' => 14, 'limit' => 13])], ]
/question/type/essay/tests/question_test.php:3571return ['text input required, min/max word limit not set' => [1, 0, 0, ''], 'text input required, min/max word limit valid (within the boundaries)' => [1, 10, 25, ''], 'text input required, min word limit not reached' => [1, 15, 25, get_string('minwordlimitboundary', 'qtype_essay', ['count' => 14, 'limit' => 15])], 'text input required, max word limit is exceeded' => [1, 5, 12, get_string('maxwordlimitboundary', 'qtype_essay', ['count' => 14, 'limit' => 12])], 'text input not required, min/max word limit not set' => [0, 5, 12, ''], ]
/question/type/essay/tests/upgrade_old_attempt_data_test.php:5301$expectedqa = (object) array('behaviour' => 'manualgraded', 'questionid' => 3729, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "If you answered ‘No’ to the previous question please expand on your problem here.", 'rightanswer' => '', 'responsesummary' => '', 'timemodified' => 1179134211, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1179134211, 'userid' => 96864, 'data' => array( ), ), ), )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:4922$question = (object) array('id' => '3729', 'category' => '163', 'parent' => '0', 'name' => 'Question 98', 'questiontext' => 'If you answered ‘No’ to the previous question please expand on your problem here.<br /><b></b><br />', 'questiontextformat' => '1', 'defaultmark' => '0', 'penalty' => '0', 'qtype' => 'essay', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070312094434+k2HaUF', 'version' => 'learn.open.ac.uk+070501173219+spx2IM', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '0', 'options' => (object) array('answers' => array(11264 => (object) array('question' => '3729', 'answer' => '', 'fraction' => '0', 'feedback' => '', 'id' => 11264, ), ), ), 'hints' => false, )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:4792$attempt = (object) array('id' => '4246', 'uniqueid' => '4246', 'quiz' => '142', 'userid' => '96864', 'attempt' => '1', 'sumgrades' => '0', 'timestart' => '1179134211', 'timefinish' => '1179134998', 'timemodified' => '1179134869', 'layout' => '3664,3716,0,3663,3717,0,3718,3719,0,3720,0,3733,3727,0,3728,3730,0,3731,3732,0,3726,3729,0', 'preview' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:4472$quiz = (object) array('id' => '142', 'course' => '187', 'name' => 'Questionnaire', 'intro' => '<p>B680 is pioneering the use of the eAssessment module in the OU VLE (Virtual Learning Environment). We believe that the module is fit for purpose but we need users\' (students and ALs) experience to confirm this. Your answers to this short questionnaire therefore are of wide importance to the OU VLE Development Programme. If you could complete this short questionnaire after attempting Practice CTMA04 <b></b>it would be greatly appreciated.</p> <p>The questionnaire has 15 questions and we would like you to answer as many of these as possible. When you have completed your answers you will see a End test button, similar to the one in Practice CTMA 04, which you will need to click. This will move you to a Summary page. Please click the \'Submit all and finish\' button when you are happy to submit your final answers. <strong>Please complete the questionnaire only once.</strong> At a later stage the B680 Course Team will analyse the students\' answers to the questions. <br /></p>', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '0', 'grade' => '0', 'timecreated' => '0', 'timemodified' => '1178202609', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:4031$expectedqa = (object) array('behaviour' => 'manualgraded', 'questionid' => 3729, 'variant' => 1, 'maxmark' => 0, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "If you answered ‘No’ to the previous question please expand on your problem here.", 'rightanswer' => '', 'responsesummary' => 'it would be better to point our a \'red colour\' on the number which indicates the questions that we have done wrong. similar to previously, from question 1 to 10, green colour shows the right answer and red colour shows the wrong answer, so that we do not need to click on each answer to find out if it is right or wrong.', 'timemodified' => 1179134869, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1179134211, 'userid' => 96864, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1179134869, 'userid' => 96864, 'data' => array('answer' => 'it would be better to point our a \'red colour\' on the number which indicates the questions that we have done wrong. similar to previously, from question 1 to 10, green colour shows the right answer and red colour shows the wrong answer, so that we do not need to click on each answer to find out if it is right or wrong.', 'answerformat' => FORMAT_HTML), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'needsgrading', 'fraction' => null, 'timecreated' => 1179134869, 'userid' => 96864, 'data' => array('-finish' => 1, 'answer' => 'it would be better to point our a \'red colour\' on the number which indicates the questions that we have done wrong. similar to previously, from question 1 to 10, green colour shows the right answer and red colour shows the wrong answer, so that we do not need to click on each answer to find out if it is right or wrong.', 'answerformat' => FORMAT_HTML), ), ), )
/question/type/essay/tests/upgrade_old_attempt_data_test.php:3591$qstates = array(107407 => (object) array('attempt' => '4246', 'question' => '3729', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1179134211', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 107407, ), 107484 => (object) array('attempt' => '4246', 'question' => '3729', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => 'it would be better to point our a \'red colour\' on the number which indicates the questions that we have done wrong. similar to previously, from question 1 to 10, green colour shows the right answer and red colour shows the wrong answer, so that we do not need to click on each answer to find out if it is right or wrong.', 'timestamp' => '1179134869', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 107484, ), 107502 => (object) array('attempt' => '4246', 'question' => '3729', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => 'it would be better to point our a \'red colour\' on the number which indicates the questions that we have done wrong. similar to previously, from question 1 to 10, green colour shows the right answer and red colour shows the wrong answer, so that we do not need to click on each answer to find out if it is right or wrong.', 'timestamp' => '1179134869', 'event' => '8', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 107502, ), )
/grade/classes/grades/grader/gradingpanel/point/external/store.php:554return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), 'notifyuser' => new external_value(PARAM_BOOL, 'Wheteher to notify the user or not', VALUE_DEFAULT, false), 'formdata' => new external_value(PARAM_RAW, 'The serialised form data representing the grade', VALUE_REQUIRED), ])
/grade/classes/grades/grader/gradingpanel/point/external/fetch.php:574return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), ])
/grade/classes/grades/grader/gradingpanel/scale/external/fetch.php:1681return ['templatename' => 'core_grades/grades/grader/gradingpanel/scale', 'hasgrade' => $hasgrade, 'grade' => ['options' => $values, 'usergrade' => $grade->usergrade, 'maxgrade' => $maxgrade, 'gradedby' => $gradername, 'timecreated' => $grade->timecreated, 'timemodified' => $grade->timemodified, ], 'warnings' => [ ], ]
/grade/classes/grades/grader/gradingpanel/scale/external/fetch.php:1901return new external_single_structure(['templatename' => new external_value(PARAM_SAFEPATH, 'The template to use when rendering this data'), 'hasgrade' => new external_value(PARAM_BOOL, 'Does the user have a grade?'), 'grade' => new external_single_structure(['options' => new external_multiple_structure(new external_single_structure(['value' => new external_value(PARAM_FLOAT, 'The grade value'), 'title' => new external_value(PARAM_RAW, 'The description fo the option'), 'selected' => new external_value(PARAM_BOOL, 'Whether this item is currently selected'), ]), 'The description of the grade option'), 'usergrade' => new external_value(PARAM_RAW, 'Current user grade'), 'maxgrade' => new external_value(PARAM_RAW, 'Max possible grade'), 'gradedby' => new external_value(PARAM_RAW, 'The assumed grader of this grading instance'), 'timecreated' => new external_value(PARAM_INT, 'The time that the grade was created'), 'timemodified' => new external_value(PARAM_INT, 'The time that the grade was last updated'), ]), 'warnings' => new external_warnings( ), ])
/grade/classes/privacy/provider.php:4821$carry[] = ['name' => $deletedstr, 'graded_user_was_you' => transform::yesno($userid == $gghrecord->userid), 'grade' => $gghrecord->finalgrade, 'feedback' => format_text($gghrecord->feedback, $gghrecord->feedbackformat, ['context' => $context]), 'information' => format_text($gghrecord->information, $gghrecord->informationformat, ['context' => $context]), 'timemodified' => transform::datetime($gghrecord->timemodified), 'logged_in_user_was_you' => transform::yesno($userid == $gghrecord->loggeduser), 'author_of_change_was_you' => transform::yesno($userid == $gghrecord->usermodified), 'action' => static::transform_history_action($gghrecord->action)]
/grade/classes/privacy/provider.php:6081$carry[] = ['name' => $record->fullname, 'timemodified' => transform::datetime($record->timemodified), 'logged_in_user_was_you' => transform::yesno(true), 'action' => static::transform_history_action($record->action), ]
/grade/classes/grades/grader/gradingpanel/point/external/fetch.php:1711return ['templatename' => $templatename, 'hasgrade' => $hasgrade, 'grade' => ['grade' => $grade->grade, 'usergrade' => $grade->usergrade, 'maxgrade' => (int) $grade->maxgrade, 'gradedby' => $gradername, 'timecreated' => $grade->timecreated, 'timemodified' => $grade->timemodified, ], 'warnings' => [ ], ]
/grade/classes/grades/grader/gradingpanel/point/external/fetch.php:1931return new external_single_structure(['templatename' => new external_value(PARAM_SAFEPATH, 'The template to use when rendering this data'), 'hasgrade' => new external_value(PARAM_BOOL, 'Does the user have a grade?'), 'grade' => new external_single_structure(['grade' => new external_value(PARAM_FLOAT, 'The numeric grade'), 'usergrade' => new external_value(PARAM_RAW, 'Current user grade'), 'maxgrade' => new external_value(PARAM_RAW, 'Max possible grade'), 'gradedby' => new external_value(PARAM_RAW, 'The assumed grader of this grading instance'), 'timecreated' => new external_value(PARAM_INT, 'The time that the grade was created'), 'timemodified' => new external_value(PARAM_INT, 'The time that the grade was last updated'), ]), 'warnings' => new external_warnings( ), ])
/grade/classes/privacy/provider.php:9631$carry[] = ['shortname' => $record->shortname, 'fullname' => $record->fullname, 'timemodified' => transform::datetime($record->timemodified), 'logged_in_user_was_you' => transform::yesno(true), 'action' => static::transform_history_action($record->action)]
/grade/classes/privacy/provider.php:10571$carry[] = ['name' => $record->name, 'timemodified' => transform::datetime($record->timemodified), 'author_of_change_was_you' => transform::yesno($record->userid == $userid), 'author_of_action_was_you' => transform::yesno($record->loggeduser == $userid), 'action' => static::transform_history_action($record->action)]
/grade/classes/privacy/provider.php:6321$carry[] = ['name' => $record->itemname, 'module' => $record->itemmodule, 'info' => $record->iteminfo, 'timemodified' => transform::datetime($record->timemodified), 'logged_in_user_was_you' => transform::yesno(true), 'action' => static::transform_history_action($record->action), ]
/grade/classes/privacy/provider.php:7061$carry[] = array_merge(static::transform_grade($gg, $context, true), ['userid' => transform::user($gg->userid), 'logged_in_user_was_you' => transform::yesno($userid == $record->loggeduser), 'author_of_change_was_you' => transform::yesno($userid == $gg->usermodified), 'action' => static::transform_history_action($record->ggh_action), ])
/grade/classes/external/get_feedback.php:1061return new external_single_structure(['feedbacktext' => new external_value(PARAM_RAW, 'The full feedback text'), 'title' => new external_value(PARAM_TEXT, 'Title of the grade item that the feedback is for'), 'fullname' => new external_value(PARAM_TEXT, 'Students name'), 'picture' => new external_value(PARAM_RAW, 'Students picture'), 'additionalfield' => new external_value(PARAM_RAW, 'Additional field for the user (email or ID number, for example)'), ])
/grade/classes/external/get_groups_for_search_widget.php:1431$groupfields = ['id' => new external_value(PARAM_ALPHANUM, 'An ID for the group', VALUE_REQUIRED), 'url' => new external_value(PARAM_URL, 'The link that applies the group action', VALUE_REQUIRED), 'name' => new external_value(PARAM_TEXT, 'The full name of the group', VALUE_REQUIRED), 'active' => new external_value(PARAM_BOOL, 'Are we currently on this item?', VALUE_REQUIRED)]
/grade/classes/privacy/provider.php:12611return ['gradeobject' => $gg, 'item' => $gi->get_name( ), 'grade' => $gg->finalgrade, 'grade_formatted' => grade_format_gradevalue($gg->finalgrade, $gi), 'feedback' => format_text($gg->feedback, $gg->feedbackformat, ['context' => $context]), 'information' => format_text($gg->information, $gg->informationformat, ['context' => $context]), 'timecreated' => $timecreated, 'timemodified' => $timemodified, ]
/grade/classes/external/get_feedback.php:911return ['feedbacktext' => $grade->feedback, 'title' => $gradeitem->get_name(true), 'fullname' => fullname($user), 'picture' => $OUTPUT->user_picture($user, ['size' => 50, 'link' => false]), 'additionalfield' => empty($extrafields) ? '' : $user->{$extrafields[0]}, ]
/grade/classes/external/get_enrolled_users_for_search_widget.php:1451$userfields = ['id' => new external_value(core_user::get_property_type('id'), 'ID of the user'), 'profileimage' => new external_value(PARAM_URL, 'The location of the users larger image', VALUE_OPTIONAL), 'url' => new external_value(PARAM_URL, 'The link to the user report', VALUE_OPTIONAL), 'fullname' => new external_value(PARAM_TEXT, 'The full name of the user', VALUE_OPTIONAL), 'email' => new external_value(core_user::get_property_type('email'), 'An email address - allow email as root@localhost', VALUE_OPTIONAL), 'active' => new external_value(PARAM_BOOL, 'Are we currently on this item?', VALUE_REQUIRED)]
/grade/classes/external/get_gradeitems.php:951return new external_single_structure(['gradeItems' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_ALPHANUM, 'An ID for the grade item', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_CLEANHTML, 'The full name of the grade item', VALUE_REQUIRED), 'category' => new external_value(PARAM_TEXT, 'The grade category of the grade item', VALUE_OPTIONAL), ])), 'warnings' => new external_warnings( ), ])
/grade/classes/external/create_gradecategories.php:1331$defaultdata = ['aggregation' => grade_get_setting($courseid, 'aggregation', $CFG->grade_aggregation, true), 'aggregateonlygraded' => 1, 'aggregateoutcomes' => 0, 'droplow' => 0, 'grade_item_itemname' => '', 'grade_item_iteminfo' => '', 'grade_item_idnumber' => '', 'grade_item_gradetype' => GRADE_TYPE_VALUE, 'grade_item_grademax' => 100, 'grade_item_grademin' => 1, 'grade_item_gradepass' => 1, 'grade_item_display' => GRADE_DISPLAY_TYPE_DEFAULT, 'grade_item_decimals' => -2, 'grade_item_hiddenuntil' => 0, 'grade_item_locktime' => 0, 'grade_item_weightoverride' => 0, 'grade_item_aggregationcoef2' => 0, 'parentcategory' => $defaultparentcat->id]
/grade/classes/external/create_gradecategories.php:471return new external_function_parameters(['courseid' => new external_value(PARAM_INT, 'id of course', VALUE_REQUIRED), 'categories' => new external_multiple_structure(new external_single_structure(['fullname' => new external_value(PARAM_TEXT, 'fullname of category', VALUE_REQUIRED), 'options' => new external_single_structure(['aggregation' => new external_value(PARAM_INT, 'aggregation method', VALUE_OPTIONAL), 'aggregateonlygraded' => new external_value(PARAM_BOOL, 'exclude empty grades', VALUE_OPTIONAL), 'aggregateoutcomes' => new external_value(PARAM_BOOL, 'aggregate outcomes', VALUE_OPTIONAL), 'droplow' => new external_value(PARAM_INT, 'drop low grades', VALUE_OPTIONAL), 'itemname' => new external_value(PARAM_TEXT, 'the category total name', VALUE_OPTIONAL), 'iteminfo' => new external_value(PARAM_TEXT, 'the category iteminfo', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_TEXT, 'the category idnumber', VALUE_OPTIONAL), 'gradetype' => new external_value(PARAM_INT, 'the grade type', VALUE_OPTIONAL), 'grademax' => new external_value(PARAM_INT, 'the grade max', VALUE_OPTIONAL), 'grademin' => new external_value(PARAM_INT, 'the grade min', VALUE_OPTIONAL), 'gradepass' => new external_value(PARAM_INT, 'the grade to pass', VALUE_OPTIONAL), 'display' => new external_value(PARAM_INT, 'the display type', VALUE_OPTIONAL), 'decimals' => new external_value(PARAM_INT, 'the decimal count', VALUE_OPTIONAL), 'hiddenuntil' => new external_value(PARAM_INT, 'grades hidden until', VALUE_OPTIONAL), 'locktime' => new external_value(PARAM_INT, 'lock grades after', VALUE_OPTIONAL), 'weightoverride' => new external_value(PARAM_BOOL, 'weight adjusted', VALUE_OPTIONAL), 'aggregationcoef2' => new external_value(PARAM_RAW, 'weight coefficient', VALUE_OPTIONAL), 'parentcategoryid' => new external_value(PARAM_INT, 'The parent category id', VALUE_OPTIONAL), 'parentcategoryidnumber' => new external_value(PARAM_TEXT, 'the parent category idnumber', VALUE_OPTIONAL), ], 'optional category data', VALUE_DEFAULT, [ ]), ], 'Category to create', VALUE_REQUIRED), 'Categories to create', VALUE_REQUIRED)])
/grade/tests/grades/grader/gradingpanel/scale/external/store_test.php:1765$storedgradeitem = grade_item::fetch(['courseid' => $forum->get_course_id( ), 'itemtype' => 'mod', 'itemmodule' => 'forum', 'iteminstance' => $forum->get_id( ), 'itemnumber' => $gradeitem->get_grade_itemid( ), ])
/grade/tests/report_graderlib_test.php:2931$alldata = ['gradesonly' => array_merge($report1->collapsed['gradesonly'], $report2->collapsed['gradesonly'], $report3->collapsed['gradesonly']), 'aggregatesonly' => array_merge($report1->collapsed['aggregatesonly'], $report2->collapsed['aggregatesonly'], $report3->collapsed['aggregatesonly']), ]
/grade/tests/report_graderlib_test.php:1851$alldata = array('aggregatesonly' => array_merge($report1->collapsed['aggregatesonly'], $report2->collapsed['aggregatesonly'], $report3->collapsed['aggregatesonly']), 'gradesonly' => array_merge($report1->collapsed['gradesonly'], $report2->collapsed['gradesonly'], $report3->collapsed['gradesonly']), )
/grade/tests/export_test.php:731$tests = ['Has server based image (HTML)' => ['<p>See this reference: <img src="@@PLUGINFILE@@/test.img"></p>', FORMAT_HTML, "See this reference: "], 'Has server based image and more (HTML)' => ['<p>See <img src="@@PLUGINFILE@@/test.img"> for <em>reference</em></p>', FORMAT_HTML, "See for reference"], 'Has server based video and more (HTML)' => ['<p>See <video src="@@PLUGINFILE@@/test.img">video of a duck</video> for <em>reference</em></p>', FORMAT_HTML, 'See video of a duck for reference'], 'Has server based video with text and more (HTML)' => ['<p>See <video src="@@PLUGINFILE@@/test.img">@@PLUGINFILE@@/test.img</video> for <em>reference</em></p>', FORMAT_HTML, "See https://www.example.com/moodle/pluginfile.php/$contextid/grade/feedback/$gradeid/test.img for reference"], 'Multiple videos (HTML)' => ['<p>See <video src="@@PLUGINFILE@@/test.img">video of a duck</video> and ' . '<video src="http://example.com/myimage.jpg">video of a cat</video> for <em>reference</em></p>', FORMAT_HTML, 'See video of a duck and video of a cat for reference'], ]
/grade/tests/grades/grader/gradingpanel/point/external/store_test.php:2455$storedgradeitem = grade_item::fetch(['courseid' => $forum->get_course_id( ), 'itemtype' => 'mod', 'itemmodule' => 'forum', 'iteminstance' => $forum->get_id( ), 'itemnumber' => $gradeitem->get_grade_itemid( ), ])
/grade/tests/grades/grader/gradingpanel/point/external/store_test.php:1735$storedgradeitem = grade_item::fetch(['courseid' => $forum->get_course_id( ), 'itemtype' => 'mod', 'itemmodule' => 'forum', 'iteminstance' => $forum->get_id( ), 'itemnumber' => $gradeitem->get_grade_itemid( ), ])
/grade/tests/grades/grader/gradingpanel/scale/external/store_test.php:3465$storedgradeitem = grade_item::fetch(['courseid' => $forum->get_course_id( ), 'itemtype' => 'mod', 'itemmodule' => 'forum', 'iteminstance' => $forum->get_id( ), 'itemnumber' => $gradeitem->get_grade_itemid( ), ])
/grade/tests/grades/grader/gradingpanel/scale/external/store_test.php:2605$storedgradeitem = grade_item::fetch(['courseid' => $forum->get_course_id( ), 'itemtype' => 'mod', 'itemmodule' => 'forum', 'iteminstance' => $forum->get_id( ), 'itemnumber' => $gradeitem->get_grade_itemid( ), ])
/grade/tests/external/create_gradecategories_test.php:731$customopts = ['aggregation' => GRADE_AGGREGATE_MEAN, 'aggregateonlygraded' => 0, 'aggregateoutcomes' => 1, 'droplow' => 1, 'itemname' => 'item', 'iteminfo' => 'info', 'idnumber' => 'idnumber', 'gradetype' => GRADE_TYPE_TEXT, 'grademax' => 5, 'grademin' => 2, 'gradepass' => 3, 'display' => GRADE_DISPLAY_TYPE_LETTER, 'decimals' => 3, 'hiddenuntil' => time( ), 'locktime' => time( ), 'weightoverride' => 1, 'aggregationcoef2' => 20, 'parentcategoryid' => $record2->id]
/grade/tests/external/get_grade_tree_test.php:671$expected = json_encode(['id' => $coursegradecategory->id, 'name' => 'Course', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem->id, 'name' => 'Grade item', 'iscategory' => false, 'children' => null], ['id' => $gradecategory1->id, 'name' => 'Category 1', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem1->id, 'name' => 'Grade item 1', 'iscategory' => false, 'children' => null], ['id' => $gradecategory2->id, 'name' => 'Category 2', 'iscategory' => true, 'haschildcategories' => true, 'children' => [['id' => $gradeitem2->id, 'name' => 'Grade item 2', 'iscategory' => false, 'children' => null], ['id' => $gradecategory3->id, 'name' => 'Category 3', 'iscategory' => true, 'haschildcategories' => false, 'children' => null]]]]]]])
/grade/tests/output/general_action_bar_test.php:1811return ['Gradebook general navigation for admin; outcomes disabled.' => ['admin', false, [$viewstr => [$graderpluginname, $historypluginname, $overviewpluginname, $singleviewpluginname, $summarypluginname, $userpluginname, ], $setupstr => [$gradebooksetupstr, $coursegradesettingsstr, $graderpreferencesstr, ], $morestr => [$scalesstr, $gradelettersstr, $importstr, $exportstr, ], ], ], 'Gradebook general navigation for admin; outcomes enabled.' => ['admin', true, [$viewstr => [$graderpluginname, $historypluginname, $outcomespluginname, $overviewpluginname, $singleviewpluginname, $summarypluginname, $userpluginname, ], $setupstr => [$gradebooksetupstr, $coursegradesettingsstr, $graderpreferencesstr, ], $morestr => [$scalesstr, $outcomesstr, $gradelettersstr, $importstr, $exportstr, ], ], ], 'Gradebook general navigation for editing teacher; outcomes disabled.' => ['editingteacher', false, [$viewstr => [$graderpluginname, $historypluginname, $overviewpluginname, $singleviewpluginname, $summarypluginname, $userpluginname, ], $setupstr => [$gradebooksetupstr, $coursegradesettingsstr, $graderpreferencesstr, ], $morestr => [$scalesstr, $gradelettersstr, $importstr, $exportstr, ], ], ], 'Gradebook general navigation for editing teacher; outcomes enabled.' => ['editingteacher', true, [$viewstr => [$graderpluginname, $historypluginname, $outcomespluginname, $overviewpluginname, $singleviewpluginname, $summarypluginname, $userpluginname, ], $setupstr => [$gradebooksetupstr, $coursegradesettingsstr, $graderpreferencesstr, ], $morestr => [$scalesstr, $outcomesstr, $gradelettersstr, $importstr, $exportstr, ], ], ], 'Gradebook general navigation for non-editing teacher; outcomes enabled.' => ['teacher', true, [$viewstr => [$graderpluginname, $historypluginname, $outcomespluginname, $overviewpluginname, $summarypluginname, $userpluginname, ], $setupstr => [$graderpreferencesstr, ], $morestr => [$exportstr, ], ], ], 'Gradebook general navigation for student; outcomes enabled.' => ['student', true, [$viewstr => [$overviewpluginname, $userpluginname, ], ], ], ]
/grade/tests/output/general_action_bar_test.php:721$allcorenavlinks = [get_string('view') => [get_string('pluginname', 'gradereport_grader'), get_string('pluginname', 'gradereport_history'), get_string('pluginname', 'gradereport_outcomes'), get_string('pluginname', 'gradereport_overview'), get_string('pluginname', 'gradereport_singleview'), get_string('pluginname', 'gradereport_summary'), get_string('pluginname', 'gradereport_user'), ], get_string('setup', 'grades') => [get_string('gradebooksetup', 'grades'), get_string('coursegradesettings', 'grades'), get_string('preferences', 'grades') . ': ' . get_string('pluginname', 'gradereport_grader'), ], get_string('moremenu') => [get_string('scales'), get_string('outcomes', 'grades'), get_string('gradeletters', 'grades'), get_string('import', 'grades'), get_string('export', 'grades'), ], ]
/grade/tests/external/create_gradecategories_test.php:1231$status4 = create_gradecategories::execute($course->id, [['fullname' => 'Test Category 4', 'options' => ['idnumber' => 'secondlevel'], ], ['fullname' => 'Test Category 5', 'options' => ['idnumber' => 'thirdlevel', 'parentcategoryidnumber' => 'secondlevel'], ], ])
/grade/edit/tree/item_form.php:1402$options = array(GRADE_DISPLAY_TYPE_DEFAULT => get_string('default', 'grades'), GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'), GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'), GRADE_DISPLAY_TYPE_REAL_PERCENTAGE => get_string('realpercentage', 'grades'), GRADE_DISPLAY_TYPE_REAL_LETTER => get_string('realletter', 'grades'), GRADE_DISPLAY_TYPE_LETTER_REAL => get_string('letterreal', 'grades'), GRADE_DISPLAY_TYPE_LETTER_PERCENTAGE => get_string('letterpercentage', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_LETTER => get_string('percentageletter', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_REAL => get_string('percentagereal', 'grades'))
/grade/edit/tree/lib.php:3611$gradeitemrow->cells[] = $column->get_item_cell($item, ['id' => $id, 'name' => $name, 'level' => $level, 'actions' => $actions, 'element' => $element, 'eid' => $eid, 'moveaction' => $moveaction, 'itemtype' => $object->itemtype, 'icon' => $icon, 'type' => $type, ])
/grade/edit/tree/lib.php:4241$tpldata = ['id' => $item->id, 'itemname' => $itemname, 'value' => self::format_number($item->aggregationcoef2 * 100.0), 'checked' => $item->weightoverride, 'disabled' => !$item->weightoverride]
/grade/edit/tree/lib.php:8401$mastercheckbox = new \core\output\checkbox_toggleall($togglegroup, true, ['id' => 'select_category_' . $category->id, 'name' => $togglegroup, 'value' => 1, 'classes' => 'itemselect ignoredirty', 'label' => $masterlabel, 'selectall' => $masterlabel, 'deselectall' => $masterlabel, 'labelclasses' => 'accesshide', ])
/grade/edit/tree/lib.php:12181$mastercheckbox = new \core\output\checkbox_toggleall($togglegroup, true, ['id' => 'select_category_' . $category->id, 'name' => $togglegroup, 'value' => 1, 'classes' => 'itemselect ignoredirty', 'label' => $masterlabel, 'selectall' => $masterlabel, 'deselectall' => $masterlabel, 'labelclasses' => 'm-0', ])
/grade/edit/tree/category_form.php:1722$options = array(GRADE_DISPLAY_TYPE_DEFAULT => get_string('default', 'grades'), GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'), GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'), GRADE_DISPLAY_TYPE_REAL_PERCENTAGE => get_string('realpercentage', 'grades'), GRADE_DISPLAY_TYPE_REAL_LETTER => get_string('realletter', 'grades'), GRADE_DISPLAY_TYPE_LETTER_REAL => get_string('letterreal', 'grades'), GRADE_DISPLAY_TYPE_LETTER_PERCENTAGE => get_string('letterpercentage', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_LETTER => get_string('percentageletter', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_REAL => get_string('percentagereal', 'grades'))
/grade/edit/settings/form.php:921$options = array(-1 => get_string('default', 'grades'), GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'), GRADE_DISPLAY_TYPE_REAL_PERCENTAGE => get_string('realpercentage', 'grades'), GRADE_DISPLAY_TYPE_REAL_LETTER => get_string('realletter', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_REAL => get_string('percentagereal', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_LETTER => get_string('percentageletter', 'grades'), GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades'), GRADE_DISPLAY_TYPE_LETTER_REAL => get_string('letterreal', 'grades'), GRADE_DISPLAY_TYPE_LETTER_PERCENTAGE => get_string('letterpercentage', 'grades'))
/grade/report/lib.php:8401$info['report'] = ['averagesdisplaytype' => $this->get_pref('averagesdisplaytype'), 'averagesdecimalpoints' => $this->get_pref('averagesdecimalpoints'), 'meanselection' => $this->get_pref('meanselection'), 'shownumberofgrades' => $this->get_pref('shownumberofgrades'), 'totalcount' => $this->get_numusers(!is_null($groupid)), ]
/grade/report/grader/preferences_form.php:631$preferences['prefrows'] = array('rangesdisplaytype' => array(GRADE_REPORT_PREFERENCE_DEFAULT => '*default*', GRADE_REPORT_PREFERENCE_INHERIT => get_string('inherit', 'grades'), GRADE_DISPLAY_TYPE_REAL => get_string('real', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE => get_string('percentage', 'grades'), GRADE_DISPLAY_TYPE_LETTER => get_string('letter', 'grades')), 'rangesdecimalpoints' => array(GRADE_REPORT_PREFERENCE_DEFAULT => '*default*', GRADE_REPORT_PREFERENCE_INHERIT => get_string('inherit', 'grades'), 0 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5))
/grade/report/grader/lib.php:4531$sql = "SELECT {$userfieldssql->selects} FROM {user} u {$userfieldssql->joins} JOIN ($enrolledsql) je ON je.id = u.id $this->groupsql $sortjoin JOIN ( SELECT DISTINCT ra.userid FROM {role_assignments} ra WHERE ra.roleid IN ($this->gradebookroles) AND ra.contextid $relatedctxsql ) rainner ON rainner.userid = u.id AND u.deleted = 0 $this->userwheresql $this->groupwheresql ORDER BY $sort"
/grade/report/singleview/classes/output/action_bar.php:821$data['pagetoggler'] = ['displaylabel' => true, 'userselectactive' => $this->itemtype === 'user', 'gradeselectactive' => $this->itemtype === 'grade', 'gradezerolink' => (new moodle_url('/grade/report/singleview/index.php', ['id' => $courseid, 'item' => 'grade_select']))->out(false), 'userzerolink' => (new moodle_url('/grade/report/singleview/index.php', ['id' => $courseid, 'item' => 'user_select']))->out(false)]
/grade/report/singleview/classes/local/ui/bulk_insert.php:981$context = (object) ['label' => get_string('bulklegend', 'gradereport_singleview'), 'applylabel' => get_string('bulkperform', 'gradereport_singleview'), 'applyname' => $this->applyname, 'menuname' => $this->selectname, 'menulabel' => get_string('bulkappliesto', 'gradereport_singleview'), 'menuoptions' => [['value' => 'all', 'name' => get_string('all_grades', 'gradereport_singleview')], ['value' => 'blanks', 'name' => get_string('blanks', 'gradereport_singleview'), 'selected' => true], ], 'valuename' => $this->insertname, 'valuefield' => $text->html( )]
/grade/report/singleview/classes/local/ui/dropdown_attribute.php:1041$context = ['name' => $this->name, 'value' => $this->selected, 'text' => $options[$selected], 'disabled' => !empty($this->isdisabled), 'readonly' => $this->isreadonly, 'options' => array_map(function ($option) use ($options, $selected) { /**/ } , array_keys($options)), 'label' => get_string('gradefor', 'gradereport_singleview', $this->label), ]
/grade/report/singleview/classes/local/ui/checkbox_attribute.php:1081return (html_writer::tag('label', get_string($type . 'for', 'gradereport_singleview', $this->label), ['for' => $this->name, 'class' => 'accesshide']) . html_writer::empty_tag('input', $attributes) . html_writer::empty_tag('input', $hidden))
/grade/report/singleview/classes/local/screen/grade_select.php:411$context = ['courseid' => $gpr->courseid, 'imglink' => $OUTPUT->image_url('zero_state_grade', 'gradereport_singleview'), 'userzerolink' => $userlink->out(false), 'userselectactive' => false, 'gradezerolink' => $gradelink->out(false), 'gradeselectactive' => true, 'displaylabel' => true, 'groupmodeenabled' => $COURSE->groupmode, 'groupactionbaseurl' => 'index.php?item=grade_select', 'groupid' => $gpr->groupid]
/grade/report/singleview/classes/local/screen/grade.php:3061return $OUTPUT->paging_bar($this->totalitemcount, $this->page, $this->perpage, new moodle_url('/grade/report/singleview/index.php', ['perpage' => $this->perpage, 'id' => $this->courseid, 'group' => $this->groupid, 'itemid' => $this->itemid, 'item' => 'grade']))
/grade/report/singleview/classes/local/screen/grade.php:2431$line = [html_writer::link($url, $userpic . $fullname), $this->get_user_action_menu($item), $formatteddefinition['finalgrade'] . $gradestatus, $this->item_range( ), $formatteddefinition['feedback'], $formatteddefinition['override'], $formatteddefinition['exclude'], ]
/grade/report/singleview/classes/local/screen/user.php:3421return $OUTPUT->paging_bar(count($this->items), $this->page, $this->perpage, new moodle_url('/grade/report/singleview/index.php', ['perpage' => $this->perpage, 'id' => $this->courseid, 'group' => $this->groupid, 'itemid' => $this->itemid, 'item' => 'user']))
/grade/report/singleview/classes/local/screen/user.php:2101$line = [html_writer::div($itemicon . $itemcontent, "{$type} d-flex align-items-center"), $this->get_item_action_menu($item), $this->category($item), $formatteddefinition['finalgrade'] . $gradestatus, new range($item), $formatteddefinition['feedback'], $formatteddefinition['override'], $formatteddefinition['exclude'], ]
/grade/report/singleview/classes/local/screen/select.php:991$context = ['courseid' => $COURSE->id, 'imglink' => $OUTPUT->image_url('zero_state', 'gradereport_singleview'), 'userzerolink' => $userlink->out(false), 'userselectactive' => false, 'gradezerolink' => $gradelink->out(false), 'gradeselectactive' => false, 'displaylabel' => false]
/grade/report/singleview/classes/local/screen/user_select.php:431$context = ['courseid' => $gpr->courseid, 'imglink' => $OUTPUT->image_url('zero_state_user', 'gradereport_singleview'), 'userzerolink' => $userlink->out(false), 'userselectactive' => true, 'gradezerolink' => $gradelink->out(false), 'gradeselectactive' => false, 'displaylabel' => true, 'groupmodeenabled' => $COURSE->groupmode, 'groupactionbaseurl' => 'index.php?item=user_select', 'groupid' => $gpr->groupid]
/grade/report/singleview/classes/external/singleview.php:1011return new external_single_structure(['gradeitems' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the grade item', VALUE_OPTIONAL), 'name' => new external_value(PARAM_TEXT, 'The full name of the grade item', VALUE_OPTIONAL)])), 'warnings' => new external_warnings( ), ])
/grade/report/singleview/classes/report/singleview.php:1821$options = ['overrideallgrades' => get_string('overrideallgrades', 'gradereport_singleview'), 'overridenonegrades' => get_string('overridenonegrades', 'gradereport_singleview'), 'excludeallgrades' => get_string('excludeallgrades', 'gradereport_singleview'), 'excludenonegrades' => get_string('excludenonegrades', 'gradereport_singleview'), 'bulklegend' => get_string('bulklegend', 'gradereport_singleview')]
/grade/report/user/classes/external/user.php:2071$gradeuserdata = ['courseid' => $course->id, 'courseidnumber' => $course->idnumber, 'userid' => $currentuser->id, 'userfullname' => fullname($currentuser), 'useridnumber' => $currentuser->idnumber, 'maxdepth' => $report->maxdepth, ]
/grade/report/user/classes/external/user.php:1791$gradeuserdata = ['courseid' => $course->id, 'courseidnumber' => $course->idnumber, 'userid' => $user->id, 'userfullname' => fullname($user), 'useridnumber' => $user->idnumber, 'maxdepth' => $report->maxdepth, ]
/grade/report/user/classes/external/user.php:4921return new external_single_structure(['usergrades' => new external_multiple_structure(new external_single_structure(['courseid' => new external_value(PARAM_INT, 'course id'), 'courseidnumber' => new external_value(PARAM_TEXT, 'course idnumber'), 'userid' => new external_value(PARAM_INT, 'user id'), 'userfullname' => new external_value(PARAM_TEXT, 'user fullname'), 'useridnumber' => new external_value(core_user::get_property_type('idnumber'), 'user idnumber'), 'maxdepth' => new external_value(PARAM_INT, 'table max depth (needed for printing it)'), 'gradeitems' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Grade item id'), 'itemname' => new external_value(PARAM_CLEANHTML, 'Grade item name'), 'itemtype' => new external_value(PARAM_ALPHA, 'Grade item type'), 'itemmodule' => new external_value(PARAM_PLUGIN, 'Grade item module'), 'iteminstance' => new external_value(PARAM_INT, 'Grade item instance'), 'itemnumber' => new external_value(PARAM_INT, 'Grade item item number'), 'idnumber' => new external_value(PARAM_TEXT, 'Grade item idnumber'), 'categoryid' => new external_value(PARAM_INT, 'Grade item category id'), 'outcomeid' => new external_value(PARAM_INT, 'Outcome id'), 'scaleid' => new external_value(PARAM_INT, 'Scale id'), 'locked' => new external_value(PARAM_BOOL, 'Grade item for user locked?', VALUE_OPTIONAL), 'cmid' => new external_value(PARAM_INT, 'Course module id (if type mod)', VALUE_OPTIONAL), 'weightraw' => new external_value(PARAM_FLOAT, 'Weight raw', VALUE_OPTIONAL), 'weightformatted' => new external_value(PARAM_NOTAGS, 'Weight', VALUE_OPTIONAL), 'status' => new external_value(PARAM_ALPHA, 'Status', VALUE_OPTIONAL), 'graderaw' => new external_value(PARAM_FLOAT, 'Grade raw', VALUE_OPTIONAL), 'gradedatesubmitted' => new external_value(PARAM_INT, 'Grade submit date', VALUE_OPTIONAL), 'gradedategraded' => new external_value(PARAM_INT, 'Grade graded date', VALUE_OPTIONAL), 'gradehiddenbydate' => new external_value(PARAM_BOOL, 'Grade hidden by date?', VALUE_OPTIONAL), 'gradeneedsupdate' => new external_value(PARAM_BOOL, 'Grade needs update?', VALUE_OPTIONAL), 'gradeishidden' => new external_value(PARAM_BOOL, 'Grade is hidden?', VALUE_OPTIONAL), 'gradeislocked' => new external_value(PARAM_BOOL, 'Grade is locked?', VALUE_OPTIONAL), 'gradeisoverridden' => new external_value(PARAM_BOOL, 'Grade overridden?', VALUE_OPTIONAL), 'gradeformatted' => new external_value(PARAM_RAW, 'The grade formatted', VALUE_OPTIONAL), 'grademin' => new external_value(PARAM_FLOAT, 'Grade min', VALUE_OPTIONAL), 'grademax' => new external_value(PARAM_FLOAT, 'Grade max', VALUE_OPTIONAL), 'rangeformatted' => new external_value(PARAM_NOTAGS, 'Range formatted', VALUE_OPTIONAL), 'percentageformatted' => new external_value(PARAM_NOTAGS, 'Percentage', VALUE_OPTIONAL), 'lettergradeformatted' => new external_value(PARAM_NOTAGS, 'Letter grade', VALUE_OPTIONAL), 'rank' => new external_value(PARAM_INT, 'Rank in the course', VALUE_OPTIONAL), 'numusers' => new external_value(PARAM_INT, 'Num users in course', VALUE_OPTIONAL), 'averageformatted' => new external_value(PARAM_NOTAGS, 'Grade average', VALUE_OPTIONAL), 'feedback' => new external_value(PARAM_RAW, 'Grade feedback', VALUE_OPTIONAL), 'feedbackformat' => new external_format_value('feedback', VALUE_OPTIONAL), ], 'Grade items'))])), 'warnings' => new external_warnings( )])
/grade/report/user/classes/external/user.php:2881return new external_single_structure(['tables' => new external_multiple_structure(new external_single_structure(['courseid' => new external_value(PARAM_INT, 'course id'), 'userid' => new external_value(PARAM_INT, 'user id'), 'userfullname' => new external_value(PARAM_TEXT, 'user fullname'), 'maxdepth' => new external_value(PARAM_INT, 'table max depth (needed for printing it)'), 'tabledata' => new external_multiple_structure(new external_single_structure(['itemname' => new external_single_structure(['class' => new external_value(PARAM_RAW, 'class'), 'colspan' => new external_value(PARAM_INT, 'col span'), 'content' => new external_value(PARAM_RAW, 'cell content'), 'id' => new external_value(PARAM_ALPHANUMEXT, 'id')], 'The item returned data', VALUE_OPTIONAL), 'leader' => new external_single_structure(['class' => new external_value(PARAM_RAW, 'class'), 'rowspan' => new external_value(PARAM_INT, 'row span')], 'The item returned data', VALUE_OPTIONAL), 'weight' => new external_single_structure(self::grades_table_column( ), 'weight column', VALUE_OPTIONAL), 'grade' => new external_single_structure(self::grades_table_column( ), 'grade column', VALUE_OPTIONAL), 'range' => new external_single_structure(self::grades_table_column( ), 'range column', VALUE_OPTIONAL), 'percentage' => new external_single_structure(self::grades_table_column( ), 'percentage column', VALUE_OPTIONAL), 'lettergrade' => new external_single_structure(self::grades_table_column( ), 'lettergrade column', VALUE_OPTIONAL), 'rank' => new external_single_structure(self::grades_table_column( ), 'rank column', VALUE_OPTIONAL), 'average' => new external_single_structure(self::grades_table_column( ), 'average column', VALUE_OPTIONAL), 'feedback' => new external_single_structure(self::grades_table_column( ), 'feedback column', VALUE_OPTIONAL), 'contributiontocoursetotal' => new external_single_structure(self::grades_table_column( ), 'contributiontocoursetotal column', VALUE_OPTIONAL), 'parentcategories' => new external_multiple_structure(new external_value(PARAM_INT, 'Parent grade category ID.')), ], 'table'))])), 'warnings' => new external_warnings( )])
/grade/report/history/index.php:721$filters = array('id' => $courseid, 'userids' => optional_param('userids', '', PARAM_SEQUENCE), 'itemid' => optional_param('itemid', 0, PARAM_INT), 'grader' => optional_param('grader', 0, PARAM_INT), 'datefrom' => optional_param('datefrom', 0, PARAM_INT), 'datetill' => optional_param('datetill', 0, PARAM_INT), 'revisedonly' => optional_param('revisedonly', 0, PARAM_INT), )
/grade/report/user/classes/external/get_access_information.php:831return new external_single_structure(['canviewusergradereport' => new external_value(PARAM_BOOL, 'Whether the user can view the user grade report.'), 'canviewmygrades' => new external_value(PARAM_BOOL, 'Whether the user can view his grades in the course.'), 'canviewallgrades' => new external_value(PARAM_BOOL, 'Whether the user can view all users grades in the course.'), 'warnings' => new external_warnings( ), ])
/grade/report/overview/classes/external.php:1361return new external_single_structure(array('grades' => new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'Course id'), 'grade' => new external_value(PARAM_RAW, 'Grade formatted'), 'rawgrade' => new external_value(PARAM_RAW, 'Raw grade, not formatted'), 'rank' => new external_value(PARAM_INT, 'Your rank in the course', VALUE_OPTIONAL), ))), 'warnings' => new external_warnings( )))
/grade/report/history/classes/output/tablelog.php:1991$cols = array_merge($cols, array('itemname' => get_string('gradeitem', 'grades'), 'prevgrade' => get_string('gradeold', 'gradereport_history'), 'finalgrade' => get_string('gradenew', 'gradereport_history'), 'grader' => get_string('grader', 'gradereport_history'), 'source' => get_string('source', 'gradereport_history'), 'overridden' => get_string('overridden', 'grades'), 'locked' => get_string('locked', 'grades'), 'excluded' => get_string('excluded', 'gradereport_history'), 'feedback' => get_string('feedbacktext', 'gradereport_history')))
/blog/locallib.php:8131$urlparams = array('action' => 'add', 'userid' => $userid, 'courseid' => $courseid, 'groupid' => optional_param('groupid', null, PARAM_INT), 'modid' => $modid, 'tagid' => optional_param('tagid', null, PARAM_INT), 'tag' => optional_param('tag', null, PARAM_INT), 'search' => optional_param('search', null, PARAM_INT))
/blog/classes/external.php:1231return new external_function_parameters(array('filters' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHA, 'The expected keys (value format) are: tag PARAM_NOTAGS blog tag tagid PARAM_INT blog tag id userid PARAM_INT blog author (userid) cmid PARAM_INT course module id entryid PARAM_INT entry id groupid PARAM_INT group id courseid PARAM_INT course id search PARAM_RAW search term '), 'value' => new external_value(PARAM_RAW, 'The value of the filter.'))), 'Parameters to filter blog listings.', VALUE_DEFAULT, array( )), 'page' => new external_value(PARAM_INT, 'The blog page to return.', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'The number of posts to return per page.', VALUE_DEFAULT, 10), ))
/grade/import/grade_import_form.php:1332$headermapsto = array(get_string('others', 'grades') => array('0' => get_string('ignore', 'grades'), 'new' => get_string('newitem', 'grades')), get_string('gradeitems', 'grades') => $gradeitems, get_string('feedbacks', 'grades') => $feedbacks)
/grade/import/direct/classes/mapping_form.php:812$headermapsto = array(get_string('others', 'grades') => array('0' => get_string('ignore', 'grades'), 'new' => get_string('newitem', 'grades')), get_string('gradeitems', 'grades') => $gradeitems, get_string('feedbacks', 'grades') => $feedbacks)
/grade/report/summary/classes/local/entities/grade_items.php:2281$filters[] = (new filter(select::class, 'name', new lang_string('activitytype', 'format_singleactivity'), $this->get_entity_name( ), "coalesce({$tablealias}.itemmodule,{$tablealias}.itemtype)"))->add_joins($this->get_joins( ))->set_options_callback([$this->report, 'item_types'])
/grade/export/lib.php:4311$params = array('id' => $this->course->id, 'groupid' => $this->groupid, 'itemids' => $itemidsparam, 'export_letters' => $this->export_letters, 'export_feedback' => $this->export_feedback, 'updatedgradesonly' => $updatedgradesonly, 'decimalpoints' => $this->decimalpoints, 'export_onlyactive' => $this->onlyactive, 'usercustomfields' => $this->usercustomfields, 'displaytype' => $displaytypes, 'key' => $this->userkey)
/grade/report/summary/classes/local/entities/grade_items.php:1261$columns[] = (new column('name', null, $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields($selectsql)->add_callback(static function ($value, $row) : string { /**/ } )
/grade/report/summary/classes/local/entities/grade_items.php:1571$columns[] = (new column('average', new lang_string('average', 'grades'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("$tablealias.id")->add_callback(static function ($value) use ($report) : string { /**/ } )
/blog/classes/reportbuilder/local/entities/blog.php:1301$columns[] = (new column('body', new lang_string('entrybody', 'core_blog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($summaryfieldsql, 'summary')->add_fields("{$postalias}.summaryformat, {$postalias}.id")->add_callback(static function (?string $summary, stdClass $post) : string { /**/ } )
/blog/classes/reportbuilder/local/entities/blog.php:1551$columns[] = (new column('attachment', new lang_string('attachment', 'core_repository'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$postalias}.attachment, {$postalias}.id")->add_callback(static function (?bool $attachment, stdClass $post) : string { /**/ } )->set_disabled_aggregation_all( )
/blog/classes/reportbuilder/local/entities/blog.php:971$columns[] = (new column('title', new lang_string('entrytitle', 'core_blog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$postalias}.subject")->set_is_sortable(true)
/blog/classes/reportbuilder/local/entities/blog.php:1081$columns[] = (new column('titlewithlink', new lang_string('entrytitlewithlink', 'core_blog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$postalias}.subject, {$postalias}.id")->set_is_sortable(true)->add_callback(static function (?string $subject, stdClass $post) : string { /**/ } )
/blog/classes/privacy/provider.php:3121$entry = (object) ['subject' => $subject, 'summary' => format_text($summary, $record->summaryformat), 'uniquehash' => $record->uniquehash, 'publishstate' => static::transform_publishstate($record->publishstate), 'created' => transform::datetime($record->created), 'lastmodified' => transform::datetime($record->lastmodified), 'associations' => $assocs]
/blog/classes/privacy/provider.php:3381$external = (object) ['name' => $record->name, 'description' => $record->description, 'url' => $record->url, 'filtertags' => $record->filtertags, 'modified' => transform::datetime($record->timemodified), 'lastfetched' => transform::datetime($record->timefetched), ]
/blog/classes/external.php:2191return new external_function_parameters(array('filters' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHA, 'The expected keys (value format) are: tag PARAM_NOTAGS blog tag tagid PARAM_INT blog tag id userid PARAM_INT blog author (userid) cmid PARAM_INT course module id entryid PARAM_INT entry id groupid PARAM_INT group id courseid PARAM_INT course id search PARAM_RAW search term '), 'value' => new external_value(PARAM_RAW, 'The value of the filter.'))), 'Parameters used in the filter of view_entries.', VALUE_DEFAULT, array( )), ))
/blog/classes/external.php:2581$eventparams = array('other' => array('entryid' => $filters['entryid'], 'tagid' => $filters['tagid'], 'userid' => $userid, 'modid' => $filters['cmid'], 'groupid' => $filters['groupid'], 'search' => $filters['search']))
/blog/classes/reportbuilder/local/entities/blog.php:3132$filters[] = (new filter(date::class, 'timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( ), "{$postalias}.lastmodified"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/blog/classes/reportbuilder/local/entities/blog.php:2972$filters[] = (new filter(date::class, 'timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( ), "{$postalias}.created"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/blog/classes/reportbuilder/local/entities/blog.php:2771$filters[] = (new filter(select::class, 'publishstate', new lang_string('published', 'core_blog'), $this->get_entity_name( ), "{$postalias}.publishstate"))->add_joins($this->get_joins( ))->set_options_callback(static function ( ) : array { /**/ } )
/blog/classes/reportbuilder/local/entities/blog.php:2671$filters[] = (new filter(boolean_select::class, 'attachment', new lang_string('attachment', 'core_repository'), $this->get_entity_name( ), $DB->sql_cast_char2int("{$postalias}.attachment")))->add_joins($this->get_joins( ))
/blog/classes/reportbuilder/local/entities/blog.php:2571$filters[] = (new filter(text::class, 'body', new lang_string('entrybody', 'core_blog'), $this->get_entity_name( ), $DB->sql_cast_to_char("{$postalias}.summary")))->add_joins($this->get_joins( ))
/blog/classes/reportbuilder/local/entities/blog.php:2222$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$postalias}.lastmodified")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/blog/classes/reportbuilder/local/entities/blog.php:2102$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$postalias}.created")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/blog/classes/reportbuilder/local/entities/blog.php:1861$columns[] = (new column('publishstate', new lang_string('published', 'core_blog'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$postalias}.publishstate")->set_is_sortable(true)->add_callback(static function (?string $publishstate) : string { /**/ } )
/blog/tests/lib_test.php:981$filters = array('site' => $SITE->id, 'course' => $this->courseid, 'module' => $this->cmid, 'group' => $this->groupid, 'user' => $this->userid, 'tag' => $this->tagid, 'entry' => $this->postid)
/blog/classes/external/post_exporter.php:1651return array('summaryfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true), 'attachmentfiles' => array('type' => external_files::get_properties_for_exporter( ), 'multiple' => true, 'optional' => true), 'tags' => array('type' => tag_item_exporter::read_properties_definition( ), 'description' => 'Tags.', 'multiple' => true, 'optional' => true, ), 'canedit' => array('type' => PARAM_BOOL, 'description' => 'Whether the user can edit the post.', 'optional' => true, ), )
/blog/classes/external/prepare_entry_for_edition.php:1361return new external_single_structure(['inlineattachmentsid' => new external_value(PARAM_INT, 'Draft item id for the text editor.'), 'attachmentsid' => new external_value(PARAM_INT, 'Draft item id for the file manager.'), 'areas' => new external_multiple_structure(new external_single_structure(['area' => new external_value(PARAM_ALPHA, 'File area name.'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'Name of option.'), 'value' => new external_value(PARAM_RAW, 'Value of option.'), ]), 'Draft file area options.'), ]), 'File areas including options'), 'warnings' => new external_warnings( ), ])
/blog/classes/external/prepare_entry_for_edition.php:1121$result = ['inlineattachmentsid' => $entry->summary_editor['itemid'], 'attachmentsid' => $entry->attachment_filemanager, 'areas' => [['area' => 'summary', 'options' => $summaryoptions, ], ['area' => 'attachment', 'options' => $attachmentoptions, ], ], 'warnings' => [ ], ]
/blog/classes/external/add_entry.php:471return new external_function_parameters(['subject' => new external_value(PARAM_TEXT, 'Blog subject'), 'summary' => new external_value(PARAM_RAW, 'Blog post content'), 'summaryformat' => new external_format_value('summary'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: inlineattachmentsid (int); the draft file area id for inline attachments. Default to 0. attachmentsid (int); the draft file area id for attachments. Default to 0. publishstate (str); the publish state of the entry (draft, site or public). Default to site. courseassoc (int); the course id to associate the entry with. Default to 0. modassoc (int); the module id to associate the entry with. Default to 0. tags (str); the tags to associate the entry with, comma separated. Default to empty.'), 'value' => new external_value(PARAM_RAW, 'the value of the option (validated inside the function)'), ]), 'Optional settings', VALUE_DEFAULT, [ ]), ])
/blog/classes/external/get_access_information.php:771return new external_single_structure(['canview' => new external_value(PARAM_BOOL, 'Whether the user can view blogs'), 'cansearch' => new external_value(PARAM_BOOL, 'Whether the user can search blogs'), 'canviewdrafts' => new external_value(PARAM_BOOL, 'Whether the user can view drafts'), 'cancreate' => new external_value(PARAM_BOOL, 'Whether the user can create blog entries'), 'canmanageentries' => new external_value(PARAM_BOOL, 'Whether the user can manage blog entries'), 'canmanageexternal' => new external_value(PARAM_BOOL, 'Whether the user can manage external blogs'), 'warnings' => new external_warnings( ), ])
/blog/classes/external/get_access_information.php:581return ['canview' => has_capability('moodle/blog:view', $context), 'cansearch' => has_capability('moodle/blog:search', $context), 'canviewdrafts' => has_capability('moodle/blog:viewdrafts', $context), 'cancreate' => has_capability('moodle/blog:create', $context), 'canmanageentries' => has_capability('moodle/blog:manageentries', $context), 'canmanageexternal' => has_capability('moodle/blog:manageexternal', $context), 'warnings' => [ ], ]
/blog/classes/external/update_entry.php:471return new external_function_parameters(['entryid' => new external_value(PARAM_INT, 'Blog entry id to update'), 'subject' => new external_value(PARAM_TEXT, 'Blog subject'), 'summary' => new external_value(PARAM_RAW, 'Blog post content'), 'summaryformat' => new external_format_value('summary'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUM, 'The allowed keys (value format) are: inlineattachmentsid (int); the draft file area id for inline attachments. Default to 0. attachmentsid (int); the draft file area id for attachments. Default to 0. publishstate (str); the publish state of the entry (draft, site or public). Default to site. courseassoc (int); the course id to associate the entry with. Default to 0. modassoc (int); the module id to associate the entry with. Default to 0. tags (str); the tags to associate the entry with, comma separated. Default to empty.'), 'value' => new external_value(PARAM_RAW, 'the value of the option (validated inside the function)'), ]), 'Optional settings', VALUE_DEFAULT, [ ]), ])
/blog/tests/external/external_test.php:10601$options = [['name' => 'inlineattachmentsid', 'value' => $result['inlineattachmentsid']], ['name' => 'attachmentsid', 'value' => $result['attachmentsid']], ['name' => 'tags', 'value' => 'tag3'], ['name' => 'courseassoc', 'value' => $this->courseid], ['name' => 'modassoc', 'value' => $this->cmid], ]
/blog/tests/event/events_test.php:3631$other = array('entryid' => $this->postid, 'tagid' => $this->tagid, 'userid' => $this->userid, 'modid' => $this->cmid, 'groupid' => $this->groupid, 'courseid' => $this->courseid, 'search' => 'search', 'fromstart' => 2)
/mnet/lib.php:3991$dn = array("countryName" => $country, "stateOrProvinceName" => $province, "localityName" => $locality, "organizationName" => $organization, "organizationalUnitName" => 'Moodle', "commonName" => substr($CFG->wwwroot, 0, 64), "subjectAltName" => $CFG->wwwroot, "emailAddress" => $email)
/mnet/lib.php:8431$myservices[$result->name][$result->apiversion] = array('serviceid' => $result->serviceid, 'name' => $result->name, 'offer' => $result->offer, 'apiversion' => $result->apiversion, 'plugintype' => $result->plugintype, 'pluginname' => $result->pluginname, 'hostsubscribes' => $result->hostsubscribes, 'hostpublishes' => $result->hostpublishes)
/blog/tests/lib_test.php:1101$filters = array('site' => $SITE->id, 'course' => $this->courseid, 'module' => $this->cmid, 'group' => $this->groupid, 'user' => $this->userid, 'tag' => $this->postid)
/blog/tests/privacy/provider_test.php:6721$associations = [$e1->id => null, $e2->id => null, $e4->id => $c1ctx->get_context_name( ), $e4b->id => $c1ctx->get_context_name( ), $e5->id => $cm1actx->get_context_name( ), $e5b->id => [$c1ctx->get_context_name( ), $cm1actx->get_context_name( )], ]
/blog/tests/external/external_test.php:7112$options = [['name' => 'inlineattachmentsid', 'value' => $draftidinlineattach, ], ['name' => 'attachmentsid', 'value' => $draftidattach, ], ['name' => 'tags', 'value' => 'tag1, tag2', ], ['name' => 'courseassoc', 'value' => $this->courseid, ], ]
/blog/tests/external/external_test.php:10062$options = [['name' => 'inlineattachmentsid', 'value' => $draftidinlineattach, ], ['name' => 'attachmentsid', 'value' => $draftidattach, ], ['name' => 'tags', 'value' => 'tag1, tag2', ], ['name' => 'courseassoc', 'value' => $this->courseid, ], ]
/question/classes/privacy/provider.php:3941return new \qubaid_join(" JOIN {question_usages} {$prefix}_qu ON {$prefix}_qu.id = {$joinfield} AND {$prefix}_qu.component = :{$prefix}_usagecomponent JOIN {question_attempts} {$prefix}_qa ON {$prefix}_qa.questionusageid = {$prefix}_qu.id JOIN {question_attempt_steps} {$prefix}_qas ON {$prefix}_qas.questionattemptid = {$prefix}_qa.id", "{$prefix}_qu.id", "{$prefix}_qas.userid = :{$prefix}_stepuserid", ["{$prefix}_stepuserid" => $userid, "{$prefix}_usagecomponent" => $component, ])
/question/classes/output/question_bank_filter_ui.php:931$filtertypes[] = $this->get_filter_object($searchcondition->get_condition_key( ), $searchcondition->get_title( ), $searchcondition->allow_custom( ), $searchcondition->allow_multiple( ), $searchcondition->get_filter_class( ), $searchcondition->get_initial_values( ), $searchcondition->allow_empty( ), $searchcondition->get_filteroptions( ), $searchcondition->is_required( ), $searchcondition->get_join_list( ), )
/question/classes/output/question_bank_filter_ui.php:1251return (object) ['tableregionid' => $this->tableregionid, 'courseid' => $courseid, 'filtertypes' => $this->get_filtertypes( ), 'selected' => 'category', 'rownumber' => 1, 'categoryid' => $defaultcategory->id, 'perpage' => $this->additionalparams['perpage'] ?? 0, 'contextid' => $this->context->id, 'component' => $this->component, 'callback' => $this->callback, 'view' => str_replace('\\', '\\\\', $this->view), 'cmid' => $this->cmid ?? 0, 'pagevars' => json_encode($this->pagevars), 'extraparams' => json_encode($this->extraparams), ]
/question/classes/local/bank/checkbox_column.php:841$checkbox = new checkbox_toggleall('qbank', false, ['id' => "checkq{$question->id}", 'name' => "q{$question->id}", 'value' => '1', 'label' => get_string('select'), 'labelclasses' => 'accesshide', ])
/mnet/service/enrol/host.php:1001$editbtn = $OUTPUT->single_button(new moodle_url('/mnet/service/enrol/course.php', array('host' => $host->id, 'course' => $course->id, 'usecache' => 0, 'sesskey' => sesskey( ))), get_string('editenrolments', 'mnetservice_enrol'), 'get')
/mnet/service/enrol/classes/privacy/provider.php:1531$data[] = (object) ['host' => $mnetenrolment->hostname, 'remotecourseid' => $mnetenrolment->fullname, 'rolename' => $mnetenrolment->rolename, 'enroltime' => transform::datetime($mnetenrolment->enroltime), 'enroltype' => $mnetenrolment->enroltype]
/question/classes/external.php:591return new external_function_parameters(array('qubaid' => new external_value(PARAM_INT, 'the question usage id.'), 'questionid' => new external_value(PARAM_INT, 'the question id'), 'qaid' => new external_value(PARAM_INT, 'the question_attempt id'), 'slot' => new external_value(PARAM_INT, 'the slot number within the usage'), 'checksum' => new external_value(PARAM_ALPHANUM, 'computed checksum with the last three arguments and the users username'), 'newstate' => new external_value(PARAM_BOOL, 'the new state of the flag. true = flagged')))
/question/classes/external.php:1331return new external_function_parameters(['categoryid' => new external_value(PARAM_INT, 'Category id to find random questions'), 'includesubcategories' => new external_value(PARAM_BOOL, 'Include the subcategories in the search'), 'tagids' => new external_multiple_structure(new external_value(PARAM_INT, 'Tag id')), 'contextid' => new external_value(PARAM_INT, 'Context id that the questions will be rendered in (used for exporting)'), 'limit' => new external_value(PARAM_INT, 'Maximum number of results to return', VALUE_DEFAULT, 0), 'offset' => new external_value(PARAM_INT, 'Number of items to skip from the begging of the result set', VALUE_DEFAULT, 0)])
/question/bank/viewcreator/classes/modifier_name_column.php:661return ['firstname' => ['field' => 'um.firstname', 'title' => get_string('firstname')], 'lastname' => ['field' => 'um.lastname', 'title' => get_string('lastname')], 'timemodified' => ['field' => 'q.timemodified', 'title' => get_string('date')]]
/question/bank/managecategories/tests/question_category_object_test.php:1071$this->qcobjectquiz = new question_category_object(1, new moodle_url('/mod/quiz/edit.php', ['cmid' => $this->quiz->cmid]), $this->qcontexts->having_one_edit_tab_cap('categories'), $this->defaultcategoryobj->id, $this->defaultcategory, null, $this->qcontexts->having_cap('moodle/question:add'))
/question/bank/previewquestion/preview.php:1401$optionsform = new preview_options_form(helper::question_preview_form_url($question->id, $context, $previewid, $returnurl), ['quba' => $quba, 'maxvariant' => $maxvariant, 'versions' => array_combine(array_values($versionids), array_values($versionids)), 'restartversion' => $restartversion, ])
/question/bank/viewcreator/classes/creator_name_column.php:671return ['firstname' => ['field' => 'uc.firstname', 'title' => get_string('firstname')], 'lastname' => ['field' => 'uc.lastname', 'title' => get_string('lastname')], 'timecreated' => ['field' => 'q.timecreated', 'title' => get_string('date')]]
/question/bank/statistics/tests/helper_test.php:2861yield 'Facility case 2' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 1, 1, 0]), ], 'Expected quiz 1 facilities' => ['100.00%', '66.67%', '33.33%', '0.00%'], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 1, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 2 facilities' => ['100.00%', '75.00%', '50.00%', '25.00%'], 'Expected average facilities' => ['100.00%', '70.83%', '41.67%', '12.50%'], ]
/question/bank/statistics/tests/helper_test.php:2741yield 'Facility case 1' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), ], 'Expected quiz 1 facilities' => ['100.00%', '0.00%', '0.00%', '0.00%'], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), ], 'Expected quiz 2 facilities' => ['100.00%', '50.00%', '0.00%', '0.00%'], 'Expected average facilities' => ['100.00%', '25.00%', '0.00%', '0.00%'], ]
/question/bank/statistics/tests/helper_test.php:5031yield 'Discrimination Index' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 0, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 1 Discrimination Index' => ['N/A', '30.15%', '30.15%', '81.65%'], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 1, 1, 1]), $this->generate_attempt_answers([0, 0, 0, 0]), $this->generate_attempt_answers([1, 0, 0, 1]), $this->generate_attempt_answers([0, 1, 1, 0]), ], 'Expected quiz 2 discrimination Index' => ['44.72%', '44.72%', '44.72%', '44.72%'], 'Expected average discrimination Index' => ['44.72%', '37.44%', '37.44%', '63.19%'], ]
/question/bank/statistics/tests/helper_test.php:3821yield 'Discriminative efficiency' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 0, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 1 discriminative efficiency' => ['N/A', '33.33%', '33.33%', '100.00%'], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 1, 1, 1]), $this->generate_attempt_answers([0, 0, 0, 0]), $this->generate_attempt_answers([1, 0, 0, 1]), $this->generate_attempt_answers([0, 1, 1, 0]), ], 'Expected quiz 2 discriminative efficiency' => ['50.00%', '50.00%', '50.00%', '50.00%'], 'Expected average discriminative efficiency' => ['50.00%', '41.67%', '41.67%', '75.00%'], ]
/question/bank/tagquestion/tests/external/submit_tags_test.php:3871$data = ['id' => $question->id, 'categoryid' => $questioncategory->id, 'contextid' => $questioncontext->id, 'questionname' => $question->name, 'questioncategory' => $questioncategory->name, 'context' => $questioncontext->get_context_name(false), 'tags' => $tags, 'coursetags' => $coursetags]
/question/bank/tagquestion/lib.php:801$data = ['id' => $question->id, 'questioncategory' => $category->name, 'questionname' => $question->name, 'categoryid' => $category->id, 'contextid' => $category->contextid, 'context' => $questioncontext->get_context_name( ), 'tags' => $sortedtagobjects->tags ?? [ ], 'coursetags' => $sortedtagobjects->coursetags ?? [ ], ]
/question/bank/customfields/tests/customfield_test.php:1041$this->question2data = ['category' => $qcat->id, 'idnumber' => 'q2', 'customfield_f1' => 'some more text', 'customfield_f2' => 0, 'customfield_f3' => $this->testnow, 'customfield_f4' => 1, 'customfield_f5_editor' => ['text' => 'test text', 'format' => FORMAT_HTML]]
/question/bank/customfields/tests/customfield_test.php:981$this->question1data = ['category' => $qcat->id, 'idnumber' => 'q1', 'customfield_f1' => 'some text', 'customfield_f2' => 1, 'customfield_f3' => $this->testnow, 'customfield_f4' => 2, 'customfield_f5_editor' => ['text' => 'test', 'format' => FORMAT_HTML]]
/question/bank/previewquestion/tests/qbank_preview_helper_test.php:1521$previewurl = helper::question_preview_url($this->questiondata->id, $this->options->behaviour, $this->options->maxmark, $this->options, $this->options->variant, $this->context, null, question_preview_options::ALWAYS_LATEST)
/question/bank/previewquestion/tests/qbank_preview_helper_test.php:971$params = ['id' => $this->questiondata->id, 'previewid' => $this->quba->get_id( ), 'returnurl' => $this->returnurl, 'courseid' => $this->context->instanceid, 'restartversion' => question_preview_options::ALWAYS_LATEST, ]
/question/bank/previewquestion/tests/qbank_preview_helper_test.php:1801$previewurl = helper::question_preview_url($this->questiondata->id, $this->options->behaviour, $this->options->maxmark, $this->options, $this->options->variant, $this->context, null)
/question/bank/previewquestion/tests/qbank_preview_helper_test.php:1541$params = ['id' => $this->questiondata->id, 'behaviour' => $this->options->behaviour, 'maxmark' => $this->options->maxmark, 'courseid' => $this->context->instanceid, 'restartversion' => question_preview_options::ALWAYS_LATEST, ]
/question/tests/local/statistics/statistics_bulk_loader_test.php:3071yield 'Facility case 2' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 1, 1, 0]), ], 'Expected quiz 1 facilities' => [1.0, 0.6667, 0.3333, 0.0], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 1, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 2 facilities' => [1.0, 0.75, 0.5, 0.25], 'Expected average facilities' => [1.0, 0.7083, 0.4167, 0.1250], ]
/question/tests/local/statistics/statistics_bulk_loader_test.php:2951yield 'Facility case 1' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), ], 'Expected quiz 1 facilities' => [1.0, 0.0, 0.0, 0.0], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), ], 'Expected quiz 2 facilities' => [1.0, 0.5, 0.0, 0.0], 'Expected average facilities' => [1.0, 0.25, 0.0, 0.0], ]
/question/tests/calculated_question_summary_test.php:1091return ['null and number' => [[(object) ['questionid' => 1, 'sd' => 0.2, 'maxmark' => 0.5], (object) ['questionid' => 2, 'sd' => null, 'maxmark' => 1], (object) ['questionid' => 3, 'sd' => 0.1049, 'maxmark' => 1], (object) ['questionid' => 4, 'sd' => 0.12, 'maxmark' => 1], ], [null, 0.4]], 'null and zero' => [[(object) ['questionid' => 1, 'sd' => 0.2, 'maxmark' => 0.5], (object) ['questionid' => 2, 'sd' => null, 'maxmark' => 1], (object) ['questionid' => 3, 'sd' => 0, 'maxmark' => 1], (object) ['questionid' => 4, 'sd' => 0.12, 'maxmark' => 1], ], [0, 0.4]], 'zero mark' => [[(object) ['questionid' => 1, 'sd' => 0, 'maxmark' => 0], (object) ['questionid' => 2, 'sd' => 0.1049, 'maxmark' => 1], ], [null, 0.1049]], 'nonzero and nonzero' => [[(object) ['questionid' => 1, 'sd' => 0.2, 'maxmark' => 0.5], (object) ['questionid' => 2, 'sd' => 0.7, 'maxmark' => 2], ], [0.35, 0.4]], 'zero max mark as loaded from the DB' => [[(object) ['questionid' => 1, 'sd' => '0.0000000000', 'maxmark' => '0.0000000'], (object) ['questionid' => 2, 'sd' => '0.0000000000', 'maxmark' => '0.0000000'], ], [null, null]], ]
/question/tests/calculated_question_summary_test.php:371return ['negative number and null' => [[(object) ['questionid' => 1, 'index' => 2], (object) ['questionid' => 2, 'index' => -7], (object) ['questionid' => 3, 'index' => null], (object) ['questionid' => 4, 'index' => 12], ], [-7, 12]], 'null and negative number' => [[(object) ['questionid' => 1, 'index' => 2], (object) ['questionid' => 2, 'index' => null], (object) ['questionid' => 3, 'index' => -7], (object) ['questionid' => 4, 'index' => 12], ], [-7, 12]], 'negative number and null as maximum' => [[(object) ['questionid' => 1, 'index' => -2], (object) ['questionid' => 2, 'index' => null], (object) ['questionid' => 3, 'index' => -7], ], [-7, null]], 'zero and null' => [[(object) ['questionid' => 1, 'index' => 2], (object) ['questionid' => 2, 'index' => 0], (object) ['questionid' => 3, 'index' => null], (object) ['questionid' => 4, 'index' => 12], ], [0, 12]], 'null as minimum' => [[(object) ['questionid' => 1, 'index' => 2], (object) ['questionid' => 2, 'index' => null], (object) ['questionid' => 3, 'index' => 12], ], [null, 12]], 'null and null' => [[(object) ['questionid' => 1, 'index' => 2], (object) ['questionid' => 2, 'index' => null], (object) ['questionid' => 3, 'index' => null], ], [null, 2]], ]
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:341$quiz = (object) array('id' => '1', 'course' => '2', 'name' => 'random short answer matching deferred quiz', 'intro' => '<p>To test random shortanswer matching questions.</p>', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'questions' => '5,0', 'sumgrades' => '1.00000', 'grade' => '100.00000', 'timecreated' => '0', 'timemodified' => '1368446711', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/tests/local/statistics/statistics_bulk_loader_test.php:5871$expectedstats = [$questions[1]->id => [ ], $questions[2]->id => [ ], $questions[3]->id => [ ], $questions[4]->id => [ ], ]
/question/tests/local/statistics/statistics_bulk_loader_test.php:4861yield 'Discrimination Index' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 0, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 1 Discrimination Index' => [null, 30.15, 30.15, 81.65], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 1, 1, 1]), $this->generate_attempt_answers([0, 0, 0, 0]), $this->generate_attempt_answers([1, 0, 0, 1]), $this->generate_attempt_answers([0, 1, 1, 0]), ], 'Expected quiz 2 discrimination Index' => [44.72, 44.72, 44.72, 44.72], 'Expected average discrimination Index' => [44.72, 37.44, 37.44, 63.19], ]
/question/tests/local/statistics/statistics_bulk_loader_test.php:3921yield 'Discriminative efficiency' => ['Quiz 1 attempts' => [$this->generate_attempt_answers([1, 0, 0, 0]), $this->generate_attempt_answers([1, 1, 0, 0]), $this->generate_attempt_answers([1, 0, 1, 0]), $this->generate_attempt_answers([1, 1, 1, 1]), ], 'Expected quiz 1 discriminative efficiency' => [null, 33.33, 33.33, 100.00], 'Quiz 2 attempts' => [$this->generate_attempt_answers([1, 1, 1, 1]), $this->generate_attempt_answers([0, 0, 0, 0]), $this->generate_attempt_answers([1, 0, 0, 1]), $this->generate_attempt_answers([0, 1, 1, 0]), ], 'Expected quiz 2 discriminative efficiency' => [50.00, 50.00, 50.00, 50.00], 'Expected average discriminative efficiency' => [50.00, 41.67, 41.67, 75.00], ]
/question/bank/columnsortorder/classes/local/bank/column_action_move.php:421return new \action_menu_link_secondary(new \moodle_url('/question/edit.php'), new \pix_icon('i/dragdrop', ''), $this->move, ['title' => get_string('movecolumn', 'qbank_columnsortorder', $column->get_title( )), 'data-action' => 'move', 'data-column' => get_class($column), ])
/question/bank/columnsortorder/classes/local/bank/column_action_remove.php:661return new \action_menu_link_secondary($actionurl, new \pix_icon('t/delete', ''), $this->remove, ['class' => 'action-link', 'title' => get_string('removecolumn', 'qbank_columnsortorder', $column->get_title( )), 'data-action' => 'remove', 'data-column' => $column->get_column_id( ), ])
/question/bank/columnsortorder/classes/local/bank/preview_view.php:681return (object) ['id' => 1, 'qtype' => 'truefalse', 'createdby' => 2, 'categoryid' => 1, 'contextid' => 1, 'status' => 'ready', 'version' => 1, 'versionid' => 1, 'questionbankentryid' => 1, 'name' => 'Lorem ipsum', 'idnumber' => 123, 'creatorfirstname' => 'Admin', 'creatorlastname' => 'User', 'timecreated' => 1691157311, 'modifierfirstname' => 'Admin', 'modifierlastname' => 'User', 'timemodified' => 1691157311, ]
/question/bank/columnsortorder/classes/output/column_sort_ui.php:721$params['names'][] = ['name' => $name, 'colname' => $colname, 'class' => $column->class, 'width' => $columnsizes[$column->id] ?? null, 'widthlabel' => get_string('width', 'qbank_columnsortorder', $name), 'actionmenu' => $actionmenu->export_for_template($output), 'columnid' => $column->id, 'escapedid' => str_replace('\\', '__', $column->id), ]
/question/bank/deletequestion/delete.php:1091$deleteurl = new \moodle_url('/question/bank/deletequestion/delete.php', ['deleteselected' => $questionlist, 'deleteall' => $deleteall, 'confirm' => md5($questionlist), 'sesskey' => sesskey( ), 'returnurl' => $returnurl->out_as_local_url(false), 'cmid' => $cmid, 'courseid' => $courseid, ], )
/question/bank/bulkmove/tests/helper_test.php:1131$this->rawdata = ['courseid' => $this->course->id, 'cat' => "{$this->cat->id},{$this->context->id}", 'qpage' => '0', "q{$this->questiondata1->id}" => '1', "q{$this->questiondata2->id}" => '1', 'move' => 'Move to']
/question/bank/viewquestiontext/classes/output/question_text_format.php:681return ['formaction' => new \moodle_url('/question/bank/viewquestiontext/save.php'), 'sesskey' => sesskey( ), 'returnurl' => $this->returnurl->out(false), 'options' => [(object) ['label' => get_string('showquestiontext_off', 'question'), 'value' => self::OFF, 'selected' => $this->preference === self::OFF, ], (object) ['label' => get_string('showquestiontext_plain', 'question'), 'value' => self::PLAIN, 'selected' => $this->preference === self::PLAIN, ], (object) ['label' => get_string('showquestiontext_full', 'question'), 'value' => self::FULL, 'selected' => $this->preference === self::FULL, ], ], 'label' => get_string('showquestiontext', 'core_question'), ]
/question/bank/columnsortorder/classes/local/bank/column_action_resize.php:421return new \action_menu_link_secondary(new \moodle_url('/question/edit.php'), new \pix_icon('i/twoway', ''), $this->resize, ['title' => get_string('resizecolumn', 'qbank_columnsortorder', $column->get_title( )), 'data-action' => 'resize', 'data-column' => get_class($column), ])
/question/type/ddwtos/renderer.php:1631$output .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => $this->box_id($qa, 'p' . $place), 'class' => 'placeinput place' . $place . ' group' . $group, 'name' => $qa->get_qt_field_name($fieldname), 'value' => s($value)))
/question/type/ddwtos/renderer.php:1731$output .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => $this->box_id($qa, 'p' . $place), 'class' => 'placeinput place' . $place . ' group' . $group, 'value' => s($value))) . html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $qa->get_qt_field_name($fieldname), 'value' => s($cleanvalue)))
/question/type/randomsamatch/tests/helper.php:801$sa2->answers = array(16 => new question_answer(16, 'Amphibian', 1.0, 'Correct.', FORMAT_HTML), 17 => new question_answer(17, 'A Prince', 1.0, 'Maybe.', FORMAT_HTML), 18 => new question_answer(18, '*', 0.0, 'That is a bad answer.', FORMAT_HTML), )
/question/type/ddwtos/questiontype.php:941$question->choices[] = array('answer' => $format->getpath($dragboxxml, array('#', 'text', 0, '#'), '', true), 'choicegroup' => $format->getpath($dragboxxml, array('#', 'group', 0, '#'), 1), 'infinite' => array_key_exists('infinite', $dragboxxml['#']), )
/question/type/ddwtos/tests/helper.php:581$dd->choices = array(1 => array(1 => new qtype_ddwtos_choice('quick', 1), 2 => new qtype_ddwtos_choice('slow', 1)), 2 => array(1 => new qtype_ddwtos_choice('fox', 2), 2 => new qtype_ddwtos_choice('dog', 2)), 3 => array(1 => new qtype_ddwtos_choice('lazy', 3), 2 => new qtype_ddwtos_choice('assiduous', 3)), )
/question/type/ddwtos/tests/helper.php:1781$dd->choices = array(1 => array(1 => new qtype_ddwtos_choice('+', 1, true), 2 => new qtype_ddwtos_choice('-', 1, true), 3 => new qtype_ddwtos_choice('*', 1, true), 4 => new qtype_ddwtos_choice('/', 1, true), ))
/question/type/ddwtos/tests/question_type_test.php:951$dd->options->answers = array((object) array('answer' => 'quick', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"1";s:8:"infinite";i:0;}'), (object) array('answer' => 'fox', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"2";s:8:"infinite";i:0;}'), (object) array('answer' => 'lazy', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"3";s:8:"infinite";i:0;}'), (object) array('answer' => 'assiduous', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"3";s:8:"infinite";i:0;}'), (object) array('answer' => 'dog', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"2";s:8:"infinite";i:0;}'), (object) array('answer' => 'slow', 'feedback' => 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"1";s:8:"infinite";i:0;}'), )
/question/type/ddwtos/tests/question_type_test.php:2991$qdata->options->answers = array(13 => new question_answer(13, 'Alpha', 0, 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"1";s:8:"infinite";b:0;}', FORMAT_MOODLE), 14 => new question_answer(14, 'Beta', 0, 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"1";s:8:"infinite";b:0;}', FORMAT_MOODLE), 15 => new question_answer(15, 'Gamma', 0, 'O:8:"stdClass":2:{s:9:"draggroup";s:1:"1";s:8:"infinite";b:1;}', FORMAT_MOODLE), )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:1191$qstates = array(1 => (object) array('id' => '1', 'attempt' => '1', 'question' => '5', 'seq_number' => '0', 'answer' => '2-0,3-0,6-0', 'timestamp' => '1368446755', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 2 => (object) array('id' => '2', 'attempt' => '1', 'question' => '5', 'seq_number' => '1', 'answer' => '2-3,3-5,6-3', 'timestamp' => '1368446783', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '0.6666667', 'penalty' => '0.1000000', ), 3 => (object) array('id' => '3', 'attempt' => '1', 'question' => '5', 'seq_number' => '2', 'answer' => '2-3,3-5,6-3', 'timestamp' => '1368446783', 'event' => '6', 'grade' => '0.6666667', 'raw_grade' => '0.6666667', 'penalty' => '0.1000000', ), )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:1571$sa1 = (object) array('id' => '2', 'category' => '1', 'parent' => '0', 'name' => 'animal 1', 'questiontext' => 'Dog', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'localhost+090227173002+mbdE0X', 'version' => 'localhost+090304190917+xAB5Nf', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1235755802', 'timemodified' => '1236193757', 'createdby' => '25299', 'modifiedby' => '25299', 'unlimited' => '0', 'options' => (object) array('id' => '15211', 'question' => '2', 'layout' => '0', 'answers' => array(7 => (object) array('question' => '2', 'answer' => 'Amphibian', 'fraction' => '0', 'feedback' => '', 'id' => 7, ), 3 => (object) array('question' => '2', 'answer' => 'Mammal', 'fraction' => '1', 'feedback' => '', 'id' => 3, ), 22 => (object) array('question' => '2', 'answer' => '*', 'fraction' => '0', 'feedback' => '', 'id' => 22, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => 'Your answer is correct. Well done.', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => 'Your answer is incorrect. The correct answer is: Mammal.', 'answernumbering' => 'abc', ), )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '1', 'uniqueid' => '1', 'quiz' => '1', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '0.66667', 'timestart' => '1368446755', 'timefinish' => '1368446789', 'timemodified' => '1368446789', 'layout' => '5,0', 'preview' => '0', 'needsupgradetonewqe' => 1, )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:801$question = (object) array('id' => '5', 'category' => '1', 'parent' => '0', 'name' => 'Random shortanswer matching question animals', 'questiontext' => 'For each of the following questions, select the matching answer from the menu.', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'randomsamatch', 'length' => '1', 'stamp' => 'localhost+130513115611+72Efbk', 'version' => 'localhost+130513115611+0REXHW', 'hidden' => '0', 'timecreated' => '1368446171', 'timemodified' => '1368446171', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('id' => '1', 'question' => '5', 'choose' => '3', 'subcats' => 1, ), 'defaultmark' => '1.0000000', )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:3331$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 5, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'For each of the following questions, select the matching answer from the menu.{Dog;Frog;Toad}->{Mammal;Amphibian}', 'rightanswer' => 'Dog -> Mammal; Frog -> Amphibian; Toad -> Amphibian', 'responsesummary' => 'Dog->Mammal;Frog->Amphibian;Toad->Mammal', 'timemodified' => 1368446783, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1368446755, 'userid' => 3, 'data' => array('_choice_3' => 'Mammal', '_stem_2' => 'Dog', '_stemformat_2' => '1', '_right_2' => 3, '_choice_5' => 'Amphibian', '_stem_3' => 'Frog', '_stemformat_3' => '1', '_right_3' => 5, '_stem_6' => 'Toad', '_stemformat_6' => '1', '_right_6' => 5, '_stemorder' => '2,3,6', '_choiceorder' => '3,5', ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1368446783, 'userid' => 3, 'data' => array('sub0' => 1, 'sub1' => 2, 'sub2' => 1, ), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedpartial', 'fraction' => 0.6666667, 'timecreated' => 1368446783, 'userid' => 3, 'data' => array('sub0' => 1, 'sub1' => 2, 'sub2' => 1, '-finish' => 1, ), ), ), )
/question/type/randomsamatch/tests/helper.php:691$sa1->answers = array(13 => new question_answer(13, 'Mammal', 1.0, 'Correct.', FORMAT_HTML), 14 => new question_answer(14, 'Animal', 0.5, 'There is a betterresponse.', FORMAT_HTML), 15 => new question_answer(15, '*', 0.0, 'That is a bad answer.', FORMAT_HTML), )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:2141$sa2 = (object) array('id' => '3', 'category' => '1', 'parent' => '0', 'name' => 'animal 2', 'questiontext' => 'Frog', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'localhost+090227173002+mbdE0X', 'version' => 'localhost+090304190917+xAB5Nf', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1235755802', 'timemodified' => '1236193757', 'createdby' => '25299', 'modifiedby' => '25299', 'unlimited' => '0', 'options' => (object) array('id' => '15214', 'question' => '3', 'layout' => '0', 'answers' => array(5 => (object) array('question' => '3', 'answer' => 'Amphibian', 'fraction' => '1', 'feedback' => '', 'id' => 5, ), 11 => (object) array('question' => '3', 'answer' => 'Mammal', 'fraction' => '0', 'feedback' => '', 'id' => 11, ), 27 => (object) array('question' => '3', 'answer' => '*', 'fraction' => '0', 'feedback' => '', 'id' => 27, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => 'Your answer is correct. Well done.', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => 'Your answer is incorrect. The correct answer is: Mammal.', 'answernumbering' => 'abc', ), )
/question/type/randomsamatch/tests/upgrade_old_attempt_data_test.php:2711$sa3 = (object) array('id' => '6', 'category' => '1', 'parent' => '0', 'name' => 'animal 3', 'questiontext' => 'Toad', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'localhost+090227173002+mbdE0X', 'version' => 'localhost+090304190917+xAB5Nf', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '1235755802', 'timemodified' => '1236193757', 'createdby' => '25299', 'modifiedby' => '25299', 'unlimited' => '0', 'options' => (object) array('id' => '4578', 'question' => '6', 'layout' => '0', 'answers' => array(9 => (object) array('question' => '6', 'answer' => 'Amphibian', 'fraction' => '1', 'feedback' => '', 'id' => 9, ), 18 => (object) array('question' => '6', 'answer' => 'Mammal', 'fraction' => '0', 'feedback' => '', 'id' => 18, ), 32 => (object) array('question' => '6', 'answer' => '*', 'fraction' => '0', 'feedback' => '', 'id' => 32, ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => 'Your answer is correct. Well done.', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => 'Your answer is incorrect. The correct answer is: Mammal.', 'answernumbering' => 'abc', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:346$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/multianswer/renderer.php:3991$feedbackpopup = $this->feedback_popup($subq, $matchinganswer->fraction, $subq->format_text($matchinganswer->feedback, $matchinganswer->feedbackformat, $qa, 'question', 'answerfeedback', $matchinganswer->id), $subq->format_text($rightanswer->answer, $rightanswer->answerformat, $qa, 'question', 'answer', $rightanswer->id), $options)
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:783$question = (object) array('id' => '28', 'category' => '2', 'parent' => '0', 'name' => 'Very simple cloze', 'questiontext' => '<p>An answer {#1}.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+XQLcXi', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+T8hPiI', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '29', 'category' => '2', 'parent' => '28', 'name' => 'Very simple cloze', 'questiontext' => '{1:SHORTANSWER:=frog#Yay!}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+j3BYTL', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+lxNwQv', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(52 => (object) array('id' => '52', 'question' => '29', 'answer' => 'frog', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Yay!', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), ), ), 'defaultmark' => '1.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:652$attempt = (object) array('id' => '16', 'uniqueid' => '16', 'quiz' => '5', 'userid' => '4', 'attempt' => '1', 'sumgrades' => '6.00000', 'timestart' => '1306425691', 'timefinish' => '1306425746', 'timemodified' => '1306425746', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:1921$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => 28, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'An answer _____.', 'rightanswer' => 'part 1: frog', 'responsesummary' => 'part 1: frog', 'timemodified' => 1306425739, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1306425691, 'userid' => 4, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1306425739, 'userid' => 4, 'data' => array('sub1_answer' => 'frog'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1.0, 'timecreated' => 1306425739, 'userid' => 4, 'data' => array('sub1_answer' => 'frog', '-finish' => '1', '-_try' => '1', '-_rawfraction' => 1.0), ), ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:1511$qstates = array(281 => (object) array('id' => '281', 'attempt' => '16', 'question' => '28', 'seq_number' => '0', 'answer' => '1-', 'timestamp' => '1306425691', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 283 => (object) array('id' => '283', 'attempt' => '16', 'question' => '28', 'seq_number' => '1', 'answer' => '1-frog', 'timestamp' => '1306425739', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 285 => (object) array('id' => '285', 'attempt' => '16', 'question' => '28', 'seq_number' => '2', 'answer' => '1-frog', 'timestamp' => '1306425739', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:2682$attempt = (object) array('id' => '17', 'uniqueid' => '17', 'quiz' => '5', 'userid' => '4', 'attempt' => '2', 'sumgrades' => '0.00000', 'timestart' => '1306425757', 'timefinish' => '1306425762', 'timemodified' => '1306425762', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:2376$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/gapselect/tests/question_type_test.php:2521$qdata->options->answers = array(13 => new question_answer(13, 'Alpha', 0, '1', FORMAT_MOODLE), 14 => new question_answer(14, 'Beta', 0, '1', FORMAT_MOODLE), 15 => new question_answer(15, 'Gamma', 0, '1', FORMAT_MOODLE), )
/question/type/ddwtos/tests/form/edit_form_test.php:871$submitteddata = ['category' => $category->id, 'questiontext' => ['text' => 'Test [[1]] question [[2]]', 'format' => FORMAT_HTML], 'choices' => [['answer' => 'frog'], ['answer' => '<b>toad</b>'], ['answer' => '<span lang="fr"><em>chien</em></span>'], ['answer' => '<textarea>evil!</textarea>'], ], ]
/question/type/gapselect/tests/helper.php:1381$gapselect->choices = array(1 => array(1 => new qtype_gapselect_choice('quick', 1), 2 => new qtype_gapselect_choice('slow', 1)), 2 => array(1 => new qtype_gapselect_choice('fox', 2), 2 => new qtype_gapselect_choice('dog', 2)), 3 => array(1 => new qtype_gapselect_choice('lazy', 3), 2 => new qtype_gapselect_choice('assiduous', 3)), )
/question/type/gapselect/tests/helper.php:801$gapselect->options->answers = array((object) array('answer' => 'quick', 'feedback' => '1'), (object) array('answer' => 'fox', 'feedback' => '2'), (object) array('answer' => 'lazy', 'feedback' => '3'), (object) array('answer' => 'assiduous', 'feedback' => '3'), (object) array('answer' => 'dog', 'feedback' => '2'), (object) array('answer' => 'slow', 'feedback' => '1'), )
/question/type/gapselect/tests/helper.php:2141$gapselect->choices = array(1 => array(1 => new qtype_gapselect_choice('<span lang="en" class="multilang">cat</span><span lang="ru" ' . 'class="multilang">кошка</span>', 1), 2 => new qtype_gapselect_choice('<span lang="en" class="multilang">dog</span><span lang="ru" ' . 'class="multilang">пес</span>', 1)), 2 => array(1 => new qtype_gapselect_choice('<span lang="en" class="multilang">mat</span><span lang="ru" ' . 'class="multilang">коврике</span>', 2), 2 => new qtype_gapselect_choice('<span lang="en" class="multilang">bat</span><span lang="ru" ' . 'class="multilang">бита</span>', 2)))
/question/type/gapselect/tests/helper.php:1781$gapselect->choices = array(1 => array(1 => new qtype_gapselect_choice('+', 1), 2 => new qtype_gapselect_choice('-', 1), 3 => new qtype_gapselect_choice('*', 1), 4 => new qtype_gapselect_choice('/', 1), ))
/question/type/multianswer/renderer.php:2181return html_writer::link('#', $icon, ['role' => 'button', 'tabindex' => 0, 'class' => 'feedbacktrigger btn btn-link p-0', 'data-toggle' => 'popover', 'data-container' => 'body', 'data-content' => $feedbackcontents, 'data-placement' => 'right', 'data-trigger' => 'hover focus', 'data-html' => 'true', ])
/question/type/gapselect/tests/helper.php:2551$gapselect->choices = [1 => [1 => new qtype_gapselect_choice('$2', 1), 2 => new qtype_gapselect_choice('$3', 1), 3 => new qtype_gapselect_choice('$4.99', 1), 4 => new qtype_gapselect_choice('-1', 1)]]
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:6436$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:6742$attempt = (object) array('id' => '16', 'uniqueid' => '16', 'quiz' => '5', 'userid' => '4', 'attempt' => '1', 'sumgrades' => '6.00000', 'timestart' => '1306425691', 'timefinish' => '1306425746', 'timemodified' => '1306425746', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:6873$question = (object) array('id' => '19', 'category' => '2', 'parent' => '0', 'name' => 'Cloze', 'questiontext' => '<p>This question consists of some text with an answer embedded right here {#1}</p> <p>and right after that you will have to deal with this short answer {#2}</p> <p>and finally we have a floating point number {#3}.</p> <p>The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {#4}</p> <p>Or in an horizontal display that is included here in a table {#5}</p> <p>A shortanswer question where case must match. Write moodle in upper case letters {#6}</p> <p>Note that addresses like www.moodle.org and smileys :-) all work as normal:</p> <p>a) How good is this? {#7}</p> <p>b) What grade would you give it? {#8}</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164438+iwiint', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+AAjnIy', 'hidden' => '0', 'timecreated' => '1306341878', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '13.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '20', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164439+cAuJ4r', 'version' => 'tjh238.vledev2.open.ac.uk+110525164439+5bnnys', 'hidden' => '0', 'timecreated' => '1306341879', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '3', 'question' => '20', 'layout' => '0', 'answers' => array(29 => (object) array('id' => '29', 'question' => '20', 'answer' => 'Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 30 => (object) array('id' => '30', 'question' => '20', 'answer' => 'Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 31 => (object) array('id' => '31', 'question' => '20', 'answer' => 'Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 32 => (object) array('id' => '32', 'question' => '20', 'answer' => 'Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 2 => (object) array('id' => '21', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+EN6wCk', 'version' => 'tjh238.vledev2.open.ac.uk+110525164440+bQzatI', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(33 => (object) array('id' => '33', 'question' => '21', 'answer' => 'Wrong answer', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 34 => (object) array('id' => '34', 'question' => '21', 'answer' => 'Correct answer', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 35 => (object) array('id' => '35', 'question' => '21', 'answer' => 'Answer that gives half the credit', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), 3 => (object) array('id' => '22', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+Xr29c2', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+QTwsGM', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(36 => (object) array('id' => '36', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer 23.8', 'feedbackformat' => '1', 'tolerance' => '0.1', ), 37 => (object) array('id' => '37', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer in the nearby region of the correct answer', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '2.0000000', ), 4 => (object) array('id' => '23', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+7R55HA', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+uCMoQc', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '4', 'question' => '23', 'layout' => '1', 'answers' => array(38 => (object) array('id' => '38', 'question' => '23', 'answer' => '1. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 39 => (object) array('id' => '39', 'question' => '23', 'answer' => '2. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 40 => (object) array('id' => '40', 'question' => '23', 'answer' => '3. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 41 => (object) array('id' => '41', 'question' => '23', 'answer' => '4. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 5 => (object) array('id' => '24', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCH:a. Wrong answer#Feedback for this wrong answer~b. Another wrong answer#Feedback for the other wrong answer~=c. Correct answer#Feedback for correct answer~%50%d. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+QGvRpd', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+03GsSs', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '5', 'question' => '24', 'layout' => '2', 'answers' => array(42 => (object) array('id' => '42', 'question' => '24', 'answer' => 'a. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 43 => (object) array('id' => '43', 'question' => '24', 'answer' => 'b. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 44 => (object) array('id' => '44', 'question' => '24', 'answer' => 'c. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 45 => (object) array('id' => '45', 'question' => '24', 'answer' => 'd. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 6 => (object) array('id' => '25', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+n9ETJC', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+Bvqo6c', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(46 => (object) array('id' => '46', 'question' => '25', 'answer' => 'moodle', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for moodle in lower case', 'feedbackformat' => '1', ), 47 => (object) array('id' => '47', 'question' => '25', 'answer' => 'MOODLE', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for MOODLE in upper case', 'feedbackformat' => '1', ), 48 => (object) array('id' => '48', 'question' => '25', 'answer' => 'Moodle', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for only first letter in upper case', 'feedbackformat' => '1', ), ), 'usecase' => '1', ), 'maxgrade' => '1.0000000', ), 7 => (object) array('id' => '26', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{:MULTICHOICE:=Yes#Correct~No#We have a different opinion}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+0YjnZ7', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+1giLRX', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '6', 'question' => '26', 'layout' => '0', 'answers' => array(49 => (object) array('id' => '49', 'question' => '26', 'answer' => 'Yes', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Correct', 'feedbackformat' => '1', ), 50 => (object) array('id' => '50', 'question' => '26', 'answer' => 'No', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'We have a different opinion', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 8 => (object) array('id' => '27', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{3:NUMERICAL:=3:2}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '3.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+glbCBN', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+xWusxR', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(51 => (object) array('id' => '51', 'question' => '27', 'answer' => '3', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '3.0000000', ), ), ), 'defaultmark' => '13.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:12161$qstates = array(282 => (object) array('id' => '282', 'attempt' => '16', 'question' => '19', 'seq_number' => '0', 'answer' => '1-,2-,3-,4-,5-,6-,7-,8-', 'timestamp' => '1306425691', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 284 => (object) array('id' => '284', 'attempt' => '16', 'question' => '19', 'seq_number' => '1', 'answer' => '1-31,2-dsf,3-sadf,4-39,5-44,6-MOODLE,7-49,8-100%', 'timestamp' => '1306425739', 'event' => '3', 'grade' => '5.0000000', 'raw_grade' => '5.0000000', 'penalty' => '1.3000000', ), 286 => (object) array('id' => '286', 'attempt' => '16', 'question' => '19', 'seq_number' => '2', 'answer' => '1-31,2-dsf,3-sadf,4-39,5-44,6-MOODLE,7-49,8-100%', 'timestamp' => '1306425739', 'event' => '6', 'grade' => '5.0000000', 'raw_grade' => '5.0000000', 'penalty' => '1.3000000', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:12571$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => '19', 'variant' => 1, 'maxmark' => '13.0000000', 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'This question consists of some text with an answer embedded right here {Wrong answer; Another wrong answer; Correct answer; Answer that gives half the credit} and right after that you will have to deal with this short answer _____ and finally we have a floating point number _____. The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {1. Wrong answer; 2. Another wrong answer; 3. Correct answer; 4. Answer that gives half the credit} Or in an horizontal display that is included here in a table {a. Wrong answer; b. Another wrong answer; c. Correct answer; d. Answer that gives half the credit} A shortanswer question where case must match. Write moodle in upper case letters _____ Note that addresses like www.moodle.org and smileys :-) all work as normal: a) How good is this? {Yes; No} b) What grade would you give it? _____', 'rightanswer' => 'part 1: Correct answer; part 2: Correct answer; part 3: 23.8; part 4: 3. Correct answer; part 5: c. Correct answer; part 6: MOODLE; part 7: Yes; part 8: 3', 'responsesummary' => 'part 1: Correct answer; part 2: dsf; part 3: sadf; part 4: 2. Another wrong answer; part 5: c. Correct answer; part 6: MOODLE; part 7: Yes; part 8: 100%', 'timemodified' => '1306425739', 'steps' => array(0 => (object) array('data' => array('_sub1_order' => '29,30,31,32', '_sub3_separators' => '.$,', '_sub4_order' => '38,39,40,41', '_sub5_order' => '42,43,44,45', '_sub7_order' => '49,50', '_sub8_separators' => '.$,'), 'fraction' => null, 'timecreated' => 1306425691, 'userid' => 4, 'state' => 'todo', 'sequencenumber' => 0, ), 1 => (object) array('data' => array('sub1_answer' => 2, 'sub2_answer' => 'dsf', 'sub3_answer' => 'sadf', 'sub4_answer' => 1, 'sub5_answer' => 2, 'sub6_answer' => 'MOODLE', 'sub7_answer' => 0, 'sub8_answer' => '100%', '-_try' => 1, '-_rawfraction' => 0.38461538461538466, '-submit' => 1), 'fraction' => 0.38461538461538466, 'timecreated' => '1306425739', 'userid' => '4', 'state' => 'todo', 'sequencenumber' => 1, ), 2 => (object) array('data' => array('sub1_answer' => 2, 'sub2_answer' => 'dsf', 'sub3_answer' => 'sadf', 'sub4_answer' => 1, 'sub5_answer' => 2, 'sub6_answer' => 'MOODLE', 'sub7_answer' => 0, 'sub8_answer' => '100%', '-finish' => 1, '-_try' => 1, '-_rawfraction' => 0.38461538461538466), 'fraction' => 0.38461538461538466, 'timecreated' => '1306425739', 'userid' => '4', 'state' => 'gradedpartial', 'sequencenumber' => 2, ), ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:13286$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:13592$attempt = (object) array('id' => '17', 'uniqueid' => '17', 'quiz' => '5', 'userid' => '4', 'attempt' => '2', 'sumgrades' => '0.00000', 'timestart' => '1306425757', 'timefinish' => '1306425762', 'timemodified' => '1306425762', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:13723$question = (object) array('id' => '19', 'category' => '2', 'parent' => '0', 'name' => 'Cloze', 'questiontext' => '<p>This question consists of some text with an answer embedded right here {#1}</p> <p>and right after that you will have to deal with this short answer {#2}</p> <p>and finally we have a floating point number {#3}.</p> <p>The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {#4}</p> <p>Or in an horizontal display that is included here in a table {#5}</p> <p>A shortanswer question where case must match. Write moodle in upper case letters {#6}</p> <p>Note that addresses like www.moodle.org and smileys :-) all work as normal:</p> <p>a) How good is this? {#7}</p> <p>b) What grade would you give it? {#8}</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164438+iwiint', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+AAjnIy', 'hidden' => '0', 'timecreated' => '1306341878', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '13.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '20', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164439+cAuJ4r', 'version' => 'tjh238.vledev2.open.ac.uk+110525164439+5bnnys', 'hidden' => '0', 'timecreated' => '1306341879', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '3', 'question' => '20', 'layout' => '0', 'answers' => array(29 => (object) array('id' => '29', 'question' => '20', 'answer' => 'Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 30 => (object) array('id' => '30', 'question' => '20', 'answer' => 'Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 31 => (object) array('id' => '31', 'question' => '20', 'answer' => 'Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 32 => (object) array('id' => '32', 'question' => '20', 'answer' => 'Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 2 => (object) array('id' => '21', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+EN6wCk', 'version' => 'tjh238.vledev2.open.ac.uk+110525164440+bQzatI', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(33 => (object) array('id' => '33', 'question' => '21', 'answer' => 'Wrong answer', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 34 => (object) array('id' => '34', 'question' => '21', 'answer' => 'Correct answer', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 35 => (object) array('id' => '35', 'question' => '21', 'answer' => 'Answer that gives half the credit', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), 3 => (object) array('id' => '22', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+Xr29c2', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+QTwsGM', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(36 => (object) array('id' => '36', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer 23.8', 'feedbackformat' => '1', 'tolerance' => '0.1', ), 37 => (object) array('id' => '37', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer in the nearby region of the correct answer', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '2.0000000', ), 4 => (object) array('id' => '23', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+7R55HA', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+uCMoQc', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '4', 'question' => '23', 'layout' => '1', 'answers' => array(38 => (object) array('id' => '38', 'question' => '23', 'answer' => '1. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 39 => (object) array('id' => '39', 'question' => '23', 'answer' => '2. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 40 => (object) array('id' => '40', 'question' => '23', 'answer' => '3. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 41 => (object) array('id' => '41', 'question' => '23', 'answer' => '4. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 5 => (object) array('id' => '24', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCH:a. Wrong answer#Feedback for this wrong answer~b. Another wrong answer#Feedback for the other wrong answer~=c. Correct answer#Feedback for correct answer~%50%d. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+QGvRpd', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+03GsSs', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '5', 'question' => '24', 'layout' => '2', 'answers' => array(42 => (object) array('id' => '42', 'question' => '24', 'answer' => 'a. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 43 => (object) array('id' => '43', 'question' => '24', 'answer' => 'b. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 44 => (object) array('id' => '44', 'question' => '24', 'answer' => 'c. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 45 => (object) array('id' => '45', 'question' => '24', 'answer' => 'd. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 6 => (object) array('id' => '25', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+n9ETJC', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+Bvqo6c', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(46 => (object) array('id' => '46', 'question' => '25', 'answer' => 'moodle', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for moodle in lower case', 'feedbackformat' => '1', ), 47 => (object) array('id' => '47', 'question' => '25', 'answer' => 'MOODLE', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for MOODLE in upper case', 'feedbackformat' => '1', ), 48 => (object) array('id' => '48', 'question' => '25', 'answer' => 'Moodle', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for only first letter in upper case', 'feedbackformat' => '1', ), ), 'usecase' => '1', ), 'maxgrade' => '1.0000000', ), 7 => (object) array('id' => '26', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{:MULTICHOICE:=Yes#Correct~No#We have a different opinion}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+0YjnZ7', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+1giLRX', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '6', 'question' => '26', 'layout' => '0', 'answers' => array(49 => (object) array('id' => '49', 'question' => '26', 'answer' => 'Yes', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Correct', 'feedbackformat' => '1', ), 50 => (object) array('id' => '50', 'question' => '26', 'answer' => 'No', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'We have a different opinion', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 8 => (object) array('id' => '27', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{3:NUMERICAL:=3:2}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '3.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+glbCBN', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+xWusxR', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(51 => (object) array('id' => '51', 'question' => '27', 'answer' => '3', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '3.0000000', ), ), ), 'defaultmark' => '13.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:2813$question = (object) array('id' => '28', 'category' => '2', 'parent' => '0', 'name' => 'Very simple cloze', 'questiontext' => '<p>An answer {#1}.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+XQLcXi', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+T8hPiI', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '29', 'category' => '2', 'parent' => '28', 'name' => 'Very simple cloze', 'questiontext' => '{1:SHORTANSWER:=frog#Yay!}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+j3BYTL', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+lxNwQv', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(52 => (object) array('id' => '52', 'question' => '29', 'answer' => 'frog', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Yay!', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), ), ), 'defaultmark' => '1.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:3541$qstates = array(287 => (object) array('id' => '287', 'attempt' => '17', 'question' => '28', 'seq_number' => '0', 'answer' => '1-', 'timestamp' => '1306425757', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 289 => (object) array('id' => '289', 'attempt' => '17', 'question' => '28', 'seq_number' => '1', 'answer' => '1-', 'timestamp' => '1306425757', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:3831$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => 28, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'An answer _____.', 'rightanswer' => 'part 1: frog', 'responsesummary' => 'part 1: ', 'timemodified' => 1306425757, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1306425757, 'userid' => 4, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0.0, 'timecreated' => 1306425757, 'userid' => 4, 'data' => array('-finish' => '1', '-_try' => '1', '-_rawfraction' => 0.0), ), ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:4196$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:4502$attempt = (object) array('id' => '18', 'uniqueid' => '18', 'quiz' => '5', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '10.40000', 'timestart' => '1306425784', 'timefinish' => '1306425931', 'timemodified' => '1306425931', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:4633$question = (object) array('id' => '28', 'category' => '2', 'parent' => '0', 'name' => 'Very simple cloze', 'questiontext' => '<p>An answer {#1}.</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+XQLcXi', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+T8hPiI', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '29', 'category' => '2', 'parent' => '28', 'name' => 'Very simple cloze', 'questiontext' => '{1:SHORTANSWER:=frog#Yay!}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110526154631+j3BYTL', 'version' => 'tjh238.vledev2.open.ac.uk+110526154631+lxNwQv', 'hidden' => '0', 'timecreated' => '1306424791', 'timemodified' => '1306424791', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(52 => (object) array('id' => '52', 'question' => '29', 'answer' => 'frog', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Yay!', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), ), ), 'defaultmark' => '1.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:5361$qstates = array(291 => (object) array('id' => '291', 'attempt' => '18', 'question' => '28', 'seq_number' => '0', 'answer' => '1-', 'timestamp' => '1306425784', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 293 => (object) array('id' => '293', 'attempt' => '18', 'question' => '28', 'seq_number' => '1', 'answer' => '1-ds&#0044;&#0045;afg', 'timestamp' => '1306425801', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.1000000', ), 297 => (object) array('id' => '297', 'attempt' => '18', 'question' => '28', 'seq_number' => '2', 'answer' => '1-frog', 'timestamp' => '1306425917', 'event' => '3', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 298 => (object) array('id' => '298', 'attempt' => '18', 'question' => '28', 'seq_number' => '3', 'answer' => '1-frog', 'timestamp' => '1306425917', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:5891$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => 28, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'An answer _____.', 'rightanswer' => 'part 1: frog', 'responsesummary' => 'part 1: frog', 'timemodified' => 1306425917, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1306425784, 'userid' => 3, 'data' => array( ), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1306425801, 'userid' => 3, 'data' => array('sub1_answer' => 'ds,-afg'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => 1, 'timecreated' => 1306425917, 'userid' => 3, 'data' => array('sub1_answer' => 'frog', '-_try' => 1, '-_rawfraction' => 1.0, '-submit' => 1), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1306425917, 'userid' => 3, 'data' => array('sub1_answer' => 'frog', '-_try' => 1, '-_rawfraction' => 1.0, '-finish' => 1), ), ), )
/question/type/multianswer/tests/helper.php:981$mc->answers = array(13 => new question_answer(13, 'Bow-wow', 0, 'You seem to have a dog obsessions!', FORMAT_HTML), 14 => new question_answer(14, 'Wiggly worm', 0, 'Now you are just being rediculous!', FORMAT_HTML), 15 => new question_answer(15, 'Pussy-cat', 1, 'Well done!', FORMAT_HTML), )
/question/type/multianswer/tests/helper.php:751$sa->answers = array(13 => new question_answer(13, 'Dog', 0.0, 'Wrong, silly!', FORMAT_HTML), 14 => new question_answer(14, 'Owl', 1.0, 'Well done!', FORMAT_HTML), 15 => new question_answer(15, '*', 0.0, 'Wrong answer', FORMAT_HTML), )
/question/type/multianswer/tests/question_test.php:2851$newquestion->subquestions[2]->answers = [42 => new \question_answer(22, 'Raddish', 0.5, 'Good', FORMAT_HTML), 43 => new \question_answer(23, 'Chocolate', -0.5, '', FORMAT_HTML), 44 => new \question_answer(24, 'Biscuit', -0.5, 'Not a vegetable', FORMAT_HTML), 45 => new \question_answer(25, 'Cheese', -0.5, '', FORMAT_HTML), 46 => new \question_answer(26, 'Carrot', 0.5, 'Correct', FORMAT_HTML), ]
/question/type/multianswer/tests/question_test.php:2701$newquestion->subquestions[1]->answers = [36 => new \question_answer(16, 'Apple', 0.3333333, 'Good', FORMAT_HTML), 37 => new \question_answer(17, 'Burger', -0.5, '', FORMAT_HTML), 38 => new \question_answer(18, 'Hot dog', -0.5, 'Not a fruit', FORMAT_HTML), 39 => new \question_answer(19, 'Pizza', -0.5, '', FORMAT_HTML), 40 => new \question_answer(20, 'Orange', 0.3333333, 'Correct', FORMAT_HTML), 41 => new \question_answer(21, 'Banana', 0.3333333, '', FORMAT_HTML), ]
/question/type/multianswer/tests/question_test.php:2341$responses = array(0 => array('sub1_answer' => 'Dog'), 1 => array('sub1_answer' => 'Cat'), 2 => array('sub1_answer' => 'Frog', 'sub2_answer' => $right), 3 => array('sub1_answer' => 'Owl', 'sub2_answer' => $right), )
/question/type/multianswer/tests/question_test.php:2251$responses = array(0 => array('sub1_answer' => 'Dog', 'sub2_answer' => $right), 1 => array('sub1_answer' => 'Cat', 'sub2_answer' => $wrong), 2 => array('sub1_answer' => 'Frog', 'sub2_answer' => $right), 3 => array('sub1_answer' => 'Owl', 'sub2_answer' => $right), )
/question/type/multianswer/tests/question_test.php:2151$responses = array(0 => array('sub1_answer' => 'Dog', 'sub2_answer' => $right), 1 => array('sub1_answer' => 'Dog', 'sub2_answer' => $right), 2 => array('sub1_answer' => 'Dog', 'sub2_answer' => $right), 3 => array('sub1_answer' => 'Owl', 'sub2_answer' => $right), )
/question/type/multianswer/tests/question_test.php:2061$responses = array(0 => array('sub1_answer' => 'Dog', 'sub2_answer' => $wrong), 1 => array('sub1_answer' => 'Cat', 'sub2_answer' => $right), 2 => array('sub1_answer' => 'Owl', 'sub2_answer' => $right), 3 => array('sub1_answer' => 'Owl', 'sub2_answer' => $right), )
/question/type/multianswer/tests/question_type_test.php:2271$question = ['id' => $value->id, 'category' => $category->id, 'parent' => $questiondata->id, 'name' => $value->name, 'questiontext' => $value->questiontext, 'questiontextformat' => $value->questiontextformat, 'generalfeedback' => $value->generalfeedback, 'generalfeedbackformat' => $value->generalfeedbackformat, 'defaultmark' => (float) $value->defaultmark, 'penalty' => (float) $value->penalty, 'qtype' => $value->qtype, 'length' => $value->length, 'stamp' => $value->stamp, 'timecreated' => $value->timecreated, 'timemodified' => $value->timemodified, 'createdby' => $value->createdby, 'modifiedby' => $value->modifiedby, ]
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:26231$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => '19', 'variant' => 1, 'maxmark' => '13.0000000', 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'This question consists of some text with an answer embedded right here {Wrong answer; Another wrong answer; Correct answer; Answer that gives half the credit} and right after that you will have to deal with this short answer _____ and finally we have a floating point number _____. The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {1. Wrong answer; 2. Another wrong answer; 3. Correct answer; 4. Answer that gives half the credit} Or in an horizontal display that is included here in a table {a. Wrong answer; b. Another wrong answer; c. Correct answer; d. Answer that gives half the credit} A shortanswer question where case must match. Write moodle in upper case letters _____ Note that addresses like www.moodle.org and smileys :-) all work as normal: a) How good is this? {Yes; No} b) What grade would you give it? _____', 'rightanswer' => 'part 1: Correct answer; part 2: Correct answer; part 3: 23.8; part 4: 3. Correct answer; part 5: c. Correct answer; part 6: MOODLE; part 7: Yes; part 8: 3', 'responsesummary' => 'part 1: Correct answer; part 2: Correct answer; part 3: 23.8; part 4: 3. Correct answer; part 5: c. Correct answer; part 6: MOODLE; part 7: Yes; part 8: 3', 'timemodified' => '1306425886', 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1306425784, 'userid' => 3, 'data' => array('_sub1_order' => '29,30,31,32', '_sub3_separators' => '.$,', '_sub4_order' => '38,39,40,41', '_sub5_order' => '42,43,44,45', '_sub7_order' => '49,50', '_sub8_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'todo', 'fraction' => 0.038461538461538464, 'timecreated' => '1306425801', 'userid' => '3', 'data' => array('sub1_answer' => '3', 'sub2_answer' => 'asdgf', 'sub3_answer' => 'saedf', 'sub4_answer' => '1', 'sub5_answer' => '1', 'sub6_answer' => 'sadf', '-_try' => '1', '-_rawfraction' => '0.038461538461538464', '-submit' => '1'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'todo', 'fraction' => 0.43846153846153845, 'timecreated' => 1306425836, 'userid' => 3, 'data' => array('sub1_answer' => '2', 'sub2_answer' => 'asdgf', 'sub3_answer' => '28.3', 'sub4_answer' => '2', 'sub5_answer' => '2', 'sub6_answer' => 'MOODLE', 'sub7_answer' => '0', 'sub8_answer' => '13', '-_try' => 2, '-_rawfraction' => 0.53846153846153845, '-submit' => 1), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'todo', 'fraction' => 0.72307692307692311, 'timecreated' => 1306425886, 'userid' => 3, 'data' => array('sub1_answer' => '2', 'sub2_answer' => 'Correct answer', 'sub3_answer' => '23.8', 'sub4_answer' => '2', 'sub5_answer' => '2', 'sub6_answer' => 'MOODLE', 'sub7_answer' => '0', 'sub8_answer' => '3', '-_try' => 3, '-_rawfraction' => 0.92307692307692311, '-submit' => 1), ), 4 => (object) array('sequencenumber' => 4, 'state' => 'gradedpartial', 'fraction' => 0.72307692307692311, 'timecreated' => 1306425886, 'userid' => 3, 'data' => array('sub1_answer' => '2', 'sub2_answer' => 'Correct answer', 'sub3_answer' => '23.8', 'sub4_answer' => '2', 'sub5_answer' => '2', 'sub6_answer' => 'MOODLE', 'sub7_answer' => '0', 'sub8_answer' => '3', '-_try' => 3, '-_rawfraction' => 0.92307692307692311, '-finish' => 1), ), ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:25581$qstates = array(292 => (object) array('id' => '292', 'attempt' => '18', 'question' => '19', 'seq_number' => '0', 'answer' => '1-,2-,3-,4-,5-,6-,7-,8-', 'timestamp' => '1306425784', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 294 => (object) array('id' => '294', 'attempt' => '18', 'question' => '19', 'seq_number' => '1', 'answer' => '1-32,2-asdgf,3-saedf,4-39,5-43,6-sadf,7-,8-', 'timestamp' => '1306425801', 'event' => '3', 'grade' => '0.5000000', 'raw_grade' => '0.5000000', 'penalty' => '1.3000000', ), 295 => (object) array('id' => '295', 'attempt' => '18', 'question' => '19', 'seq_number' => '2', 'answer' => '1-31,2-asdgf,3-28.3,4-40,5-44,6-MOODLE,7-49,8-13', 'timestamp' => '1306425836', 'event' => '3', 'grade' => '5.7000000', 'raw_grade' => '7.0000000', 'penalty' => '1.3000000', ), 296 => (object) array('id' => '296', 'attempt' => '18', 'question' => '19', 'seq_number' => '3', 'answer' => '1-31,2-Correct answer,3-23.8,4-40,5-44,6-MOODLE,7-49,8-3', 'timestamp' => '1306425886', 'event' => '3', 'grade' => '9.4000000', 'raw_grade' => '12.0000000', 'penalty' => '1.3000000', ), 299 => (object) array('id' => '299', 'attempt' => '18', 'question' => '19', 'seq_number' => '4', 'answer' => '1-31,2-Correct answer,3-23.8,4-40,5-44,6-MOODLE,7-49,8-3', 'timestamp' => '1306425886', 'event' => '6', 'grade' => '9.4000000', 'raw_grade' => '12.0000000', 'penalty' => '1.3000000', ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:20293$question = (object) array('id' => '19', 'category' => '2', 'parent' => '0', 'name' => 'Cloze', 'questiontext' => '<p>This question consists of some text with an answer embedded right here {#1}</p> <p>and right after that you will have to deal with this short answer {#2}</p> <p>and finally we have a floating point number {#3}.</p> <p>The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {#4}</p> <p>Or in an horizontal display that is included here in a table {#5}</p> <p>A shortanswer question where case must match. Write moodle in upper case letters {#6}</p> <p>Note that addresses like www.moodle.org and smileys :-) all work as normal:</p> <p>a) How good is this? {#7}</p> <p>b) What grade would you give it? {#8}</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'multianswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164438+iwiint', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+AAjnIy', 'hidden' => '0', 'timecreated' => '1306341878', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '13.0000000', 'options' => (object) array('questions' => array(1 => (object) array('id' => '20', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164439+cAuJ4r', 'version' => 'tjh238.vledev2.open.ac.uk+110525164439+5bnnys', 'hidden' => '0', 'timecreated' => '1306341879', 'timemodified' => '1306341879', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '3', 'question' => '20', 'layout' => '0', 'answers' => array(29 => (object) array('id' => '29', 'question' => '20', 'answer' => 'Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 30 => (object) array('id' => '30', 'question' => '20', 'answer' => 'Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 31 => (object) array('id' => '31', 'question' => '20', 'answer' => 'Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 32 => (object) array('id' => '32', 'question' => '20', 'answer' => 'Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 2 => (object) array('id' => '21', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+EN6wCk', 'version' => 'tjh238.vledev2.open.ac.uk+110525164440+bQzatI', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(33 => (object) array('id' => '33', 'question' => '21', 'answer' => 'Wrong answer', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 34 => (object) array('id' => '34', 'question' => '21', 'answer' => 'Correct answer', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 35 => (object) array('id' => '35', 'question' => '21', 'answer' => 'Answer that gives half the credit', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'usecase' => '0', ), 'maxgrade' => '1.0000000', ), 3 => (object) array('id' => '22', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164440+Xr29c2', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+QTwsGM', 'hidden' => '0', 'timecreated' => '1306341880', 'timemodified' => '1306341880', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(36 => (object) array('id' => '36', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer 23.8', 'feedbackformat' => '1', 'tolerance' => '0.1', ), 37 => (object) array('id' => '37', 'question' => '22', 'answer' => '23.8', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer in the nearby region of the correct answer', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '2.0000000', ), 4 => (object) array('id' => '23', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+7R55HA', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+uCMoQc', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '4', 'question' => '23', 'layout' => '1', 'answers' => array(38 => (object) array('id' => '38', 'question' => '23', 'answer' => '1. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 39 => (object) array('id' => '39', 'question' => '23', 'answer' => '2. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 40 => (object) array('id' => '40', 'question' => '23', 'answer' => '3. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 41 => (object) array('id' => '41', 'question' => '23', 'answer' => '4. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 5 => (object) array('id' => '24', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{2:MCH:a. Wrong answer#Feedback for this wrong answer~b. Another wrong answer#Feedback for the other wrong answer~=c. Correct answer#Feedback for correct answer~%50%d. Answer that gives half the credit#Feedback for half credit answer}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '2.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+QGvRpd', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+03GsSs', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '5', 'question' => '24', 'layout' => '2', 'answers' => array(42 => (object) array('id' => '42', 'question' => '24', 'answer' => 'a. Wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for this wrong answer', 'feedbackformat' => '1', ), 43 => (object) array('id' => '43', 'question' => '24', 'answer' => 'b. Another wrong answer', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'Feedback for the other wrong answer', 'feedbackformat' => '1', ), 44 => (object) array('id' => '44', 'question' => '24', 'answer' => 'c. Correct answer', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Feedback for correct answer', 'feedbackformat' => '1', ), 45 => (object) array('id' => '45', 'question' => '24', 'answer' => 'd. Answer that gives half the credit', 'answerformat' => '1', 'fraction' => '0.5000000', 'feedback' => 'Feedback for half credit answer', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '2.0000000', ), 6 => (object) array('id' => '25', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'shortanswer', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+n9ETJC', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+Bvqo6c', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(46 => (object) array('id' => '46', 'question' => '25', 'answer' => 'moodle', 'answerformat' => '0', 'fraction' => '0.0000000', 'feedback' => 'Feedback for moodle in lower case', 'feedbackformat' => '1', ), 47 => (object) array('id' => '47', 'question' => '25', 'answer' => 'MOODLE', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => 'Feedback for MOODLE in upper case', 'feedbackformat' => '1', ), 48 => (object) array('id' => '48', 'question' => '25', 'answer' => 'Moodle', 'answerformat' => '0', 'fraction' => '0.5000000', 'feedback' => 'Feedback for only first letter in upper case', 'feedbackformat' => '1', ), ), 'usecase' => '1', ), 'maxgrade' => '1.0000000', ), 7 => (object) array('id' => '26', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{:MULTICHOICE:=Yes#Correct~No#We have a different opinion}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '1.0000000', 'penalty' => '0.0000000', 'qtype' => 'multichoice', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+0YjnZ7', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+1giLRX', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('id' => '6', 'question' => '26', 'layout' => '0', 'answers' => array(49 => (object) array('id' => '49', 'question' => '26', 'answer' => 'Yes', 'answerformat' => '1', 'fraction' => '1.0000000', 'feedback' => 'Correct', 'feedbackformat' => '1', ), 50 => (object) array('id' => '50', 'question' => '26', 'answer' => 'No', 'answerformat' => '1', 'fraction' => '0.0000000', 'feedback' => 'We have a different opinion', 'feedbackformat' => '1', ), ), 'single' => '1', 'shuffleanswers' => '1', 'correctfeedback' => '', 'correctfeedbackformat' => '1', 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => '1', 'incorrectfeedback' => '', 'incorrectfeedbackformat' => '1', 'answernumbering' => '0', ), 'maxgrade' => '1.0000000', ), 8 => (object) array('id' => '27', 'category' => '2', 'parent' => '19', 'name' => 'Cloze', 'questiontext' => '{3:NUMERICAL:=3:2}', 'questiontextformat' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'defaultgrade' => '3.0000000', 'penalty' => '0.0000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110525164441+glbCBN', 'version' => 'tjh238.vledev2.open.ac.uk+110525164441+xWusxR', 'hidden' => '0', 'timecreated' => '1306341881', 'timemodified' => '1306341881', 'createdby' => '2', 'modifiedby' => '2', 'options' => (object) array('answers' => array(51 => (object) array('id' => '51', 'question' => '27', 'answer' => '3', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '2', ), ), 'units' => array( ), 'unitgradingtype' => '0', 'unitpenalty' => '1.0000000', 'showunits' => '3', 'unitsleft' => '0', 'instructions' => '', 'instructionsformat' => '1', ), 'maxgrade' => '3.0000000', ), ), ), 'defaultmark' => '13.0000000', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:20162$attempt = (object) array('id' => '18', 'uniqueid' => '18', 'quiz' => '5', 'userid' => '3', 'attempt' => '1', 'sumgrades' => '10.40000', 'timestart' => '1306425784', 'timefinish' => '1306425931', 'timemodified' => '1306425931', 'layout' => '28,19,0', 'preview' => '0', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:19856$quiz = (object) array('id' => '5', 'course' => '2', 'name' => 'Multianswer quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '14.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1306424728', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'adaptivenopenalty', )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:19301$expectedqa = (object) array('behaviour' => 'adaptivenopenalty', 'questionid' => 19, 'variant' => 1, 'maxmark' => 13.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'This question consists of some text with an answer embedded right here {Wrong answer; Another wrong answer; Correct answer; Answer that gives half the credit} and right after that you will have to deal with this short answer _____ and finally we have a floating point number _____. The multichoice question can also be shown in the vertical display of the standard moodle multiple choice. {1. Wrong answer; 2. Another wrong answer; 3. Correct answer; 4. Answer that gives half the credit} Or in an horizontal display that is included here in a table {a. Wrong answer; b. Another wrong answer; c. Correct answer; d. Answer that gives half the credit} A shortanswer question where case must match. Write moodle in upper case letters _____ Note that addresses like www.moodle.org and smileys :-) all work as normal: a) How good is this? {Yes; No} b) What grade would you give it? _____', 'rightanswer' => 'part 1: Correct answer; part 2: Correct answer; part 3: 23.8; part 4: 3. Correct answer; part 5: c. Correct answer; part 6: MOODLE; part 7: Yes; part 8: 3', 'responsesummary' => 'part 1: ; part 2: ; part 3: ; part 4: ; part 5: ; part 6: ; part 7: ; part 8: ', 'timemodified' => 1306425757, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1306425757, 'userid' => 4, 'data' => array('_sub1_order' => '29,30,31,32', '_sub3_separators' => '.$,', '_sub4_order' => '38,39,40,41', '_sub5_order' => '42,43,44,45', '_sub7_order' => '49,50', '_sub8_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedwrong', 'fraction' => 0.0, 'timecreated' => 1306425757, 'userid' => 4, 'data' => array('-finish' => '1', '-_try' => '1', '-_rawfraction' => 0.0), ), ), )
/question/type/multianswer/tests/upgrade_old_attempt_data_test.php:19011$qstates = array(288 => (object) array('id' => '288', 'attempt' => '17', 'question' => '19', 'seq_number' => '0', 'answer' => '1-,2-,3-,4-,5-,6-,7-,8-', 'timestamp' => '1306425757', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 290 => (object) array('id' => '290', 'attempt' => '17', 'question' => '19', 'seq_number' => '1', 'answer' => '1-,2-,3-,4-,5-,6-,7-,8-', 'timestamp' => '1306425757', 'event' => '6', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '1.3000000', ), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:4121$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 15, 'variant' => 1, 'maxmark' => 1.0000000, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'What is twice 1.5 m?', 'rightanswer' => '3 m', 'responsesummary' => '3 m', 'timemodified' => 1305273595, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1305273566, 'userid' => 2, 'data' => array('_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1305273595, 'userid' => 2, 'data' => array('answer' => '3 m'), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1305273595, 'userid' => 2, 'data' => array('answer' => '3 m', '-finish' => '1'), ), ), )
/question/type/numerical/tests/helper.php:531$num->answers = array(13 => new qtype_numerical_answer(13, '3.14', 1.0, 'Very good.', FORMAT_HTML, 0), 14 => new qtype_numerical_answer(14, '3.142', 0.0, 'Too accurate.', FORMAT_HTML, 0.005), 15 => new qtype_numerical_answer(15, '3.1', 0.0, 'Not accurate enough.', FORMAT_HTML, 0.05), 16 => new qtype_numerical_answer(16, '3', 0.0, 'Not accurate enough.', FORMAT_HTML, 0.5), 17 => new qtype_numerical_answer(17, '*', 0.0, 'Completely wrong.', FORMAT_HTML, 0), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:3041$question = (object) array('id' => '15', 'category' => '2', 'parent' => '0', 'name' => 'Required units', 'questiontext' => '<p>What is twice 1.5 m?</p>', 'questiontextformat' => '1', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'penalty' => '0.1000000', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'tjh238.vledev2.open.ac.uk+110513075857+rrvakr', 'version' => 'tjh238.vledev2.open.ac.uk+110513075857+PH0loi', 'hidden' => '0', 'timecreated' => '1305273537', 'timemodified' => '1305273537', 'createdby' => '2', 'modifiedby' => '2', 'maxmark' => '1.0000000', 'options' => (object) array('answers' => array(22 => (object) array('id' => '22', 'question' => '15', 'answer' => '3', 'answerformat' => '0', 'fraction' => '1.0000000', 'feedback' => '', 'feedbackformat' => '1', 'tolerance' => '', ), ), 'units' => array(0 => (object) array('id' => '7', 'question' => '15', 'multiplier' => 1, 'unit' => 'm', ), 1 => (object) array('id' => '8', 'question' => '15', 'multiplier' => 100, 'unit' => 'cm', ), ), 'unitgradingtype' => '2', 'unitpenalty' => '0.5000000', 'showunits' => '0', 'unitsleft' => '0', 'instructions' => '<p>Write an answer like 3 m.</p>', 'instructionsformat' => '1', ), 'defaultmark' => '1.0000000', )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:3711$qstates = array(129 => (object) array('id' => '129', 'attempt' => '6', 'question' => '15', 'seq_number' => '0', 'answer' => '|||||', 'timestamp' => '1305273566', 'event' => '0', 'grade' => '0.0000000', 'raw_grade' => '0.0000000', 'penalty' => '0.0000000', ), 134 => (object) array('id' => '134', 'attempt' => '6', 'question' => '15', 'seq_number' => '1', 'answer' => '3|||||m', 'timestamp' => '1305273595', 'event' => '2', 'grade' => '0.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), 139 => (object) array('id' => '139', 'attempt' => '6', 'question' => '15', 'seq_number' => '2', 'answer' => '3|||||m', 'timestamp' => '1305273595', 'event' => '6', 'grade' => '1.0000000', 'raw_grade' => '1.0000000', 'penalty' => '0.1000000', ), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:2602$quiz = (object) array('id' => '2', 'course' => '2', 'name' => 'Numerical quiz', 'intro' => '', 'introformat' => '1', 'timeopen' => '0', 'timeclose' => '0', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'questiondecimalpoints' => '-1', 'review' => '4459503', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '5.00000', 'grade' => '10.00000', 'timecreated' => '0', 'timemodified' => '1305273177', 'timelimit' => '0', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'showuserpicture' => '0', 'showblocks' => '0', 'preferredbehaviour' => 'deferredfeedback', )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:2911$attempt = (object) array('id' => '6', 'uniqueid' => '6', 'quiz' => '2', 'userid' => '2', 'attempt' => '1', 'sumgrades' => '4.00000', 'timestart' => '1305273566', 'timefinish' => '1305273600', 'timemodified' => '1305273600', 'layout' => '6,12,13,15,14,0', 'preview' => '1', )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:1721$qstates = array(92694 => (object) array('attempt' => '4034', 'question' => '4165', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1178564323', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 92694, ), 92764 => (object) array('attempt' => '4034', 'question' => '4165', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '17520', 'timestamp' => '1178567143', 'event' => '2', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 92764, ), 92971 => (object) array('attempt' => '4034', 'question' => '4165', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '17520', 'timestamp' => '1178567143', 'event' => '6', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '1', 'id' => 92971, ), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:2161$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 4165, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => "Calculate your answer to the nearest WHOLE £ and enter it in the blank space provided. \n\n[Note: Please _DO NOT_ enter commas, spaces or £ signs within the number you enter.] \n\nThe cash flows of a project are set out below: \n\n \t\tYEAR \n \t\t£ \n\n \t\tYear 0 \n \t\t(28,000) \n\n \t\tYear 1 \n \t\t18,000 \n\n \t\tYear 2 \n \t\t16,000 \n\nUsing the Table in Book 11, what is the project's net present value using a discount rate of 10%? \n\nIf it is negative, put a minus sign before the number you enter. \n\n£", 'rightanswer' => '1586', 'responsesummary' => '17520', 'timemodified' => 1178567143, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1178564323, 'userid' => 405, 'data' => array('_separators' => '.$,'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1178567143, 'userid' => 405, 'data' => array('answer' => 17520), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'gradedwrong', 'fraction' => 0, 'timecreated' => 1178567143, 'userid' => 405, 'data' => array('answer' => 17520, '-finish' => 1), ), ), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '4034', 'uniqueid' => '4034', 'quiz' => '221', 'userid' => '405', 'attempt' => '1', 'sumgrades' => '59', 'timestart' => '1178564323', 'timefinish' => '1178575685', 'timemodified' => '1178571037', 'layout' => '4184,0,4185,0,4154,0,4186,0,4187,0,4188,0,4189,0,4190,0,4162,0,4191,0,4192,0,4193,0,4254,0,4195,0,4196,0,4163,0,4197,0,4198,0,4199,0,4164,0,4200,0,4165,0,4201,0,4202,0,4166,0,4203,0,4204,0,4205,0,4167,0,4155,0,4168,0,4206,0,4207,0,4208,0,4209,0,4210,0,4211,0,4212,0,4213,0,4214,0,4156,0,4215,0,4216,0,4217,0,4169,0,4170,0,4157,0,4218,0,4219,0,4220,0,4171,0,4221,0,4172,0,4222,0,4223,0,4224,0,4225,0,4226,0,4227,0,4228,0,4173,0,4229,0,4230,0,4231,0,4232,0,4174,0,4233,0,4234,0,4235,0,4236,0,4237,0,4238,0,4239,0,4240,0,4241,0,4242,0,4158,0,4243,0,4244,0,4245,0,4246,0,4159,0,4175,0,4247,0,4176,0,4248,0,4177,0,4160,0,4249,0,4178,0,4250,0,4161,0,4251,0,4179,0,4252,0,4180,0,4181,0,4182,0,4253,0,4183,0', 'preview' => '0', )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:791$question = (object) array('id' => '4165', 'category' => '204', 'parent' => '0', 'name' => '4ccP22 Book 11 Electronic Activity 6.3 Screen F2 NPV calcn(7)', 'questiontext' => 'Calculate your answer to the nearest WHOLE £ and enter it in the blank space provided. <p>[Note: Please <b><i>DO NOT</i></b> enter commas, spaces or £ signs within the number you enter.] </p> <p>The cash flows of a project are set out below: </p> <p> <table width="500" border="1"><tbody> <tr> <th valign="top" width="50%" halign="CENTER">year </th> <th valign="top" width="50%">£ </th> </tr> <tr> <td>Year 0 </td> <td>(28,000) </td> </tr> <tr> <td>Year 1 </td> <td>18,000 </td> </tr> <tr> <td>Year 2 </td> <td>16,000 </td> </tr></tbody> </table></p> <p>Using the Table in Book 11, what is the project\'s net present value using a discount rate of 10%? </p> <p>If it is negative, put a minus sign before the number you enter. </p> <p>£ </p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '1', 'qtype' => 'numerical', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070417143727+5hOqJ8', 'version' => 'learn.open.ac.uk+070417154843+o0iHPi', 'hidden' => '0', 'generalfeedback' => '', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('answers' => array(12729 => (object) array('question' => '4165', 'answer' => '1586', 'fraction' => '1', 'feedback' => 'Yes, the correct answer is £1,586. Well done! <p>Note to the answer:<br />£(18,000 x 0.9091) + (£16,000 x 0.8264) - £28,000 = £1,586.2 (the factors are found in the Table 1 of the Appendix to Book 11) </p> <p>Book 11 Electronic Activity 6.3 Screen F2 </p>', 'tolerance' => '0', 'id' => 12729, ), 12730 => (object) array('question' => '4165', 'answer' => '*', 'fraction' => '0', 'feedback' => 'The correct answer is £1,586. <p>Note to the answer:<br />£(18,000 x 0.9091) + (£16,000 x 0.8264) - £28,000 = £1,586.2 (the factors are found in the Table 1 of the Appendix to Book 11) </p> <p>Book 11 Electronic Activity 6.3 Screen F2 </p>', 'tolerance' => '0', 'id' => 12730, ), ), 'units' => array( ), ), 'hints' => false, )
/question/type/multianswer/tests/helper.php:4641$mc2->answers = array(22 => new question_answer(22, 'Raddish', 0.5, 'Good', FORMAT_HTML), 23 => new question_answer(23, 'Chocolate', -0.5, '', FORMAT_HTML), 24 => new question_answer(24, 'Biscuit', -0.5, 'Not a vegetable', FORMAT_HTML), 25 => new question_answer(25, 'Cheese', -0.5, '', FORMAT_HTML), 26 => new question_answer(26, 'Carrot', 0.5, 'Correct', FORMAT_HTML), )
/question/type/numerical/tests/upgrade_old_attempt_data_test.php:353$quiz = (object) array('id' => '221', 'course' => '187', 'name' => 'Practice CTMA04', 'intro' => 'This is the Practice CTMA04. Your mark for this CTMA <span style="font-style: italic">does not </span>contribute to your continuous assessment mark for B680.<br /><br />This CTMA covers material primarily in Books 10 and 11, however some of the questions may return to material you covered in Books 0 to 9. There are 100 questions in total.<br /><br />It is a function of this testing software that it cannot provide for every possible spelling error that you make. The onus is therefore on you, the student, to ensure that your spelling is correct. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1178492400', 'timeclose' => '1193875200', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71727591', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '100', 'grade' => '100', 'timecreated' => '0', 'timemodified' => '1195232889', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/multianswer/tests/helper.php:3381$mc->answers = array(10 * $i => new question_answer(13, 'California', (float) ($data['California'] == 'OK'), $data['California'], FORMAT_HTML), 10 * $i + 1 => new question_answer(14, 'Arizona', (float) ($data['Arizona'] == 'OK'), $data['Arizona'], FORMAT_HTML), )
/question/type/multianswer/tests/helper.php:4321$mc->answers = array(16 => new question_answer(16, 'Apple', 0.3333333, 'Good', FORMAT_HTML), 17 => new question_answer(17, 'Burger', -0.5, '', FORMAT_HTML), 18 => new question_answer(18, 'Hot dog', -0.5, 'Not a fruit', FORMAT_HTML), 19 => new question_answer(19, 'Pizza', -0.5, '', FORMAT_HTML), 20 => new question_answer(20, 'Orange', 0.3333333, 'Correct', FORMAT_HTML), 21 => new question_answer(21, 'Banana', 0.3333333, '', FORMAT_HTML), )
/question/type/multianswer/tests/helper.php:1491$sa->options->answers = array(13 => new question_answer(13, 'Dog', 0, 'Wrong, silly!', FORMAT_HTML), 14 => new question_answer(14, 'Owl', 1, 'Well done!', FORMAT_HTML), 15 => new question_answer(15, '*', 0, 'Wrong answer', FORMAT_HTML), )
/question/type/multianswer/tests/helper.php:1791$mc->options->answers = array(23 => new question_answer(23, 'Bow-wow', 0, 'You seem to have a dog obsessions!', FORMAT_HTML), 24 => new question_answer(24, 'Wiggly worm', 0, 'Now you are just being ridiculous!', FORMAT_HTML), 25 => new question_answer(25, 'Pussy-cat', 1, 'Well done!', FORMAT_HTML), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:2121$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 695, 'variant' => 1, 'maxmark' => 3, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Associate the appropriate definition with each term. ' . '{Active adjacent system; Autonomous adjacent system; ' . 'Cooperative adjacent system} -> {A system that interacts with ' . 'or participates in the work.; An external entity that acts ' . 'independently of the work under study.; A system that is involved ' . 'in the response to a business event.; A system which does not supply ' . 'or receive data from the work.; An external entity that performs part ' . 'of the work under study.}', 'rightanswer' => 'Active adjacent system -> A system that interacts with ' . 'or participates in the work.; Autonomous adjacent system -> ' . 'An external entity that acts independently of the work under study.; ' . 'Cooperative adjacent system -> A system that is involved in the response ' . 'to a business event.', 'responsesummary' => 'Active adjacent system -> A system that interacts with ' . 'or participates in the work.; Autonomous adjacent system -> ' . 'An external entity that acts independently of the work under study.; ' . 'Cooperative adjacent system -> A system that is involved in the response ' . 'to a business event.', 'timemodified' => 1177419956, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1177419915, 'userid' => 91483, 'data' => array('_stemorder' => '148,149,150', '_choiceorder' => 'todo - see below'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177419855, 'userid' => 91483, 'data' => array('sub0' => 148, 'sub1' => 151, 'sub2' => 152), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1177419956, 'userid' => 91483, 'data' => array('sub0' => 148, 'sub1' => 149, 'sub2' => 150), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1177419956, 'userid' => 91483, 'data' => array('sub0' => 148, 'sub1' => 149, 'sub2' => 150, '-finish' => 1), ), ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:1551$qstates = array(79604 => (object) array('attempt' => '3562', 'question' => '695', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '148-0,149-0,150-0,151-0,152-0', 'timestamp' => '1177419915', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 79604, ), 79614 => (object) array('attempt' => '3562', 'question' => '695', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '148-148,149-151,150-152,151-0,152-0', 'timestamp' => '1177419855', 'event' => '2', 'grade' => '0', 'raw_grade' => '1', 'penalty' => '0', 'id' => 79614, ), 79619 => (object) array('attempt' => '3562', 'question' => '695', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '148-148,149-149,150-150,151-0,152-0', 'timestamp' => '1177419956', 'event' => '2', 'grade' => '0', 'raw_grade' => '3', 'penalty' => '0', 'id' => 79619, ), 79626 => (object) array('attempt' => '3562', 'question' => '695', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => '148-148,149-149,150-150,151-0,152-0', 'timestamp' => '1177419956', 'event' => '6', 'grade' => '3', 'raw_grade' => '3', 'penalty' => '0', 'id' => 79626, ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:3231$attempt = (object) array('id' => '1065', 'uniqueid' => '1065', 'quiz' => '60', 'userid' => '182682', 'attempt' => '1', 'sumgrades' => '3.99998', 'timestart' => '1168267317', 'timefinish' => '1168267508', 'timemodified' => '1168267508', 'layout' => '509,510,511,738,514,0', 'preview' => '0', )
/question/type/match/tests/upgrade_old_attempt_data_test.php:2911$quiz = (object) array('id' => '60', 'course' => '2304', 'name' => 'Types of resources available quiz', 'intro' => 'This quiz covers the different types of information resources available ' . 'and how to select which is most appropriate. ', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '1164153600', 'timeclose' => '1606003200', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '3', 'review' => '71752557', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '5', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1170245956', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/match/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '72', 'course' => '1181', 'name' => 'Study Guide 4 Quiz', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '2', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '48', 'grade' => '48', 'timecreated' => '0', 'timemodified' => '1170427370', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/match/question.php:1701$matches[] = $this->html_to_text($this->stems[$stemid], $this->stemformat[$stemid]) . ' -> ' . $this->choices[$this->choiceorder[$response[$this->field($key)]]]
/question/type/match/tests/upgrade_old_attempt_data_test.php:791$question = (object) array('id' => '695', 'category' => '65', 'parent' => '0', 'name' => 'Question 7', 'questiontext' => '<p>Associate the appropriate definition with each term.</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'match', 'length' => '1', 'stamp' => 'learn.open.ac.uk+061123110024+a0RsuG', 'version' => 'learn.open.ac.uk+061123163015+Oe63zC', 'hidden' => '0', 'generalfeedback' => 'For further information about this question see Study Guide 4 SAQ 3.1', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '3', 'options' => (object) array('id' => '27', 'questionid' => '695', 'subquestions' => array(148 => (object) array('questionid' => '695', 'questiontext' => 'Active adjacent system', 'answertext' => 'A system that interacts with or participates in the work.', 'id' => 148, ), 149 => (object) array('questionid' => '695', 'questiontext' => 'Autonomous adjacent system', 'answertext' => 'An external entity that acts independently of the work under study.', 'id' => 149, ), 150 => (object) array('questionid' => '695', 'questiontext' => 'Cooperative adjacent system', 'answertext' => 'A system that is involved in the response to a business event.', 'id' => 150, ), 151 => (object) array('questionid' => '695', 'questiontext' => '', 'answertext' => 'A system which does not supply or receive data from the work.', 'id' => 151, ), 152 => (object) array('questionid' => '695', 'questiontext' => '', 'answertext' => 'An external entity that performs part of the work under study.', 'id' => 152, ), ), 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctresponsesfeedback' => '0', ), 'hints' => false, )
/question/type/match/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '3562', 'uniqueid' => '3562', 'quiz' => '72', 'userid' => '91483', 'attempt' => '6', 'sumgrades' => '43', 'timestart' => '1177419915', 'timefinish' => '1177419962', 'timemodified' => '1168015476', 'layout' => '689,690,0,691,692,0,693,694,0,695,696,0,697,698,0', 'preview' => '0', )
/question/type/ddmarker/tests/helper.php:1141$dd->choices = $this->make_choice_structure(array(new qtype_ddmarker_drag_item('+', 1, 1, 0), new qtype_ddmarker_drag_item('-', 2, 1, 0), new qtype_ddmarker_drag_item('*', 3, 1, 0), new qtype_ddmarker_drag_item('/', 4, 1, 0)))
/question/type/ddmarker/shapes.php:4501$center = array(round(($this->minxy[0] + $this->maxxy[0]) / 2), round(($this->minxy[1] + $this->maxxy[1]) / 2))
/question/type/match/renderer.php:811$result .= html_writer::tag('td', html_writer::label($labeltext, 'menu' . $qa->get_qt_field_name('sub' . $key), false, array('class' => 'accesshide')) . html_writer::select($choices, $qa->get_qt_field_name('sub' . $key), $selected, array('0' => 'choose'), array('disabled' => $options->readonly, 'class' => 'custom-select ml-1')) . ' ' . $feedbackimage, array('class' => $classes))
/question/type/ddmarker/tests/form/edit_form_test.php:741$submitteddata = ['category' => $category->id, 'bgimage' => 0, 'nodropzone' => 0, 'noitems' => 4, 'drags' => [['label' => 'frog'], ['label' => '<b>toad</b>'], ['label' => '<span lang="fr"><em>chien</em></span>'], ['label' => '<textarea>evil!</textarea>'], ], ]
/question/type/numerical/tests/privacy/provider_test.php:951return ['default mark 1.5' => ['defaultmark', 1.5, 1.5], 'penalty 20%' => ['penalty', 0.2000000, '20%'], 'unitrole only numerical' => ['unitrole', \qtype_numerical::UNITNONE, get_string('onlynumerical', 'qtype_numerical')], 'unitrole many numerical' => ['unitrole', \qtype_numerical::UNITOPTIONAL, get_string('manynumerical', 'qtype_numerical')], 'unitrole unit graded' => ['unitrole', \qtype_numerical::UNITGRADED, get_string('unitgraded', 'qtype_numerical')], 'unit penalty 0' => ['unitpenalty', 0.01, 0.01], 'unit grading types response grade' => ['unitgradingtypes', \qtype_numerical::UNITGRADEDOUTOFMARK, get_string('decfractionofresponsegrade', 'qtype_numerical')], 'unit grading types question grade' => ['unitgradingtypes', \qtype_numerical::UNITGRADEDOUTOFMAX, get_string('decfractionofquestiongrade', 'qtype_numerical')], 'multichoice display editable unit text' => ['multichoicedisplay', \qtype_numerical::UNITINPUT, get_string('editableunittext', 'qtype_numerical')], 'multichoice display radio buttons' => ['multichoicedisplay', \qtype_numerical::UNITRADIO, get_string('unitchoice', 'qtype_numerical')], 'multichoice display select menu' => ['multichoicedisplay', \qtype_numerical::UNITSELECT, get_string('unitselect', 'qtype_numerical')], 'unitsleft left example' => ['unitsleft', '1', get_string('leftexample', 'qtype_numerical')], 'unitsleft left example' => ['unitsleft', '0', get_string('rightexample', 'qtype_numerical')]]
/question/type/numerical/tests/helper.php:2611$num->answers = array(13 => new qtype_numerical_answer(13, '1.25', 1.0, 'Very good.', FORMAT_HTML, 0), 14 => new qtype_numerical_answer(14, '1.25', 0.5, 'Vaguely right.', FORMAT_HTML, 0.05), 17 => new qtype_numerical_answer(17, '*', 0.0, 'Completely wrong.', FORMAT_HTML, 0), )
/question/type/ddmarker/shapes.php:4451return ($end->x - $start->x) * ($point->y - $start->y) - ($point->x - $start->x) * ($end->y - $start->y)
/question/type/ddmarker/shapes.php:3001return [[$this->xcentre - $this->radius, $this->ycentre - $this->radius], [$this->xcentre + $this->radius, $this->ycentre + $this->radius]]
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:351$quiz = (object) array('id' => '203', 'course' => '2359', 'name' => 'Quiz 1', 'intro' => '', 'introformat' => FORMAT_HTML, 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '1', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '2', 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '0', 'sumgrades' => '50', 'grade' => '50', 'timecreated' => '0', 'timemodified' => '1176461532', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:661$attempt = (object) array('id' => '3795', 'uniqueid' => '3795', 'quiz' => '203', 'userid' => '1888', 'attempt' => '1', 'sumgrades' => '40', 'timestart' => '1177841172', 'timefinish' => '1177841409', 'timemodified' => '1177841394', 'layout' => '3859,3860,0,3861,3862,0,3863,3864,0,3865,3866,0,3867,3868,0', 'preview' => '0', )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:791$question = (object) array('id' => '3865', 'category' => '187', 'parent' => '0', 'name' => 'Question 7', 'questiontext' => '<p>The term ‘integration server’ is another name for an application server, true or false?</p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0', 'qtype' => 'truefalse', 'length' => '1', 'stamp' => 'learn.open.ac.uk+070404143040+oLimmG', 'version' => 'learn.open.ac.uk+070405112705+DLhORU', 'hidden' => '0', 'generalfeedback' => '<p></p>', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '5', 'options' => (object) array('id' => '98', 'question' => '3865', 'trueanswer' => '11693', 'falseanswer' => '11694', 'answers' => array(11693 => (object) array('question' => '3865', 'answer' => 'True', 'fraction' => '0', 'feedback' => '', 'id' => 11693, ), 11694 => (object) array('question' => '3865', 'answer' => 'False', 'fraction' => '1', 'feedback' => '', 'id' => 11694, ), ), ), 'hints' => false, )
/question/type/truefalse/tests/upgrade_old_attempt_data_test.php:1361$qstates = array(84771 => (object) array('attempt' => '3795', 'question' => '3865', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '', 'timestamp' => '1177841172', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 84771, ), 84785 => (object) array('attempt' => '3795', 'question' => '3865', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '11694', 'timestamp' => '1177841361', 'event' => '2', 'grade' => '0', 'raw_grade' => '5', 'penalty' => '5', 'id' => 84785, ), 84791 => (object) array('attempt' => '3795', 'question' => '3865', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '11694', 'timestamp' => '1177841361', 'event' => '6', 'grade' => '5', 'raw_grade' => '5', 'penalty' => '5', 'id' => 84791, ), )
/question/type/match/tests/question_type_test.php:822$q->options->subquestions = array(14 => (object) array('id' => 14, 'questiontext' => 'frog', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'amphibian'), 15 => (object) array('id' => 15, 'questiontext' => 'cat', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'mammal'), 16 => (object) array('id' => 16, 'questiontext' => 'newt', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'amphibian'), 17 => (object) array('id' => 17, 'questiontext' => '', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'insect'), )
/question/type/match/tests/helper.php:732$q->options->subquestions = array(14 => (object) array('id' => 14, 'questiontext' => 'frog', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'amphibian'), 15 => (object) array('id' => 15, 'questiontext' => 'cat', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'mammal'), 16 => (object) array('id' => 16, 'questiontext' => 'newt', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'amphibian'), 17 => (object) array('id' => 17, 'questiontext' => '', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'insect'), )
/question/type/match/tests/helper.php:2011$q->options->subquestions = array(14 => (object) array('id' => 14, 'questiontext' => 'System.out.println(0);', 'questiontextformat' => FORMAT_HTML, 'answertext' => '0'), 15 => (object) array('id' => 15, 'questiontext' => 'System.out.println(0.0);', 'questiontextformat' => FORMAT_HTML, 'answertext' => '0.0'), 16 => (object) array('id' => 16, 'questiontext' => '', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'NULL'), )
/question/type/truefalse/questiontype.php:1811return array($questiondata->id => array(0 => new question_possible_response(get_string('false', 'qtype_truefalse'), $questiondata->options->answers[$questiondata->options->falseanswer]->fraction), 1 => new question_possible_response(get_string('true', 'qtype_truefalse'), $questiondata->options->answers[$questiondata->options->trueanswer]->fraction), null => question_possible_response::no_response( )))
/question/type/match/tests/upgrade_old_attempt_data_test.php:5321$attempt = (object) array('id' => '23777', 'uniqueid' => '23777', 'quiz' => '719', 'userid' => '6584', 'attempt' => '1', 'sumgrades' => '3.91664', 'timestart' => '1200506648', 'timefinish' => '1200507571', 'timemodified' => '1200506959', 'layout' => '11163,0,11164,0,11165,0,11135,0,11166,0', 'preview' => '0', )
/question/type/match/tests/upgrade_old_attempt_data_test.php:5451$question = (object) array('id' => '11135', 'category' => '675', 'parent' => '0', 'name' => 'TR004', 'questiontext' => '<p>Which of the following statements about subject gateways are true, and which are false? </p>', 'questiontextformat' => '0', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'match', 'length' => '1', 'stamp' => 'learn.open.ac.uk+071023110917+tqaM6z', 'version' => 'learn.open.ac.uk+071023110917+Ia7Hpz', 'hidden' => '0', 'generalfeedback' => '<ul> <li>Subject gateways provide links to sites that have been quality checked = True </li> </ul> <p>All links in a subject gateway have been added by a knowledgeable subject specialist and ' . 'so have to be of a certain quality to be added to the collection.</p> <ul> <li>Subject gateways offer more variety than search engines = False </li> </ul> <p>Subject gateways will most likely provide fewer links than a search engine, but this is because ' . 'they are selected with a particular subject area in mind </p> <ul> <li>Subject gateways index websites automatically = False </li> </ul> <p>Subject gateways links are indexed by knowledgeable subject specialists rather than a machine. </p> <ul> <li>Subject gateways can provide a more direct route to websites containing academic content = True </li> </ul> <p>All links in a subject gateway have been added by a knowledgeable subject specialist ' . 'and so you can find academic content easier than using a web search engine.</p>', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '279', 'questionid' => '11135', 'subquestions' => array(1632 => (object) array('questionid' => '11135', 'questiontext' => 'Subject gateways provide links to sites that have been quality checked', 'answertext' => 'True', 'id' => 1632, ), 1633 => (object) array('questionid' => '11135', 'questiontext' => 'Subject gateways offer more variety than search engines', 'answertext' => 'False', 'id' => 1633, ), 1634 => (object) array('questionid' => '11135', 'questiontext' => 'Subject gateways index websites automatically', 'answertext' => 'False', 'id' => 1634, ), 1635 => (object) array('questionid' => '11135', 'questiontext' => 'Subject gateways can provide a more direct route to websites ' . 'containing academic content', 'answertext' => 'True', 'id' => 1635, ), ), 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctresponsesfeedback' => '0', ), 'hints' => false, )
/question/type/match/tests/upgrade_old_attempt_data_test.php:6341$qstates = array(862587 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '1633-0,1635-0,1634-0,1632-0', 'timestamp' => '1200506648', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 862587, ), 862638 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '1633-1633,1635-1635,1634-0,1632-1632', 'timestamp' => '1200507025', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.75', 'penalty' => '0.1', 'id' => 862638, ), 862668 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '2', 'answer' => '1633-1633,1635-1635,1634-0,1632-1632', 'timestamp' => '1200507125', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.75', 'penalty' => '0.1', 'id' => 862668, ), 862673 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '3', 'answer' => '1633-1633,1635-1635,1634-0,1632-1632', 'timestamp' => '1200507172', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.75', 'penalty' => '0.1', 'id' => 862673, ), 862716 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '4', 'answer' => '1633-1633,1635-1635,1634-1635,1632-1632', 'timestamp' => '1200507467', 'event' => '2', 'grade' => '0', 'raw_grade' => '0.75', 'penalty' => '0.1', 'id' => 862716, ), 862740 => (object) array('attempt' => '23777', 'question' => '11135', 'originalquestion' => '0', 'seq_number' => '5', 'answer' => '1633-1633,1635-1635,1634-1635,1632-1632', 'timestamp' => '1200507467', 'event' => '6', 'grade' => '0.75', 'raw_grade' => '0.75', 'penalty' => '0.1', 'id' => 862740, ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:7171$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 11135, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Which of the following statements about subject gateways are true, and which are false? ' . '{Subject gateways provide links to sites that have been quality checked; ' . 'Subject gateways offer more variety than search engines; ' . 'Subject gateways index websites automatically; ' . 'Subject gateways can provide a more direct route to websites containing academic content} ' . '-> {True; False}', 'rightanswer' => 'Subject gateways provide links to sites that have been quality checked -> True; ' . 'Subject gateways offer more variety than search engines -> False; ' . 'Subject gateways index websites automatically -> False; ' . 'Subject gateways can provide a more direct route to websites containing academic content -> True', 'responsesummary' => 'Subject gateways offer more variety than search engines -> False; ' . 'Subject gateways can provide a more direct route to websites containing academic content -> True; ' . 'Subject gateways index websites automatically -> True; ' . 'Subject gateways provide links to sites that have been quality checked -> True', 'timemodified' => 1200507467, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1200506648, 'userid' => 6584, 'data' => array('_stemorder' => '1633,1635,1634,1632', '_choiceorder' => 'todo - see below'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1200507025, 'userid' => 6584, 'data' => array('sub0' => 1633, 'sub1' => 1632, 'sub2' => 0, 'sub3' => 1632), ), 2 => (object) array('sequencenumber' => 2, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1200507125, 'userid' => 6584, 'data' => array('sub0' => 1633, 'sub1' => 1632, 'sub2' => 0, 'sub3' => 1632), ), 3 => (object) array('sequencenumber' => 3, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1200507172, 'userid' => 6584, 'data' => array('sub0' => 1633, 'sub1' => 1632, 'sub2' => 0, 'sub3' => 1632), ), 4 => (object) array('sequencenumber' => 4, 'state' => 'complete', 'fraction' => null, 'timecreated' => 1200507467, 'userid' => 6584, 'data' => array('sub0' => 1633, 'sub1' => 1632, 'sub2' => 1632, 'sub3' => 1632), ), 5 => (object) array('sequencenumber' => 5, 'state' => 'gradedpartial', 'fraction' => 0.75, 'timecreated' => 1200507467, 'userid' => 6584, 'data' => array('sub0' => 1633, 'sub1' => 1632, 'sub2' => 1632, 'sub3' => 1632, '-finish' => 1), ), ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:3361$question = (object) array('id' => '738', 'category' => '60', 'parent' => '0', 'name' => 'TR004', 'questiontext' => '<p>Which of the following statements about subject gateways are true, and which are false? </p>', 'questiontextformat' => '1', 'defaultmark' => '1', 'penalty' => '0.1', 'qtype' => 'match', 'length' => '1', 'stamp' => 'learn.open.ac.uk+061128151507+CLevuJ', 'version' => 'learn.open.ac.uk+070108115531+VvJurj', 'hidden' => '0', 'generalfeedback' => '<UL><LI>Subject gateways provide links to sites that have been quality checked = True</LI> <LI>Subject gateways offer more variety than search engines = False</LI> <LI>Subject gateways index websites automatically = False</LI> <LI>Subject gateways can provide a more direct route to websites containing academic content = True</LI> </UL>', 'generalfeedbackformat' => '1', 'timecreated' => '0', 'timemodified' => '0', 'createdby' => null, 'modifiedby' => null, 'unlimited' => null, 'maxmark' => '1', 'options' => (object) array('id' => '35', 'questionid' => '738', 'subquestions' => array(213 => (object) array('questionid' => '738', 'questiontext' => 'Subject gateways provide links to sites that have been quality checked ', 'answertext' => 'True', 'id' => 213, ), 214 => (object) array('questionid' => '738', 'questiontext' => 'Subject gateways offer more variety than search engines ', 'answertext' => 'False', 'id' => 214, ), 215 => (object) array('questionid' => '738', 'questiontext' => 'Subject gateways index websites automatically', 'answertext' => 'False', 'id' => 215, ), 216 => (object) array('questionid' => '738', 'questiontext' => 'Subject gateways can provide a more direct route ' . 'to websites containing academic content ', 'answertext' => 'True', 'id' => 216, ), ), 'shuffleanswers' => '1', 'correctfeedback' => '', 'partiallycorrectfeedback' => '', 'incorrectfeedback' => '', 'correctresponsesfeedback' => '0', ), 'hints' => false, )
/question/type/match/tests/upgrade_old_attempt_data_test.php:4111$qstates = array(24961 => (object) array('attempt' => '1065', 'question' => '738', 'originalquestion' => '0', 'seq_number' => '0', 'answer' => '213-0,214-0,215-0,216-0', 'timestamp' => '1168267317', 'event' => '0', 'grade' => '0', 'raw_grade' => '0', 'penalty' => '0', 'id' => 24961, ), 24966 => (object) array('attempt' => '1065', 'question' => '738', 'originalquestion' => '0', 'seq_number' => '1', 'answer' => '213-213,214-214,215-215,216-216', 'timestamp' => '1168267508', 'event' => '6', 'grade' => '1', 'raw_grade' => '1', 'penalty' => '0.1', 'id' => 24966, ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:4421$expectedqa = (object) array('behaviour' => 'deferredfeedback', 'questionid' => 738, 'variant' => 1, 'maxmark' => 1, 'minfraction' => 0, 'maxfraction' => 1, 'flagged' => 0, 'questionsummary' => 'Which of the following statements about subject ' . 'gateways are true, and which are false? {Subject gateways ' . 'provide links to sites that have been quality checked; ' . 'Subject gateways offer more variety than search engines; ' . 'Subject gateways index websites automatically; ' . 'Subject gateways can provide a more direct route to websites containing academic content} -> ' . '{True; False}', 'rightanswer' => 'Subject gateways provide links to sites that have been quality checked -> True; ' . 'Subject gateways offer more variety than search engines -> False; ' . 'Subject gateways index websites automatically -> False; ' . 'Subject gateways can provide a more direct route to websites containing academic content -> True', 'responsesummary' => 'Subject gateways provide links to sites that have been quality checked -> True; ' . 'Subject gateways offer more variety than search engines -> False; ' . 'Subject gateways index websites automatically -> False; ' . 'Subject gateways can provide a more direct route to websites containing academic content -> True', 'timemodified' => 1168267508, 'steps' => array(0 => (object) array('sequencenumber' => 0, 'state' => 'todo', 'fraction' => null, 'timecreated' => 1168267317, 'userid' => 182682, 'data' => array('_stemorder' => '213,214,215,216', '_choiceorder' => 'todo - see below'), ), 1 => (object) array('sequencenumber' => 1, 'state' => 'gradedright', 'fraction' => 1, 'timecreated' => 1168267508, 'userid' => 182682, 'data' => array('sub0' => 213, 'sub1' => 214, 'sub2' => 214, 'sub3' => 213, '-finish' => 1), ), ), )
/question/type/match/tests/upgrade_old_attempt_data_test.php:5011$quiz = (object) array('id' => '719', 'course' => '3541', 'name' => 'Types of resources quiz', 'intro' => '', 'introformat' => FORMAT_HTML, 'questiondecimalpoints' => '-1', 'showuserpicture' => '1', 'showblocks' => '1', 'timeopen' => '0', 'timeclose' => '0', 'preferredbehaviour' => 'deferredfeedback', 'attempts' => '0', 'attemptonlast' => '0', 'grademethod' => '1', 'decimalpoints' => '2', 'review' => '71760879', 'questionsperpage' => '1', 'shufflequestions' => '0', 'shuffleanswers' => '1', 'sumgrades' => '5', 'grade' => '10', 'timecreated' => '0', 'timemodified' => '1193678199', 'password' => '', 'subnet' => '', 'popup' => '0', 'delay1' => '0', 'delay2' => '0', 'timelimit' => '0', )
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Payments.php:511return (-$futureValue - $presentValue * (1 + $interestRate) ** $numberOfPeriods) / (1 + $interestRate * $type) / (((1 + $interestRate) ** $numberOfPeriods - 1) / $interestRate)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic/Interest.php:2111$denominator = $numberOfPeriods * $tt2 * $presentValue - $payment * ($tt1 - 1) * ($rate * $type + 1) / ($rate * $rate) + $numberOfPeriods * $payment * $tt2 * ($rate * $type + 1) / $rate + $payment * ($tt1 - 1) * $type / $rate
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:1941return log(($payment * (1 + $rate * $type) / $rate - $futureValue) / ($presentValue + $payment * (1 + $rate * $type) / $rate)) / log(1 + $rate)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/CashFlow/Constant/Periodic.php:1721return (-$payment * (1 + $rate * $type) * (((1 + $rate) ** $numberOfPeriods - 1) / $rate) - $futureValue) / (1 + $rate) ** $numberOfPeriods
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Price.php:2211return (100 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate * 100)) / (1 + (($daysBetweenSettlementAndMaturity / $daysPerYear) * $yield)) - (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate * 100)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Securities/Yields.php:1481return ((1 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate) - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) / (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) * ($daysPerYear / $daysBetweenSettlementAndMaturity)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidation.php:4491return md5($this->formula1 . $this->formula2 . $this->type . $this->errorStyle . $this->operator . ($this->allowBlank ? 't' : 'f') . ($this->showDropDown ? 't' : 'f') . ($this->showInputMessage ? 't' : 'f') . ($this->showErrorMessage ? 't' : 'f') . $this->errorTitle . $this->error . $this->promptTitle . $this->prompt . $this->sqref . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/RowRange.php:771return new CellRange(CellAddress::fromColumnAndRow(Coordinate::columnIndexFromString('A'), $this->from, $this->worksheet), CellAddress::fromColumnAndRow(Coordinate::columnIndexFromString(AddressRange::MAX_COLUMN), $this->to))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:1631return ((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/LogNormal.php:931return (1 / (sqrt(2 * M_PI) * $stdDev * $value)) * exp(0 - ((log($value) - $mean) ** 2 / (2 * $stdDev ** 2)))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php:1021return ($value ** (($degrees / 2) - 1) * exp(-$value / 2)) / ((2 ** ($degrees / 2)) * Gamma::gammaValue($degrees / 2))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:3001return [[$bestFitExponential->getSlope( ), $bestFitExponential->getIntersect( ), ], [$bestFitExponential->getSlopeSE( ), ($const === false) ? ExcelError::NA( ) : $bestFitExponential->getIntersectSE( ), ], [$bestFitExponential->getGoodnessOfFit( ), $bestFitExponential->getStdevOfResiduals( ), ], [$bestFitExponential->getF( ), $bestFitExponential->getDFResiduals( ), ], [$bestFitExponential->getSSRegression( ), $bestFitExponential->getSSResiduals( ), ], ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:2331return [[$bestFitLinear->getSlope( ), $bestFitLinear->getIntersect( ), ], [$bestFitLinear->getSlopeSE( ), ($const === false) ? ExcelError::NA( ) : $bestFitLinear->getIntersectSE( ), ], [$bestFitLinear->getGoodnessOfFit( ), $bestFitLinear->getStdevOfResiduals( ), ], [$bestFitLinear->getF( ), $bestFitLinear->getDFResiduals( ), ], [$bestFitLinear->getSSRegression( ), $bestFitLinear->getSSResiduals( ), ], ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Deviations.php:881return $summer * ($count * ($count + 1) / (($count - 1) * ($count - 2) * ($count - 3))) - (3 * ($count - 1) ** 2 / (($count - 2) * ($count - 3)))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php:2121$split = ($instance < 0) ? array_slice($split, count($split) - ((int) abs($instance + 1) * 2) - $adjust - $oddReverseAdjustment) : array_slice($split, $instance * 2 - $adjust)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Extract.php:1541$split = ($instance < 0) ? array_slice($split, 0, max(count($split) - (abs($instance) * 2 - 1) - $adjust - $oddReverseAdjustment, 0)) : array_slice($split, 0, $instance * 2 - 1 - $adjust)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Fill.php:3251return md5($this->getFillType( ) . $this->getRotation( ) . ($this->getFillType( ) !== self::FILL_NONE ? $this->getStartColor( )->getHashCode( ) : '') . ($this->getFillType( ) !== self::FILL_NONE ? $this->getEndColor( )->getHashCode( ) : '') . ((string) $this->getColorsChanged( )) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Borders.php:4011return md5($this->getLeft( )->getHashCode( ) . $this->getRight( )->getHashCode( ) . $this->getTop( )->getHashCode( ) . $this->getBottom( )->getHashCode( ) . $this->getDiagonal( )->getHashCode( ) . $this->getDiagonalDirection( ) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php:5201return md5($this->horizontal . $this->vertical . $this->textRotation . ($this->wrapText ? 't' : 'f') . ($this->shrinkToFit ? 't' : 'f') . $this->indent . $this->readOrder . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php:7811return md5($this->name . $this->size . ($this->bold ? 't' : 'f') . ($this->italic ? 't' : 'f') . ($this->superscript ? 't' : 'f') . ($this->subscript ? 't' : 'f') . $this->underline . ($this->strikethrough ? 't' : 'f') . $this->color->getHashCode( ) . $this->scheme . implode('*', [$this->latin, $this->eastAsian, $this->complexScript, $this->strikeType, $this->hashChartColor($this->chartColor), $this->hashChartColor($this->underlineColor), (string) $this->baseLine, ]) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:8051$autoSizes[$this->cellCollection->getCurrentColumn( )] = max($autoSizes[$this->cellCollection->getCurrentColumn( )], round(Shared\Font::calculateColumnWidth($this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getFont( ), $cellValue, (int) $this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getAlignment( )->getTextRotation( ), $this->getParentOrThrow( )->getDefaultStyle( )->getFont( ), $filterAdjustment, $indentAdjustment), 3))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php:2611return md5(($this->visible ? 't' : 'f') . $this->blurRadius . $this->distance . $this->direction . $this->alignment . $this->color->getHashCode( ) . $this->alpha . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/BaseDrawing.php:4361return md5($this->name . $this->description . (($this->worksheet === null) ? '' : $this->worksheet->getHashCode( )) . $this->coordinates . $this->offsetX . $this->offsetY . $this->coordinates2 . $this->offsetX2 . $this->offsetY2 . $this->width . $this->height . $this->rotation . $this->shadow->getHashCode( ) . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:7981$cellValue = NumberFormat::toFormattedString($cell->getCalculatedValue( ), (string) $this->getParentOrThrow( )->getCellXfByIndex($cell->getXfIndex( ))->getNumberFormat( )->getFormatCode( ))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php:751self::$SYLKCharacters = ["\x1B 0" => chr(0), "\x1B 1" => chr(1), "\x1B 2" => chr(2), "\x1B 3" => chr(3), "\x1B 4" => chr(4), "\x1B 5" => chr(5), "\x1B 6" => chr(6), "\x1B 7" => chr(7), "\x1B 8" => chr(8), "\x1B 9" => chr(9), "\x1B :" => chr(10), "\x1B ;" => chr(11), "\x1B <" => chr(12), "\x1B =" => chr(13), "\x1B >" => chr(14), "\x1B ?" => chr(15), "\x1B!0" => chr(16), "\x1B!1" => chr(17), "\x1B!2" => chr(18), "\x1B!3" => chr(19), "\x1B!4" => chr(20), "\x1B!5" => chr(21), "\x1B!6" => chr(22), "\x1B!7" => chr(23), "\x1B!8" => chr(24), "\x1B!9" => chr(25), "\x1B!:" => chr(26), "\x1B!;" => chr(27), "\x1B!<" => chr(28), "\x1B!=" => chr(29), "\x1B!>" => chr(30), "\x1B!?" => chr(31), "\x1B'?" => chr(127), "\x1B(0" => '€', "\x1B(2" => '‚', "\x1B(3" => 'ƒ', "\x1B(4" => '„', "\x1B(5" => '…', "\x1B(6" => '†', "\x1B(7" => '‡', "\x1B(8" => 'ˆ', "\x1B(9" => '‰', "\x1B(:" => 'Š', "\x1B(;" => '‹', "\x1BNj" => 'Œ', "\x1B(>" => 'Ž', "\x1B)1" => '‘', "\x1B)2" => '’', "\x1B)3" => '“', "\x1B)4" => '”', "\x1B)5" => '•', "\x1B)6" => '–', "\x1B)7" => '—', "\x1B)8" => '˜', "\x1B)9" => '™', "\x1B):" => 'š', "\x1B);" => '›', "\x1BNz" => 'œ', "\x1B)>" => 'ž', "\x1B)?" => 'Ÿ', "\x1B*0" => ' ', "\x1BN!" => '¡', "\x1BN\"" => '¢', "\x1BN#" => '£', "\x1BN(" => '¤', "\x1BN%" => '¥', "\x1B*6" => '¦', "\x1BN'" => '§', "\x1BNH " => '¨', "\x1BNS" => '©', "\x1BNc" => 'ª', "\x1BN+" => '«', "\x1B*<" => '¬', "\x1B*=" => '­', "\x1BNR" => '®', "\x1B*?" => '¯', "\x1BN0" => '°', "\x1BN1" => '±', "\x1BN2" => '²', "\x1BN3" => '³', "\x1BNB " => '´', "\x1BN5" => 'µ', "\x1BN6" => '¶', "\x1BN7" => '·', "\x1B+8" => '¸', "\x1BNQ" => '¹', "\x1BNk" => 'º', "\x1BN;" => '»', "\x1BN<" => '¼', "\x1BN=" => '½', "\x1BN>" => '¾', "\x1BN?" => '¿', "\x1BNAA" => 'À', "\x1BNBA" => 'Á', "\x1BNCA" => 'Â', "\x1BNDA" => 'Ã', "\x1BNHA" => 'Ä', "\x1BNJA" => 'Å', "\x1BNa" => 'Æ', "\x1BNKC" => 'Ç', "\x1BNAE" => 'È', "\x1BNBE" => 'É', "\x1BNCE" => 'Ê', "\x1BNHE" => 'Ë', "\x1BNAI" => 'Ì', "\x1BNBI" => 'Í', "\x1BNCI" => 'Î', "\x1BNHI" => 'Ï', "\x1BNb" => 'Ð', "\x1BNDN" => 'Ñ', "\x1BNAO" => 'Ò', "\x1BNBO" => 'Ó', "\x1BNCO" => 'Ô', "\x1BNDO" => 'Õ', "\x1BNHO" => 'Ö', "\x1B-7" => '×', "\x1BNi" => 'Ø', "\x1BNAU" => 'Ù', "\x1BNBU" => 'Ú', "\x1BNCU" => 'Û', "\x1BNHU" => 'Ü', "\x1B-=" => 'Ý', "\x1BNl" => 'Þ', "\x1BN{" => 'ß', "\x1BNAa" => 'à', "\x1BNBa" => 'á', "\x1BNCa" => 'â', "\x1BNDa" => 'ã', "\x1BNHa" => 'ä', "\x1BNJa" => 'å', "\x1BNq" => 'æ', "\x1BNKc" => 'ç', "\x1BNAe" => 'è', "\x1BNBe" => 'é', "\x1BNCe" => 'ê', "\x1BNHe" => 'ë', "\x1BNAi" => 'ì', "\x1BNBi" => 'í', "\x1BNCi" => 'î', "\x1BNHi" => 'ï', "\x1BNs" => 'ð', "\x1BNDn" => 'ñ', "\x1BNAo" => 'ò', "\x1BNBo" => 'ó', "\x1BNCo" => 'ô', "\x1BNDo" => 'õ', "\x1BNHo" => 'ö', "\x1B/7" => '÷', "\x1BNy" => 'ø', "\x1BNAu" => 'ù', "\x1BNBu" => 'ú', "\x1BNCu" => 'û', "\x1BNHu" => 'ü', "\x1B/=" => 'ý', "\x1BN|" => 'þ', "\x1BNHy" => 'ÿ', ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/BestFit.php:4101$this->correlation = ($this->valueCount * $sumXY - $sumX * $sumY) / sqrt(($this->valueCount * $sumX2 - $sumX ** 2) * ($this->valueCount * $sumY2 - $sumY ** 2))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Date.php:2901return self::formattedPHPToExcel((int) $dateValue->format('Y'), (int) $dateValue->format('m'), (int) $dateValue->format('d'), (int) $dateValue->format('H'), (int) $dateValue->format('i'), (int) $dateValue->format('s'))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Date.php:3582$excelDate = floor((146097 * $century) / 4) + floor((1461 * $decade) / 4) + floor((153 * $month + 2) / 5) + $day + 1721119 - $myexcelBaseDate + $excel1900isLeapYear
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Currency.php:961return sprintf('%s%s%s0%s%s%s', $this->currencySymbolPosition === self::LEADING_SYMBOL ? $this->formatCurrencyCode( ) : null, ($this->currencySymbolPosition === self::LEADING_SYMBOL && $this->currencySymbolSpacing === self::SYMBOL_WITH_SPACING) ? "\u{a0}" : '', $this->thousandsSeparator ? '#,##' : null, $this->decimals > 0 ? '.' . str_repeat('0', $this->decimals) : null, ($this->currencySymbolPosition === self::TRAILING_SYMBOL && $this->currencySymbolSpacing === self::SYMBOL_WITH_SPACING) ? "\u{a0}" : '', $this->currencySymbolPosition === self::TRAILING_SYMBOL ? $this->formatCurrencyCode( ) : null)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Font.php:6331$columnWidth = $returnAsPixels ? self::DEFAULT_COLUMN_WIDTHS[$font->getName( )][$font->getSize( )]['px'] : self::DEFAULT_COLUMN_WIDTHS[$font->getName( )][$font->getSize( )]['width']
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php:7001return md5($this->fill->getHashCode( ) . $this->font->getHashCode( ) . $this->borders->getHashCode( ) . $this->alignment->getHashCode( ) . $this->numberFormat->getHashCode( ) . $this->protection->getHashCode( ) . ($this->quotePrefix ? 't' : 'f') . __CLASS__)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/Accounting.php:861return sprintf('_-%s%s%s0%s%s%s_-', $this->currencySymbolPosition === self::LEADING_SYMBOL ? $this->formatCurrencyCode( ) : null, ($this->currencySymbolPosition === self::LEADING_SYMBOL && $this->currencySymbolSpacing === self::SYMBOL_WITH_SPACING) ? "\u{a0}" : '', $this->thousandsSeparator ? '#,##' : null, $this->decimals > 0 ? '.' . str_repeat('0', $this->decimals) : null, ($this->currencySymbolPosition === self::TRAILING_SYMBOL && $this->currencySymbolSpacing === self::SYMBOL_WITH_SPACING) ? "\u{a0}" : '', $this->currencySymbolPosition === self::TRAILING_SYMBOL ? $this->formatCurrencyCode( ) : null)
/lib/pear/HTML/QuickForm/Renderer/Array.php:1801$this->_ary = array('frozen' => $form->isFrozen( ), 'javascript' => $form->getValidationScript( ), 'attributes' => $form->getAttributes(true), 'requirednote' => $form->getRequiredNote( ), 'errors' => array( ))
/lib/pear/HTML/QuickForm/date.php:4521$value = array('D' => $arr[0], 'l' => $arr[0], 'd' => $arr[1], 'M' => $arr[2], 'm' => $arr[2], 'F' => $arr[2], 'Y' => $arr[3], 'y' => $arr[3], 'h' => $arr[4], 'g' => $arr[4], 'H' => $arr[5], 'i' => $arr[6], 's' => $arr[7], 'a' => $arr[8], 'A' => $arr[9], 'W' => $arr[10])
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Comment.php:2771return md5($this->author . $this->text->getHashCode( ) . $this->width . $this->height . $this->marginLeft . $this->marginTop . ($this->visible ? 1 : 0) . $this->fillColor->getHashCode( ) . $this->alignment . ($this->hasBackgroundImage( ) ? $this->backgroundImage->getHashCode( ) : '') . __CLASS__)
/lib/pear/HTML/QuickForm/Renderer/Array.php:2521$ret = array('name' => $element->getName( ), 'value' => $element->getValue( ), 'type' => $element->getType( ), 'frozen' => $element->isFrozen( ), 'required' => $required, 'error' => $error)
/lib/pear/HTML/QuickForm/RuleRegistry.php:1861$js = $jsValue . "\n" . $jsPrefix . " var res = 0;\n" . " for (var i = 0; i < value.length; i++) {\n" . " if (!(" . str_replace('{jsVar}', 'value[i]', $jsCheck) . ")) {\n" . " res++;\n" . " }\n" . " }\n" . " if (res < {$ruleData['howmany']} && !errFlag['{$jsField}']) {\n" . " errFlag['{$jsField}'] = true;\n" . " _qfMsg = _qfMsg + '\\n - {$ruleData['message']}';\n" . $jsReset . " }\n"
/lib/pear/HTML/QuickForm.php:17641return "\n<script type=\"text/javascript\">\n" . "//<![CDATA[\n" . "function validate_" . $this->_attributes['id'] . "(frm) {\n" . " var value = '';\n" . " var errFlag = new Array();\n" . " var _qfGroups = {};\n" . " _qfMsg = '';\n\n" . join("\n", $test) . "\n if (_qfMsg != '') {\n" . " _qfMsg = '" . strtr($this->_jsPrefix, $js_escape) . "' + _qfMsg;\n" . " _qfMsg = _qfMsg + '\\n" . strtr($this->_jsPostfix, $js_escape) . "';\n" . " alert(_qfMsg);\n" . " return false;\n" . " }\n" . " return true;\n" . "}\n" . "//]]>\n" . "</script>"
/lib/pear/HTML/QuickForm/hierselect.php:4551$values[] = $this->_elements[$key]->getMultiple( ) || empty($this->_elements[$key]->_options[0]) ? array( ) : $this->_elements[$key]->_options[0]['attr']['value']
/lib/pear/HTML/QuickForm/RuleRegistry.php:2251$value .= "};\n" . " value{$jsIndex} = new Array();\n" . " var valueIdx = 0;\n" . " for (var i = 0; i < frm.elements.length; i++) {\n" . " var _element = frm.elements[i];\n" . " if (_element.name in _qfGroups['{$elementName}']) {\n" . " switch (_element.type) {\n" . " case 'checkbox':\n" . " case 'radio':\n" . " if (_element.checked) {\n" . " value{$jsIndex}[valueIdx++] = _element.value;\n" . " }\n" . " break;\n" . " case 'select-one':\n" . " if (-1 != _element.selectedIndex) {\n" . " value{$jsIndex}[valueIdx++] = _element.options[_element.selectedIndex].value;\n" . " }\n" . " break;\n" . " case 'select-multiple':\n" . " var tmpVal = new Array();\n" . " var tmpIdx = 0;\n" . " for (var j = 0; j < _element.options.length; j++) {\n" . " if (_element.options[j].selected) {\n" . " tmpVal[tmpIdx++] = _element.options[j].value;\n" . " }\n" . " }\n" . " if (tmpIdx > 0) {\n" . " value{$jsIndex}[valueIdx++] = tmpVal;\n" . " }\n" . " break;\n" . " default:\n" . " value{$jsIndex}[valueIdx++] = _element.value;\n" . " }\n" . " }\n" . " }\n"
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnCellIterator.php:1292return $this->cellCollection->has($cellAddress) ? $this->cellCollection->get($cellAddress) : ($this->ifNotExists === self::IF_NOT_EXISTS_CREATE_NEW ? $this->worksheet->createNewCell($cellAddress) : null)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFit.php:431$autoFilterIndentRange = (string) new CellRange(CellAddress::fromColumnAndRow($autoFilterRangeBoundaries[0][0], $autoFilterRangeBoundaries[0][1]), CellAddress::fromColumnAndRow($autoFilterRangeBoundaries[1][0], $autoFilterRangeBoundaries[0][1]))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Protection.php:1721return $this->password !== '' || isset($this->sheet) || isset($this->objects) || isset($this->scenarios) || isset($this->formatCells) || isset($this->formatColumns) || isset($this->formatRows) || isset($this->insertColumns) || isset($this->insertRows) || isset($this->insertHyperlinks) || isset($this->deleteColumns) || isset($this->deleteRows) || isset($this->selectLockedCells) || isset($this->sort) || isset($this->autoFilter) || isset($this->pivotTables) || isset($this->selectUnlockedCells)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php:1282return $this->cellCollection->has($cellAddress) ? $this->cellCollection->get($cellAddress) : ($this->ifNotExists === self::IF_NOT_EXISTS_CREATE_NEW ? $this->worksheet->createNewCell($cellAddress) : null)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:6901$cellStyle = (object) ['numFmt' => $numFmt, 'font' => $fonts[(int) ($xf['fontId'])], 'fill' => $fills[((int) $xf['fillId'])], 'border' => $borders[(int) ($xf['borderId'])], 'alignment' => $xfTag->alignment, 'protection' => $xfTag->protection, 'quotePrefix' => $quotePrefix, ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:6551$style = (object) ['numFmt' => $numFmt ?? NumberFormat::FORMAT_GENERAL, 'font' => $fonts[(int) ($xf['fontId'])], 'fill' => $fills[(int) ($xf['fillId'])], 'border' => $borders[(int) ($xf['borderId'])], 'alignment' => $xfTag->alignment, 'protection' => $xfTag->protection, 'quotePrefix' => $quotePrefix, ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/PageSettings.php:441return (object) ['paperSize' => 9, 'orientation' => PageSetup::ORIENTATION_DEFAULT, 'scale' => 100, 'horizontalCentered' => false, 'verticalCentered' => false, 'printOrder' => PageSetup::PAGEORDER_DOWN_THEN_OVER, 'topMargin' => 0.75, 'headerMargin' => 0.3, 'leftMargin' => 0.7, 'rightMargin' => 0.7, 'bottomMargin' => 0.75, 'footerMargin' => 0.3, ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/PageSettings.php:881$this->pageLayoutStyles[$styleName] = (object) ['orientation' => $styleOrientation ?: PageSetup::ORIENTATION_DEFAULT, 'scale' => $styleScale ?: 100, 'printOrder' => $stylePrintOrder, 'horizontalCentered' => $centered === 'horizontal' || $centered === 'both', 'verticalCentered' => $centered === 'vertical' || $centered === 'both', 'marginLeft' => (float) ($marginLeft ?? 0.7), 'marginRight' => (float) ($marginRight ?? 0.7), 'marginTop' => (float) ($marginTop ?? 0.3), 'marginBottom' => (float) ($marginBottom ?? 0.3), 'marginHeader' => (float) ($marginHeader ?? 0.45), 'marginFooter' => (float) ($marginFooter ?? 0.45), ]
/lib/tcpdf/include/tcpdf_colors.php:2581$spotc[$name] = array('C' => self::$spotcolor[$color][0], 'M' => self::$spotcolor[$color][1], 'Y' => self::$spotcolor[$color][2], 'K' => self::$spotcolor[$color][3], 'name' => self::$spotcolor[$color][4], 'i' => $i)
/lib/tcpdf/include/tcpdf_colors.php:4211$color .= sprintf('%F %F %F %F', (max(0, min(100, floatval($c[0]))) / 100), (max(0, min(100, floatval($c[1]))) / 100), (max(0, min(100, floatval($c[2]))) / 100), (max(0, min(100, floatval($c[3]))) / 100))
/lib/tcpdf/include/tcpdf_colors.php:4261$color .= sprintf('%F %F %F', (max(0, min(255, floatval($c[0]))) / 255), (max(0, min(255, floatval($c[1]))) / 255), (max(0, min(255, floatval($c[2]))) / 255))
/lib/tcpdf/include/tcpdf_colors.php:4481return sprintf("['RGB',%F,%F,%F]", (hexdec(substr($color, 1, 2)) / 255), (hexdec(substr($color, 3, 2)) / 255), (hexdec(substr($color, 5, 2)) / 255))
/lib/tcpdf/tcpdf.php:242842$cx = (isset($attribs['cx']) ? $this->getHTMLUnitToUnits($attribs['cx'], 0, $this->svgunit, false) : (isset($attribs['x']) ? $this->getHTMLUnitToUnits($attribs['x'], 0, $this->svgunit, false) : 0))
/lib/tcpdf/tcpdf.php:242852$cy = (isset($attribs['cy']) ? $this->getHTMLUnitToUnits($attribs['cy'], 0, $this->svgunit, false) : (isset($attribs['y']) ? $this->getHTMLUnitToUnits($attribs['y'], 0, $this->svgunit, false) : 0))
/lib/tcpdf/tcpdf.php:243102$cx = (isset($attribs['cx']) ? $this->getHTMLUnitToUnits($attribs['cx'], 0, $this->svgunit, false) : (isset($attribs['x']) ? $this->getHTMLUnitToUnits($attribs['x'], 0, $this->svgunit, false) : 0))
/lib/tcpdf/tcpdf.php:243112$cy = (isset($attribs['cy']) ? $this->getHTMLUnitToUnits($attribs['cy'], 0, $this->svgunit, false) : (isset($attribs['y']) ? $this->getHTMLUnitToUnits($attribs['y'], 0, $this->svgunit, false) : 0))
/lib/pear/PEAR.php:10711return sprintf('[%s: message="%s" code=%d mode=%s level=%s ' . 'prefix="%s" info="%s"]', strtolower(get_class($this)), $this->message, $this->code, implode("|", $modes), $levels[$this->level], $this->error_message_prefix, $this->userinfo)
/lib/pear/PEAR/Exception.php:2511$causes[] = array('class' => get_class($this->cause), 'message' => $this->cause->getMessage( ), 'file' => $this->cause->getFile( ), 'line' => $this->cause->getLine( ))
/lib/pear/PEAR/Exception.php:2761$causes[] = array('class' => $cause['package'], 'message' => $cause['message'], 'file' => isset($cause['context']['file']) ? $cause['context']['file'] : 'unknown', 'line' => isset($cause['context']['line']) ? $cause['context']['line'] : 'unknown', )
/lib/pear/PEAR/Exception.php:3641$html .= '(' . implode(', ', $args) . ')' . '</td>' . '<td>' . (isset($v['file']) ? $v['file'] : 'unknown') . ':' . (isset($v['line']) ? $v['line'] : 'unknown') . '</td></tr>' . "\n"
/lib/tcpdf/include/tcpdf_fonts.php:3311$sval = chr($ccom[($i + 1)]) . chr($ccom[($i + 2)]) . chr($ccom[($i + 3)]) . chr($ccom[($i + 4)])
/lib/tcpdf/include/tcpdf_fonts.php:16831return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F) . chr(0x80 | $c >> 6 & 0x3F) . chr(0x80 | $c & 0x3F)
/lib/tcpdf/include/tcpdf_images.php:3521return array('w' => $w, 'h' => $h, 'ch' => $channels, 'icc' => $icc, 'cs' => $colspace, 'bpc' => $bpc, 'f' => 'FlateDecode', 'parms' => $parms, 'pal' => $pal, 'trns' => $trns, 'data' => $data)
/lib/userkey/classes/privacy/provider.php:1271$keydata[] = (object) ['script' => $key->script, 'instance' => $key->instance, 'iprestriction' => $key->iprestriction, 'validuntil' => transform::datetime($key->validuntil), 'timecreated' => transform::datetime($key->timecreated), ]
/lib/guzzlehttp/guzzle/src/Handler/CurlFactory.php:2211$conf = ['_headers' => $easy->request->getHeaders( ), \CURLOPT_CUSTOMREQUEST => $easy->request->getMethod( ), \CURLOPT_URL => (string) $easy->request->getUri( )->withFragment(''), \CURLOPT_RETURNTRANSFER => false, \CURLOPT_HEADER => false, \CURLOPT_CONNECTTIMEOUT => 150, ]
/lib/guzzlehttp/psr7/src/Message.php:2111$request = new Request($parts[0], $matches[1] === '/' ? self::parseRequestUri($parts[1], $data['headers']) : $parts[1], $data['headers'], $data['body'], $version)
/lib/guzzlehttp/psr7/src/ServerRequest.php:1451$spec = ['tmp_name' => $files['tmp_name'][$key], 'size' => $files['size'][$key], 'error' => $files['error'][$key], 'name' => $files['name'][$key], 'type' => $files['type'][$key], ]
/lib/adodb/perf/perf-mssqlnative.inc.php:1122$s .= '<tr><td>' . round($rs->fields[8], 1) . '<td>' . round($rs->fields[9], 3) . '<td align=right>' . round($rs->fields[10], 3) . '<td nowrap><pre>' . htmlspecialchars($rs->fields[0]) . "</td></pre></tr>\n"
/lib/xhprof/xhprof_moodle.php:4241$table->data = array(array(get_string('runid', 'tool_profiling'), '<a href="index.php?runid=' . $run1->runid . '&listurl=' . urlencode($run1->url) . '" title="">' . $run1->runid . '</a>', '<a href="index.php?runid=' . $run2->runid . '&listurl=' . urlencode($run2->url) . '" title="">' . $run2->runid . '</a>'), array(get_string('url'), $run1->url, $run2->url), array(get_string('date'), userdate($run1->timecreated, '%d %B %Y, %H:%M'), userdate($run2->timecreated, '%d %B %Y, %H:%M')), array(get_string('executiontime', 'tool_profiling'), format_float($run1->totalexecutiontime / 1000, 3) . ' ms', format_float($run2->totalexecutiontime / 1000, 3) . ' ms ' . $diffexecutiontime), array(get_string('cputime', 'tool_profiling'), format_float($run1->totalcputime / 1000, 3) . ' ms', format_float($run2->totalcputime / 1000, 3) . ' ms ' . $diffcputime), array(get_string('calls', 'tool_profiling'), $run1->totalcalls, $run2->totalcalls . ' ' . $diffcalls), array(get_string('memory', 'tool_profiling'), format_float($run1->totalmemory / 1024, 0) . ' KB', format_float($run2->totalmemory / 1024, 0) . ' KB ' . $diffmemory), array(get_string('referencerun', 'tool_profiling'), $referencetext1, $referencetext2))
/lib/xhprof/xhprof_moodle.php:3581$table->data = array(array(get_string('runid', 'tool_profiling'), $run->runid), array(get_string('url'), $run->url), array(get_string('date'), userdate($run->timecreated, '%d %B %Y, %H:%M')), array(get_string('executiontime', 'tool_profiling'), format_float($run->totalexecutiontime / 1000, 3) . ' ms'), array(get_string('cputime', 'tool_profiling'), format_float($run->totalcputime / 1000, 3) . ' ms'), array(get_string('calls', 'tool_profiling'), $run->totalcalls), array(get_string('memory', 'tool_profiling'), format_float($run->totalmemory / 1024, 0) . ' KB'), array(get_string('markreferencerun', 'tool_profiling'), $referenceform))
/lib/xhprof/xhprof_moodle.php:3441$referenceform = "<form id=\"profiling_runreference\" action=\"index.php\" method=\"GET\">" . "<input type=\"hidden\" name=\"sesskey\" value=\"" . sesskey( ) . "\"/>" . "<input type=\"hidden\" name=\"runid\" value=\"$run->runid\"/>" . "<input type=\"hidden\" name=\"listurl\" value=\"$run->url\"/>" . "<input type=\"checkbox\" name=\"runreference\" value=\"1\"$checked/>&nbsp;" . "<input type=\"text\" name=\"runcomment\" value=\"$run->runcomment\"/>&nbsp;" . "<input type=\"submit\" value=\"" . get_string('savechanges') . "\"/>" . "</form>"
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:3761$context = ['http' => ['method' => $request->getMethod( ), 'header' => $headers, 'protocol_version' => $request->getProtocolVersion( ), 'ignore_errors' => true, 'follow_location' => 0, ], 'ssl' => ['peer_name' => $request->getUri( )->getHost( ), ], ]
/lib/xhprof/xhprof_lib/utils/callgraph_utils.php:3381$label = ", label=\"" . addslashes($symbol) . "\\nInc: 0 ms - " . (sprintf("%.3f", $right[$symbol]["wt"] / 1000.0)) . " ms = " . (sprintf("%.3f", $info["wt"] / 1000.0)) . " ms" . "\\nExcl: 0 ms - " . (sprintf("%.3f", $right[$symbol]["excl_wt"] / 1000.0)) . " ms = " . (sprintf("%.3f", $info["excl_wt"] / 1000.0)) . " ms" . "\\nCalls: 0 - " . (sprintf("%.3f", $right[$symbol]["ct"])) . " = " . (sprintf("%.3f", $info["ct"])) . "\""
/lib/xhprof/xhprof_lib/utils/callgraph_utils.php:3281$label = ", label=\"" . addslashes($symbol) . "\\nInc: " . (sprintf("%.3f", $left[$symbol]["wt"] / 1000.0)) . " ms - 0 ms = " . (sprintf("%.3f", $info["wt"] / 1000.0)) . " ms" . "\\nExcl: " . (sprintf("%.3f", $left[$symbol]["excl_wt"] / 1000.0)) . " ms - 0 ms = " . (sprintf("%.3f", $info["excl_wt"] / 1000.0)) . " ms" . "\\nCalls: " . (sprintf("%.3f", $left[$symbol]["ct"])) . " - 0 = " . (sprintf("%.3f", $info["ct"])) . "\""
/lib/xhprof/xhprof_lib/utils/callgraph_utils.php:3151$label = ", label=\"" . addslashes($symbol) . "\\nInc: " . (sprintf("%.3f", $left[$symbol]["wt"] / 1000.0)) . " ms - " . (sprintf("%.3f", $right[$symbol]["wt"] / 1000.0)) . " ms = " . (sprintf("%.3f", $info["wt"] / 1000.0)) . " ms" . "\\nExcl: " . (sprintf("%.3f", $left[$symbol]["excl_wt"] / 1000.0)) . " ms - " . (sprintf("%.3f", $right[$symbol]["excl_wt"] / 1000.0)) . " ms = " . (sprintf("%.3f", $info["excl_wt"] / 1000.0)) . " ms" . "\\nCalls: " . (sprintf("%.3f", $left[$symbol]["ct"])) . " - " . (sprintf("%.3f", $right[$symbol]["ct"])) . " = " . (sprintf("%.3f", $info["ct"])) . "\""
/lib/xhprof/xhprof_lib/utils/callgraph_utils.php:3091$label = ", label=\"" . $name . "\\nExcl: " . (sprintf("%.3f", $info["excl_wt"] / 1000.0)) . " ms (" . sprintf("%.1f%%", 100 * $info["excl_wt"] / $totals["wt"]) . ")\\n" . $info["ct"] . " total calls\""
/lib/simplepie/src/SimplePie.php:24531$uri = $this->sanitize($author['child'][self::NAMESPACE_ATOM_10]['uri'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($author['child'][self::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/SimplePie.php:23326return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/SimplePie.php:23307return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/xhprof/xhprof_lib/utils/callgraph_utils.php:3691$taillabel = ($sym_table[$parent]["wt"] > 0) ? sprintf("%.1f%%", 100 * $info["wt"] / ($sym_table[$parent]["wt"] - $sym_table["$parent"]["excl_wt"])) : "0.0%"
/lib/form/classes/filetypes_util.php:2761$group = (object) ['key' => $groupkey, 'name' => $this->get_group_description($groupkey), 'selectable' => true, 'selected' => in_array($groupkey, $current), 'ext' => implode(' ', $groupinfo->extensions), 'expanded' => false, ]
/lib/form/classes/external/dynamic_form.php:1181return new external_single_structure(array('submitted' => new external_value(PARAM_BOOL, 'If form was submitted and validated'), 'data' => new external_value(PARAM_RAW, 'JSON-encoded return data from form processing method', VALUE_OPTIONAL), 'html' => new external_value(PARAM_RAW, 'HTML fragment of the form', VALUE_OPTIONAL), 'javascript' => new external_value(PARAM_RAW, 'JavaScript fragment of the form', VALUE_OPTIONAL)))
/lib/form/classes/external.php:831$type = new external_single_structure(['key' => new external_value(PARAM_RAW, 'The file type identifier'), 'name' => new external_value(PARAM_RAW, 'The file type name'), 'selected' => new external_value(PARAM_BOOL, 'Should it be marked as selected'), 'ext' => new external_value(PARAM_RAW, 'The file extension associated with the file type'), ])
/lib/form/classes/external.php:901$group = new external_single_structure(['key' => new external_value(PARAM_RAW, 'The file type group identifier'), 'name' => new external_value(PARAM_RAW, 'The file type group name'), 'selectable' => new external_value(PARAM_BOOL, 'Can it be marked as selected'), 'selected' => new external_value(PARAM_BOOL, 'Should it be marked as selected'), 'ext' => new external_value(PARAM_RAW, 'The list of file extensions associated with the group'), 'expanded' => new external_value(PARAM_BOOL, 'Should the group start as expanded or collapsed'), 'types' => new external_multiple_structure($type, 'List of file types in the group'), ])
/lib/phpmailer/moodle_phpmailer.php:1631$oauth = new moodle_phpmailer_oauth(['provider' => $oauthclient, 'clientId' => $oauthclient->get_clientid( ), 'clientSecret' => $oauthclient->get_clientsecret( ), 'refreshToken' => $oauthclient->get_refresh_token( ), 'userName' => $CFG->smtpuser, ])
/lib/phpmailer/src/PHPMailer.php:51041$dkimSignatureHeader = 'DKIM-Signature: v=1;' . ' d=' . $this->DKIM_domain . ';' . ' s=' . $this->DKIM_selector . ';' . static::$LE . ' a=' . $DKIMsignatureType . ';' . ' q=' . $DKIMquery . ';' . ' t=' . $DKIMtime . ';' . ' c=' . $DKIMcanonicalization . ';' . static::$LE . $headerKeys . $ident . $copiedHeaderFields . ' bh=' . $DKIMb64 . ';' . static::$LE . ' b='
/lib/form/tests/datetimeselector_test.php:1751$expectedvalues = array('day' => array($vals['day']), 'month' => array($vals['month']), 'year' => array($vals['year']), 'hour' => array($vals['hour']), 'minute' => array($vals['minute']))
/lib/form/tests/privacy/provider_test.php:891return ['icons' => ['val' => '1', 'desc' => get_string('displayasicons', 'core_repository'), ], 'tree' => ['val' => '2', 'desc' => get_string('displayastree', 'core_repository'), ], 'details' => ['val' => '3', 'desc' => get_string('displaydetails', 'core_repository'), ], 'unknown' => ['val' => 'unexpectedvalue_foo_bar', 'desc' => 'unexpectedvalue_foo_bar', ], ]
/lib/adodb/adodb-time.inc.php:6451$day = floor((13 * $month - 1) / 5) + $day + ($year % 100) + floor(($year % 100) / 4) + floor(($year / 100) / 4) - 2 * floor($year / 100) + 77 + $greg_correction
/lib/adodb/adodb-time.inc.php:9951return array('seconds' => $secs, 'minutes' => $min, 'hours' => $hour, 'mday' => $day, 'mon' => $month, 'year' => $year, 'yday' => floor($secsInYear / $_day_power), 'leap' => $leaf, 'ndays' => $ndays)
/lib/adodb/adodb-perf.inc.php:5002$s .= "<tr><td>" . adodb_round($rs->fields[0], 6) . "<td align=right>" . $rs->fields[2] . "<td><font size=-1>" . $prefix . htmlspecialchars($sql) . $suffix . "</font>" . "<td>" . $rs->fields[3] . "<td>" . $rs->fields[4] . "</tr>"
/lib/adodb/adodb-perf.inc.php:5792$s .= "<tr><td>" . adodb_round($rs->fields[0], 6) . "<td align=right>" . $rs->fields[2] . "<td><font size=-1>" . $prefix . htmlspecialchars($sql) . $suffix . "</font>" . "<td>" . $rs->fields[3] . "<td>" . $rs->fields[4] . "</tr>"
/lib/adodb/datadict/datadict-postgres.inc.php:511$is_serial = is_object($fieldobj) && !empty($fieldobj->primary_key) && !empty($fieldobj->unique) && !empty($fieldobj->has_default) && substr($fieldobj->default_value, 0, 8) == 'nextval('
/lib/adodb/perf/perf-mssql.inc.php:1122$s .= '<tr><td>' . round($rs->fields[8], 1) . '<td>' . round($rs->fields[9], 3) . '<td align=right>' . round($rs->fields[10], 3) . '<td nowrap><pre>' . htmlspecialchars($rs->fields[0]) . "</td></pre></tr>\n"
/lib/adodb/adodb-time.inc.php:10111return array('seconds' => $secs, 'minutes' => $min, 'hours' => $hour, 'mday' => $day, 'wday' => $dow, 'mon' => $month, 'year' => $year, 'yday' => floor($secsInYear / $_day_power), 'weekday' => gmdate('l', $_day_power * (3 + $dow)), 'month' => gmdate('F', mktime(0, 0, 0, $month, 2, 1971)), 0 => $origd)
/lib/adodb/adodb-time.inc.php:11321$dates .= gmdate('D', $_day_power * (3 + adodb_dow($year, $month, $day))) . ', ' . ($day < 10 ? '0' . $day : $day) . ' ' . date('M', mktime(0, 0, 0, $month, 2, 1971)) . ' ' . $year . ' '
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:6931return new Complex(\sin($complex->getReal( )) * \cosh($complex->getImaginary( )), \cos($complex->getReal( )) * \sinh($complex->getImaginary( )), $complex->getSuffix( ))
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:3901return new Complex(\cosh($complex->getReal( )) * \cos($complex->getImaginary( )), \sinh($complex->getReal( )) * \sin($complex->getImaginary( )), $complex->getSuffix( ))
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:7641return new Complex(\pow(self::sech($imaginary)->getReal( ), 2) * \tan($real) / $divisor, \pow(self::sec($real)->getReal( ), 2) * \tanh($imaginary) / $divisor, $complex->getSuffix( ))
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:7151return new Complex(\sinh($complex->getReal( )) * \cos($complex->getImaginary( )), \cosh($complex->getReal( )) * \sin($complex->getImaginary( )), $complex->getSuffix( ))
/lib/geopattern-php/GeoPattern/GeoPattern.php:10461return [new Polyline("0,0,$halfWidth,$heightMinusE,$halfWidth,$height,0,$e,0,0"), new Polyline("$halfWidth,$heightMinusE,$width,0,$width,$e,$halfWidth,$height,$halfWidth,$heightMinusE")]
/lib/phpspreadsheet/vendor/composer/autoload_psr4.php:81return array('Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'), 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'), 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 'PhpOffice\\PhpSpreadsheet\\' => array($vendorDir . '/phpoffice/phpspreadsheet/src/PhpSpreadsheet'), 'Matrix\\' => array($vendorDir . '/markbaker/matrix/classes/src'), 'Complex\\' => array($vendorDir . '/markbaker/complex/classes/src'), )
/lib/form/listing.php:1191$html = html_writer::tag('div', $mainhtml . html_writer::tag('div', $this->showall, array('id' => $elementid . '_items_caption', 'class' => 'formlistingmore')), array('id' => $elementid . '_items', 'class' => 'formlisting hide'))
/lib/form/defaultcustom.php:701$this->_options = ['type' => 'text', 'defaultvalue' => null, 'customvalue' => null, 'customlabel' => get_string('custom', 'form'), 'timezone' => 99, 'startyear' => $calendartype->get_min_year( ), 'stopyear' => $calendartype->get_max_year( ), 'defaulttime' => 0, 'step' => 1, 'optional' => false, ]
/lib/form/filepicker.php:1701$nonjsfilepicker = new moodle_url('/repository/draftfiles_manager.php', array('env' => 'filepicker', 'action' => 'browse', 'itemid' => $draftitemid, 'subdirs' => 0, 'maxbytes' => $options->maxbytes, 'maxfiles' => 1, 'ctx_id' => $PAGE->context->id, 'course' => $PAGE->course->id, 'sesskey' => sesskey( ), ))
/lib/form/editor.php:4741$editorurl = new moodle_url("$CFG->wwwroot/repository/draftfiles_manager.php", array('action' => 'browse', 'env' => 'editor', 'itemid' => $draftitemid, 'subdirs' => $subdirs, 'maxbytes' => $maxbytes, 'areamaxbytes' => $areamaxbytes, 'maxfiles' => $maxfiles, 'ctx_id' => $ctx->id, 'course' => $PAGE->course->id, 'sesskey' => sesskey( ), ))
/lib/form/filemanager.php:4001$defaults = array('maxbytes' => -1, 'areamaxbytes' => FILE_AREA_MAX_BYTES_UNLIMITED, 'maxfiles' => -1, 'itemid' => 0, 'subdirs' => 0, 'client_id' => uniqid( ), 'accepted_types' => '*', 'return_types' => FILE_INTERNAL, 'context' => $PAGE->context, 'author' => fullname($USER), 'licenses' => array( ))
/lib/form/choicedropdown.php:1951$dialog = new status($this->choice->get_selected_content($output), $this->choice, ['extras' => ['data-form-controls' => $context['id']], 'buttonsync' => true, 'updatestatus' => true, 'dialogwidth' => $this->dropdownwidth, ])
/lib/form/select.php:2102$o = ['text' => $option['text'], 'value' => $option['attr']['value'], 'selected' => !empty($option['attr']['selected']), 'disabled' => !empty($option['attr']['disabled']), ]
/lib/form/filemanager.php:4701return new moodle_url('/repository/draftfiles_manager.php', array('env' => 'filemanager', 'action' => 'browse', 'itemid' => $this->options->itemid, 'subdirs' => $this->options->subdirs, 'maxbytes' => $this->options->maxbytes, 'areamaxbytes' => $this->options->areamaxbytes, 'maxfiles' => $this->options->maxfiles, 'ctx_id' => $PAGE->context->id, 'course' => $PAGE->course->id, 'sesskey' => sesskey( ), ))
/lib/form/classes/external.php:501return new external_function_parameters(['onlytypes' => new external_value(PARAM_RAW, 'Limit the browser to the given groups and extensions', VALUE_DEFAULT, ''), 'allowall' => new external_value(PARAM_BOOL, 'Allows to select All file types, does not apply with onlytypes are set.', VALUE_DEFAULT, true), 'current' => new external_value(PARAM_RAW, 'Current types that should be selected.', VALUE_DEFAULT, ''), ])
/lib/form/selectwithlink.php:2402$o = ['text' => $option['text'], 'value' => $option['attr']['value'], 'selected' => !empty($option['attr']['selected']), 'disabled' => !empty($option['attr']['disabled']), ]
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:1691return -((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php:1771return ((((($a[1] * $r + $a[2]) * $r + $a[3]) * $r + $a[4]) * $r + $a[5]) * $r + $a[6]) * $q / ((((($b[1] * $r + $b[2]) * $r + $b[3]) * $r + $b[4]) * $r + $b[5]) * $r + 1)
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/F.php:591return (Gamma::gammaValue(($v + $u) / 2) / (Gamma::gammaValue($u / 2) * Gamma::gammaValue($v / 2))) * (($u / $v) ** ($u / 2)) * (($value ** (($u - 2) / 2)) / ((1 + ($u / $v) * $value) ** (($u + $v) / 2)))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php:871return (exp($ax) / sqrt($ax)) * (0.39894228 + $y * (0.1328592e-1 + $y * (0.225319e-2 + $y * (-0.157565e-2 + $y * (0.916281e-2 + $y * (-0.2057706e-1 + $y * (0.2635537e-1 + $y * (-0.1647633e-1 + $y * 0.392377e-2))))))))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:921return -log($fNum2) * self::callBesselI($x, 0) + (-0.57721566 + $y * (0.42278420 + $y * (0.23069756 + $y * (0.3488590e-1 + $y * (0.262698e-2 + $y * (0.10750e-3 + $y * 0.74e-5))))))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:991return exp(-$x) / sqrt($x) * (1.25331414 + $y * (-0.7832358e-1 + $y * (0.2189568e-1 + $y * (-0.1062446e-1 + $y * (0.587872e-2 + $y * (-0.251540e-2 + $y * 0.53208e-3))))))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:1101return log($fNum2) * self::callBesselI($x, 1) + (1 + $y * (0.15443144 + $y * (-0.67278579 + $y * (-0.18156897 + $y * (-0.1919402e-1 + $y * (-0.110404e-2 + $y * (-0.4686e-4))))))) / $x
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php:1171return exp(-$x) / sqrt($x) * (1.25331414 + $y * (0.23498619 + $y * (-0.3655620e-1 + $y * (0.1504268e-1 + $y * (-0.780353e-2 + $y * (0.325614e-2 + $y * (-0.68245e-3)))))))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php:10041return array_merge($this->createCSSStyleAlignment($style->getAlignment( )), $this->createCSSStyleBorders($style->getBorders( )), $this->createCSSStyleFont($style->getFont( )), $this->createCSSStyleFill($style->getFill( )))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php:15151$cellData = '<a href="' . htmlspecialchars($worksheet->getHyperlink($coordinate)->getUrl( ), Settings::htmlEntityFlags( )) . '" title="' . htmlspecialchars($worksheet->getHyperlink($coordinate)->getTooltip( ), Settings::htmlEntityFlags( )) . '">' . $cellData . '</a>'
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php:15191$writeCell = !(isset($this->isSpannedCell[$worksheet->getParentOrThrow( )->getIndex($worksheet)][$row + 1][$colNum]) && $this->isSpannedCell[$worksheet->getParentOrThrow( )->getIndex($worksheet)][$row + 1][$colNum])
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:11401$writeCurrentRow = $isRowSet || $rowDimension->getRowHeight( ) >= 0 || $rowDimension->getVisible( ) === false || $rowDimension->getCollapsed( ) === true || $rowDimension->getOutlineLevel( ) > 0 || $rowDimension->getXfIndex( ) !== null
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php:2801$message = ($this->isCli( ) === true) ? "Write {$format} format to {$path} in " . sprintf('%.4f', $callTime) . ' seconds' : "Write {$format} format to <code>{$path}</code> in " . sprintf('%.4f', $callTime) . ' seconds'
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:701$acosh = self::ln(Operations::add($complex, Operations::multiply(self::sqrt(Operations::add($complex, 1)), self::sqrt(Operations::subtract($complex, 1)))))
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:2861$realMultiplier = (($uResult->getImaginary( ) === M_PI && $uResult->getReal( ) > 0.0) || ($uResult->getImaginary( ) === -M_PI && $uResult->getReal( ) < 0.0)) ? 0.5 : -0.5
/lib/phpspreadsheet/vendor/markbaker/complex/classes/src/Functions.php:3661return self::conjugate(new Complex(\cos($complex->getReal( )) * \cosh($complex->getImaginary( )), \sin($complex->getReal( )) * \sinh($complex->getImaginary( )), $complex->getSuffix( )))
/lib/classes/oauth2/client.php:3521$record = ['timecreated' => $time, 'timemodified' => $time, 'userid' => $USER->id, 'issuerid' => $this->issuer->get('id'), 'token' => $token->token, 'scopehash' => sha1($token->scope)]
/lib/classes/oauth2/discovery/imsbadgeconnect.php:1341$request = ['client_name' => $SITE->fullname, 'client_uri' => $hosturl, 'logo_uri' => $hosturl . 'pix/moodlelogo.png', 'tos_uri' => $hosturl, 'policy_uri' => $hosturl, 'software_id' => 'moodle', 'software_version' => $CFG->version, 'redirect_uris' => [$hosturl . 'admin/oauth2callback.php'], 'token_endpoint_auth_method' => 'client_secret_basic', 'grant_types' => ['authorization_code', 'refresh_token'], 'response_types' => ['code'], 'scope' => $scopes]
/lib/classes/reportbuilder/local/entities/context.php:1641$columns[] = (new column('parent', new lang_string('contextparent'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field(" REPLACE( " . $DB->sql_concat("{$contextalias}.path", "'/'") . ", " . $DB->sql_concat("'/'", $DB->sql_cast_to_char("{$contextalias}.id"), "'/'") . ", '' )", 'parent')->set_is_sortable(true)->add_callback(static function (?string $parent) : string { /**/ } )
/lib/classes/oauth2/issuer.php:2001return $this->get('id') && $this->is_configured( ) && $this->get('showonloginpage') != self::SERVICEONLY && $this->get('enabled') && !empty($this->get_endpoint_url('userinfo'))
/lib/classes/reportbuilder/local/entities/context.php:1331$columns[] = (new column('level', new lang_string('contextlevel'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$contextalias}.contextlevel")->set_is_sortable(true)->set_disabled_aggregation(['avg', 'max', 'min', 'sum'])->add_callback(static function (?int $level) : string { /**/ } )
/lib/classes/reportbuilder/local/entities/context.php:1531$columns[] = (new column('path', new lang_string('path'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$contextalias}.path")->set_is_sortable(true)
/lib/classes/reportbuilder/local/entities/context.php:911$columns[] = (new column('name', new lang_string('contextname'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->add_callback(static function ($contextid, stdClass $context) : string { /**/ } )
/lib/classes/reportbuilder/local/entities/context.php:1111$columns[] = (new column('link', new lang_string('contexturl'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->add_callback(static function ($contextid, stdClass $context) : string { /**/ } )
/lib/classes/chart_axis.php:1331return ['label' => $this->label, 'labels' => $this->labels, 'max' => $this->max, 'min' => $this->min, 'position' => $this->position, 'stepSize' => $this->stepsize, ]
/lib/classes/text.php:6311return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128)
/lib/classes/chart_base.php:821return ['type' => $this->get_type( ), 'series' => $this->series, 'labels' => $this->labels, 'title' => $this->title, 'axes' => ['x' => $this->xaxes, 'y' => $this->yaxes, ], 'legend_options' => !empty($this->legendoptions) ? $this->legendoptions : null, 'config_colorset' => !empty($CFG->chart_colorset) ? $CFG->chart_colorset : null]
/lib/classes/date.php:8111$translation_table = ['%a' => $intl_formatter, '%A' => $intl_formatter, '%d' => 'd', '%e' => function ($timestamp) { /**/ } , '%j' => function ($timestamp) { /**/ } , '%u' => 'N', '%w' => 'w', '%U' => function ($timestamp) { /**/ } , '%V' => 'W', '%W' => function ($timestamp) { /**/ } , '%b' => $intl_formatter, '%B' => $intl_formatter, '%h' => $intl_formatter, '%m' => 'm', '%C' => function ($timestamp) { /**/ } , '%g' => function ($timestamp) { /**/ } , '%G' => 'o', '%y' => 'y', '%Y' => 'Y', '%H' => 'H', '%k' => function ($timestamp) { /**/ } , '%I' => 'h', '%l' => function ($timestamp) { /**/ } , '%M' => 'i', '%p' => 'A', '%P' => 'a', '%r' => 'h:i:s A', '%R' => 'H:i', '%S' => 's', '%T' => 'H:i:s', '%X' => $intl_formatter, '%z' => 'O', '%Z' => 'T', '%c' => $intl_formatter, '%D' => 'm/d/Y', '%F' => 'Y-m-d', '%s' => 'U', '%x' => $intl_formatter, ]
/lib/classes/context.php:3511$ret = array('id' => $this->id, 'contextlevel' => $this->contextlevel, 'instanceid' => $this->instanceid, 'path' => $this->path, 'depth' => $this->depth, 'locked' => $this->locked, )
/lib/classes/component.php:4061$cache = ['subsystems' => self::$subsystems, 'plugintypes' => self::$plugintypes, 'plugins' => self::$plugins, 'parents' => self::$parents, 'subplugins' => self::$subplugins, 'apis' => self::$apis, 'classmap' => self::$classmap, 'classmaprenames' => self::$classmaprenames, 'filemap' => self::$filemap, 'version' => self::$version, ]
/lib/classes/context_helper.php:3561return ["$tablealias.id" => "ctxid", "$tablealias.path" => "ctxpath", "$tablealias.depth" => "ctxdepth", "$tablealias.contextlevel" => "ctxlevel", "$tablealias.instanceid" => "ctxinstance", "$tablealias.locked" => "ctxlocked", ]
/lib/classes/context.php:2521$record = (object) ['id' => $rec->ctxid, 'contextlevel' => $rec->ctxlevel, 'instanceid' => $rec->ctxinstance, 'path' => $rec->ctxpath, 'depth' => $rec->ctxdepth, 'locked' => $rec->ctxlocked, ]
/lib/classes/grades_external.php:1121$params = self::validate_parameters(self::update_grades_parameters( ), array('source' => $source, 'courseid' => $courseid, 'component' => $component, 'activityid' => $activityid, 'itemnumber' => $itemnumber, 'grades' => $grades, 'itemdetails' => $itemdetails))
/lib/classes/grades_external.php:501return new external_function_parameters(array('source' => new external_value(PARAM_TEXT, 'The source of the grade update'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'component' => new external_value(PARAM_COMPONENT, 'A component, for example mod_forum or mod_quiz'), 'activityid' => new external_value(PARAM_INT, 'The activity ID'), 'itemnumber' => new external_value(PARAM_INT, 'grade item ID number for modules that have multiple grades. Typically this is 0.'), 'grades' => new external_multiple_structure(new external_single_structure(array('studentid' => new external_value(PARAM_INT, 'Student ID'), 'grade' => new external_value(PARAM_FLOAT, 'Student grade'), 'str_feedback' => new external_value(PARAM_TEXT, 'A string representation of the feedback from the grader', VALUE_OPTIONAL), )), 'Any student grades to alter', VALUE_DEFAULT, array( )), 'itemdetails' => new external_single_structure(array('itemname' => new external_value(PARAM_ALPHANUMEXT, 'The grade item name', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_INT, 'Arbitrary ID provided by the module responsible for the grade item', VALUE_OPTIONAL), 'gradetype' => new external_value(PARAM_INT, 'The type of grade (0 = none, 1 = value, 2 = scale, 3 = text)', VALUE_OPTIONAL), 'grademax' => new external_value(PARAM_FLOAT, 'Maximum grade allowed', VALUE_OPTIONAL), 'grademin' => new external_value(PARAM_FLOAT, 'Minimum grade allowed', VALUE_OPTIONAL), 'scaleid' => new external_value(PARAM_INT, 'The ID of the custom scale being is used', VALUE_OPTIONAL), 'multfactor' => new external_value(PARAM_FLOAT, 'Multiply all grades by this number', VALUE_OPTIONAL), 'plusfactor' => new external_value(PARAM_FLOAT, 'Add this to all grades', VALUE_OPTIONAL), 'deleted' => new external_value(PARAM_BOOL, 'True if the grade item should be deleted', VALUE_OPTIONAL), 'hidden' => new external_value(PARAM_BOOL, 'True if the grade item is hidden', VALUE_OPTIONAL), ), 'Any grade item settings to alter', VALUE_DEFAULT, array( ))))
/lib/classes/grading_external.php:2321return new external_single_structure(array('cmid' => new external_value(PARAM_INT, 'course module id'), 'contextid' => new external_value(PARAM_INT, 'context id'), 'component' => new external_value(PARAM_TEXT, 'component name'), 'areaname' => new external_value(PARAM_TEXT, 'area name'), 'activemethod' => new external_value(PARAM_TEXT, 'active method', VALUE_OPTIONAL), 'definitions' => new external_multiple_structure(self::definition( ), 'definitions')))
/lib/classes/grading_external.php:491return new external_function_parameters(array('cmids' => new external_multiple_structure(new external_value(PARAM_INT, 'course module id'), '1 or more course module ids'), 'areaname' => new external_value(PARAM_AREA, 'area name'), 'activeonly' => new external_value(PARAM_BOOL, 'Only the active method', VALUE_DEFAULT, 0)))
/lib/classes/userfeedback.php:571$actions = [['title' => get_string('calltofeedback_give'), 'url' => static::make_link( )->out(false), 'data' => ['action' => 'give', 'record' => 1, 'hide' => 1, ], 'newwindow' => true, ], ['title' => get_string('calltofeedback_remind'), 'url' => '#', 'data' => ['action' => 'remind', 'record' => 1, 'hide' => 1, ], ], ]
/lib/classes/user.php:6941$fields['lang'] = array('type' => PARAM_LANG, 'null' => NULL_NOT_ALLOWED, 'default' => (!empty($CFG->autolangusercreation) && !empty($SESSION->lang)) ? $SESSION->lang : $CFG->lang, 'choices' => array_merge(array('' => ''), get_string_manager( )->get_list_of_translations(false)))
/lib/classes/uuid.php:1211$uuid = sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0x0fff) | 0x4000, mt_rand(0, 0x3fff) | 0x8000, mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff))
/lib/classes/ip_utils.php:1831return self::is_ipv6_address($ipv6parts[0]) && ctype_xdigit($rangestart) && ctype_xdigit($rangeend) && strlen($rangeend) <= 4 && strlen($rangestart) <= 4 && hexdec($rangeend) >= hexdec($rangestart)
/lib/classes/chart_series.php:1871$data = ['label' => $this->label, 'labels' => $this->labels, 'type' => $this->type, 'values' => $this->values, 'colors' => $this->colors, 'fill' => $this->fill, 'axes' => ['x' => $this->xaxis, 'y' => $this->yaxis, ], 'smooth' => $this->smooth]
/lib/simplepie/src/HTTP/Parser.php:2131return (bool) ($this->data[$this->position] === "\x09" || $this->data[$this->position] === "\x20" || ($this->data[$this->position] === "\x0A" && isset($this->data[$this->position + 1]) && ($this->data[$this->position + 1] === "\x09" || $this->data[$this->position + 1] === "\x20")))
/lib/simplepie/src/Cache/MySQL.php:1111$this->mysql = new \PDO("mysql:dbname={$this->options['dbname']};host={$this->options['host']};port={$this->options['port']}", $this->options['user'], $this->options['pass'], [\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'])
/lib/simplepie/src/Misc.php:19191return chr(0xf0 | ($codepoint >> 18)) . chr(0x80 | (($codepoint >> 12) & 0x3f)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($codepoint & 0x3f))
/lib/simplepie/src/Misc.php:2251return ['scheme' => (string) $iri->scheme, 'authority' => (string) $iri->authority, 'path' => (string) $iri->path, 'query' => (string) $iri->query, 'fragment' => (string) $iri->fragment]
/lib/simplepie/src/Source.php:3996return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Source.php:3977return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Source.php:3746return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Source.php:2172$url = $this->sanitize($author[0]['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($author[0]['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]))
/lib/simplepie/src/Source.php:2642$uri = $this->sanitize($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/Source.php:2812$url = $this->sanitize($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]))
/lib/simplepie/src/Source.php:3727return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/IRI.php:7481$return = $this->set_scheme($parsed['scheme']) && $this->set_authority($parsed['authority']) && $this->set_path($parsed['path']) && $this->set_query($parsed['query']) && $this->set_fragment($parsed['fragment'])
/lib/simplepie/src/Source.php:1077return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Source.php:1096return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Source.php:2002$uri = $this->sanitize($author['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($author['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/Item.php:22151$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title, $width])
/lib/simplepie/src/Item.php:22463$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width])
/lib/simplepie/src/Item.php:22783$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width])
/lib/simplepie/src/Item.php:22843$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions_parent, $categories_parent, $channels, $copyrights_parent, $credits_parent, $description_parent, $duration_parent, $expression, $framerate, $hashes_parent, $height, $keywords_parent, $lang, $medium, $player_parent, $ratings_parent, $restrictions_parent, $samplingrate, $thumbnails_parent, $title_parent, $width])
/lib/simplepie/src/Item.php:5822$url = $this->sanitize($author[0]['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($author[0]['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]))
/lib/simplepie/src/Item.php:6267return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Item.php:18702$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions, $categories, $channels, $copyrights, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width])
/lib/simplepie/src/Item.php:21782$this->data['enclosures'][] = $this->registry->create(Enclosure::class, [$url, $type, $length, null, $bitrate, $captions, $categories, $channels, $copyrights, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width])
/lib/simplepie/src/Item.php:5122$uri = $this->sanitize($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/Item.php:3492$return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0]))
/lib/simplepie/src/Item.php:5652$uri = $this->sanitize($author['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($author['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/Item.php:5292$url = $this->sanitize($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]['data'], \SimplePie\SimplePie::CONSTRUCT_IRI, $this->get_base($contributor['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['url'][0]))
/lib/simplepie/src/Item.php:2961$return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0]))
/lib/simplepie/src/Item.php:2601$this->data['title'] = $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Item.php:3461$return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_10_content_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0]))
/lib/simplepie/src/Item.php:2992$return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0]))
/lib/simplepie/src/SimplePie.php:27247return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/SimplePie.php:26936return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/Item.php:2581$this->data['title'] = $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/SimplePie.php:27266return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/SimplePie.php:25321$uri = $this->sanitize($contributor['child'][self::NAMESPACE_ATOM_10]['uri'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($contributor['child'][self::NAMESPACE_ATOM_10]['uri'][0]))
/lib/simplepie/src/SimplePie.php:24701$url = $this->sanitize($author[0]['child'][self::NAMESPACE_ATOM_03]['url'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($author[0]['child'][self::NAMESPACE_ATOM_03]['url'][0]))
/lib/simplepie/src/SimplePie.php:26917return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$return[0]['attribs']]), $this->get_base($return[0]))
/lib/simplepie/src/SimplePie.php:25491$url = $this->sanitize($contributor['child'][self::NAMESPACE_ATOM_03]['url'][0]['data'], self::CONSTRUCT_IRI, $this->get_base($contributor['child'][self::NAMESPACE_ATOM_03]['url'][0]))
/lib/classes/event/tag_added.php:882$event = self::create(array('objectid' => $taginstance->id, 'contextid' => $taginstance->contextid, 'other' => array('tagid' => $taginstance->tagid, 'tagname' => $tagname, 'tagrawname' => $tagrawname, 'itemid' => $taginstance->itemid, 'itemtype' => $taginstance->itemtype)))
/lib/classes/event/course_module_updated.php:1172$event = static::create(array('context' => $modcontext, 'objectid' => $cm->id, 'other' => array('modulename' => $cm->modname, 'instanceid' => $cm->instance, 'name' => $cm->name, )))
/lib/classes/event/competency_user_competency_viewed.php:581$params = array('contextid' => $usercompetency->get_context( )->id, 'objectid' => $usercompetency->get('id'), 'relateduserid' => $usercompetency->get('userid'), 'other' => array('competencyid' => $usercompetency->get('competencyid')))
/lib/classes/event/draft_file_deleted.php:551return "The user with id '{$this->userid}' has deleted {$filetype} '{$this->other['filepath']}" . "{$this->other['filename']}' from the draft file area with item id {$this->other['itemid']}. Size: {$humansize}. " . "Content hash: {$this->other['contenthash']}."
/lib/classes/hub/site_registration_form.php:2141$group = [$mform->createElement('select', $elementname, get_string($stridentifier, 'hub'), $options), $mform->createElement('static', $elementname . 'sep', '', '<br/>'), $mform->createElement('advcheckbox', $elementname . 'newemail', '', get_string('usedifferentemail', 'hub'), ['onchange' => "this.form.elements['{$elementname}email'].focus();"]), $mform->createElement('text', $elementname . 'email', get_string('email'))]
/lib/classes/hub/site_registration_form.php:2461$group = [$mform->createElement('advcheckbox', $elementname, '', $checkboxtext, ['class' => 'pt-2']), $mform->createElement('static', $elementname . 'sep', '', '<br/>'), $mform->createElement('advcheckbox', $elementname . 'newemail', '', get_string('usedifferentemail', 'hub'), ['onchange' => "this.form.elements['{$elementname}email'].focus();"]), $mform->createElement('text', $elementname . 'email', get_string('email'))]
/lib/classes/event/competency_user_competency_rated.php:581$params = array('contextid' => $usercompetency->get_context( )->id, 'objectid' => $usercompetency->get('id'), 'relateduserid' => $usercompetency->get('userid'), 'other' => array('grade' => $usercompetency->get('grade')))
/lib/classes/hub/site_registration_form.php:551$siteinfo = registration::get_site_info(['name' => format_string($site->fullname, true, array('context' => context_course::instance(SITEID))), 'description' => $site->summary, 'contactname' => fullname($admin, true), 'contactemail' => $admin->email, 'contactphone' => $admin->phone1, 'street' => '', 'countrycode' => $admin->country ?: $CFG->country, 'regioncode' => '-', 'language' => explode('_', current_language( ))[0], 'geolocation' => '', 'emailalert' => 0, 'commnews' => 0, 'policyagreed' => 0])
/lib/classes/event/user_graded.php:611$gradedata = array('context' => \context_course::instance($grade->grade_item->courseid), 'objectid' => $grade->id, 'relateduserid' => $grade->userid, 'other' => array('itemid' => $grade->itemid, 'overridden' => !empty($grade->overridden), 'finalgrade' => $grade->finalgrade), )
/lib/classes/event/base.php:6141return array('eventname' => $event->data['eventname'], 'component' => $event->data['component'], 'target' => $event->data['target'], 'action' => $event->data['action'], 'crud' => $event->data['crud'], 'edulevel' => $event->data['edulevel'], 'objecttable' => $event->data['objecttable'], )
/lib/classes/event/competency_user_competency_rated_in_course.php:601$params = array('objectid' => $usercompetencycourse->get('id'), 'relateduserid' => $usercompetencycourse->get('userid'), 'other' => array('competencyid' => $usercompetencycourse->get('competencyid'), 'grade' => $usercompetencycourse->get('grade')))
/lib/classes/event/user_info_field_created.php:643$event = self::create(array('objectid' => $field->id, 'context' => \context_system::instance( ), 'other' => array('shortname' => $field->shortname, 'name' => $field->name, 'datatype' => $field->datatype, )))
/lib/classes/event/user_info_field_updated.php:643$event = self::create(array('objectid' => $field->id, 'context' => \context_system::instance( ), 'other' => array('shortname' => $field->shortname, 'name' => $field->name, 'datatype' => $field->datatype, )))
/lib/classes/event/competency_user_competency_rated_in_plan.php:611$params = array('contextid' => $usercompetency->get_context( )->id, 'objectid' => $usercompetency->get('id'), 'relateduserid' => $usercompetency->get('userid'), 'other' => array('competencyid' => $usercompetency->get('competencyid'), 'grade' => $usercompetency->get('grade'), 'planid' => $planid))
/lib/classes/event/course_module_created.php:742$event = static::create(array('context' => $modcontext, 'objectid' => $cm->id, 'other' => array('modulename' => $cm->modname, 'instanceid' => $cm->instance, 'name' => $cm->name, )))
/lib/classes/event/contentbank_content_deleted.php:605$event = self::create(['objectid' => $record->id, 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $record->contenttype, 'name' => $record->name]])
/lib/classes/event/competency_user_competency_viewed_in_plan.php:601$params = array('contextid' => $usercompetency->get_context( )->id, 'objectid' => $usercompetency->get('id'), 'relateduserid' => $usercompetency->get('userid'), 'other' => array('competencyid' => $usercompetency->get('competencyid'), 'planid' => $planid))
/lib/classes/event/grade_deleted.php:681$event = self::create(array('objectid' => $grade->id, 'context' => \context_course::instance($grade->grade_item->courseid), 'relateduserid' => $grade->userid, 'other' => array('itemid' => $grade->itemid, 'overridden' => !empty($grade->overridden), 'finalgrade' => $grade->finalgrade), ))
/lib/classes/event/contentbank_content_created.php:605$event = self::create(['objectid' => $record->id, 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $record->contenttype, 'name' => $record->name]])
/lib/classes/event/course_completed.php:511$event = self::create(array('objectid' => $completion->id, 'relateduserid' => $completion->userid, 'context' => \context_course::instance($completion->course), 'courseid' => $completion->course, 'other' => array('relateduserid' => $completion->userid), ))
/lib/classes/event/competency_user_competency_plan_viewed.php:591$event = static::create(array('contextid' => $usercompetencyplan->get_context( )->id, 'objectid' => $usercompetencyplan->get('id'), 'relateduserid' => $usercompetencyplan->get('userid'), 'other' => array('planid' => $usercompetencyplan->get('planid'), 'competencyid' => $usercompetencyplan->get('competencyid'))))
/lib/classes/event/contentbank_content_viewed.php:605$event = self::create(['objectid' => $record->id, 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $record->contenttype, 'name' => $record->name]])
/lib/classes/event/contentbank_content_uploaded.php:605$event = self::create(['objectid' => $record->id, 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $record->contenttype, 'name' => $record->name]])
/lib/classes/event/draft_file_added.php:531return "The user with id '{$this->userid}' has uploaded file '{$this->other['filepath']}{$this->other['filename']}' " . "to the draft file area with item id {$this->other['itemid']}. Size: {$humansize}. " . "Content hash: {$this->other['contenthash']}."
/lib/classes/event/contentbank_content_updated.php:605$event = self::create(['objectid' => $record->id, 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $record->contenttype, 'name' => $record->name]])
/lib/classes/event/tag_removed.php:882$event = self::create(array('objectid' => $taginstance->id, 'contextid' => $taginstance->contextid, 'other' => array('tagid' => $taginstance->tagid, 'tagname' => $tagname, 'tagrawname' => $tagrawname, 'itemid' => $taginstance->itemid, 'itemtype' => $taginstance->itemtype)))
/lib/classes/check/external/get_result_admintree.php:1451return new external_single_structure(['status' => new external_value(PARAM_TEXT, 'Result status constant'), 'summary' => new external_value(PARAM_TEXT, 'Summary of result'), 'html' => new external_value(PARAM_TEXT, 'Rendered full html result', VALUE_OPTIONAL), 'details' => new external_value(PARAM_TEXT, 'Details of result (if includedetails was enabled)', VALUE_OPTIONAL), ])
/lib/classes/check/environment/publicpaths.php:591return [['pattern' => '/vendor/', '404' => ['vendor/', 'vendor/bin/behat', ], 'details' => get_string('check_vendordir_details', 'report_security', ['path' => $CFG->dirroot . '/vendor']), 'summary' => get_string('check_vendordir_info', 'report_security'), ], ['pattern' => '/node_modules/', '404' => ['node_modules/', 'node_modules/cli/cli.js', ], 'summary' => get_string('check_nodemodules_info', 'report_security'), 'details' => get_string('check_nodemodules_details', 'report_security', ['path' => $CFG->dirroot . '/node_modules']), ], ['pattern' => '^\..*', '404' => ['.git/', '.git/HEAD', '.github/FUNDING.yml', '.stylelintrc', ], ], ['pattern' => 'composer.json', '404' => ['composer.json', ], ], ['pattern' => '.lock', '404' => ['composer.lock', ], ], ['pattern' => 'environment.xml', '404' => ['admin/environment.xml', ], ], ['pattern' => '', '404' => ['doesnotexist', ], 'summary' => '', ], ['pattern' => '', '404' => ['lib/classes/', ], 'summary' => get_string('check_dirindex_info', 'report_security'), ], ['pattern' => 'db/install.xml', '404' => ['lib/db/install.xml', 'mod/assign/db/install.xml', ], ], ['pattern' => 'readme.txt', '404' => ['lib/scssphp/readme_moodle.txt', 'mod/resource/readme.txt', ], ], ['pattern' => 'README', '404' => ['mod/README.txt', 'mod/book/README.md', 'mod/chat/README.txt', ], ], ['pattern' => '/upgrade.txt', '404' => ['auth/manual/upgrade.txt', 'lib/upgrade.txt', ], ], ['pattern' => 'phpunit.xml', '404' => ['phpunit.xml.dist'], ], ['pattern' => '/fixtures/', '404' => ['privacy/tests/fixtures/logo.png', 'enrol/lti/tests/fixtures/input.xml', ], ], ['pattern' => '/behat/', '404' => ['blog/tests/behat/delete.feature'], ], ]
/lib/classes/event/tag_created.php:631$event = self::create(array('objectid' => $tag->id, 'relateduserid' => $tag->userid, 'context' => \context_system::instance( ), 'other' => array('name' => $tag->name, 'rawname' => $tag->rawname)))
/lib/classes/event/competency_evidence_created.php:761$event = static::create(['contextid' => $evidence->get('contextid'), 'objectid' => $evidence->get('id'), 'userid' => $evidence->get('actionuserid'), 'relateduserid' => $usercompetency->get('userid'), 'other' => ['usercompetencyid' => $usercompetency->get('id'), 'competencyid' => $usercompetency->get('competencyid'), 'action' => $evidence->get('action'), 'recommend' => $recommend]])
/lib/classes/event/user_info_field_deleted.php:633$event = self::create(array('objectid' => $field->id, 'context' => \context_system::instance( ), 'other' => array('shortname' => $field->shortname, 'name' => $field->name, 'datatype' => $field->datatype, )))
/lib/classes/event/grade_item_created.php:691$event = self::create(['objectid' => $gradeitem->id, 'courseid' => $gradeitem->courseid, 'context' => \context_course::instance($gradeitem->courseid), 'other' => ['itemname' => $gradeitem->itemname, 'itemtype' => $gradeitem->itemtype, 'itemmodule' => $gradeitem->itemmodule, ], ])
/lib/classes/task/database_logger.php:671$logdata = (object) ['type' => is_a($task, scheduled_task::class) ? self::TYPE_SCHEDULED : self::TYPE_ADHOC, 'component' => $task->get_component( ), 'classname' => get_class($task), 'userid' => 0, 'timestart' => $timestart, 'timeend' => $timeend, 'dbreads' => $dbreads, 'dbwrites' => $dbwrites, 'result' => (int) $failed, 'output' => file_get_contents($logpath), 'hostname' => $task->get_hostname( ), 'pid' => $task->get_pid( ), ]
/lib/classes/aws/admin_settings_aws_region.php:661$context = ['list' => $this->get_full_name( ), 'name' => $this->get_full_name( ), 'id' => $this->get_id( ), 'value' => $data, 'size' => $this->size, 'options' => $options, ]
/lib/classes/external/moodlenet_get_shared_course_info.php:1061return new external_single_structure(['name' => new external_value(PARAM_TEXT, 'Course short name'), 'type' => new external_value(PARAM_TEXT, 'Course type'), 'server' => new external_value(PARAM_TEXT, 'MoodleNet server'), 'supportpageurl' => new external_value(PARAM_URL, 'Support page URL'), 'issuerid' => new external_value(PARAM_INT, 'MoodleNet issuer id'), 'status' => new external_value(PARAM_BOOL, 'status: true if success'), 'warnings' => new external_warnings( )])
/lib/classes/external/moodlenet_get_share_info_activity.php:971return ['status' => true, 'name' => $coursemodule->name, 'type' => get_string('modulename', $coursemodule->modname), 'server' => $issuer->get_display_name( ), 'supportpageurl' => $supporturl, 'issuerid' => $issuerid, 'warnings' => $warnings]
/lib/classes/external/moodlenet_get_share_info_activity.php:1151return new external_single_structure(['name' => new external_value(PARAM_TEXT, 'Activity name'), 'type' => new external_value(PARAM_TEXT, 'Activity type'), 'server' => new external_value(PARAM_TEXT, 'MoodleNet server'), 'supportpageurl' => new external_value(PARAM_URL, 'Support page URL'), 'issuerid' => new external_value(PARAM_INT, 'MoodleNet issuer id'), 'status' => new external_value(PARAM_BOOL, 'status: true if success'), 'warnings' => new external_warnings( )])
/lib/classes/external/moodlenet_send_course.php:501return new external_function_parameters(['issuerid' => new external_value(PARAM_INT, 'OAuth 2 issuer ID', VALUE_REQUIRED), 'courseid' => new external_value(PARAM_INT, 'Course ID', VALUE_REQUIRED), 'shareformat' => new external_value(PARAM_INT, 'Share format', VALUE_REQUIRED), 'cmids' => new external_multiple_structure(new external_value(PARAM_INT, 'Course module id', VALUE_DEFAULT, null, NULL_ALLOWED), 'List for course module ids', VALUE_DEFAULT, [ ]), ])
/lib/classes/check/result.php:1711return array('status' => clean_text(get_string('status' . $this->status)), 'isna' => $this->status === self::NA, 'isok' => $this->status === self::OK, 'isinfo' => $this->status === self::INFO, 'isunknown' => $this->status === self::UNKNOWN, 'iswarning' => $this->status === self::WARNING, 'iserror' => $this->status === self::ERROR, 'iscritical' => $this->status === self::CRITICAL, )
/lib/classes/check/manager.php:1231$checks = [new environment\displayerrors( ), new environment\unsecuredataroot( ), new environment\publicpaths( ), new environment\configrw( ), new environment\preventexecpath( ), new security\embed( ), new security\openprofiles( ), new security\crawlers( ), new security\passwordpolicy( ), new security\emailchangeconfirmation( ), new security\webcron( ), new http\cookiesecure( ), new access\riskadmin( ), new access\riskxss( ), new access\riskbackup( ), new access\defaultuserrole( ), new access\guestrole( ), new access\frontpagerole( ), ]
/lib/classes/content/export/exportable_items/exportable_stored_file.php:1892$link = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $pluginfileitemid, $file->get_filepath( ), $file->get_filename( ), true, true)
/lib/classes/content/export/exportable_items/exportable_filearea.php:1662$link = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $pluginfileitemid, $file->get_filepath( ), $file->get_filename( ), true, true)
/lib/classes/message/inbound/address_manager.php:2621$data = array(self::pack_int($this->handler->id), self::pack_int($userid), self::pack_int($this->datavalue), pack('H*', substr(md5($this->fetch_data_key( ) . $userkey), 0, self::HASHSIZE)), )
/lib/classes/moodlenet/course_partial_sender.php:651$event = moodlenet_resource_exported::create(['context' => $this->coursecontext, 'other' => ['cmids' => $this->cmids, 'courseid' => [$this->course->id], 'resourceurl' => $resourceurl, 'success' => ($responsecode === 201), ], ])
/lib/classes/moodlenet/resource_packager.php:1721$filerecord = ['contextid' => user::instance($this->userid)->id, 'userid' => $this->userid, 'component' => 'user', 'filearea' => 'draft', 'itemid' => file_get_unused_draft_itemid( ), 'filepath' => '/', 'filename' => $this->resourcefilename . '_backup.mbz', ]
/lib/classes/moodlenet/moodlenet_client.php:1121return ['headers' => ['Authorization' => 'Bearer ' . $this->oauthclient->get_accesstoken( )->token, ], 'multipart' => [['name' => 'metadata', 'contents' => json_encode(['name' => $resourcename, 'description' => $resourcedescription, ]), 'headers' => ['Content-Disposition' => 'form-data; name="."', ], ], ['name' => 'filecontents', 'contents' => $stream, 'headers' => ['Content-Disposition' => 'form-data; name=".resource"; filename="' . $filename . '"', 'Content-Type' => $mimetype, 'Content-Transfer-Encoding' => 'binary', ], ], ], ]
/lib/classes/task/show_started_courses_task.php:1001$params = ['objectid' => $course->id, 'context' => \context_course::instance($course->id), 'other' => ['shortname' => $course->shortname, 'fullname' => $course->fullname, 'idnumber' => $course->idnumber, ], ]
/lib/classes/task/send_failed_login_notifications_task.php:1701$body = get_string('notifyloginfailuresmessagestart', '', $CFG->wwwroot) . (($CFG->lastnotifyfailure != 0) ? '(' . userdate($CFG->lastnotifyfailure) . ')' : '') . "\n\n" . $messages . "\n\n" . get_string('notifyloginfailuresmessageend', '', $url->out(false) . ' ') . "\n\n"
/lib/classes/output/inplace_editable.php:2601return array('component' => $this->component, 'itemtype' => $this->itemtype, 'itemid' => $this->itemid, 'displayvalue' => (string) $this->displayvalue, 'value' => (string) $this->value, 'edithint' => (string) $this->edithint, 'editlabel' => (string) $this->editlabel, 'editicon' => $this->editicon->export_for_pix( ), 'type' => $this->type, 'options' => $this->options, 'linkeverything' => $this->get_linkeverything( ) ? 1 : 0, )
/lib/classes/output/choicelist.php:721$option = ['value' => $value, 'name' => $name, 'description' => $definition['description'] ?? null, 'url' => $definition['url'] ?? null, 'icon' => $definition['icon'] ?? null, 'disabled' => (!empty($definition['disabled'])) ? true : false, ]
/lib/classes/output/local/dropdown/dialog.php:2251$data = ['dropdownid' => $dropdownid, 'buttonid' => $this->extras['buttonid'] ?? \html_writer::random_id('dropwdownbutton_'), 'buttoncontent' => (string) $this->buttoncontent, 'dialogcontent' => (string) $this->dialogcontent, 'classes' => $this->classes, 'buttonclasses' => $this->buttonclasses, 'dialogclasses' => $this->dropdownwidth, 'extras' => $extras, ]
/lib/classes/output/notification.php:1631return array('message' => clean_text($this->message), 'extraclasses' => implode(' ', $this->extraclasses), 'announce' => $this->announce, 'closebutton' => $this->closebutton, 'issuccess' => $this->messagetype === 'success', 'isinfo' => $this->messagetype === 'info', 'iswarning' => $this->messagetype === 'warning', 'iserror' => $this->messagetype === 'error', )
/lib/classes/navigation/output/primary.php:911$nodes[] = ['title' => $node->get_title( ), 'url' => $node->action( ), 'text' => $node->text, 'icon' => $node->icon, 'isactive' => $node->isactive || !empty($activechildren), 'key' => $node->key, 'children' => $children, 'haschildren' => !empty($children) ? 1 : 0, ]
/lib/classes/navigation/output/primary.php:641return ['mobileprimarynav' => $mobileprimarynav, 'moremenu' => $moremenu->export_for_template($output), 'lang' => !isloggedin( ) || isguestuser( ) ? $languagemenu->export_for_template($output) : [ ], 'user' => $this->get_user_menu($output), ]
/lib/classes/content/export/zipwriter.php:2561$templatedata->global = (object) ['righttoleft' => right_to_left( ), 'language' => get_html_lang_attribute_value(current_language( )), 'sitename' => format_string($SITE->fullname, true, ['context' => context_system::instance( )]), 'siteurl' => $CFG->wwwroot, 'pathtotop' => $this->get_relative_context_path($context, $this->rootcontext, '/'), 'contentexportfooter' => get_string('contentexport_footersummary', 'core', (object) ['courselink' => $courselink, 'coursename' => $coursename, 'userfullname' => fullname($USER), 'date' => userdate(time( )), ]), 'contentexportsummary' => get_string('contentexport_coursesummary', 'core', (object) ['courselink' => $courselink, 'coursename' => $coursename, 'date' => userdate(time( )), ]), 'coursename' => $coursename, 'courseshortname' => $exportedcourse->shortname, 'courselink' => $courselink, 'exportdate' => userdate(time( )), 'maxfilesize' => display_size($this->maxfilesize, 0), ]
/lib/classes/navigation/views/secondary.php:1131return [self::TYPE_SETTING => ['modedit' => 1, "mod_{$this->page->activityname}_useroverrides" => 3, "mod_{$this->page->activityname}_groupoverrides" => 4, 'roleassign' => 7.2, 'filtermanage' => 6, 'roleoverride' => 7, 'rolecheck' => 7.1, 'logreport' => 8, 'backup' => 9, 'restore' => 10, 'competencybreakdown' => 11, 'sendtomoodlenet' => 16, ], self::TYPE_CUSTOM => ['advgrading' => 2, 'contentbank' => 12, ], ]
/lib/classes/output/external.php:421return new external_function_parameters(array('component' => new external_value(PARAM_COMPONENT, 'component containing the template'), 'template' => new external_value(PARAM_SAFEPATH, 'name of the template'), 'themename' => new external_value(PARAM_ALPHANUMEXT, 'The current theme.'), 'includecomments' => new external_value(PARAM_BOOL, 'Include comments or not', VALUE_DEFAULT, false)))
/lib/classes/oauth2/service/moodlenet.php:1351$request = ['client_name' => $SITE->fullname, 'client_uri' => $hosturl, 'logo_uri' => $hosturl . '/pix/moodlelogo.png', 'tos_uri' => $hosturl, 'policy_uri' => $hosturl, 'software_id' => 'moodle', 'software_version' => $CFG->version, 'redirect_uris' => [$hosturl . '/admin/oauth2callback.php'], 'token_endpoint_auth_method' => 'client_secret_basic', 'grant_types' => ['authorization_code', 'refresh_token'], 'response_types' => ['code'], 'scope' => $scopes]
/lib/classes/output/language_menu.php:1071$node = ['title' => $langname, 'text' => $langname, 'link' => true, 'isactive' => $isactive, 'url' => $isactive ? new \moodle_url('#') : new \moodle_url($this->page->url, ['lang' => $langtype]), ]
/lib/classes/output/external.php:941return new external_function_parameters(['component' => new external_value(PARAM_COMPONENT, 'component containing the template'), 'template' => new external_value(PARAM_SAFEPATH, 'name of the template'), 'themename' => new external_value(PARAM_ALPHANUMEXT, 'The current theme.'), 'includecomments' => new external_value(PARAM_BOOL, 'Include comments or not', VALUE_DEFAULT, false), 'lang' => new external_value(PARAM_LANG, 'lang', VALUE_DEFAULT, null), ])
/lib/classes/output/participants_action_bar.php:1301$items += [(new moodle_url('/group/groupings.php', $params))->out( ) => get_string('groupings', 'group'), (new moodle_url('/group/overview.php', $params))->out( ) => get_string('overview', 'group')]
/lib/classes/output/comboboxsearch.php:1071return ['rtl' => right_to_left( ), 'renderlater' => $this->renderlater, 'buttoncontent' => $this->buttoncontent, 'dropdowncontent' => $this->dropdowncontent, 'parentclasses' => $this->parentclasses, 'buttonclasses' => $this->buttonclasses, 'dropdownclasses' => $this->dropdownclasses, 'buttonheader' => $this->buttonheader, 'usebutton' => $this->usesbutton, 'instance' => rand( ), ]
/lib/classes/output/checkbox_toggleall.php:911$data = (object) ['togglegroup' => $this->togglegroup, 'id' => $this->options['id'] ?? null, 'name' => $this->options['name'] ?? null, 'value' => $this->options['value'] ?? null, 'classes' => $this->options['classes'] ?? null, 'label' => $this->options['label'] ?? null, 'labelclasses' => $this->options['labelclasses'] ?? null, 'checked' => $this->options['checked'] ?? false, ]
/lib/classes/output/datafilter.php:1041return (object) ['name' => $name, 'title' => $title, 'allowcustom' => $custom, 'allowmultiple' => $multiple, 'filtertypeclass' => $filterclass, 'values' => $values, 'filteroptions' => $filteroptions, 'required' => $required, 'joinlist' => json_encode($joinlist)]
/question/engine/renderer.php:4921return html_writer::tag('h4', get_string('responsehistory', 'question'), array('class' => 'responsehistoryheader')) . $options->extrahistorycontent . html_writer::tag('div', html_writer::table($table, true), array('class' => 'responsehistoryheader'))
/question/engine/renderer.php:5081return html_writer::link(new moodle_url('/user/view.php', ['id' => $step->get_user_id( ), 'course' => $this->page->course->id]), $step->get_user_fullname( ), ['class' => 'd-table-cell'])
/question/engine/lib.php:8111$flagattributes = array(0 => array('src' => $OUTPUT->image_url('i/unflagged') . '', 'title' => get_string('clicktoflag', 'question'), 'alt' => get_string('flagged', 'question'), 'text' => get_string('clickflag', 'question'), ), 1 => array('src' => $OUTPUT->image_url('i/flagged') . '', 'title' => get_string('clicktounflag', 'question'), 'alt' => get_string('flagged', 'question'), 'text' => get_string('clickunflag', 'question'), ), )
/question/engine/lib.php:9811return self::$thousands[floor($number / 1000) % 10] . self::$hundreds[floor($number / 100) % 10] . self::$tens[floor($number / 10) % 10] . self::$units[$number % 10]
/question/engine/renderer.php:771$output .= html_writer::start_tag('div', array('id' => $qa->get_outer_question_div_unique_id( ), 'class' => implode(' ', array('que', $qa->get_question(false)->get_type_name( ), $qa->get_behaviour_name( ), $qa->get_state_class($options->correctness && $qa->has_marks( )), ))))
/question/engine/renderer.php:2971$flagcontent = html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $id, 'value' => 0)) . html_writer::empty_tag('input', array('type' => 'hidden', 'value' => $postdata, 'class' => 'questionflagpostdata')) . html_writer::empty_tag('input', $checkboxattributes) . html_writer::tag('label', $this->get_flag_html($qa->is_flagged( ), $id . 'img'), array('id' => $id . 'label', 'for' => $id . 'checkbox')) . "\n"
/question/engine/renderer.php:3661return html_writer::tag('div', html_writer::link($editurl, $this->pix_icon('t/edit', get_string('edit'), '', array('class' => 'iconsmall')) . get_string('editquestion', 'question')), array('class' => 'editquestion'))
/question/engine/renderer.php:4791$row = [$stepno, userdate($step->get_timecreated( ), get_string('strftimedatetimeshortaccurate', 'core_langconfig')), s($qa->summarise_action($step)) . $this->action_author($step, $options), $restrictedqa->get_state_string($options->correctness)]
/question/engine/tests/questionusagebyactivity_data_test.php:981$records = new question_test_recordset(array(array('qubaid', 'contextid', 'component', 'preferredbehaviour', 'questionattemptid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, $scid, 'unit_test', 'interactive', 1, 1, 1, 'interactive', 0, 1, 1.0000000, 0.0000000, 1.0000000, 0, 'This question is missing. Unable to display anything.', '', '', 0, null, null, null, null, null, null, null, null), array(1, $scid, 'unit_test', 'interactive', 2, 1, 2, 'interactive', 0, 1, 1.0000000, 0.0000000, 1.0000000, 0, 'This question is missing. Unable to display anything.', '', '', 0, null, null, null, null, null, null, null, null), array(1, $scid, 'unit_test', 'interactive', 3, 1, 3, 'interactive', 0, 1, 1.0000000, 0.0000000, 1.0000000, 0, 'This question is missing. Unable to display anything.', '', '', 0, null, null, null, null, null, null, null, null), ))
/question/engine/tests/questionusagebyactivity_data_test.php:1301$records = new question_test_recordset(array(array('qubaid', 'contextid', 'component', 'preferredbehaviour', 'questionattemptid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, $scid, 'unit_test', 'interactive', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null), ))
/question/engine/tests/questionattempt_db_test.php:461$records = new question_test_recordset(array(array('questionattemptid', 'contextid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, null, null), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'complete', null, 1256233705, 1, 'answer', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 1, '', '', '', 1256233790, 3, 2, 'complete', null, 1256233710, 1, 'answer', '0'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 4, 3, 'complete', null, 1256233715, 1, 'answer', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 5, 4, 'gradedright', 1.0000000, 1256233720, 1, '-finish', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 6, 5, 'mangrpartial', 0.5000000, 1256233790, 1, '-comment', 'Not good enough!'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 6, 5, 'mangrpartial', 0.5000000, 1256233790, 1, '-mark', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 6, 5, 'mangrpartial', 0.5000000, 1256233790, 1, '-maxmark', '2'), ))
/question/engine/tests/questionattempt_db_test.php:1191$records = new question_test_recordset(array(array('questionattemptid', 'contextid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, null, null), ))
/question/engine/lib.php:11091return ['image' => self::specific_filepicker_options(['image'], $draftitemid, $context), 'media' => self::specific_filepicker_options(['video', 'audio'], $draftitemid, $context), 'link' => self::specific_filepicker_options('*', $draftitemid, $context), ]
/question/engine/questionattempt.php:5981return file_encode_url(new moodle_url('/pluginfile.php'), '/' . implode('/', array($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $this->usageid, $this->slot, $file->get_itemid( ))) . $file->get_filepath( ) . $file->get_filename( ), true)
/question/engine/tests/questionattempt_with_steps_test.php:1741return [[0, 1, 2, null, ''], [0, 1, 2, '', ''], [0, 1, 2, '0', ''], [0, 1, 2, '0.0', ''], [0, 1, 2, '2,0', ''], [0, 1, 2, 'frog', get_string('manualgradeinvalidformat', 'question')], [0, 1, 2, '2.1', get_string('manualgradeoutofrange', 'question')], [0, 1, 2, '-0,01', get_string('manualgradeoutofrange', 'question')], [-0.3333333, 1, 0.75, '0.75', ''], [-0.3333333, 1, 0.75, '0.7500001', get_string('manualgradeoutofrange', 'question')], [-0.3333333, 1, 0.75, '-0.25', ''], [-0.3333333, 1, 0.75, '-0.2500001', get_string('manualgradeoutofrange', 'question')], ]
/question/engine/tests/questionusagebyactivity_data_test.php:401$records = new question_test_recordset(array(array('qubaid', 'contextid', 'component', 'preferredbehaviour', 'questionattemptid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, $scid, 'unit_test', 'interactive', 1, 1, 1, 'interactive', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, null, null), array(1, $scid, 'unit_test', 'interactive', 1, 1, 1, 'interactive', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'todo', null, 1256233705, 1, 'answer', '1'), array(1, $scid, 'unit_test', 'interactive', 1, 1, 1, 'interactive', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 5, 2, 'gradedright', 1.0000000, 1256233720, 1, '-finish', '1'), ))
/question/engine/tests/helpers.php:3351$mc->answers = array(13 => new question_answer(13, 'A', 1, 'A is right', FORMAT_HTML), 14 => new question_answer(14, 'B', -0.3333333, 'B is wrong', FORMAT_HTML), 15 => new question_answer(15, 'C', -0.3333333, 'C is wrong', FORMAT_HTML), )
/question/engine/tests/questionattemptstep_db_test.php:721$records = new question_test_recordset(array(array('attemptstepid', 'questionattemptid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value', 'contextid'), array(1, 1, 0, 'todo', null, 1256228502, 13, 'x', 'right', 1), array(2, 2, 0, 'complete', null, 1256228505, 13, 'x', 'wrong', 1), ))
/search/classes/document.php:6401$data = ['itemid' => $this->get('itemid'), 'componentname' => $componentname, 'areaname' => $areaname, 'courseurl' => (course_get_url($this->get('courseid')))->out(false), 'coursefullname' => format_string($this->get('coursefullname'), true, ['context' => $context->id]), 'modified' => userdate($this->get('modified')), 'timemodified' => $this->get('modified'), 'title' => ($title !== '') ? $title : get_string('notitle', 'search'), 'docurl' => ($this->get_doc_url( ))->out(false), 'content' => $this->is_set('content') ? $this->format_text($this->get('content')) : null, 'contextid' => $this->get('contextid'), 'contexturl' => ($this->get_context_url( ))->out(false), 'description1' => $this->is_set('description1') ? $this->format_text($this->get('description1')) : null, 'description2' => $this->is_set('description2') ? $this->format_text($this->get('description2')) : null, ]
/question/engine/tests/helpers.php:3641$mc->answers = array(13 => new question_answer(13, 'A', 0.5, 'A is part of the right answer', FORMAT_HTML), 14 => new question_answer(14, 'B', -1, 'B is wrong', FORMAT_HTML), 15 => new question_answer(15, 'C', 0.5, 'C is part of the right answer', FORMAT_HTML), 16 => new question_answer(16, 'D', -1, 'D is wrong', FORMAT_HTML), )
/question/engine/tests/questionattempt_db_test.php:2051$records = new question_test_recordset(array(array('questionattemptid', 'contextid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 5, -2, 'complete', null, 1256233715, 1, 'answer', '0'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 4, -1, 'complete', null, 1256233715, 1, 'answer', '0'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, null, null), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'complete', null, 1256233705, 1, 'answer', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 1, '', '', '', 1256233790, 3, 2, 'complete', null, 1256233710, 1, 'answer', '0'), ))
/question/engine/tests/questionattempt_db_test.php:1461$records = new question_test_recordset(array(array('questionattemptid', 'contextid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 4, -3, 'complete', null, 1256233715, 1, 'answer', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, null, null), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'complete', null, 1256233705, 1, 'answer', '1'), array(1, 123, 1, 1, 'deferredfeedback', -1, 1, 2.0000000, 0.0000000, 1.0000000, 1, '', '', '', 1256233790, 3, 2, 'complete', null, 1256233710, 1, 'answer', '0'), ))
/question/engine/tests/questionattemptstep_db_test.php:391$records = new question_test_recordset(array(array('attemptstepid', 'questionattemptid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value', 'qtype', 'contextid'), array(1, 1, 0, 'todo', null, 1256228502, 13, null, null, 'description', 1), array(2, 1, 1, 'complete', null, 1256228505, 13, 'x', 'a', 'description', 1), array(2, 1, 1, 'complete', null, 1256228505, 13, '_y', '_b', 'description', 1), array(2, 1, 1, 'complete', null, 1256228505, 13, '-z', '!c', 'description', 1), array(2, 1, 1, 'complete', null, 1256228505, 13, '-_t', '!_d', 'description', 1), array(3, 1, 2, 'gradedright', 1.0, 1256228515, 13, '-finish', '1', 'description', 1), ))
/question/engine/tests/question_engine_test.php:1631return [[[$in, '', '', ''], $in, ], [[$in, '', 'b4', 'b4'], $in, ], [[$in, '', 'b1,b2,b3,b4', 'b4'], ['b4' => 'Behave 4', 'b5' => 'Behave 5', 'b6' => 'Behave 6'], ], [[$in, 'b6,b1,b4', 'b2,b3,b4,b5', 'b4'], ['b6' => 'Behave 6', 'b1' => 'Behave 1', 'b4' => 'Behave 4'], ], [[$in, 'b6,b5,b4', 'b1,b2,b3', 'b4'], ['b6' => 'Behave 6', 'b5' => 'Behave 5', 'b4' => 'Behave 4'], ], [[$in, 'b1,b6,b5', 'b1,b2,b3,b4', 'b4'], ['b6' => 'Behave 6', 'b5' => 'Behave 5', 'b4' => 'Behave 4'], ], [[$in, 'b2,b4,b6', 'b1,b3,b5', 'b2'], ['b2' => 'Behave 2', 'b4' => 'Behave 4', 'b6' => 'Behave 6'], ], [[$in, 'unknown', '', ''], $in, ], [[$in, '', 'unknown', ''], $in, ], ]
/search/engine/solr/classes/engine.php:13601$options = array('hostname' => $this->config->server_hostname, 'path' => '/solr/' . $this->config->indexname, 'login' => !empty($this->config->server_username) ? $this->config->server_username : '', 'password' => !empty($this->config->server_password) ? $this->config->server_password : '', 'port' => !empty($this->config->server_port) ? $this->config->server_port : '', 'secure' => !empty($this->config->secure) ? true : false, 'ssl_cert' => !empty($this->config->ssl_cert) ? $this->config->ssl_cert : '', 'ssl_key' => !empty($this->config->ssl_key) ? $this->config->ssl_key : '', 'ssl_keypassword' => !empty($this->config->ssl_keypassword) ? $this->config->ssl_keypassword : '', 'ssl_cainfo' => !empty($this->config->ssl_cainfo) ? $this->config->ssl_cainfo : '', 'ssl_capath' => !empty($this->config->ssl_capath) ? $this->config->ssl_capath : '', 'timeout' => !empty($this->config->server_timeout) ? $this->config->server_timeout : '30')
/search/classes/external/get_results.php:421return new external_function_parameters(['query' => new external_value(PARAM_NOTAGS, 'the search query'), 'filters' => new external_single_structure(['title' => new external_value(PARAM_NOTAGS, 'result title', VALUE_OPTIONAL), 'areaids' => new external_multiple_structure(new external_value(PARAM_ALPHANUMEXT, 'areaid'), 'restrict results to these areas', VALUE_DEFAULT, [ ]), 'courseids' => new external_multiple_structure(new external_value(PARAM_INT, 'courseid'), 'restrict results to these courses', VALUE_DEFAULT, [ ]), 'contextids' => new external_multiple_structure(new external_value(PARAM_INT, 'contextid'), 'restrict results to these contexts', VALUE_DEFAULT, [ ]), 'cat' => new external_value(PARAM_NOTAGS, 'category to filter areas', VALUE_DEFAULT, ''), 'userids' => new external_multiple_structure(new external_value(PARAM_INT, 'userid'), 'restrict results to these users', VALUE_DEFAULT, [ ]), 'groupids' => new external_multiple_structure(new external_value(PARAM_INT, 'groupid'), 'restrict results to these groups', VALUE_DEFAULT, [ ]), 'mycoursesonly' => new external_value(PARAM_BOOL, 'only results from my courses', VALUE_DEFAULT, false), 'order' => new external_value(PARAM_ALPHA, 'how to order', VALUE_DEFAULT, ''), 'timestart' => new external_value(PARAM_INT, 'docs modified after this date', VALUE_DEFAULT, 0), 'timeend' => new external_value(PARAM_INT, 'docs modified before this date', VALUE_DEFAULT, 0)], 'filters to apply', VALUE_DEFAULT, [ ]), 'page' => new external_value(PARAM_INT, 'results page number starting from 0, defaults to the first page', VALUE_DEFAULT, 0)])
/search/engine/simpledb/classes/engine.php:3431$sql = '(' . $DB->sql_like('title', '?', false, false) . ' OR ' . $DB->sql_like('content', '?', false, false) . ' OR ' . $DB->sql_like('description1', '?', false, false) . ' OR ' . $DB->sql_like('description2', '?', false, false) . ')'
/search/engine/solr/tests/engine_test.php:5011$checkfiles = array(0 => 0, 1 => 1, 2 => 0, ($top - 3) => 0, ($top - 2) => 1, ($top - 1) => 0, ($boundary - 2) => 0, ($boundary - 1) => 0, $boundary => 0, ($boundary + 1) => 0, ((int) ($boundary * 0.5)) => 1, ((int) ($boundary * 1.05)) => 1)
/search/classes/base_block.php:1241return $DB->get_recordset_sql(" SELECT bi.id, bi.timemodified, bi.timecreated, bi.configdata, c.id AS courseid, x.id AS contextid FROM {block_instances} bi $contextjoin JOIN {context} x ON x.instanceid = bi.id AND x.contextlevel = ? JOIN {context} parent ON parent.id = bi.parentcontextid LEFT JOIN {course_modules} cm ON cm.id = parent.instanceid AND parent.contextlevel = ? JOIN {course} c ON c.id = cm.course OR (c.id = parent.instanceid AND parent.contextlevel = ?) WHERE bi.timemodified >= ? AND bi.blockname = ? AND (parent.contextlevel = ? AND (" . $DB->sql_like('bi.pagetypepattern', '?') . " OR bi.pagetypepattern IN ('site-index', 'course-*', '*'))) $restrictions ORDER BY bi.timemodified ASC", array_merge($contextparams, [CONTEXT_BLOCK, CONTEXT_MODULE, CONTEXT_COURSE, $modifiedfrom, $this->get_block_name( ), CONTEXT_COURSE, 'course-view-%'], $restrictionparams))
/search/classes/base_block.php:841return [$DB->sql_compare_text('bi.configdata') . " != ? AND " . $DB->sql_compare_text('bi.configdata') . " != ? AND " . $DB->sql_compare_text('bi.configdata') . " != ? AND " . $DB->sql_compare_text('bi.configdata') . " != ?", ['', base64_encode(serialize((object) [ ])), base64_encode(serialize($stupidobject)), base64_encode(serialize(null))]]
/search/classes/external/get_search_areas_list.php:1011return new external_single_structure(['areas' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_ALPHANUMEXT, 'search area id'), 'categoryid' => new external_value(PARAM_NOTAGS, 'category id'), 'categoryname' => new external_value(PARAM_NOTAGS, 'category name'), 'name' => new external_value(PARAM_TEXT, 'search area name'), ], 'Search area'), 'Search areas'), 'warnings' => new external_warnings( )])
/search/classes/external/view_results.php:431return new external_function_parameters(['query' => new external_value(PARAM_NOTAGS, 'the search query'), 'filters' => new external_single_structure(['title' => new external_value(PARAM_NOTAGS, 'result title', VALUE_OPTIONAL), 'areaids' => new external_multiple_structure(new external_value(PARAM_RAW, 'areaid'), 'restrict results to these areas', VALUE_DEFAULT, [ ]), 'courseids' => new external_multiple_structure(new external_value(PARAM_INT, 'courseid'), 'restrict results to these courses', VALUE_DEFAULT, [ ]), 'timestart' => new external_value(PARAM_INT, 'docs modified after this date', VALUE_DEFAULT, 0), 'timeend' => new external_value(PARAM_INT, 'docs modified before this date', VALUE_DEFAULT, 0)], 'filters to apply', VALUE_DEFAULT, [ ]), 'page' => new external_value(PARAM_INT, 'results page number starting from 0, defaults to the first page', VALUE_DEFAULT, 0)])
/question/format/gift/tests/giftformat_test.php:7021$expectedq = (object) array('name' => 'Q5', 'questiontext' => "What is a number from 1 to 5?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'numerical', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'answer' => array('3', '*', ), 'fraction' => array(1, 0), 'feedback' => array(0 => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "Completely wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), 'tolerance' => array(2, ''), )
/question/format/gift/tests/giftformat_test.php:7401$qdata = (object) array('id' => 666, 'name' => 'Q5', 'questiontext' => "What is a number from 1 to 5?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'qtype' => 'numerical', 'options' => (object) array('id' => 123, 'question' => 666, 'unitsleft' => 0, 'showunits' => 2, 'unitgradingtype' => 0, 'unitpenalty' => 0, 'answers' => array(1 => (object) array('id' => 123, 'answer' => '3', 'answerformat' => 0, 'fraction' => 1, 'tolerance' => 2, 'feedback' => '', 'feedbackformat' => FORMAT_MOODLE, ), 2 => (object) array('id' => 124, 'answer' => '*', 'answerformat' => 0, 'fraction' => 0, 'tolerance' => 0, 'feedback' => "Completely wrong", 'feedbackformat' => FORMAT_MOODLE, ), ), ), )
/question/format/gift/tests/giftformat_test.php:5621$qdata = (object) array('id' => 666, 'name' => 'Q8', 'questiontext' => "What's between orange and green in the spectrum?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'qtype' => 'multichoice', 'options' => (object) array('single' => 1, 'shuffleanswers' => '1', 'answernumbering' => 'abc', 'correctfeedback' => '', 'correctfeedbackformat' => FORMAT_MOODLE, 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => FORMAT_MOODLE, 'incorrectfeedback' => '', 'incorrectfeedbackformat' => FORMAT_MOODLE, 'answers' => array(123 => (object) array('id' => 123, 'answer' => 'yellow', 'answerformat' => FORMAT_MOODLE, 'fraction' => 1, 'feedback' => 'right; good!', 'feedbackformat' => FORMAT_MOODLE, ), 124 => (object) array('id' => 124, 'answer' => 'red', 'answerformat' => FORMAT_MOODLE, 'fraction' => 0, 'feedback' => "wrong, it's yellow", 'feedbackformat' => FORMAT_HTML, ), 125 => (object) array('id' => 125, 'answer' => 'blue', 'answerformat' => FORMAT_PLAIN, 'fraction' => 0, 'feedback' => "wrong, it's yellow", 'feedbackformat' => FORMAT_MOODLE, ), ), ), )
/question/format/gift/tests/giftformat_test.php:6281$qdata = (object) array('id' => 666, 'name' => 'Q8', 'questiontext' => "What's between orange and green in the spectrum?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'qtype' => 'multichoice', 'options' => (object) array('single' => 0, 'shuffleanswers' => '1', 'answernumbering' => 'abc', 'correctfeedback' => '', 'correctfeedbackformat' => FORMAT_MOODLE, 'partiallycorrectfeedback' => '', 'partiallycorrectfeedbackformat' => FORMAT_MOODLE, 'incorrectfeedback' => '', 'incorrectfeedbackformat' => FORMAT_MOODLE, 'answers' => array(123 => (object) array('id' => 123, 'answer' => 'yellow', 'answerformat' => FORMAT_MOODLE, 'fraction' => 1, 'feedback' => 'right; good!', 'feedbackformat' => FORMAT_MOODLE, ), 124 => (object) array('id' => 124, 'answer' => 'red', 'answerformat' => FORMAT_MOODLE, 'fraction' => -0.5, 'feedback' => "wrong, it's yellow", 'feedbackformat' => FORMAT_MOODLE, ), 125 => (object) array('id' => 125, 'answer' => 'blue', 'answerformat' => FORMAT_MOODLE, 'fraction' => -0.5, 'feedback' => "wrong, it's yellow", 'feedbackformat' => FORMAT_MOODLE, ), ), ), )
/question/format/gift/tests/giftformat_test.php:3951$expectedq = (object) array('name' => 'colours', 'questiontext' => "What's between orange and green in the spectrum?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'multichoice', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'single' => 0, 'shuffleanswers' => '1', 'answernumbering' => 'abc', 'correctfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'partiallycorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'incorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'answer' => array(0 => array('text' => 'yellow', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => 'red', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => 'off-beige', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 3 => array('text' => 'blue', 'format' => FORMAT_PLAIN, 'files' => array( ), ), ), 'fraction' => array(0.5, -1, 0.5, -1), 'feedback' => array(0 => array('text' => 'right; good!', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "wrong", 'format' => FORMAT_HTML, 'files' => array( ), ), 2 => array('text' => "right; good!", 'format' => FORMAT_MOODLE, 'files' => array( ), ), 3 => array('text' => "wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), )
/question/format/gift/tests/giftformat_test.php:4901$expectedq = (object) array('name' => 'colours', 'questiontext' => "What's between orange and green in the spectrum?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'multichoice', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'single' => 0, 'shuffleanswers' => '1', 'answernumbering' => 'abc', 'correctfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'partiallycorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'incorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'answer' => array(0 => array('text' => 'yellow', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => 'red', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => 'blue', 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), 'fraction' => array(1, -0.5, -0.5), 'feedback' => array(0 => array('text' => 'right; good!', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => "wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), )
/question/format/gift/tests/giftformat_test.php:1901$qdata = (object) array('id' => 666, 'name' => 'Moodle activities', 'questiontext' => 'Match the <b>activity</b> to the description.', 'questiontextformat' => FORMAT_HTML, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_HTML, 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'qtype' => 'match', 'options' => (object) array('id' => 123, 'question' => 666, 'shuffleanswers' => 1, 'subquestions' => array(42 => (object) array('id' => 1234, 'code' => 12341234, 'question' => 666, 'questiontext' => '<div class="frog">An activity supporting asynchronous discussions.</div>', 'questiontextformat' => FORMAT_HTML, 'answertext' => 'Forum', ), 43 => (object) array('id' => 1234, 'code' => 12341234, 'question' => 666, 'questiontext' => 'A teacher asks a question and specifies a choice of multiple responses.', 'questiontextformat' => FORMAT_MOODLE, 'answertext' => 'Choice', ), 44 => (object) array('id' => 1234, 'code' => 12341234, 'question' => 666, 'questiontext' => 'A bank of record entries which participants can add to.', 'questiontextformat' => FORMAT_PLAIN, 'answertext' => 'Database', ), 45 => (object) array('id' => 1234, 'code' => 12341234, 'question' => 666, 'questiontext' => 'A collection of web pages that anyone can add to or edit.', 'questiontextformat' => FORMAT_MARKDOWN, 'answertext' => 'Wiki', ), 46 => (object) array('id' => 1234, 'code' => 12341234, 'question' => 666, 'questiontext' => '', 'questiontextformat' => FORMAT_MARKDOWN, 'answertext' => 'Chat', ), ), ), )
/question/format/gift/tests/giftformat_test.php:2921$expectedq = (object) array('name' => 'Q2', 'questiontext' => "What's between orange and green in the spectrum?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'multichoice', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'single' => 1, 'shuffleanswers' => '1', 'answernumbering' => $numberingstyle, 'correctfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'partiallycorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'incorrectfeedback' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'answer' => array(0 => array('text' => 'yellow', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => 'red', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => 'blue', 'format' => FORMAT_PLAIN, 'files' => array( ), ), ), 'fraction' => array(1, 0, 0), 'feedback' => array(0 => array('text' => 'right; good!', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "wrong, it's yellow", 'format' => FORMAT_HTML, 'files' => array( ), ), 2 => array('text' => "wrong, it's yellow", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), )
/question/format/gift/tests/giftformat_test.php:11052$expectedq = (object) array('name' => '2-08 TSL', 'questiontext' => "TSL is blablabla.", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'truefalse', 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'correctanswer' => 1, 'feedbacktrue' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'feedbackfalse' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), )
/question/format/gift/tests/giftformat_test.php:11321$qdata = (object) array('id' => 666, 'name' => 'Q1', 'questiontext' => "42 is the Absolute Answer to everything.", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'qtype' => 'truefalse', 'options' => (object) array('id' => 123, 'question' => 666, 'trueanswer' => 1, 'falseanswer' => 2, 'answers' => array(1 => (object) array('id' => 123, 'answer' => 'True', 'answerformat' => 0, 'fraction' => 1, 'feedback' => 'You gave the right answer.', 'feedbackformat' => FORMAT_MOODLE, ), 2 => (object) array('id' => 124, 'answer' => 'False', 'answerformat' => 0, 'fraction' => 0, 'feedback' => "42 is the Ultimate Answer.", 'feedbackformat' => FORMAT_HTML, ), ), ), )
/question/format/gift/tests/giftformat_test.php:10371$expectedq = (object) array('name' => 'Q1', 'questiontext' => "42 is the Absolute Answer to everything.", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'truefalse', 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'correctanswer' => 0, 'feedbacktrue' => array('text' => '42 is the Ultimate Answer.', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'feedbackfalse' => array('text' => 'You gave the right answer.', 'format' => FORMAT_MOODLE, 'files' => array( ), ), )
/question/format/gift/tests/giftformat_test.php:10712$expectedq = (object) array('name' => '2-08 TSL', 'questiontext' => "TSL is blablabla.", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'truefalse', 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'correctanswer' => 1, 'feedbacktrue' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 'feedbackfalse' => array('text' => '', 'format' => FORMAT_MOODLE, 'files' => array( ), ), )
/question/format/gift/tests/giftformat_test.php:9071$qdata = (object) array('id' => 666, 'name' => 'Shortanswer', 'questiontext' => "Which is the best animal?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'qtype' => 'shortanswer', 'options' => (object) array('id' => 123, 'questionid' => 666, 'usecase' => 1, 'answers' => array(1 => (object) array('id' => 1, 'answer' => 'Frog', 'answerformat' => 0, 'fraction' => 1, 'feedback' => 'Good!', 'feedbackformat' => FORMAT_MOODLE, ), 2 => (object) array('id' => 2, 'answer' => 'Cat', 'answerformat' => 0, 'fraction' => 0.5, 'feedback' => "What is it with Moodlers and cats?", 'feedbackformat' => FORMAT_MOODLE, ), 3 => (object) array('id' => 3, 'answer' => '*', 'answerformat' => 0, 'fraction' => 0, 'feedback' => "Completely wrong", 'feedbackformat' => FORMAT_MOODLE, ), ), ), )
/question/format/gift/tests/giftformat_test.php:9671$qdata = (object) array('id' => 666, 'name' => 'Shortanswer', 'questiontext' => "Which is the best animal?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => 'Here is some general feedback!', 'generalfeedbackformat' => FORMAT_HTML, 'defaultmark' => 1, 'penalty' => 1, 'length' => 1, 'qtype' => 'shortanswer', 'options' => (object) array('id' => 123, 'questionid' => 666, 'usecase' => 1, 'answers' => array(1 => (object) array('id' => 1, 'answer' => 'Frog', 'answerformat' => 0, 'fraction' => 1, 'feedback' => 'Good!', 'feedbackformat' => FORMAT_MOODLE, ), 2 => (object) array('id' => 2, 'answer' => 'Cat', 'answerformat' => 0, 'fraction' => 0.5, 'feedback' => "What is it with Moodlers and cats?", 'feedbackformat' => FORMAT_MOODLE, ), 3 => (object) array('id' => 3, 'answer' => '*', 'answerformat' => 0, 'fraction' => 0, 'feedback' => "Completely wrong", 'feedbackformat' => FORMAT_MOODLE, ), ), ), )
/question/format/gift/tests/giftformat_test.php:8081$expectedq = (object) array('name' => 'Shortanswer', 'questiontext' => "Which is the best animal?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'shortanswer', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'answer' => array('Frog', 'Cat', '*', ), 'fraction' => array(1, 0.5, 0), 'feedback' => array(0 => array('text' => 'Good!', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "What is it with Moodlers and cats?", 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => "Completely wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), )
/question/format/gift/tests/giftformat_test.php:8641$expectedq = (object) array('name' => 'Shortanswer', 'questiontext' => "Which is the best animal?", 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => 'Here is some general feedback!', 'generalfeedbackformat' => FORMAT_HTML, 'qtype' => 'shortanswer', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'answer' => array('Frog', 'Cat', '*', ), 'fraction' => array(1, 0.5, 0), 'feedback' => array(0 => array('text' => 'Good!', 'format' => FORMAT_MOODLE, 'files' => array( ), ), 1 => array('text' => "What is it with Moodlers and cats?", 'format' => FORMAT_MOODLE, 'files' => array( ), ), 2 => array('text' => "Completely wrong", 'format' => FORMAT_MOODLE, 'files' => array( ), ), ), )
/question/behaviour/deferredcbm/behaviourtype.php:2361$expectedforaccuracy = max($accuracy * question_cbm::adjust_fraction(1, question_cbm::LOW) + (1 - $accuracy) * question_cbm::adjust_fraction(0, question_cbm::LOW), $accuracy * question_cbm::adjust_fraction(1, question_cbm::MED) + (1 - $accuracy) * question_cbm::adjust_fraction(0, question_cbm::MED), $accuracy * question_cbm::adjust_fraction(1, question_cbm::HIGH) + (1 - $accuracy) * question_cbm::adjust_fraction(0, question_cbm::HIGH))
/question/behaviour/rendererbase.php:1751$mark = html_writer::tag('div', html_writer::tag('div', html_writer::tag('label', get_string('mark', 'question'), array('for' => $markfield)), array('class' => 'fitemtitle')) . html_writer::tag('div', $error . get_string('xoutofmax', 'question', $a) . $markrange, array('class' => 'felement ftext' . $errorclass)), array('class' => 'fitem'))
/question/behaviour/rendererbase.php:1501$markrange = html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $qa->get_behaviour_field_name('maxmark'), 'value' => $maxmark, )) . html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $qa->get_control_field_name('minfraction'), 'value' => $qa->get_min_fraction( ), )) . html_writer::empty_tag('input', array('type' => 'hidden', 'name' => $qa->get_control_field_name('maxfraction'), 'value' => $qa->get_max_fraction( ), ))
/question/behaviour/rendererbase.php:1251$comment = html_writer::tag('div', html_writer::tag('div', html_writer::tag('label', get_string('comment', 'question'), array('for' => $id)), array('class' => 'fitemtitle')) . html_writer::tag('div', $commenteditor, array('class' => 'felement fhtmleditor', 'data-fieldtype' => "editor")), array('class' => 'fitem'))
/question/format/gift/tests/giftformat_test.php:13041$expectedq = (object) array('name' => 'Question name', 'questiontext' => 'How are you?', 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'essay', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( )), 'tags' => ['tag', 'other-tag'], 'idnumber' => 'myid', )
/question/format/gift/tests/giftformat_test.php:12651$expectedq = (object) array('name' => 'Q001', 'questiontext' => '<p>What would running the test method print?</p> <pre> public void test() { method1(); method2(); method3(); } </pre>', 'questiontextformat' => FORMAT_HTML, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_HTML, 'qtype' => 'essay', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( )), )
/question/format/gift/tests/giftformat_test.php:12271$expectedq = (object) array('name' => 'double backslash', 'questiontext' => 'A \\ B \\\\ C', 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'qtype' => 'essay', 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => array('text' => '', 'format' => FORMAT_HTML, 'files' => array( )), )
/question/format/gift/tests/giftformat_test.php:11841$qdata = (object) array('id' => 666, 'name' => 'backslash', 'questiontext' => 'A \\ B \\\\ C', 'questiontextformat' => FORMAT_MOODLE, 'generalfeedback' => '', 'generalfeedbackformat' => FORMAT_MOODLE, 'defaultmark' => 1, 'penalty' => 0.3333333, 'length' => 1, 'qtype' => 'essay', 'options' => (object) array('responseformat' => 'editor', 'responsefieldlines' => 15, 'attachments' => 0, 'graderinfo' => '', 'graderinfoformat' => FORMAT_HTML, ), )
/question/engine/datalib.php:12261return array("( SELECT {$alias}qa.id AS questionattemptid, {$alias}qa.questionusageid, {$alias}qa.slot, {$alias}qa.behaviour, {$alias}qa.questionid, {$alias}qa.variant, {$alias}qa.maxmark, {$alias}qa.minfraction, {$alias}qa.maxfraction, {$alias}qa.flagged, {$alias}qa.questionsummary, {$alias}qa.rightanswer, {$alias}qa.responsesummary, {$alias}qa.timemodified, {$alias}qas.id AS attemptstepid, {$alias}qas.sequencenumber, {$alias}qas.state, {$alias}qas.fraction, {$alias}qas.timecreated, {$alias}qas.userid FROM {$qubaids->from_question_attempts($alias . 'qa')} JOIN {question_attempt_steps} {$alias}qas ON {$alias}qas.questionattemptid = {$alias}qa.id AND {$alias}qas.sequencenumber = {$this->latest_step_for_qa_subquery($alias . 'qa.id')} WHERE {$qubaids->where( )} ) {$alias}", $qubaids->from_where_params( ))
/question/engine/datalib.php:8191return $this->db->get_records_sql(" SELECT qa.slot, AVG(COALESCE(qas.fraction, 0)) AS averagefraction, COUNT(1) AS numaveraged FROM {$qubaids->from_question_attempts('qa')} JOIN {question_attempt_steps} qas ON qas.questionattemptid = qa.id AND qas.sequencenumber = {$this->latest_step_for_qa_subquery( )} WHERE {$qubaids->where( )} $slotwhere AND qas.state $statetest GROUP BY qa.slot ORDER BY qa.slot ", $slotsparams + $stateparams + $qubaids->from_where_params( ))
/question/engine/datalib.php:8091list($statetest, $stateparams) = $this->db->get_in_or_equal(array((string) question_state::$gaveup, (string) question_state::$gradedwrong, (string) question_state::$gradedpartial, (string) question_state::$gradedright, (string) question_state::$mangaveup, (string) question_state::$mangrwrong, (string) question_state::$mangrpartial, (string) question_state::$mangrright), SQL_PARAMS_NAMED, 'st')
/question/engine/datalib.php:6381$rs = $this->db->get_recordset_sql(" SELECT qa.slot, qa.questionid, q.name, CASE qas.state {$this->full_states_to_summary_state_sql( )} END AS summarystate, COUNT(1) AS numattempts FROM {$qubaids->from_question_attempts('qa')} JOIN {question_attempt_steps} qas ON qas.questionattemptid = qa.id AND qas.sequencenumber = {$this->latest_step_for_qa_subquery( )} JOIN {question} q ON q.id = qa.questionid WHERE {$qubaids->where( )} $slotwhere GROUP BY qa.slot, qa.questionid, q.name, q.id, CASE qas.state {$this->full_states_to_summary_state_sql( )} END ORDER BY qa.slot, qa.questionid, q.name, q.id ", $params + $qubaids->from_where_params( ))
/question/engine/datalib.php:5991$records = $this->db->get_records_sql(" SELECT {$fields} FROM {$qubaids->from_question_attempts('qa')} JOIN {question_attempt_steps} qas ON qas.questionattemptid = qa.id AND qas.sequencenumber = {$this->latest_step_for_qa_subquery( )} WHERE {$qubaids->where( )} $slotwhere ", $params + $qubaids->from_where_params( ))
/question/behaviour/adaptive/behaviour.php:3321return array('max' => format_float($this->maxmark, $markdp), 'cur' => format_float($this->actualmark, $markdp), 'raw' => format_float($this->rawmark, $markdp), 'penalty' => format_float($this->currentpenalty, $markdp), 'totalpenalty' => format_float($this->totalpenalty, $markdp), )
/question/behaviour/adaptive/renderer.php:701return html_writer::tag('div', get_string($class, 'question'), array('class' => 'correctness badge ' . $class)) . html_writer::tag('div', $this->grading_details($details, $options), array('class' => 'gradingdetails'))
/question/behaviour/missing/tests/missingbehaviour_test.php:741$records = new question_test_recordset(array(array('questionattemptid', 'contextid', 'questionusageid', 'slot', 'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged', 'questionsummary', 'rightanswer', 'responsesummary', 'timemodified', 'attemptstepid', 'sequencenumber', 'state', 'fraction', 'timecreated', 'userid', 'name', 'value'), array(1, 123, 1, 1, 'strangeunknown', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 1, 0, 'todo', null, 1256233700, 1, '_order', '1,2,3'), array(1, 123, 1, 1, 'strangeunknown', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'complete', 0.50, 1256233705, 1, '-submit', '1'), array(1, 123, 1, 1, 'strangeunknown', -1, 1, 2.0000000, 0.0000000, 1.0000000, 0, '', '', '', 1256233790, 2, 1, 'complete', 0.50, 1256233705, 1, 'choice0', '1'), ))
/cohort/tests/externallib_test.php:3341$cohort1 = array('id' => $cohort1->id, 'categorytype' => array('type' => 'id', 'value' => '1'), 'name' => 'cohortnametest1', 'idnumber' => 'idnumbertest1', 'description' => 'This is a description for cohort 1', 'theme' => 'classic', 'customfields' => array(array('shortname' => 'testfield1', 'value' => 'Test value 1', ), array('shortname' => 'testfield2', 'value' => 'Test value 2', ), ), )
/cohort/tests/reportbuilder/datasource/cohorts_test.php:1491return ['Filter cohort' => ['cohort:cohortselect', ['cohort:cohortselect_values' => [-1], ], false], 'Filter context' => ['cohort:context', ['cohort:context_operator' => select::EQUAL_TO, 'cohort:context_value' => context_system::instance( )->id, ], true], 'Filter content (no match)' => ['cohort:context', ['cohort:context_operator' => select::EQUAL_TO, 'cohort:context_value' => -1, ], false], 'Filter name' => ['cohort:name', ['cohort:name_operator' => text::IS_EQUAL_TO, 'cohort:name_value' => 'Legends', ], true], 'Filter name (no match)' => ['cohort:name', ['cohort:name_operator' => text::IS_EQUAL_TO, 'cohort:name_value' => 'Dancing', ], false], 'Filter idnumber' => ['cohort:idnumber', ['cohort:idnumber_operator' => text::IS_EQUAL_TO, 'cohort:idnumber_value' => 'C101', ], true], 'Filter idnumber (no match)' => ['cohort:idnumber', ['cohort:idnumber_operator' => text::IS_EQUAL_TO, 'cohort:idnumber_value' => 'C102', ], false], 'Filter time created' => ['cohort:timecreated', ['cohort:timecreated_operator' => date::DATE_RANGE, 'cohort:timecreated_from' => 1622502000, ], true], 'Filter time created (no match)' => ['cohort:timecreated', ['cohort:timecreated_operator' => date::DATE_RANGE, 'cohort:timecreated_to' => 1622502000, ], false], 'Filter description' => ['cohort:description', ['cohort:description_operator' => text::CONTAINS, 'cohort:description_value' => 'legends', ], true], 'Filter description (no match)' => ['cohort:description', ['cohort:description_operator' => text::IS_EMPTY, ], false], 'Filter theme' => ['cohort:theme', ['cohort:theme_operator' => select::EQUAL_TO, 'cohort:theme_value' => 'boost', ], true], 'Filter theme (no match)' => ['cohort:theme', ['cohort:theme_operator' => select::EQUAL_TO, 'cohort:theme_value' => 'classic', ], false], 'Filter visible' => ['cohort:visible', ['cohort:visible_operator' => boolean_select::CHECKED, ], true], 'Filter visible (no match)' => ['cohort:visible', ['cohort:visible_operator' => boolean_select::NOT_CHECKED, ], false], 'Filter time added' => ['cohort_member:timeadded', ['cohort_member:timeadded_operator' => date::DATE_RANGE, 'cohort_member:timeadded_from' => 1622502000, ], true], 'Filter time added (no match)' => ['cohort_member:timeadded', ['cohort_member:timeadded_operator' => date::DATE_RANGE, 'cohort_member:timeadded_to' => 1622502000, ], false], 'Filter user' => ['user:username', ['user:username_operator' => text::IS_EQUAL_TO, 'user:username_value' => 'lionel', ], true], 'Filter user (no match)' => ['user:username', ['user:username_operator' => text::IS_EQUAL_TO, 'user:username_value' => 'rick', ], false], ]
/notes/lib.php:1291$event = \core\event\note_created::create(array('objectid' => $note->id, 'courseid' => $note->courseid, 'relateduserid' => $note->userid, 'userid' => $note->usermodified, 'context' => context_course::instance($note->courseid), 'other' => array('publishstate' => $note->publishstate)))
/notes/lib.php:1441$event = \core\event\note_updated::create(array('objectid' => $note->id, 'courseid' => $note->courseid, 'relateduserid' => $note->userid, 'userid' => $note->usermodified, 'context' => context_course::instance($note->courseid), 'other' => array('publishstate' => $note->publishstate)))
/notes/lib.php:1761$event = \core\event\note_deleted::create(array('objectid' => $note->id, 'courseid' => $note->courseid, 'relateduserid' => $note->userid, 'userid' => $note->usermodified, 'context' => context_course::instance($note->courseid), 'other' => array('publishstate' => $note->publishstate)))
/notes/externallib.php:571return new external_function_parameters(array('notes' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'id of the user the note is about'), 'publishstate' => new external_value(PARAM_ALPHA, '\'personal\', \'course\' or \'site\''), 'courseid' => new external_value(PARAM_INT, 'course id of the note (in Moodle a note can only be created into a course, even for site and personal notes)'), 'text' => new external_value(PARAM_RAW, 'the text of the message - text or HTML'), 'format' => new external_format_value('text', VALUE_DEFAULT), 'clientnoteid' => new external_value(PARAM_ALPHANUMEXT, 'your own client id for the note. If this id is provided, the fail message id will be returned to you', VALUE_OPTIONAL), )))))
/notes/externallib.php:3431return new external_single_structure(array('notes' => new external_multiple_structure(new external_single_structure(array('noteid' => new external_value(PARAM_INT, 'id of the note', VALUE_OPTIONAL), 'userid' => new external_value(PARAM_INT, 'id of the user the note is about', VALUE_OPTIONAL), 'publishstate' => new external_value(PARAM_ALPHA, '\'personal\', \'course\' or \'site\'', VALUE_OPTIONAL), 'courseid' => new external_value(PARAM_INT, 'course id of the note', VALUE_OPTIONAL), 'text' => new external_value(PARAM_RAW, 'the text of the message - text or HTML', VALUE_OPTIONAL), 'format' => new external_format_value('text', VALUE_OPTIONAL), ), 'note')), 'warnings' => new external_warnings('item is always \'note\'', 'When errorcode is savedfailed the note could not be modified.' . 'When errorcode is badparam, an incorrect parameter was provided.' . 'When errorcode is badid, the note does not exist', 'errorcode can be badparam (incorrect parameter), savedfailed (could not be modified), or badid (note does not exist)')))
/notes/externallib.php:3731return new external_function_parameters(array('notes' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'id of the note'), 'publishstate' => new external_value(PARAM_ALPHA, '\'personal\', \'course\' or \'site\''), 'text' => new external_value(PARAM_RAW, 'the text of the message - text or HTML'), 'format' => new external_format_value('text', VALUE_DEFAULT), )), "Array of Notes", VALUE_DEFAULT, array( ))))
/notes/externallib.php:6041return array('id' => new external_value(PARAM_INT, 'id of this note'), 'courseid' => new external_value(PARAM_INT, 'id of the course'), 'userid' => new external_value(PARAM_INT, 'user id'), 'content' => new external_value(PARAM_RAW, 'the content text formated'), 'format' => new external_format_value('content'), 'created' => new external_value(PARAM_INT, 'time created (timestamp)'), 'lastmodified' => new external_value(PARAM_INT, 'time of last modification (timestamp)'), 'usermodified' => new external_value(PARAM_INT, 'user id of the creator of this note'), 'publishstate' => new external_value(PARAM_ALPHA, "state of the note (i.e. draft, public, site) "))
/notes/externallib.php:6241return new external_single_structure(array('sitenotes' => new external_multiple_structure(new external_single_structure(self::get_note_structure( ), ''), 'site notes', VALUE_OPTIONAL), 'coursenotes' => new external_multiple_structure(new external_single_structure(self::get_note_structure( ), ''), 'couse notes', VALUE_OPTIONAL), 'personalnotes' => new external_multiple_structure(new external_single_structure(self::get_note_structure( ), ''), 'personal notes', VALUE_OPTIONAL), 'canmanagesystemnotes' => new external_value(PARAM_BOOL, 'Whether the user can manage notes at system level.', VALUE_OPTIONAL), 'canmanagecoursenotes' => new external_value(PARAM_BOOL, 'Whether the user can manage notes at the given course.', VALUE_OPTIONAL), 'warnings' => new external_warnings( )), 'notes')
/notes/classes/privacy/provider.php:2171$notecontent = (object) ['content' => $note->content, 'publishstate' => $note->publishstate, 'userid' => transform::user($note->userid), 'usermodified' => transform::user($note->usermodified), 'datecreated' => transform::datetime($note->datecreated), 'datemodified' => transform::datetime($note->datemodified)]
/notes/classes/reportbuilder/local/entities/note.php:991$columns[] = (new column('content', new lang_string('content', 'core_notes'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($contentfieldsql, 'content')->add_field("{$postalias}.format")->add_callback(static function (?string $content, stdClass $note) : string { /**/ } )
/notes/classes/reportbuilder/local/entities/note.php:1161$columns[] = (new column('publishstate', new lang_string('publishstate', 'core_notes'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$postalias}.publishstate")->set_is_sortable(true)->add_callback(static function (string $publishstate) : string { /**/ } )
/notes/classes/reportbuilder/local/entities/note.php:1362$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$postalias}.created")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/notes/classes/reportbuilder/local/entities/note.php:1482$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$postalias}.lastmodified")->set_is_sortable(true)->add_callback([format::class, 'userdate'])
/notes/classes/reportbuilder/local/entities/note.php:1731$filters[] = (new filter(text::class, 'content', new lang_string('content', 'core_notes'), $this->get_entity_name( ), $DB->sql_cast_to_char("{$postalias}.content")))->add_joins($this->get_joins( ))
/notes/classes/reportbuilder/local/entities/note.php:1982$filters[] = (new filter(date::class, 'timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( ), "{$postalias}.created"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/notes/classes/reportbuilder/local/entities/note.php:1831$filters[] = (new filter(select::class, 'publishstate', new lang_string('publishstate', 'core_notes'), $this->get_entity_name( ), "{$postalias}.publishstate"))->add_joins($this->get_joins( ))->set_options([NOTES_STATE_SITE => new lang_string('sitenotes', 'core_notes'), NOTES_STATE_PUBLIC => new lang_string('coursenotes', 'core_notes'), NOTES_STATE_DRAFT => new lang_string('personalnotes', 'core_notes'), ])
/theme/boost/classes/output/core_renderer.php:1192$userbuttons = array('messages' => array('buttontype' => 'message', 'title' => get_string('message', 'message'), 'url' => new moodle_url('/message/index.php', array('id' => $user->id)), 'image' => 'message', 'linkattributes' => \core_message\helper::messageuser_link_params($user->id), 'page' => $this->page))
/notes/classes/reportbuilder/local/entities/note.php:2142$filters[] = (new filter(date::class, 'timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( ), "{$postalias}.lastmodified"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_CURRENT, date::DATE_LAST, date::DATE_RANGE, ])
/theme/boost/layout/drawers.php:851$templatecontext = ['sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'sidepreblocks' => $blockshtml, 'hasblocks' => $hasblocks, 'bodyattributes' => $bodyattributes, 'courseindexopen' => $courseindexopen, 'blockdraweropen' => $blockdraweropen, 'courseindex' => $courseindex, 'primarymoremenu' => $primarymenu['moremenu'], 'secondarymoremenu' => $secondarynavigation ?: false, 'mobileprimarynav' => $primarymenu['mobileprimarynav'], 'usermenu' => $primarymenu['user'], 'langmenu' => $primarymenu['lang'], 'forceblockdraweropen' => $forceblockdraweropen, 'regionmainsettingsmenu' => $regionmainsettingsmenu, 'hasregionmainsettingsmenu' => !empty($regionmainsettingsmenu), 'overflow' => $overflow, 'headercontent' => $headercontent, 'addblockbutton' => $addblockbutton]
/theme/boost/classes/output/core_renderer.php:1352$userbuttons['togglecontact'] = array('buttontype' => 'togglecontact', 'title' => get_string($contacttitle, 'message'), 'url' => new moodle_url('/message/index.php', array('user1' => $USER->id, 'user2' => $user->id, $contacturlaction => $user->id, 'sesskey' => sesskey( ))), 'image' => $contactimage, 'linkattributes' => \core_message\helper::togglecontact_link_params($user, $iscontact), 'page' => $this->page)
/theme/boost/layout/columns2.php:591$templatecontext = ['sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'sidepreblocks' => $blockshtml, 'hasblocks' => $hasblocks, 'bodyattributes' => $bodyattributes, 'primarymoremenu' => $primarymenu['moremenu'], 'secondarymoremenu' => $secondarynavigation ?: false, 'mobileprimarynav' => $primarymenu['mobileprimarynav'], 'usermenu' => $primarymenu['user'], 'langmenu' => $primarymenu['lang'], 'regionmainsettingsmenu' => $regionmainsettingsmenu, 'hasregionmainsettingsmenu' => !empty($regionmainsettingsmenu), 'headercontent' => $headercontent, 'overflow' => $overflow, 'addblockbutton' => $addblockbutton, ]
/theme/boost/layout/secure.php:311$templatecontext = ['sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'bodyattributes' => $bodyattributes, 'sidepreblocks' => $blockshtml, 'hasblocks' => $hasblocks]
/theme/boost/tests/boostnavbar_test.php:4131return ['Item with identical action url and text exists in the primary navigation menu.' => ['primary', [['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ], ['Node 1' => new \moodle_url('/page1.php'), 'Node 2' => new \moodle_url('/page2.php'), 'Node 3' => new \moodle_url('/page1.php'), ], ['Node 2', 'Node 3']], 'Item with identical action url and text exists in the secondary navigation menu.' => ['secondary', [['text' => 'Node 2', 'action' => new \moodle_url('/page2.php')], ], ['Node 1' => new \moodle_url('/page1.php'), 'Node 2' => new \moodle_url('/page2.php'), 'Node 3' => new \moodle_url('/page1.php'), ], ['Home', 'Node 1', 'Node 3']], 'Multiple items with identical action url and text exist in the secondary navigation menu.' => ['secondary', [['text' => 'Node 2', 'action' => new \moodle_url('/page2.php')], ['text' => 'Node 3', 'action' => new \moodle_url('/page3.php')], ], ['Node 1' => new \moodle_url('/page1.php'), 'Node 2' => "{$CFG->wwwroot}/page2.php", 'Node 3' => new \action_link(new \moodle_url('/page3.php'), 'Action link'), ], ['Home', 'Node 1']], 'No items with identical action url and text in the secondary navigation menu.' => ['secondary', [['text' => 'Node 4', 'action' => new \moodle_url('/page4.php')], ], ['Node 1' => new \moodle_url('/page1.php'), 'Node 2' => new \moodle_url('/page2.php'), 'Node 3' => new \moodle_url('/page1.php'), ], ['Home', 'Node 1', 'Node 2', 'Node 3']], ]
/theme/boost/tests/boostnavbar_test.php:2351return ['Breadcrumb items with identical text and action url (actions of same type moodle_url).' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ], ['Home', 'Node 1', 'Node 4', 'Node 2']], 'Breadcrumb items with identical text and action url (actions of different type moodle_url/text).' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ['text' => 'Node 2', 'action' => "{$CFG->wwwroot}/page2.php?id=1"], ], ['Home', 'Node 1', 'Node 4', 'Node 2']], 'Breadcrumb items with identical text and action url (actions of different type moodle_url/action_link).' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ['text' => 'Node 2', 'action' => new \action_link(new \moodle_url('/page2.php', ['id' => 1]), 'Action link')], ], ['Home', 'Node 1', 'Node 4', 'Node 2']], 'Breadcrumbs items with identical text but not identical action url.' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 2])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ], ['Home', 'Node 1', 'Node 2', 'Node 2', 'Node 4']], 'Breadcrumb items with identical action url but not identical text.' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 3', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ], ['Home', 'Node 1', 'Node 2', 'Node 3', 'Node 4']], 'Breadcrumb items without any identical action url or text.' => [[['text' => 'Node 1', 'action' => new \moodle_url('/page1.php')], ['text' => 'Node 2', 'action' => new \moodle_url('/page2.php', ['id' => 1])], ['text' => 'Node 3', 'action' => new \moodle_url('/page3.php', ['id' => 1])], ['text' => 'Node 4', 'action' => new \moodle_url('/page4.php', ['id' => 1])], ], ['Home', 'Node 1', 'Node 2', 'Node 3', 'Node 4']], ]
/theme/classic/layout/columns.php:381$templatecontext = ['sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'sidepreblocks' => $blockspre, 'sidepostblocks' => $blockspost, 'haspreblocks' => $hassidepre, 'haspostblocks' => $hassidepost, 'bodyattributes' => $bodyattributes, 'headercontent' => $headercontent, ]
/theme/classic/layout/secure.php:351$templatecontext = ['sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'sidepreblocks' => $blockspre, 'sidepostblocks' => $blockspost, 'haspreblocks' => $hassidepre, 'haspostblocks' => $hassidepost, 'bodyattributes' => $bodyattributes]
/lib/googleapi.php:1301$files[] = array('title' => $title, 'url' => "{$gdoc->link[0]->attributes( )->href}", 'source' => $source, 'date' => strtotime($gdoc->updated), 'thumbnail' => (string) $OUTPUT->image_url(file_extension_icon($title)))
/theme/classic/tests/behat/behat_theme_classic_behat_navigation.php:971$xpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' content ')]" . "/ul[contains(concat(' ', normalize-space(@class), ' '), ' block_tree ')]" . "/li[contains(concat(' ', normalize-space(@class), ' '), ' contains_branch ')]" . "/ul/li[contains(concat(' ', normalize-space(@class), ' '), ' contains_branch ')]" . "[p[contains(concat(' ', normalize-space(@class), ' '), ' branch ')]" . "[span[normalize-space(.)={$nodetextliteral}] or a[normalize-space(.)={$nodetextliteral}]]]" . "|" . "//div[contains(concat(' ', normalize-space(@class), ' '), ' content ')]/div" . "/ul[contains(concat(' ', normalize-space(@class), ' '), ' block_tree ')]" . "/li[contains(concat(' ', normalize-space(@class), ' '), ' contains_branch ')]" . "/ul/li[contains(concat(' ', normalize-space(@class), ' '), ' contains_branch ')]" . "[p[contains(concat(' ', normalize-space(@class), ' '), ' branch ')]" . "/span[normalize-space(.)={$nodetextliteral}]]" . "|" . "//div[contains(concat(' ', normalize-space(@class), ' '), ' content ')]/div" . "/ul[contains(concat(' ', normalize-space(@class), ' '), ' block_tree ')]" . "/li[p[contains(concat(' ', normalize-space(@class), ' '), ' branch ')]" . "/span[normalize-space(.)={$nodetextliteral}]]" . "|" . "//div[contains(concat(' ', normalize-space(@class), ' '), ' content ')]/div" . "/ul[contains(concat(' ', normalize-space(@class), ' '), ' block_tree ')]" . "/li[p[contains(concat(' ', normalize-space(@class), ' '), ' branch ')]" . "/a[normalize-space(.)={$nodetextliteral}]]"
/lib/accesslib.php:13641$event = \core\event\role_deleted::create(array('context' => context_system::instance( ), 'objectid' => $roleid, 'other' => array('shortname' => $role->shortname, 'description' => $role->description, 'archetype' => $role->archetype)))
/lib/accesslib.php:13201$event = \core\event\role_created::create(['objectid' => $role->id, 'context' => context_system::instance( ), 'other' => ['name' => $role->name, 'shortname' => $role->shortname, 'archetype' => $role->archetype, ]])
/webservice/externallib.php:771$siteinfo = array('sitename' => \core_external\util::format_string($SITE->fullname, $systemcontext), 'siteurl' => $CFG->wwwroot, 'username' => $USER->username, 'firstname' => $USER->firstname, 'lastname' => $USER->lastname, 'fullname' => fullname($USER), 'lang' => clean_param(current_language( ), PARAM_LANG), 'userid' => $USER->id, 'userpictureurl' => $profileimageurl->out(false), 'siteid' => SITEID)
/webservice/externallib.php:2311return new external_single_structure(array('sitename' => new external_value(PARAM_RAW, 'site name'), 'username' => new external_value(PARAM_RAW, 'username'), 'firstname' => new external_value(PARAM_TEXT, 'first name'), 'lastname' => new external_value(PARAM_TEXT, 'last name'), 'fullname' => new external_value(PARAM_TEXT, 'user full name'), 'lang' => new external_value(PARAM_LANG, 'Current language.'), 'userid' => new external_value(PARAM_INT, 'user id'), 'siteurl' => new external_value(PARAM_RAW, 'site url'), 'userpictureurl' => new external_value(PARAM_URL, 'the user profile picture. Warning: this url is the public URL that only works when forcelogin is set to NO and guestaccess is set to YES. In order to retrieve user profile pictures independently of the Moodle config, replace "pluginfile.php" by "webservice/pluginfile.php?token=WSTOKEN&file=" Of course the user can only see profile picture depending on his/her permissions. Moreover it is recommended to use HTTPS too.'), 'functions' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'function name'), 'version' => new external_value(PARAM_TEXT, 'The version number of the component to which the function belongs')), 'functions that are available')), 'downloadfiles' => new external_value(PARAM_INT, '1 if users are allowed to download files, 0 if not', VALUE_OPTIONAL), 'uploadfiles' => new external_value(PARAM_INT, '1 if users are allowed to upload files, 0 if not', VALUE_OPTIONAL), 'release' => new external_value(PARAM_TEXT, 'Moodle release number', VALUE_OPTIONAL), 'version' => new external_value(PARAM_TEXT, 'Moodle version number', VALUE_OPTIONAL), 'mobilecssurl' => new external_value(PARAM_URL, 'Mobile custom CSS theme', VALUE_OPTIONAL), 'advancedfeatures' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'feature name'), 'value' => new external_value(PARAM_INT, 'feature value. Usually 1 means enabled.')), 'Advanced features availability'), 'Advanced features availability', VALUE_OPTIONAL), 'usercanmanageownfiles' => new external_value(PARAM_BOOL, 'true if the user can manage his own files', VALUE_OPTIONAL), 'userquota' => new external_value(PARAM_INT, 'user quota (bytes). 0 means user can ignore the quota', VALUE_OPTIONAL), 'usermaxuploadfilesize' => new external_value(PARAM_INT, 'user max upload file size (bytes). -1 means the user can ignore the upload file size', VALUE_OPTIONAL), 'userhomepage' => new external_value(PARAM_INT, 'the default home page for the user: 0 for the site home, 1 for dashboard', VALUE_OPTIONAL), 'userprivateaccesskey' => new external_value(PARAM_ALPHANUM, 'Private user access key for fetching files.', VALUE_OPTIONAL), 'siteid' => new external_value(PARAM_INT, 'Site course ID', VALUE_OPTIONAL), 'sitecalendartype' => new external_value(PARAM_PLUGIN, 'Calendar type set in the site.', VALUE_OPTIONAL), 'usercalendartype' => new external_value(PARAM_PLUGIN, 'Calendar typed used by the user.', VALUE_OPTIONAL), 'userissiteadmin' => new external_value(PARAM_BOOL, 'Whether the user is a site admin or not.', VALUE_OPTIONAL), 'theme' => new external_value(PARAM_THEME, 'Current theme for the user.', VALUE_OPTIONAL), 'limitconcurrentlogins' => new external_value(PARAM_INT, 'Number of concurrent sessions allowed', VALUE_OPTIONAL), 'usersessionscount' => new external_value(PARAM_INT, 'Number of active sessions for current user. Only returned when limitconcurrentlogins is used.', VALUE_OPTIONAL), 'policyagreed' => new external_value(PARAM_INT, 'Whether user accepted all the policies.', VALUE_OPTIONAL), ))
/search/engine/simpledb/classes/privacy/provider.php:1441$document = (object) ['title' => format_string($record->title, true, ['context' => $context]), 'content' => format_text($record->content, $textformat, ['context' => $context]), 'description1' => format_text($record->description1, $textformat, ['context' => $context]), 'description2' => format_text($record->description2, $textformat, ['context' => $context]), 'context' => $context->get_context_name(true, true), 'modified' => transform::datetime($record->modified), ]
/webservice/upload.php:1671$logevent = \core\event\draft_file_added::create(['objectid' => $storedfile->get_id( ), 'context' => $context, 'other' => ['itemid' => $filerecord->itemid, 'filename' => $filerecord->filename, 'filesize' => $filerecord->filesize, 'filepath' => $filerecord->filepath, 'contenthash' => $storedfile->get_contenthash( ), ], ])
/webservice/tests/event/events_test.php:1963$service = (object) array('name' => 'Test', 'enabled' => 1, 'requiredcapability' => '', 'restrictedusers' => 0, 'component' => null, 'timecreated' => time( ), 'timemodified' => time( ), 'shortname' => null, 'downloadfiles' => 0, 'uploadfiles' => 0)
/webservice/rest/tests/server_test.php:731$data[] = [new external_single_structure(['one' => new external_value(PARAM_INT), 'two' => new external_value(PARAM_INT), 'three' => new external_value(PARAM_INT), ]), ['one' => 1, 'two' => 2, 'three' => 3], "<SINGLE>\n" . "<KEY name=\"one\"><VALUE>1</VALUE>\n</KEY>\n" . "<KEY name=\"two\"><VALUE>2</VALUE>\n</KEY>\n" . "<KEY name=\"three\"><VALUE>3</VALUE>\n</KEY>\n" . "</SINGLE>\n"]
/webservice/tests/event/events_test.php:1123$service = (object) array('name' => 'Test', 'enabled' => 1, 'requiredcapability' => '', 'restrictedusers' => 0, 'component' => null, 'timecreated' => time( ), 'timemodified' => time( ), 'shortname' => null, 'downloadfiles' => 0, 'uploadfiles' => 0)
/webservice/tests/event/events_test.php:1543$service = (object) array('name' => 'Test', 'enabled' => 1, 'requiredcapability' => '', 'restrictedusers' => 0, 'component' => null, 'timecreated' => time( ), 'timemodified' => time( ), 'shortname' => null, 'downloadfiles' => 0, 'uploadfiles' => 0)
/webservice/rest/tests/server_test.php:1121$data[] = [new external_single_structure(['one' => new external_multiple_structure(new external_value(PARAM_INT)), 'two' => new external_multiple_structure(new external_single_structure(['firstname' => new external_value(PARAM_RAW), 'lastname' => new external_value(PARAM_RAW), ])), 'three' => new external_single_structure(['firstname' => new external_value(PARAM_RAW), 'lastname' => new external_value(PARAM_RAW), ]), ]), ['one' => [2, 3, 4], 'two' => [['firstname' => 'Louis', 'lastname' => 'Armstrong'], ['firstname' => 'Neil', 'lastname' => 'Armstrong'], ], 'three' => ['firstname' => 'Neil', 'lastname' => 'Armstrong'], ], "<SINGLE>\n" . "<KEY name=\"one\"><MULTIPLE>\n" . "<VALUE>2</VALUE>\n" . "<VALUE>3</VALUE>\n" . "<VALUE>4</VALUE>\n" . "</MULTIPLE>\n</KEY>\n" . "<KEY name=\"two\"><MULTIPLE>\n" . "<SINGLE>\n" . "<KEY name=\"firstname\"><VALUE>Louis</VALUE>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE>Armstrong</VALUE>\n</KEY>\n" . "</SINGLE>\n" . "<SINGLE>\n" . "<KEY name=\"firstname\"><VALUE>Neil</VALUE>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE>Armstrong</VALUE>\n</KEY>\n" . "</SINGLE>\n" . "</MULTIPLE>\n</KEY>\n" . "<KEY name=\"three\"><SINGLE>\n" . "<KEY name=\"firstname\"><VALUE>Neil</VALUE>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE>Armstrong</VALUE>\n</KEY>\n" . "</SINGLE>\n</KEY>\n" . "</SINGLE>\n"]
/webservice/rest/tests/server_test.php:1581$data[] = [new external_single_structure(['one' => new external_multiple_structure(new external_value(PARAM_INT)), 'two' => new external_multiple_structure(new external_single_structure(['firstname' => new external_value(PARAM_RAW), 'lastname' => new external_value(PARAM_RAW), ])), 'three' => new external_single_structure(['firstname' => new external_value(PARAM_RAW), 'lastname' => new external_value(PARAM_RAW), ]), ]), ['two' => [['firstname' => 'Louis'], ['lastname' => 'Armstrong'], ], 'three' => ['lastname' => 'Armstrong'], ], "<SINGLE>\n" . "<KEY name=\"one\"><MULTIPLE>\n</MULTIPLE>\n</KEY>\n" . "<KEY name=\"two\"><MULTIPLE>\n" . "<SINGLE>\n" . "<KEY name=\"firstname\"><VALUE>Louis</VALUE>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE null=\"null\"/>\n</KEY>\n" . "</SINGLE>\n" . "<SINGLE>\n" . "<KEY name=\"firstname\"><VALUE null=\"null\"/>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE>Armstrong</VALUE>\n</KEY>\n" . "</SINGLE>\n" . "</MULTIPLE>\n</KEY>\n" . "<KEY name=\"three\"><SINGLE>\n" . "<KEY name=\"firstname\"><VALUE null=\"null\"/>\n</KEY>\n" . "<KEY name=\"lastname\"><VALUE>Armstrong</VALUE>\n</KEY>\n" . "</SINGLE>\n</KEY>\n" . "</SINGLE>\n"]
/webservice/rest/tests/server_test.php:861$data[] = [new external_single_structure(['one' => new external_value(PARAM_INT), 'two' => new external_value(PARAM_INT), 'three' => new external_value(PARAM_INT), ]), ['one' => 1, 'two' => null, 'three' => 3], "<SINGLE>\n" . "<KEY name=\"one\"><VALUE>1</VALUE>\n</KEY>\n" . "<KEY name=\"two\"><VALUE null=\"null\"/>\n</KEY>\n" . "<KEY name=\"three\"><VALUE>3</VALUE>\n</KEY>\n" . "</SINGLE>\n"]
/webservice/rest/tests/server_test.php:991$data[] = [new external_single_structure(['one' => new external_value(PARAM_INT), 'two' => new external_value(PARAM_INT), 'three' => new external_value(PARAM_INT), ]), ['two' => null, 'three' => 3], "<SINGLE>\n" . "<KEY name=\"one\"><VALUE null=\"null\"/>\n</KEY>\n" . "<KEY name=\"two\"><VALUE null=\"null\"/>\n</KEY>\n" . "<KEY name=\"three\"><VALUE>3</VALUE>\n</KEY>\n" . "</SINGLE>\n"]
/cohort/externallib.php:3101return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the cohort'), 'name' => new external_value(PARAM_RAW, 'cohort name'), 'idnumber' => new external_value(PARAM_RAW, 'cohort idnumber'), 'description' => new external_value(PARAM_RAW, 'cohort description'), 'descriptionformat' => new external_format_value('description'), 'visible' => new external_value(PARAM_BOOL, 'cohort visible'), 'theme' => new external_value(PARAM_THEME, 'cohort theme', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_returns_structure( ), )))
/cohort/externallib.php:4541return new external_single_structure(array('cohorts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the cohort'), 'name' => new external_value(PARAM_RAW, 'cohort name'), 'idnumber' => new external_value(PARAM_RAW, 'cohort idnumber'), 'description' => new external_value(PARAM_RAW, 'cohort description'), 'descriptionformat' => new external_format_value('description'), 'visible' => new external_value(PARAM_BOOL, 'cohort visible'), 'theme' => new external_value(PARAM_THEME, 'cohort theme', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_returns_structure( ), )))))
/cohort/externallib.php:471return new external_function_parameters(array('cohorts' => new external_multiple_structure(new external_single_structure(array('categorytype' => new external_single_structure(array('type' => new external_value(PARAM_TEXT, 'the name of the field: id (numeric value of course category id) or idnumber (alphanumeric value of idnumber course category) or system (value ignored)'), 'value' => new external_value(PARAM_RAW, 'the value of the categorytype'))), 'name' => new external_value(PARAM_RAW, 'cohort name'), 'idnumber' => new external_value(PARAM_RAW, 'cohort idnumber'), 'description' => new external_value(PARAM_RAW, 'cohort description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'visible' => new external_value(PARAM_BOOL, 'cohort visible', VALUE_OPTIONAL, true), 'theme' => new external_value(PARAM_THEME, 'the cohort theme. The allowcohortthemes setting must be enabled on Moodle', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_parameters_structure( ), )))))
/cohort/externallib.php:1651return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'cohort id'), 'name' => new external_value(PARAM_RAW, 'cohort name'), 'idnumber' => new external_value(PARAM_RAW, 'cohort idnumber'), 'description' => new external_value(PARAM_RAW, 'cohort description'), 'descriptionformat' => new external_format_value('description'), 'visible' => new external_value(PARAM_BOOL, 'cohort visible'), 'theme' => new external_value(PARAM_THEME, 'cohort theme', VALUE_OPTIONAL), )))
/cohort/externallib.php:9191$result[$cohortid][] = ['type' => $fieldcontroller->get_field( )->get('type'), 'value' => $fieldcontroller->export_value( ), 'valueraw' => $fieldcontroller->get_value( ), 'name' => $fieldcontroller->get_field( )->get('name'), 'shortname' => $fieldcontroller->get_field( )->get('shortname'), ]
/cohort/externallib.php:8911return new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field - to be able to build the field class in the code'), 'type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field - text field, checkbox...'), 'valueraw' => new external_value(PARAM_RAW, 'The raw value of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), )), 'Custom fields', VALUE_OPTIONAL)
/cohort/externallib.php:6091return new external_function_parameters(array('members' => new external_multiple_structure(new external_single_structure(array('cohorttype' => new external_single_structure(array('type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the field: id (numeric value of cohortid) or idnumber (alphanumeric value of idnumber) '), 'value' => new external_value(PARAM_RAW, 'The value of the cohort'))), 'usertype' => new external_single_structure(array('type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the field: id (numeric value of id) or username (alphanumeric value of username) '), 'value' => new external_value(PARAM_RAW, 'The value of the cohort'))))))))
/cohort/externallib.php:4791return new external_function_parameters(array('cohorts' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the cohort'), 'categorytype' => new external_single_structure(array('type' => new external_value(PARAM_TEXT, 'the name of the field: id (numeric value of course category id) or idnumber (alphanumeric value of idnumber course category) or system (value ignored)'), 'value' => new external_value(PARAM_RAW, 'the value of the categorytype'))), 'name' => new external_value(PARAM_RAW, 'cohort name'), 'idnumber' => new external_value(PARAM_RAW, 'cohort idnumber'), 'description' => new external_value(PARAM_RAW, 'cohort description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'visible' => new external_value(PARAM_BOOL, 'cohort visible', VALUE_OPTIONAL), 'theme' => new external_value(PARAM_THEME, 'the cohort theme. The allowcohortthemes setting must be enabled on Moodle', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_parameters_structure( ), )))))
/cohort/classes/reportbuilder/local/entities/cohort.php:1571$columns[] = (new column('description', new lang_string('description'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join($this->get_context_join( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_fields("{$tablealias}.descriptionformat, {$tablealias}.id, {$tablealias}.contextid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->add_callback(static function (?string $description, stdClass $cohort) : string { /**/ } )
/cohort/classes/reportbuilder/local/entities/cohort.php:1421$columns[] = (new column('idnumber', new lang_string('idnumber', 'core_cohort'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.idnumber")->set_is_sortable(true)
/cohort/classes/reportbuilder/local/entities/cohort.php:1311$columns[] = (new column('name', new lang_string('name', 'core_cohort'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.name")->set_is_sortable(true)
/cohort/classes/reportbuilder/local/entities/cohort.php:1111$columns[] = (new column('context', new lang_string('category'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_join($this->get_context_join( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.contextid, " . context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->add_callback(static function ($contextid, stdClass $cohort) : string { /**/ } )
/cohort/classes/reportbuilder/local/entities/cohort.php:2221$columns[] = (new column('component', new lang_string('component', 'core_cohort'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.component")->set_is_sortable(true)->add_callback(static function (?string $component) : string { /**/ } )
/cohort/classes/reportbuilder/local/entities/cohort.php:2101$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$tablealias}.timemodified")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/cohort/classes/reportbuilder/local/entities/cohort.php:1981$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$tablealias}.timecreated")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/cohort/classes/reportbuilder/local/entities/cohort.php:1861$columns[] = (new column('visible', new lang_string('visible', 'core_cohort'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$tablealias}.visible")->set_is_sortable(true)->set_callback([format::class, 'boolean_as_text'])
/cohort/tests/externallib_test.php:1121$cohort5 = array('categorytype' => array('type' => 'id', 'value' => $category->id), 'name' => 'cohort test 5 (with custom fields)', 'idnumber' => 'cohorttest5', 'description' => 'This is a description for cohorttest5', 'customfields' => array(array('shortname' => 'testfield1', 'value' => 'Test value 1', ), array('shortname' => 'testfield2', 'value' => 'Test value 2', ), ), )
/cohort/classes/reportbuilder/local/entities/cohort_member.php:881$columns[] = (new column('timeadded', new lang_string('timeadded', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$tablealias}.timeadded")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/cohort/classes/reportbuilder/local/entities/cohort.php:3411$filters[] = (new filter(text::class, 'description', new lang_string('description'), $this->get_entity_name( ), $DB->sql_cast_to_char("{$tablealias}.description")))->add_joins($this->get_joins( ))
/cohort/classes/reportbuilder/local/entities/cohort.php:2422$columns[] = (new column('theme', new lang_string('theme'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.theme")->set_is_sortable(true)->add_callback(static function (?string $theme) : string { /**/ } )
/lib/adminlib.php:82391$context = (object) ['manageurl' => new moodle_url($this->get_manage_url( ), ['type' => $this->get_plugin_type( ), 'sesskey' => sesskey( ), ]), 'infocolumnname' => $this->get_info_column_name( ), 'plugins' => [ ], ]
/lib/adminlib.php:47301$this->choices = array(FRONTPAGENEWS => get_string('frontpagenews'), FRONTPAGEALLCOURSELIST => get_string('frontpagecourselist'), FRONTPAGEENROLLEDCOURSELIST => get_string('frontpageenrolledcourselist'), FRONTPAGECATEGORYNAMES => get_string('frontpagecategorynames'), FRONTPAGECATEGORYCOMBO => get_string('frontpagecategorycombo'), FRONTPAGECOURSESEARCH => get_string('frontpagecoursesearch'), 'none' => get_string('none'))
/lib/adminlib.php:41581return ['value' => $unit, 'name' => $units[$unit], 'selected' => isset($data) && (($data['v'] == 0 && $unit == $defaultunit) || $unit == $data['u'])]
/lib/adminlib.php:63241$context = (object) ['size' => $this->size, 'id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data, 'attributes' => ['maxlength' => 5], 'forceltr' => $this->get_force_ltr( )]
/lib/adminlib.php:55701$this->choices = array(DEBUG_NONE => get_string('debugnone', 'admin'), DEBUG_MINIMAL => get_string('debugminimal', 'admin'), DEBUG_NORMAL => get_string('debugnormal', 'admin'), DEBUG_ALL => get_string('debugall', 'admin'), DEBUG_DEVELOPER => get_string('debugdeveloper', 'admin'))
/lib/adminlib.php:31291$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'no' => $this->no, 'value' => $this->yes, 'checked' => (string) $data === $this->yes, 'readonly' => $this->is_readonly( ), ]
/lib/adminlib.php:30441$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'size' => $this->size, 'value' => $data, 'showvalidity' => !empty($data), 'valid' => $data && file_exists($data) && is_dir($data), 'readonly' => !empty($CFG->preventexecpath), 'forceltr' => $this->get_force_ltr( )]
/lib/adminlib.php:41521$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data['v'] ?? '', 'readonly' => $this->is_readonly( ), 'options' => array_map(function ($unit) use ($units, $data, $defaultunit) { /**/ } , array_keys($units))]
/lib/adminlib.php:38871$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'readonly' => $this->is_readonly( ), 'hours' => array_map(function ($i) use ($data) { /**/ } , range(0, 23)), 'minutes' => array_map(function ($i) use ($data) { /**/ } , range(0, 59, 5))]
/lib/adminlib.php:82551$pluginkey = (object) ['plugin' => $plugin->displayname, 'enabled' => $plugin->is_enabled( ), 'togglelink' => '', 'moveuplink' => '', 'movedownlink' => '', 'settingslink' => $plugin->get_settings_url( ), 'uninstalllink' => '', 'info' => '', ]
/lib/adminlib.php:105711$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data, 'icon' => $icon->export_for_template($OUTPUT), 'haspreviewconfig' => !empty($this->previewconfig), 'forceltr' => $this->get_force_ltr( ), 'readonly' => $this->is_readonly( ), ]
/lib/odslib.class.php:8441$files = ['mimetype' => [$this->get_ods_mimetype( )], 'content.xml' => [$this->get_ods_content($this->worksheets)], 'meta.xml' => [$this->get_ods_meta( )], 'styles.xml' => [$this->get_ods_styles( )], 'settings.xml' => [$this->get_ods_settings( )], 'META-INF/manifest.xml' => [$this->get_ods_manifest( )], ]
/lib/tablelib.php:11781$attributes = ['class' => "cell c{$index}" . $this->column_class[$column] . $this->columnsticky[$column], 'id' => "{$rowid}_c{$index}", 'style' => $this->make_styles_string($this->column_style[$column]), ]
/lib/completionlib.php:13011$event = \core\event\course_module_completion_updated::create(array('objectid' => $data->id, 'context' => $cmcontext, 'relateduserid' => $data->userid, 'other' => array('relateduserid' => $data->userid, 'overrideby' => $data->overrideby, 'completionstate' => $data->completionstate)))
/lib/questionlib.php:19411$types = ['question-*' => get_string('page-question-x', 'question'), 'question-edit' => get_string('page-question-edit', 'question'), 'question-category' => get_string('page-question-category', 'question'), 'question-export' => get_string('page-question-export', 'question'), 'question-import' => get_string('page-question-import', 'question')]
/lib/filterlib.php:4011return array(array('contextswithfilters' => count($this->textfilters), 'filterscreated' => $this->filterscreated, 'textsfiltered' => $this->textsfiltered, 'stringsfiltered' => $this->stringsfiltered, ), array('contextswithfilters' => 'Contexts for which filters were loaded', 'filterscreated' => 'Filters created', 'textsfiltered' => 'Pieces of content filtered', 'stringsfiltered' => 'Strings filtered', ))
/lib/modinfolib.php:9411$rawmods[$cmid]->visibleoncoursepage = (!$rawmods[$cmid]->visible || $rawmods[$cmid]->visibleoncoursepage || empty($CFG->allowstealth) || !$courseformat->allow_stealth_module_visibility($rawmods[$cmid], $section)) ? 1 : 0
/lib/resourcelib.php:1161$options = array(RESOURCELIB_DISPLAY_AUTO => get_string('resourcedisplayauto'), RESOURCELIB_DISPLAY_EMBED => get_string('resourcedisplayembed'), RESOURCELIB_DISPLAY_FRAME => get_string('resourcedisplayframe'), RESOURCELIB_DISPLAY_NEW => get_string('resourcedisplaynew'), RESOURCELIB_DISPLAY_DOWNLOAD => get_string('resourcedisplaydownload'), RESOURCELIB_DISPLAY_OPEN => get_string('resourcedisplayopen'), RESOURCELIB_DISPLAY_POPUP => get_string('resourcedisplaypopup'))
/lib/outputcomponents.php:40821return (object) ['id' => $this->id, 'link' => is_object($link) ? $link->out(false) : $link, 'text' => $this->text, 'title' => $this->title, 'inactive' => !$active && $this->inactive, 'active' => $active, 'level' => $this->level, ]
/lib/outputcomponents.php:32411$data->next = ['page' => $this->page + 2, 'url' => (new moodle_url($this->baseurl, [$this->pagevar => $this->page + 1]))->out(false)]
/lib/outputcomponents.php:24061$tdattributes = array_merge($cell->attributes, array('style' => $tdstyle . $cell->style, 'colspan' => $cell->colspan, 'rowspan' => $cell->rowspan, 'id' => $cell->id, 'abbr' => $cell->abbr, 'scope' => $cell->scope, ))
/lib/outputcomponents.php:22491$attributes = array_merge($table->attributes, array('id' => $table->id, 'width' => $table->width, 'summary' => $table->summary, 'cellpadding' => $table->cellpadding, 'cellspacing' => $table->cellspacing, ))
/lib/outputcomponents.php:21011$data = (object) ['name' => $name, 'id' => !empty($attributes['id']) ? $attributes['id'] : self::random_id('ts_'), 'label' => get_string(substr($type, 0, -1), 'form'), 'options' => array_map(function ($value) use ($timeunits, $currentdate, $userdatetype) { /**/ } , array_keys($timeunits)), ]
/lib/datalib.php:15721$event = core\event\config_log_created::create(array('objectid' => $id, 'userid' => $log->userid, 'context' => \context_system::instance( ), 'other' => array('name' => $log->name, 'oldvalue' => $log->oldvalue, 'value' => $log->value, 'plugin' => $log->plugin)))
/lib/outputrequirementslib.php:3131$this->M_cfg = array('wwwroot' => $CFG->wwwroot, 'homeurl' => $page->navigation->action, 'sesskey' => sesskey( ), 'sessiontimeout' => $CFG->sessiontimeout, 'sessiontimeoutwarning' => $CFG->sessiontimeoutwarning, 'themerev' => theme_get_revision( ), 'slasharguments' => (int) (!empty($CFG->slasharguments)), 'theme' => $page->theme->name, 'iconsystemmodule' => $iconsystem->get_amd_name( ), 'jsrev' => $this->get_jsrev( ), 'admin' => $CFG->admin, 'svgicons' => $page->theme->use_svg_icons( ), 'usertimezone' => usertimezone( ), 'language' => current_language( ), 'courseId' => isset($courseid) ? (int) $courseid : 0, 'courseContextId' => isset($coursecontext) ? $coursecontext->id : 0, 'contextid' => $contextid, 'contextInstanceId' => (int) $contextinstanceid, 'langrev' => get_string_manager( )->get_revision( ), 'templaterev' => $this->get_templaterev( ), 'siteId' => (int) SITEID, )
/lib/accesslib.php:18022$event = \core\event\role_unassigned::create(array('context' => $context, 'objectid' => $ra->roleid, 'relateduserid' => $ra->userid, 'other' => array('id' => $ra->id, 'component' => $ra->component, 'itemid' => $ra->itemid)))
/lib/accesslib.php:17522$event = \core\event\role_unassigned::create(array('context' => $context, 'objectid' => $ra->roleid, 'relateduserid' => $ra->userid, 'other' => array('id' => $ra->id, 'component' => $ra->component, 'itemid' => $ra->itemid)))
/lib/accesslib.php:16601$event = \core\event\role_assigned::create(array('context' => $context, 'objectid' => $ra->roleid, 'relateduserid' => $ra->userid, 'other' => array('id' => $ra->id, 'component' => $ra->component, 'itemid' => $ra->itemid)))
/lib/adminlib.php:29431$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'size' => $this->size, 'value' => $data, 'showvalidity' => !empty($data), 'valid' => $data && file_exists($data), 'readonly' => !empty($CFG->preventexecpath) || $this->is_readonly( ), 'forceltr' => $this->get_force_ltr( ), ]
/lib/adminlib.php:30041$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'size' => $this->size, 'value' => $data, 'showvalidity' => !empty($data), 'valid' => $data && file_exists($data) && !is_dir($data) && file_is_executable($data), 'readonly' => !empty($CFG->preventexecpath), 'forceltr' => $this->get_force_ltr( )]
/lib/adminlib.php:26811$context = (object) ['cols' => $this->cols, 'rows' => $this->rows, 'id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data, 'forceltr' => $this->get_force_ltr( ), 'readonly' => $this->is_readonly( ), ]
/lib/adminlib.php:27871$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'size' => $this->size, 'value' => $this->is_readonly( ) ? null : $data, 'forceltr' => $this->get_force_ltr( ), 'readonly' => $this->is_readonly( ), ]
/lib/statslib.php:12511$param->sql = 'SELECT courseid, ' . $DB->sql_ceil('avg(all_enrolments)') . ' as line1, ' . $DB->sql_ceil('avg(active_enrolments)') . ' as line2, avg(proportion_active) AS line3 FROM ( SELECT courseid, timeend, stat2 as active_enrolments, stat1 as all_enrolments, ' . $DB->sql_cast_char2real('stat2') . '/' . $DB->sql_cast_char2real('stat1') . ' AS proportion_active FROM {stats_' . $param->table . '} WHERE stattype=\'enrolments\' AND roleid = 0 AND stat1 > ' . (int) $threshold . ' ) aq WHERE timeend >= ' . (int) $param->timeafter . ' GROUP BY courseid ORDER BY line3 DESC'
/lib/adminlib.php:25561$context = (object) ['size' => $this->size, 'id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data, 'forceltr' => $this->get_force_ltr( ), 'readonly' => $this->is_readonly( ), 'data' => $this->datavalues, 'maxcharacter' => array_key_exists('validation-max-length', $this->datavalues), ]
/lib/outputrenderers.php:52731$addblockbutton = $this->render_from_template('core/add_block_button', ['link' => $url->out(false), 'escapedlink' => "?{$url->get_query_string(false)}", 'pagehash' => $this->page->get_edited_page_hash( ), 'blockregion' => $region, 'pageType' => $this->page->pagetype, 'pageLayout' => $this->page->pagelayout, 'subPage' => $this->page->subpage, ])
/lib/outputrenderers.php:54311$labels = [core\check\result::NA => ' ' . cli_ansi_format('<colour:darkGray>') . ' NA ', core\check\result::OK => ' ' . cli_ansi_format('<colour:green>') . ' OK ', core\check\result::INFO => ' ' . cli_ansi_format('<colour:blue>') . ' INFO ', core\check\result::UNKNOWN => ' ' . cli_ansi_format('<colour:darkGray>') . ' UNKNOWN ', core\check\result::WARNING => ' ' . cli_ansi_format('<colour:black><bgcolour:yellow>') . ' WARNING ', core\check\result::ERROR => ' ' . cli_ansi_format('<bgcolour:red>') . ' ERROR ', core\check\result::CRITICAL => '' . cli_ansi_format('<bgcolour:red>') . ' CRITICAL ', ]
/lib/outputrenderers.php:45872$userbuttons = array('messages' => array('buttontype' => 'message', 'title' => get_string('message', 'message'), 'url' => new moodle_url('/message/index.php', array('id' => $user->id)), 'image' => 'message', 'linkattributes' => \core_message\helper::messageuser_link_params($user->id), 'page' => $this->page))
/lib/outputrenderers.php:46032$userbuttons['togglecontact'] = array('buttontype' => 'togglecontact', 'title' => get_string($contacttitle, 'message'), 'url' => new moodle_url('/message/index.php', array('user1' => $USER->id, 'user2' => $user->id, $contacturlaction => $user->id, 'sesskey' => sesskey( ))), 'image' => $contactimage, 'linkattributes' => \core_message\helper::togglecontact_link_params($user, $iscontact), 'page' => $this->page)
/lib/outputrenderers.php:29881$temp = (object) ['legacyseturl' => (new moodle_url('/editmode.php'))->out(false), 'pagecontextid' => $this->page->context->id, 'pageurl' => $this->page->url, 'sesskey' => sesskey( ), ]
/lib/outputrenderers.php:35201$data = ['action' => new moodle_url('/search/index.php'), 'hiddenfields' => (object) ['name' => 'context', 'value' => $this->page->context->id], 'inputname' => 'q', 'searchstring' => get_string('search'), ]
/lib/outputrenderers.php:1261$helpers = array('config' => $safeconfig, 'str' => array($stringhelper, 'str'), 'cleanstr' => array($cleanstringhelper, 'cleanstr'), 'quote' => array($quotehelper, 'quote'), 'js' => array($jshelper, 'help'), 'pix' => array($pixhelper, 'pix'), 'shortentext' => array($shortentexthelper, 'shorten'), 'userdate' => array($userdatehelper, 'transform'), )
/lib/outputrenderers.php:13031return '<div class="homelink"><a href="' . $CFG->wwwroot . '/course/view.php?id=' . $this->page->course->id . '">' . format_string($this->page->course->shortname, true, array('context' => $this->page->context)) . '</a></div>'
/lib/tablelib.php:16981return html_writer::link($this->baseurl->out(false, $params), $text . get_accesshide(get_string('sortby') . ' ' . $text . ' ' . $this->sort_order_name($isprimary, $order)), ['data-sortable' => $this->is_sortable($column), 'data-sortby' => $column, 'data-sortorder' => $sortorder, 'role' => 'button', ]) . ' ' . $this->sort_icon($isprimary, $order)
/lib/tablelib.php:17751return html_writer::start_tag('div', ['class' => 'table-dynamic position-relative', 'data-region' => 'core_table/dynamic', 'data-table-handler' => $this->get_handler( ), 'data-table-component' => $this->get_component( ), 'data-table-uniqueid' => $this->uniqueid, 'data-table-filters' => json_encode($this->get_filterset( )), 'data-table-sort-data' => json_encode($sortdata), 'data-table-first-initial' => $this->prefs['i_first'], 'data-table-last-initial' => $this->prefs['i_last'], 'data-table-page-number' => $this->currpage + 1, 'data-table-page-size' => $this->pagesize, 'data-table-default-per-page' => $this->get_default_per_page( ), 'data-table-hidden-columns' => json_encode(array_keys($this->prefs['collapse'])), 'data-table-total-rows' => $this->totalrows, ])
/lib/tcpdf/tcpdf.php:132122$fy = (($w - ((($tmpfont['desc']['Ascent'] - $tmpfont['desc']['Descent']) * $this->FontSizePt / 1000) / $this->k)) * $this->k)
/lib/tcpdf/tcpdf.php:129572$fy = (($w - ((($tmpfont['desc']['Ascent'] - $tmpfont['desc']['Descent']) * $this->FontSizePt / 1000) / $this->k)) * $this->k)
/lib/tcpdf/tcpdf.php:145931$s .= sprintf(' %F 0 0 %F %F %F cm', $w * $this->k, $h * $this->k, $x * $this->k, ($this->h - ($y + $h)) * $this->k)
/lib/tcpdf/tcpdf.php:132881$border = array('L' => array('width' => $bw, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(231)), 'R' => array('width' => $bw, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(51)), 'T' => array('width' => $bw, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(231)), 'B' => array('width' => $bw, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(51)))
/lib/tcpdf/tcpdf.php:21521$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'MediaBox', $format['MediaBox']['llx'], $format['MediaBox']['lly'], $format['MediaBox']['urx'], $format['MediaBox']['ury'], false, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:158811$ret = array('left' => $this->lMargin, 'right' => $this->rMargin, 'top' => $this->tMargin, 'bottom' => $this->bMargin, 'header' => $this->header_margin, 'footer' => $this->footer_margin, 'cell' => $this->cell_padding, 'padding_left' => $this->cell_padding['L'], 'padding_top' => $this->cell_padding['T'], 'padding_right' => $this->cell_padding['R'], 'padding_bottom' => $this->cell_padding['B'])
/lib/tcpdf/tcpdf.php:21751$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'BleedBox', $format['BleedBox']['llx'], $format['BleedBox']['lly'], $format['BleedBox']['urx'], $format['BleedBox']['ury'], false, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:21711$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'CropBox', $format['CropBox']['llx'], $format['CropBox']['lly'], $format['CropBox']['urx'], $format['CropBox']['ury'], false, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:102601return sprintf('%F %F %F %F re f', $x * $this->k, ((($this->h - $y) * $this->k) + $linew + ($this->FontSizePt / 3)), $w * $this->k, $linew)
/lib/tcpdf/tcpdf.php:96871$uuid = 'uuid:' . substr($this->file_id, 0, 8) . '-' . substr($this->file_id, 8, 4) . '-' . substr($this->file_id, 12, 4) . '-' . substr($this->file_id, 16, 4) . '-' . substr($this->file_id, 20, 12)
/lib/tcpdf/tcpdf.php:108151return hash('sha256', $this->encryptdata['owner_password'] . $this->encryptdata['OVS'] . $this->encryptdata['U'], true) . $this->encryptdata['OVS'] . $this->encryptdata['OKS']
/lib/tcpdf/tcpdf.php:102861return sprintf('%F %F %F %F re f', $x * $this->k, (($this->h - $y + $this->FontAscent) * $this->k) - $linew, $w * $this->k, $linew)
/lib/tcpdf/tcpdf.php:123991$out .= ' /' . $name . ' ' . sprintf('[%u 0 R /XYZ %F %F null]', $this->page_obj_id[($o['p'])], ($o['x'] * $this->k), ($this->pagedim[$o['p']]['h'] - ($o['y'] * $this->k)))
/lib/tcpdf/tcpdf.php:113861$this->transfmatrix[$this->transfmatrix_key][] = array('a' => $tm[0], 'b' => $tm[1], 'c' => $tm[2], 'd' => $tm[3], 'e' => $tm[4], 'f' => $tm[5])
/lib/tcpdf/tcpdf.php:127211$this->javascript .= sprintf("f" . $name . "=this.addField('%s','%s',%u,[%F,%F,%F,%F]);", $name, $type, $this->PageNo( ) - 1, $x * $k, ($this->h - $y) * $k + 1, ($x + $w) * $k, ($this->h - $y - $h) * $k + 1) . "\n"
/lib/tcpdf/tcpdf.php:125851$out .= ' ' . sprintf('/Dest [%u 0 R /XYZ %F %F null]', $this->page_obj_id[($o['p'])], ($o['x'] * $this->k), ($this->pagedim[$o['p']]['h'] - ($o['y'] * $this->k)))
/lib/tcpdf/tcpdf.php:183541$trsid = array_push($dom[$table_el]['rowspans'], array('trid' => $trid, 'rowspan' => $rowspan, 'mrowspan' => $rowspan, 'colspan' => $colspan, 'startpage' => $this->page, 'startcolumn' => $this->current_column, 'startx' => $this->x, 'starty' => $this->y))
/lib/tcpdf/tcpdf.php:191301$this->y = $this->img_rb_y - ($this->getCellHeight($tag['fontsize'] / $this->k) - ($this->getFontDescent($tag['fontname'], $tag['fontstyle'], $tag['fontsize']) * $this->cell_height_ratio))
/lib/tcpdf/tcpdf.php:195661$lasttag = ((!isset($dom[($key + 1)])) OR ((!isset($dom[($key + 2)])) AND ($dom[($key + 1)]['value'] == 'marker')))
/lib/tcpdf/tcpdf.php:207501$grapvars = array('FontFamily' => $this->FontFamily, 'FontStyle' => $this->FontStyle, 'FontSizePt' => $this->FontSizePt, 'rMargin' => $this->rMargin, 'lMargin' => $this->lMargin, 'cell_padding' => $this->cell_padding, 'cell_margin' => $this->cell_margin, 'LineWidth' => $this->LineWidth, 'linestyleWidth' => $this->linestyleWidth, 'linestyleCap' => $this->linestyleCap, 'linestyleJoin' => $this->linestyleJoin, 'linestyleDash' => $this->linestyleDash, 'textrendermode' => $this->textrendermode, 'textstrokewidth' => $this->textstrokewidth, 'DrawColor' => $this->DrawColor, 'FillColor' => $this->FillColor, 'TextColor' => $this->TextColor, 'ColorFlag' => $this->ColorFlag, 'bgcolor' => $this->bgcolor, 'fgcolor' => $this->fgcolor, 'htmlvspace' => $this->htmlvspace, 'listindent' => $this->listindent, 'listindentlevel' => $this->listindentlevel, 'listnum' => $this->listnum, 'listordered' => $this->listordered, 'listcount' => $this->listcount, 'lispacer' => $this->lispacer, 'cell_height_ratio' => $this->cell_height_ratio, 'font_stretching' => $this->font_stretching, 'font_spacing' => $this->font_spacing, 'alpha' => $this->alpha, 'lasth' => $this->lasth, 'tMargin' => $this->tMargin, 'bMargin' => $this->bMargin, 'AutoPageBreak' => $this->AutoPageBreak, 'PageBreakTrigger' => $this->PageBreakTrigger, 'x' => $this->x, 'y' => $this->y, 'w' => $this->w, 'h' => $this->h, 'wPt' => $this->wPt, 'hPt' => $this->hPt, 'fwPt' => $this->fwPt, 'fhPt' => $this->fhPt, 'page' => $this->page, 'current_column' => $this->current_column, 'num_columns' => $this->num_columns)
/lib/tcpdf/tcpdf.php:214611$this->outlines[] = array('t' => $outline['t'], 'l' => $outline['l'], 'x' => $outline['x'], 'y' => $outline['y'], 'p' => $this->page, 'f' => $outline['f'], 's' => $outline['s'], 'c' => $outline['c'])
/lib/tcpdf/tcpdf.php:226411$coordrb = TCPDF_STATIC::getTransformationMatrixProduct($tm, array(1, 0, 0, 1, (($annot['x'] + $annot['w']) * $this->k), ((-$annot['y'] - $annot['h']) * $this->k)))
/lib/tcpdf/tcpdf.php:234321$stroke_style = array('color' => TCPDF_COLORS::convertHTMLColorToDec($svgstyle['stroke'], $this->spot_colors), 'width' => $this->getHTMLUnitToUnits($svgstyle['stroke-width'], 0, $this->svgunit, false), 'cap' => $svgstyle['stroke-linecap'], 'join' => $svgstyle['stroke-linejoin'])
/lib/tcpdf/tcpdf.php:238661$dang = TCPDF_STATIC::getVectorsAngle((($xa - $cax) / $rx), (($ya - $cay) / $ry), ((-$xa - $cax) / $rx), ((-$ya - $cay) / $ry))
/lib/tcpdf/tcpdf.php:21791$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'TrimBox', $format['TrimBox']['llx'], $format['TrimBox']['lly'], $format['TrimBox']['urx'], $format['TrimBox']['ury'], false, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:21831$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'ArtBox', $format['ArtBox']['llx'], $format['ArtBox']['lly'], $format['ArtBox']['urx'], $format['ArtBox']['ury'], false, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:22601$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'CropBox', $this->pagedim[$this->page]['MediaBox']['llx'], $this->pagedim[$this->page]['MediaBox']['lly'], $this->pagedim[$this->page]['MediaBox']['urx'], $this->pagedim[$this->page]['MediaBox']['ury'], true, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:22641$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'BleedBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury'], true, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:22681$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'TrimBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury'], true, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:22721$this->pagedim = TCPDF_STATIC::setPageBoxes($this->page, 'ArtBox', $this->pagedim[$this->page]['CropBox']['llx'], $this->pagedim[$this->page]['CropBox']['lly'], $this->pagedim[$this->page]['CropBox']['urx'], $this->pagedim[$this->page]['CropBox']['ury'], true, $this->k, $this->pagedim)
/lib/tcpdf/tcpdf.php:28381return array('T' => ($this->cell_padding['T'] - $cp['T']), 'R' => ($this->cell_padding['R'] - $cp['R']), 'B' => ($this->cell_padding['B'] - $cp['B']), 'L' => ($this->cell_padding['L'] - $cp['L']), )
/lib/tcpdf/tcpdf.php:176481$this->y += (((($curfontsize * $this->cell_height_ratio) - ($fontsize * $dom[$key]['line-height'])) / $this->k) + $curfontascent - $fontascent - $curfontdescent + $fontdescent) / 2
/lib/moodlelib.php:57761$context = array('sitefullname' => $SITE->fullname, 'siteshortname' => $SITE->shortname, 'sitewwwroot' => $CFG->wwwroot, 'subject' => $subject, 'prefix' => $CFG->emailsubjectprefix, 'to' => $user->email, 'toname' => fullname($user), 'from' => $mail->From, 'fromname' => $mail->FromName, )
/lib/moodlelib.php:46881$event = \core\event\course_deleted::create(array('objectid' => $course->id, 'context' => $context, 'other' => array('shortname' => $course->shortname, 'fullname' => $course->fullname, 'idnumber' => $course->idnumber)))
/lib/moodlelib.php:37141$event = \core\event\user_deleted::create(array('objectid' => $user->id, 'relateduserid' => $user->id, 'context' => $usercontext, 'other' => array('username' => $user->username, 'email' => $user->email, 'idnumber' => $user->idnumber, 'picture' => $user->picture, 'mnethostid' => $user->mnethostid)))
/lib/moodlelib.php:18561$format = str_replace(['%P', '%p', ], [$datearray['hours'] < 12 ? get_string('am', 'langconfig') : get_string('pm', 'langconfig'), $datearray['hours'] < 12 ? get_string('amcaps', 'langconfig') : get_string('pmcaps', 'langconfig'), ], $format)
/lib/badgeslib.php:4341$badge = (object) ['id' => $badge->id, 'name' => $badge->name, 'type' => $badge->type, 'description' => $badge->description, 'issuername' => $badge->issuername, 'issuerurl' => $badge->issuerurl, 'issuercontact' => $badge->issuercontact, 'uniquehash' => $badge->uniquehash, 'dateissued' => $badge->dateissued, 'dateexpire' => $badge->dateexpire, 'version' => $badge->version, 'language' => $badge->language, 'imageauthorname' => $badge->imageauthorname, 'imageauthoremail' => $badge->imageauthoremail, 'imageauthorurl' => $badge->imageauthorurl, 'imagecaption' => $badge->imagecaption, ]
/lib/moodlelib.php:84431$password = str_shuffle(substr(str_shuffle($passwordlower), 0, $lower) . substr(str_shuffle($passwordupper), 0, $upper) . substr(str_shuffle($passworddigits), 0, $digits) . substr(str_shuffle($passwordnonalphanum), 0, $nonalphanum) . substr(str_shuffle($passwordlower . $passwordupper . $passworddigits . $passwordnonalphanum), 0, $additional))
/lib/moodlelib.php:72311return array($this->prepare_emoticon_object(":-)", 's/smiley', 'smiley'), $this->prepare_emoticon_object(":)", 's/smiley', 'smiley'), $this->prepare_emoticon_object(":-D", 's/biggrin', 'biggrin'), $this->prepare_emoticon_object(";-)", 's/wink', 'wink'), $this->prepare_emoticon_object(":-/", 's/mixed', 'mixed'), $this->prepare_emoticon_object("V-.", 's/thoughtful', 'thoughtful'), $this->prepare_emoticon_object(":-P", 's/tongueout', 'tongueout'), $this->prepare_emoticon_object(":-p", 's/tongueout', 'tongueout'), $this->prepare_emoticon_object("B-)", 's/cool', 'cool'), $this->prepare_emoticon_object("^-)", 's/approve', 'approve'), $this->prepare_emoticon_object("8-)", 's/wideeyes', 'wideeyes'), $this->prepare_emoticon_object(":o)", 's/clown', 'clown'), $this->prepare_emoticon_object(":-(", 's/sad', 'sad'), $this->prepare_emoticon_object(":(", 's/sad', 'sad'), $this->prepare_emoticon_object("8-.", 's/shy', 'shy'), $this->prepare_emoticon_object(":-I", 's/blush', 'blush'), $this->prepare_emoticon_object(":-X", 's/kiss', 'kiss'), $this->prepare_emoticon_object("8-o", 's/surprise', 'surprise'), $this->prepare_emoticon_object("P-|", 's/blackeye', 'blackeye'), $this->prepare_emoticon_object("8-[", 's/angry', 'angry'), $this->prepare_emoticon_object("(grr)", 's/angry', 'angry'), $this->prepare_emoticon_object("xx-P", 's/dead', 'dead'), $this->prepare_emoticon_object("|-.", 's/sleepy', 'sleepy'), $this->prepare_emoticon_object("}-]", 's/evil', 'evil'), $this->prepare_emoticon_object("(h)", 's/heart', 'heart'), $this->prepare_emoticon_object("(heart)", 's/heart', 'heart'), $this->prepare_emoticon_object("(y)", 's/yes', 'yes', 'core'), $this->prepare_emoticon_object("(n)", 's/no', 'no', 'core'), $this->prepare_emoticon_object("(martin)", 's/martin', 'martin'), $this->prepare_emoticon_object("( )", 's/egg', 'egg'), )
/lib/moodlelib.php:59351$event = \core\event\email_failed::create(array('context' => context_system::instance( ), 'userid' => $from->id, 'relateduserid' => $user->id, 'other' => array('subject' => $subject, 'message' => $messagetext, 'errorinfo' => $mail->ErrorInfo)))
/lib/blocklib.php:14281$controls[] = new action_menu_link_secondary($deleteactionurl, new pix_icon('t/delete', $str, 'moodle', array('class' => 'iconsmall', 'title' => '')), $str, ['class' => 'editing_delete', 'data-modal' => 'confirmation', 'data-modal-title-str' => json_encode(['deletecheck_modal', 'block']), 'data-modal-content-str' => json_encode(['deleteblockcheck', 'block', $blocktitle]), 'data-modal-yes-button-str' => json_encode(['delete', 'core']), 'data-modal-toast' => 'true', 'data-modal-toast-confirmation-str' => json_encode(['deleteblockinprogress', 'block', $blocktitle]), 'data-modal-destination' => $deleteconfirmationurl->out(false), ])
/lib/blocklib.php:13431$controls[] = new action_menu_link_secondary($editactionurl, new pix_icon('t/edit', $str, 'moodle', array('class' => 'iconsmall', 'title' => '')), $str, ['class' => 'editing_edit', 'data-action' => 'editblock', 'data-blockid' => $block->instance->id, 'data-blockform' => self::get_block_edit_form_class($block->name( )), 'data-header' => $str, ])
/lib/blocklib.php:13231$controls[] = new action_menu_link_primary(new moodle_url($actionurl, array('bui_moveid' => $block->instance->id)), new pix_icon('t/move', $str, 'moodle', array('class' => 'iconsmall', 'title' => '')), $str, array('class' => 'editing_move'))
/lib/blocklib.php:7311$params = array('contextlevel' => CONTEXT_BLOCK, 'subpage1' => $this->page->subpage, 'subpage2' => $this->page->subpage, 'subpage3' => $this->page->subpage, 'contextid1' => $context->id, 'contextid2' => $context->id, 'contextid3' => $systemcontext->id, 'contextid4' => $systemcontext->id, 'pagetype' => $this->page->pagetype, 'pagetype2' => $this->page->pagetype, )
/lib/navigationlib.php:38021$items[] = new breadcrumb_navigation_node(array('text' => $this->page->navigation->text, 'shorttext' => $this->page->navigation->shorttext, 'key' => $this->page->navigation->key, 'action' => $this->page->navigation->action))
/lib/flickrclient.php:2311$args = ['title' => isset($meta['title']) ? $meta['title'] : null, 'description' => isset($meta['description']) ? $meta['description'] : null, 'tags' => isset($meta['tags']) ? $meta['tags'] : null, 'is_public' => isset($meta['is_public']) ? $meta['is_public'] : 0, 'is_friend' => isset($meta['is_friend']) ? $meta['is_friend'] : 0, 'is_family' => isset($meta['is_family']) ? $meta['is_family'] : 0, 'safety_level' => isset($meta['safety_level']) ? $meta['safety_level'] : 1, 'content_type' => isset($meta['content_type']) ? $meta['content_type'] : 1, 'hidden' => isset($meta['hidden']) ? $meta['hidden'] : 2, ]
/lib/blocklib.php:14771return $this->page->user_can_edit_blocks( ) && $block->user_can_edit( ) && $block->user_can_addto($this->page) && !in_array($block->instance->blockname, self::get_undeletable_block_types( )) && !in_array($block->instance->blockname, $this->get_required_by_theme_block_types( ))
/lib/blocklib.php:14551$controls[] = new action_menu_link_secondary(new moodle_url('/admin/lock.php', ['id' => $block->context->id, ]), new pix_icon($lockicon, $lockstring, 'moodle', array('class' => 'iconsmall', 'title' => '')), $lockstring, ['class' => 'editing_lock'])
/lib/messagelib.php:6121$sql = "SELECT DISTINCT rc.capability, 1 FROM {role_assignments} ra JOIN {context} actx ON actx.id = ra.contextid JOIN {role_capabilities} rc ON rc.roleid = ra.roleid JOIN {context} cctx ON cctx.id = rc.contextid WHERE ra.userid = :userid AND rc.capability $capcondition AND rc.permission > 0 AND (" . $DB->sql_concat('actx.path', "'/'") . " LIKE " . $DB->sql_concat('cctx.path', "'/%'") . " OR " . $DB->sql_concat('cctx.path', "'/'") . " LIKE " . $DB->sql_concat('actx.path', "'/%'") . ")"
/lib/tcpdf/tcpdf.php:54511$this->font_spacing += ($w - $this->cell_padding['L'] - $this->cell_padding['R'] - $width) / (max(($this->GetNumChars($txt) - 1), 1) * ($this->font_stretching / 100))
/lib/upgradelib.php:22531return array('parameters' => array_map(function ($line) { /**/ } , $getkey('@param')), 'return' => array('type' => !empty($returnline[0][1]) ? $returnline[0][1] : 'void', 'description' => !empty($returnline[0][2]) ? $returnline[0][2] : ''))
/lib/tcpdf/tcpdf.php:41131return $this->GetArrStringWidth(TCPDF_FONTS::utf8Bidi(TCPDF_FONTS::UTF8StringToArray($s, $this->isunicode, $this->CurrentFont), $s, $this->tmprtl, $this->isunicode, $this->CurrentFont), $fontname, $fontstyle, $fontsize, $getarray)
/lib/flickrlib.php:1181$args = array("api_key" => $this->api_key, "title" => $args['title'], "description" => $args['description'], "tags" => $args['tags'], "is_public" => $args['is_public'], "is_friend" => $args['is_friend'], "is_family" => $args['is_family'], "safety_level" => $args['safety_level'], "content_type" => $args['content_type'], "hidden" => $args['hidden'])
/lib/tcpdf/tcpdf.php:93491$out .= sprintf(' /BBox [%F %F %F %F]', ($data['x'] * $this->k), (-$data['y'] * $this->k), (($data['w'] + $data['x']) * $this->k), (($data['h'] - $data['y']) * $this->k))
/lib/tcpdf/tcpdf.php:54841$spacewidth = -1000 * ($w - $width - $this->cell_padding['L'] - $this->cell_padding['R']) / ($ns ? $ns : 1) / ($this->FontSize ? $this->FontSize : 1)
/lib/tcpdf/tcpdf.php:80621$out .= sprintf(' [%F %F %F %F]', $this->pagedim[$n][$box]['llx'], $this->pagedim[$n][$box]['lly'], $this->pagedim[$n][$box]['urx'], $this->pagedim[$n][$box]['ury'])
/lib/enrollib.php:23511$event = \core\event\user_enrolment_deleted::create(array('courseid' => $courseid, 'context' => $context, 'relateduserid' => $ue->userid, 'objectid' => $ue->id, 'other' => array('userenrolment' => (array) $ue, 'enrol' => $name)))
/lib/formslib.php:901$config = array(array('firstdayofweek' => $calendar->get_starting_weekday( ), 'mon' => date_format_string(strtotime("Monday"), '%a', $defaulttimezone), 'tue' => date_format_string(strtotime("Tuesday"), '%a', $defaulttimezone), 'wed' => date_format_string(strtotime("Wednesday"), '%a', $defaulttimezone), 'thu' => date_format_string(strtotime("Thursday"), '%a', $defaulttimezone), 'fri' => date_format_string(strtotime("Friday"), '%a', $defaulttimezone), 'sat' => date_format_string(strtotime("Saturday"), '%a', $defaulttimezone), 'sun' => date_format_string(strtotime("Sunday"), '%a', $defaulttimezone), 'january' => date_format_string(strtotime("January 1"), '%B', $defaulttimezone), 'february' => date_format_string(strtotime("February 1"), '%B', $defaulttimezone), 'march' => date_format_string(strtotime("March 1"), '%B', $defaulttimezone), 'april' => date_format_string(strtotime("April 1"), '%B', $defaulttimezone), 'may' => date_format_string(strtotime("May 1"), '%B', $defaulttimezone), 'june' => date_format_string(strtotime("June 1"), '%B', $defaulttimezone), 'july' => date_format_string(strtotime("July 1"), '%B', $defaulttimezone), 'august' => date_format_string(strtotime("August 1"), '%B', $defaulttimezone), 'september' => date_format_string(strtotime("September 1"), '%B', $defaulttimezone), 'october' => date_format_string(strtotime("October 1"), '%B', $defaulttimezone), 'november' => date_format_string(strtotime("November 1"), '%B', $defaulttimezone), 'december' => date_format_string(strtotime("December 1"), '%B', $defaulttimezone)))
/lib/badgeslib.php:12941$args = ['link' => html_writer::link($link, $link), 'buttonlink' => html_writer::link($link, $button), 'sitename' => $site->fullname, 'admin' => generate_email_signoff( ), 'userfirstname' => $USER->firstname, ]
/lib/enrollib.php:22731$event = \core\event\user_enrolment_updated::create(array('objectid' => $ue->id, 'courseid' => $instance->courseid, 'context' => context_course::instance($instance->courseid), 'relateduserid' => $ue->userid, 'other' => array('enrol' => $name)))
/lib/webdavlib.php:14471$signature['response'] = '"' . md5(md5($a1) . ':' . $this->_digestchallenge['nonce'] . ':' . $nc . ':' . $this->_cnonce . ':' . $this->_digestchallenge['qop'] . ':' . md5($a2)) . '"'
/lib/tcpdf/tcpdf.php:35591$style = array('position' => $this->rtl ? 'R' : 'L', 'align' => $this->rtl ? 'R' : 'L', 'stretch' => false, 'fitwidth' => true, 'cellfitalign' => '', 'border' => false, 'padding' => 0, 'fgcolor' => array(0, 0, 0), 'bgcolor' => false, 'text' => false)
/lib/formslib.php:27751$js .= ' function validate_' . $this->_formName . '() { if (skipClientValidation) { return true; } var ret = true; var frm = document.getElementById(\'' . $this->_attributes['id'] . '\') var first_focus = false; ' . $validateJS . '; return ret; } var form = document.getElementById(\'' . $this->_attributes['id'] . '\').closest(\'form\'); form.addEventListener(FormEvents.eventTypes.formSubmittedByJavascript, () => { try { var myValidator = validate_' . $this->_formName . '; } catch(e) { return; } if (myValidator) { myValidator(); } }); document.getElementById(\'' . $this->_attributes['id'] . '\').addEventListener(\'submit\', function(ev) { try { var myValidator = validate_' . $this->_formName . '; } catch(e) { return true; } if (typeof window.tinyMCE !== \'undefined\') { window.tinyMCE.triggerSave(); } if (!myValidator()) { ev.preventDefault(); } }); }); '
/lib/formslib.php:35551$headerhtml = $OUTPUT->render_from_template('core_form/element-header', (object) ['header' => $header->toHtml( ), 'id' => $header->getAttribute('id'), 'collapseable' => $collapseable, 'collapsed' => $collapsed, 'helpbutton' => $header->getHelpButton( ), ])
/reportbuilder/classes/external/systemreports/can_view.php:441return new external_function_parameters(['source' => new external_value(PARAM_RAW, 'Report class path'), 'context' => self::get_context_parameters( ), 'component' => new external_value(PARAM_COMPONENT, 'Report component', VALUE_DEFAULT, ''), 'area' => new external_value(PARAM_AREA, 'Report area', VALUE_DEFAULT, ''), 'itemid' => new external_value(PARAM_INT, 'Report item ID', VALUE_DEFAULT, 0), 'parameters' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW), 'value' => new external_value(PARAM_RAW), ]), 'Report parameters', VALUE_DEFAULT, [ ]), ])
/reportbuilder/classes/external/systemreports/retrieve.php:971['source' => $source, 'context' => $context, 'component' => $component, 'area' => $area, 'itemid' => $itemid, 'parameters' => $parameters, 'page' => $page, 'perpage' => $perpage, ] = self::validate_parameters(self::execute_parameters( ), ['source' => $source, 'context' => $context, 'component' => $component, 'area' => $area, 'itemid' => $itemid, 'parameters' => $parameters, 'page' => $page, 'perpage' => $perpage, ])
/reportbuilder/classes/external/reports/retrieve.php:811return ['details' => (array) (new custom_report_details_exporter($persistent))->export($output), 'data' => (array) (new custom_report_data_exporter(null, ['report' => $report, 'page' => $page, 'perpage' => $perpage, ]))->export($output), 'warnings' => [ ], ]
/reportbuilder/classes/external/columns/sort/toggle.php:451return new external_function_parameters(['reportid' => new external_value(PARAM_INT, 'Report ID'), 'columnid' => new external_value(PARAM_INT, 'Column ID'), 'enabled' => new external_value(PARAM_BOOL, 'Sort enabled'), 'direction' => new external_value(PARAM_INT, 'Sort direction', VALUE_DEFAULT, SORT_ASC), ])
/reportbuilder/classes/external/custom_report_columns_sorting_exporter.php:1121return ['id' => $persistent->get('id'), 'title' => $columntitle, 'heading' => $columnheading !== '' ? $columnheading : $columntitle, 'sortdirection' => $persistent->get('sortdirection'), 'sortenabled' => $persistent->get('sortenabled'), 'sortorder' => $persistent->get('sortorder'), 'sorticon' => $sorticon->export_for_pix( ), 'movetitle' => get_string('movesorting', 'core_reportbuilder', $columntitle), 'sortenabledtitle' => get_string($sortenabledtitle, 'core_reportbuilder', $columntitle), ]
/reportbuilder/classes/external/custom_report_conditions_exporter.php:1411return ['hasavailableconditions' => !empty($availableconditions), 'availableconditions' => array_values($availableconditions), 'hasactiveconditions' => $conditionspresent, 'activeconditionsform' => $conditionspresent ? $conditionsform->render( ) : '', 'helpicon' => $output->help_icon('conditions', 'core_reportbuilder'), ]
/reportbuilder/classes/external/systemreports/retrieve.php:451return new external_function_parameters(['source' => new external_value(PARAM_RAW, 'Report class path'), 'context' => self::get_context_parameters( ), 'component' => new external_value(PARAM_COMPONENT, 'Report component', VALUE_DEFAULT, ''), 'area' => new external_value(PARAM_AREA, 'Report area', VALUE_DEFAULT, ''), 'itemid' => new external_value(PARAM_INT, 'Report item ID', VALUE_DEFAULT, 0), 'parameters' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW), 'value' => new external_value(PARAM_RAW), ]), 'Report parameters', VALUE_DEFAULT, [ ]), 'page' => new external_value(PARAM_INT, 'Page number', VALUE_DEFAULT, 0), 'perpage' => new external_value(PARAM_INT, 'Reports per page', VALUE_DEFAULT, 10), ])
/reportbuilder/classes/external/custom_report_audience_cards_exporter.php:651$menucards[$componentname]['items'][] = ['name' => $audience->get_name( ), 'identifier' => get_class($audience), 'title' => get_string('addaudience', 'core_reportbuilder', $audience->get_name( )), 'action' => 'add-audience', 'disabled' => !$audience->is_available( ), ]
/reportbuilder/classes/external/custom_report_exporter.php:1901return ['table' => $output->render($table), 'filtersapplied' => $report->get_applied_filter_count( ), 'filterspresent' => $filterspresent, 'filtersform' => $filtersform, 'attributes' => $attributes, 'classes' => $classes ?? '', 'editmode' => $this->editmode, 'javascript' => '', ] + $editordata
/reportbuilder/classes/external/custom_report_exporter.php:911return ['table' => ['type' => PARAM_RAW], 'filtersapplied' => ['type' => PARAM_INT], 'filterspresent' => ['type' => PARAM_BOOL], 'filtersform' => ['type' => PARAM_RAW], 'attributes' => ['type' => ['name' => ['type' => PARAM_TEXT], 'value' => ['type' => PARAM_TEXT]], 'multiple' => true, ], 'classes' => ['type' => PARAM_TEXT], 'editmode' => ['type' => PARAM_BOOL], 'sidebarmenucards' => ['type' => custom_report_column_cards_exporter::read_properties_definition( ), 'optional' => true, ], 'conditions' => ['type' => custom_report_conditions_exporter::read_properties_definition( ), 'optional' => true, ], 'filters' => ['type' => custom_report_filters_exporter::read_properties_definition( ), 'optional' => true, ], 'sorting' => ['type' => custom_report_columns_sorting_exporter::read_properties_definition( ), 'optional' => true, ], 'cardview' => ['type' => custom_report_card_view_exporter::read_properties_definition( ), 'optional' => true, ], 'javascript' => ['type' => PARAM_RAW], ]
/reportbuilder/classes/external/system_report_exporter.php:1311return ['table' => $output->render($table), 'parameters' => $parameters, 'filterspresent' => $filterspresent, 'filtersapplied' => $source->get_applied_filter_count( ), 'filtersform' => $filterspresent ? $filtersform->render( ) : '', 'attributes' => $attributes, 'classes' => $classes ?? '', ]
/reportbuilder/classes/external/custom_report_filters_exporter.php:1451$activefilters[] = ['id' => $persistent->get('id'), 'entityname' => $report->get_entity_title($entityname)->out( ), 'heading' => $displayvalue, 'headingeditable' => $editable->render($output), 'sortorder' => $persistent->get('filterorder'), 'movetitle' => get_string('movefilter', 'core_reportbuilder', $displayvalue), ]
/reportbuilder/classes/local/entities/course.php:2751$column = (new column($coursefield, $coursefieldlang, $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type($columntype)->add_field($columnfieldsql, $coursefield)->add_callback([$this, 'format'], $coursefield)->set_is_sortable($this->is_sortable($coursefield))
/reportbuilder/classes/local/entities/course.php:2381$column = (new column($key, new lang_string($key, 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$tablealias}.{$field} as $key, {$tablealias}.id")->set_is_sortable(true)->add_callback(static function (?string $value, stdClass $row) : string { /**/ } )
/reportbuilder/classes/table/custom_report_table.php:2571$headercell = $OUTPUT->render_from_template('core_reportbuilder/table_header_cell', ['entityname' => $this->report->get_entity_title($column->get_entity_name( )), 'name' => $column->get_title( ), 'headingeditable' => $headingeditable->render($renderer), 'aggregationeditable' => $aggregationeditable->render($renderer), 'movetitle' => get_string('movecolumn', 'core_reportbuilder', $column->get_title( )), ])
/reportbuilder/classes/table/system_report_table.php:2891return $OUTPUT->download_dataformat_selector(get_string('downloadas', 'table'), new \moodle_url('/reportbuilder/download.php'), 'download', ['id' => $this->persistent->get('id'), 'parameters' => json_encode($this->report->get_parameters( )), ])
/reportbuilder/classes/local/entities/user.php:2771$columns[] = (new column('picture', new lang_string('userpicture', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_fields($userpictureselect)->set_type(column::TYPE_INTEGER)->set_is_sortable($this->is_sortable('picture'))->set_disabled_aggregation(['avg', 'max', 'min', 'sum'])->add_callback(static function ($value, stdClass $row) : string { /**/ } )
/reportbuilder/classes/local/entities/user.php:3041$column = (new column($userfield, $userfieldlang, $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type($columntype)->add_field($columnfieldsql, $userfield)->set_is_sortable($this->is_sortable($userfield))->add_callback([$this, 'format'], $userfield)
/reportbuilder/classes/local/entities/user.php:4261return ['firstname' => new lang_string('firstname'), 'lastname' => new lang_string('lastname'), 'email' => new lang_string('email'), 'city' => new lang_string('city'), 'country' => new lang_string('country'), 'theme' => new lang_string('theme'), 'description' => new lang_string('description'), 'firstnamephonetic' => new lang_string('firstnamephonetic'), 'lastnamephonetic' => new lang_string('lastnamephonetic'), 'middlename' => new lang_string('middlename'), 'alternatename' => new lang_string('alternatename'), 'idnumber' => new lang_string('idnumber'), 'institution' => new lang_string('institution'), 'department' => new lang_string('department'), 'phone1' => new lang_string('phone1'), 'phone2' => new lang_string('phone2'), 'address' => new lang_string('address'), 'lastaccess' => new lang_string('lastaccess'), 'suspended' => new lang_string('suspended'), 'confirmed' => new lang_string('confirmed', 'admin'), 'username' => new lang_string('username'), 'auth' => new lang_string('authentication', 'moodle'), 'moodlenetprofile' => new lang_string('moodlenetprofile', 'user'), 'timecreated' => new lang_string('timecreated', 'core_reportbuilder'), 'timemodified' => new lang_string('timemodified', 'core_reportbuilder'), 'lastip' => new lang_string('lastip'), ]
/reportbuilder/classes/local/entities/course.php:1311return ['fullname' => new lang_string('fullnamecourse'), 'shortname' => new lang_string('shortnamecourse'), 'idnumber' => new lang_string('idnumbercourse'), 'summary' => new lang_string('coursesummary'), 'format' => new lang_string('format'), 'startdate' => new lang_string('startdate'), 'enddate' => new lang_string('enddate'), 'visible' => new lang_string('coursevisibility'), 'groupmode' => new lang_string('groupmode', 'group'), 'groupmodeforce' => new lang_string('groupmodeforce', 'group'), 'lang' => new lang_string('forcelanguage'), 'calendartype' => new lang_string('forcecalendartype', 'calendar'), 'theme' => new lang_string('theme'), 'enablecompletion' => new lang_string('enablecompletion', 'completion'), 'downloadcontent' => new lang_string('downloadcoursecontent', 'course'), 'timecreated' => new lang_string('timecreated', 'core_reportbuilder'), 'timemodified' => new lang_string('timemodified', 'core_reportbuilder'), ]
/reportbuilder/classes/local/helpers/report.php:1311$column = new column(0, (object) ['reportid' => $reportid, 'uniqueidentifier' => $uniqueidentifier, 'columnorder' => column::get_max_columnorder($reportid, 'columnorder') + 1, 'sortorder' => column::get_max_columnorder($reportid, 'sortorder') + 1, ])
/reportbuilder/classes/local/entities/user.php:1981$columns[] = (new column('fullname', new lang_string('fullname'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_fields($fullnameselect)->set_type(column::TYPE_TEXT)->set_is_sortable($this->is_sortable('fullname'), $fullnamesort)->add_callback(static function (?string $value, stdClass $row) use ($viewfullnames) : string { /**/ } )
/reportbuilder/classes/local/entities/user.php:2281$column = (new column($fullnamefield, $fullnamelang, $this->get_entity_name( )))->add_joins($this->get_joins( ))->add_fields($fullnameselect)->add_field("{$usertablealias}.id")->set_type(column::TYPE_TEXT)->set_is_sortable($this->is_sortable($fullnamefield), $fullnamesort)->add_callback(static function (?string $value, stdClass $row) use ($fullnamefield, $viewfullnames) : string { /**/ } )
/reportbuilder/classes/local/entities/user.php:2601return html_writer::link(new moodle_url('/user/profile.php', ['id' => $row->id]), $OUTPUT->user_picture($row, ['link' => false, 'alttext' => false]) . fullname($row, $viewfullnames))
/reportbuilder/classes/local/helpers/schedule.php:1731$filerecord = ['contextid' => context_user::instance($USER->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => file_get_unused_draft_itemid( ), 'filepath' => '/', 'filename' => clean_filename($schedule->get_formatted_name( )), ]
/reportbuilder/classes/local/helpers/schedule.php:3761return [model::RECURRENCE_NONE => get_string('none'), model::RECURRENCE_DAILY => get_string('recurrencedaily', 'core_reportbuilder'), model::RECURRENCE_WEEKDAYS => get_string('recurrenceweekdays', 'core_reportbuilder'), model::RECURRENCE_WEEKLY => get_string('recurrenceweekly', 'core_reportbuilder'), model::RECURRENCE_MONTHLY => get_string('recurrencemonthly', 'core_reportbuilder'), model::RECURRENCE_ANNUALLY => get_string('recurrenceannually', 'core_reportbuilder'), ]
/reportbuilder/classes/local/helpers/custom_fields.php:1731$columns[] = (new column('customfield_' . $field->get('shortname'), new lang_string('customfieldcolumn', 'core_reportbuilder', $field->get_formatted_name( )), $this->entityname))->add_joins($this->get_joins( ))->add_join($this->get_table_join($field))->add_field($datafieldsql, $datafield)->add_fields($selectfields)->add_field($this->tablefieldalias, 'tablefieldalias')->set_type($columntype)->set_is_sortable($columntype !== column::TYPE_LONGTEXT)->add_callback(static function ($value, stdClass $row, field_controller $field) : string { /**/ } , $field)->set_is_available($this->handler->can_view($field, 0))
/reportbuilder/classes/local/helpers/custom_fields.php:2611$filter = (new filter($typeclass, 'customfield_' . $field->get('shortname'), new lang_string('customfieldcolumn', 'core_reportbuilder', $field->get_formatted_name( )), $this->entityname, $datafieldsql))->add_joins($this->get_joins( ))->add_join($this->get_table_join($field))
/reportbuilder/classes/local/filters/text.php:651$operators = [self::ANY_VALUE => get_string('filterisanyvalue', 'core_reportbuilder'), self::CONTAINS => get_string('filtercontains', 'core_reportbuilder'), self::DOES_NOT_CONTAIN => get_string('filterdoesnotcontain', 'core_reportbuilder'), self::IS_EQUAL_TO => get_string('filterisequalto', 'core_reportbuilder'), self::IS_NOT_EQUAL_TO => get_string('filterisnotequalto', 'core_reportbuilder'), self::STARTS_WITH => get_string('filterstartswith', 'core_reportbuilder'), self::ENDS_WITH => get_string('filterendswith', 'core_reportbuilder'), self::IS_EMPTY => get_string('filterisempty', 'core_reportbuilder'), self::IS_NOT_EMPTY => get_string('filterisnotempty', 'core_reportbuilder')]
/reportbuilder/classes/local/filters/duration.php:861$units = [1 => get_string('filterdateseconds', 'core_reportbuilder'), MINSECS => get_string('filterdateminutes', 'core_reportbuilder'), HOURSECS => get_string('filterdatehours', 'core_reportbuilder'), DAYSECS => get_string('filterdatedays', 'core_reportbuilder'), WEEKSECS => get_string('filterdateweeks', 'core_reportbuilder'), ]
/reportbuilder/classes/local/helpers/user_profile_fields.php:1701$columns[] = (new column('profilefield_' . core_text::strtolower($profilefield->field->shortname), new lang_string('customfieldcolumn', 'core_reportbuilder', format_string($profilefield->field->name, true, ['escape' => false, 'context' => context_system::instance( )])), $this->entityname))->add_joins($this->get_joins( ))->add_join($this->get_table_join($profilefield))->add_field($columnfieldsql, 'data')->set_type($columntype)->set_is_sortable($columntype !== column::TYPE_LONGTEXT)->add_callback(static function ($value, stdClass $row, profile_field_base $field) : string { /**/ } , $profilefield)
/reportbuilder/classes/local/helpers/user_profile_fields.php:2371$filter = (new filter($classname, 'profilefield_' . core_text::strtolower($profilefield->field->shortname), new lang_string('customfieldcolumn', 'core_reportbuilder', format_string($profilefield->field->name, true, ['escape' => false, 'context' => context_system::instance( )])), $this->entityname, $fieldsql, $params))->add_joins($this->get_joins( ))->add_join($this->get_table_join($profilefield))
/admin/settings/analytics.php:531$levelinstitutions = ['levelinstitutionisced0' => get_string('levelinstitutionisced0', 'analytics'), 'levelinstitutionisced1' => get_string('levelinstitutionisced1', 'analytics'), 'levelinstitutionisced2' => get_string('levelinstitutionisced2', 'analytics'), 'levelinstitutionisced3' => get_string('levelinstitutionisced3', 'analytics'), 'levelinstitutionisced4' => get_string('levelinstitutionisced4', 'analytics'), 'levelinstitutionisced5' => get_string('levelinstitutionisced5', 'analytics'), 'levelinstitutionisced6' => get_string('levelinstitutionisced6', 'analytics'), 'levelinstitutionisced7' => get_string('levelinstitutionisced7', 'analytics'), 'levelinstitutionisced8' => get_string('levelinstitutionisced8', 'analytics'), ]
/admin/settings/users.php:2321$fields = ['username' => new lang_string('username'), 'idnumber' => new lang_string('idnumber'), 'email' => new lang_string('email'), 'phone1' => new lang_string('phone1'), 'phone2' => new lang_string('phone2'), 'department' => new lang_string('department'), 'institution' => new lang_string('institution'), 'city' => new lang_string('city'), 'country' => new lang_string('country'), ]
/admin/settings/plugins.php:2821$items[] = new admin_setting_configselect('filteruploadedfiles', new lang_string('filteruploadedfiles', 'admin'), new lang_string('configfilteruploadedfiles', 'admin'), 0, array('0' => new lang_string('none'), '1' => new lang_string('allfiles'), '2' => new lang_string('htmlfilesonly')))
/admin/settings/courses.php:5311$minkeptoptions = array(0 => new lang_string('none'), 1 => '1', 2 => '2', 5 => '5', 10 => '10', 20 => '20', 30 => '30', 40 => '40', 50 => '50', 100 => '100', 200 => '200', 300 => '300', 400 => '400')
/admin/settings/courses.php:5141$automateddeletedaysoptions = array(0 => new lang_string('never'), 1000 => new lang_string('numdays', '', 1000), 365 => new lang_string('numdays', '', 365), 180 => new lang_string('numdays', '', 180), 150 => new lang_string('numdays', '', 150), 120 => new lang_string('numdays', '', 120), 90 => new lang_string('numdays', '', 90), 60 => new lang_string('numdays', '', 60), 35 => new lang_string('numdays', '', 35), 10 => new lang_string('numdays', '', 10), 5 => new lang_string('numdays', '', 5), 2 => new lang_string('numdays', '', 2))
/admin/settings/courses.php:4951$maxkeptoptions = array(0 => new lang_string('all'), 1 => '1', 2 => '2', 3 => '3', 4 => '4', 5 => '5', 10 => '10', 20 => '20', 30 => '30', 40 => '40', 50 => '50', 100 => '100', 200 => '200', 300 => '300', 400 => '400', 500 => '500')
/admin/settings/grades.php:1061$options = array(GRADE_AGGREGATE_MEAN => new lang_string('aggregatemean', 'grades'), GRADE_AGGREGATE_WEIGHTED_MEAN => new lang_string('aggregateweightedmean', 'grades'), GRADE_AGGREGATE_WEIGHTED_MEAN2 => new lang_string('aggregateweightedmean2', 'grades'), GRADE_AGGREGATE_EXTRACREDIT_MEAN => new lang_string('aggregateextracreditmean', 'grades'), GRADE_AGGREGATE_MEDIAN => new lang_string('aggregatemedian', 'grades'), GRADE_AGGREGATE_MIN => new lang_string('aggregatemin', 'grades'), GRADE_AGGREGATE_MAX => new lang_string('aggregatemax', 'grades'), GRADE_AGGREGATE_MODE => new lang_string('aggregatemode', 'grades'), GRADE_AGGREGATE_SUM => new lang_string('aggregatesum', 'grades'))
/admin/settings/grades.php:91$display_types = array(GRADE_DISPLAY_TYPE_REAL => new lang_string('real', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE => new lang_string('percentage', 'grades'), GRADE_DISPLAY_TYPE_LETTER => new lang_string('letter', 'grades'), GRADE_DISPLAY_TYPE_REAL_PERCENTAGE => new lang_string('realpercentage', 'grades'), GRADE_DISPLAY_TYPE_REAL_LETTER => new lang_string('realletter', 'grades'), GRADE_DISPLAY_TYPE_LETTER_REAL => new lang_string('letterreal', 'grades'), GRADE_DISPLAY_TYPE_LETTER_PERCENTAGE => new lang_string('letterpercentage', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_LETTER => new lang_string('percentageletter', 'grades'), GRADE_DISPLAY_TYPE_PERCENTAGE_REAL => new lang_string('percentagereal', 'grades'))
/admin/settings/messaging.php:431$options = array(DAYSECS => new lang_string('secondstotime86400'), WEEKSECS => new lang_string('secondstotime604800'), 2620800 => new lang_string('nummonths', 'moodle', 1), 7862400 => new lang_string('nummonths', 'moodle', 3), 15724800 => new lang_string('nummonths', 'moodle', 6), 0 => new lang_string('never'))
/admin/qtypes.php:2681return $OUTPUT->action_icon(new moodle_url('/admin/qtypes.php', array($action => $qtypename, 'sesskey' => sesskey( ))), new pix_icon($icon, $alt, 'moodle', array('title' => '', 'class' => 'iconsmall')), null, array('title' => $tip))
None:1921$course = $this->getDataGenerator( )->create_course(['customfields' => [['shortname' => 'text', 'value' => 'Hello'], ['shortname' => 'textarea_editor', 'value' => ['text' => 'Goodbye', 'format' => FORMAT_MOODLE]], ['shortname' => 'checkbox', 'value' => true], ['shortname' => 'date', 'value' => 1669852800], ['shortname' => 'select', 'value' => 2], ]])
/reportbuilder/tests/local/helpers/schedule_test.php:3781return ['No recurrence' => [model::RECURRENCE_NONE, $timescheduled, $timenow, $timescheduled], 'Recurrence, time scheduled in future' => [model::RECURRENCE_DAILY, $timenow + DAYSECS, $timenow, $timenow + DAYSECS], 'Daily recurrence' => [model::RECURRENCE_DAILY, $timescheduled, $timenow, 1639926000], 'Weekday recurrence' => [model::RECURRENCE_WEEKDAYS, $timescheduled, $timenow, 1640012400], 'Weekly recurrence' => [model::RECURRENCE_WEEKLY, $timescheduled, $timenow, 1640098800], 'Monthy recurrence' => [model::RECURRENCE_MONTHLY, $timescheduled, $timenow, 1641135600], 'Annual recurrence' => [model::RECURRENCE_ANNUALLY, $timescheduled, $timenow, 1667401200], ]
/reportbuilder/tests/local/helpers/schedule_test.php:3041return ['Disabled' => [['enabled' => false, ], false], 'Time scheduled in the past' => [['recurrence' => model::RECURRENCE_NONE, 'timescheduled' => $yesterday, ], true], 'Time scheduled in the past, already sent prior to schedule' => [['recurrence' => model::RECURRENCE_NONE, 'timescheduled' => $yesterday, 'timelastsent' => $yesterday - HOURSECS, ], true], 'Time scheduled in the past, already sent on schedule' => [['recurrence' => model::RECURRENCE_NONE, 'timescheduled' => $yesterday, 'timelastsent' => $yesterday, ], false], 'Time scheduled in the future' => [['recurrence' => model::RECURRENCE_NONE, 'timescheduled' => $tomorrow, ], false], 'Time scheduled in the future, already sent prior to schedule' => [['recurrence' => model::RECURRENCE_NONE, 'timelastsent' => $yesterday, 'timescheduled' => $tomorrow, ], false], 'Next send in the past' => [['recurrence' => model::RECURRENCE_DAILY, 'timescheduled' => $yesterday, 'timenextsend' => $yesterday, ], true], 'Next send in the future' => [['recurrence' => model::RECURRENCE_DAILY, 'timescheduled' => $yesterday, 'timenextsend' => $tomorrow, ], false], ]
/reportbuilder/tests/local/helpers/schedule_test.php:2131$schedule = $generator->create_schedule(['reportid' => $report->get('id'), 'name' => 'My schedule', 'audiences' => json_encode([$audiencecohort->get_persistent( )->get('id'), $audiencemanual->get_persistent( )->get('id'), ]), ])
/reportbuilder/tests/local/report/action_test.php:681return ['Specified via constructor' => ['', [ ], $title], 'Specified via pix icon' => [(string) $title], 'Specified via attributes' => ['', ['title' => $title]], 'Specified via attributes placeholder' => ['', ['title' => ':title'], null, ['title' => $title]], ]
/reportbuilder/tests/local/report/column_test.php:1781$column = $this->create_column('test')->set_index(1)->add_field(":{$param0}", 'foo', [$param0 => 'foo'])->add_field(":{$param1}", 'bar', [$param1 => 'bar'])
/reportbuilder/tests/local/filters/duration_test.php:1151[$select, $params] = duration::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => $operator, $filter->get_unique_identifier( ) . '_value' => $value, $filter->get_unique_identifier( ) . '_unit' => $unit, ])
/reportbuilder/tests/local/filters/number_test.php:951[$select, $params] = number::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_value1' => $value1, $filter->get_unique_identifier( ) . '_value2' => $value2, $filter->get_unique_identifier( ) . '_operator' => $operator, ])
/reportbuilder/tests/local/filters/select_test.php:741$filter = (new filter(select::class, 'test', new lang_string('course'), 'testentity', 'shortname'))->set_options([$course1->shortname => $course1->fullname, $course2->shortname => $course2->fullname, ])
/reportbuilder/tests/local/filters/category_test.php:1061[$select, $params] = category::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => $operator, $filter->get_unique_identifier( ) . '_value' => $categoryid, $filter->get_unique_identifier( ) . '_subcategories' => $subcategories, ])
/reportbuilder/tests/local/filters/date_test.php:2082[$select, $params] = date::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => date::DATE_CURRENT, $filter->get_unique_identifier( ) . '_unit' => date::DATE_UNIT_WEEK, ])
/reportbuilder/tests/local/filters/date_test.php:2941[$select, $params] = date::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => $operator, $filter->get_unique_identifier( ) . '_value' => $unitvalue, $filter->get_unique_identifier( ) . '_unit' => $unit, ])
/reportbuilder/tests/local/filters/date_test.php:1071[$select, $params] = date::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => date::DATE_RANGE, $filter->get_unique_identifier( ) . '_from' => 80, $filter->get_unique_identifier( ) . '_to' => 120, ])
/reportbuilder/tests/local/filters/date_test.php:1542[$select, $params] = date::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => date::DATE_CURRENT, $filter->get_unique_identifier( ) . '_unit' => date::DATE_UNIT_WEEK, ])
/reportbuilder/tests/local/filters/filesize_test.php:791$file = get_file_storage( )->create_file_from_string(['contextid' => user::instance($USER->id)->id, 'userid' => $USER->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => file_get_unused_draft_itemid( ), 'filepath' => '/', 'filename' => 'Hello.txt', ], str_repeat('A', 2 * filesize::SIZE_UNIT_MEGABYTE))
/reportbuilder/tests/local/filters/filesize_test.php:981[$select, $params] = filesize::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => $operator, $filter->get_unique_identifier( ) . '_value1' => $value, $filter->get_unique_identifier( ) . '_unit' => $unit, ])
/reportbuilder/tests/local/filters/user_test.php:1031[$select, $params] = user::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_operator' => user::USER_SELECT, $filter->get_unique_identifier( ) . '_value' => [$user02->id], ])
/reportbuilder/tests/local/filters/autocomplete_test.php:771$filter = (new filter(autocomplete::class, 'test', new \lang_string('course'), 'testentity', 'shortname'))->set_options([$course1->shortname => $course1->fullname, $course2->shortname => $course2->fullname, $course3->shortname => $course3->fullname, ])
/reportbuilder/classes/event/report_viewed.php:584$eventparams = ['context' => $report->get_context( ), 'objectid' => $report->get('id'), 'other' => ['name' => $report->get('name'), 'source' => $report->get('source'), ]]
/reportbuilder/classes/event/report_deleted.php:574$eventparams = ['context' => $report->get_context( ), 'objectid' => $report->get('id'), 'other' => ['name' => $report->get('name'), 'source' => $report->get('source'), ]]
/reportbuilder/classes/event/report_created.php:584$eventparams = ['context' => $report->get_context( ), 'objectid' => $report->get('id'), 'other' => ['name' => $report->get('name'), 'source' => $report->get('source'), ]]
/reportbuilder/classes/event/report_updated.php:584$eventparams = ['context' => $report->get_context( ), 'objectid' => $report->get('id'), 'other' => ['name' => $report->get('name'), 'source' => $report->get('source'), ]]
/group/externallib.php:7281return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'grouping record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'grouping description text'), 'descriptionformat' => new external_format_value('description'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of grouping object. A grouping has an id, a courseid, a name and a description.')
/group/externallib.php:6441return new external_function_parameters(array('groupings' => new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'grouping description text'), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of grouping object. A grouping has a courseid, a name and a description.')))
/group/externallib.php:9131$groups[] = array('id' => $grouprecord->groupid, 'name' => $grouprecord->name, 'idnumber' => $grouprecord->idnumber, 'description' => $grouprecord->description, 'descriptionformat' => $grouprecord->descriptionformat, 'enrolmentkey' => $grouprecord->enrolmentkey, 'courseid' => $grouprecord->courseid)
/group/externallib.php:7501return new external_function_parameters(array('groupings' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'id of grouping'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'grouping description text'), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of grouping object. A grouping has a courseid, a name and a description.')))
/group/externallib.php:10331return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'grouping record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'grouping description text'), 'descriptionformat' => new external_format_value('description'), 'idnumber' => new external_value(PARAM_RAW, 'id number'))))
/group/externallib.php:9431return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'grouping record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'grouping description text'), 'descriptionformat' => new external_format_value('description'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'customfields' => self::build_custom_fields_returns_structure( ), 'groups' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description'), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'customfields' => self::build_custom_fields_returns_structure( ), )), 'optional groups', VALUE_OPTIONAL))))
/group/externallib.php:13921return new external_single_structure(array('id' => new external_value(PARAM_INT, 'group record id'), 'name' => new external_value(PARAM_TEXT, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'courseid' => new external_value(PARAM_INT, 'course id', VALUE_OPTIONAL), ))
/group/externallib.php:12701return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'Id of course (empty or 0 for all the courses where the user is enrolled).', VALUE_DEFAULT, 0), 'userid' => new external_value(PARAM_INT, 'Id of user (empty or 0 for current user).', VALUE_DEFAULT, 0), 'groupingid' => new external_value(PARAM_INT, 'returns only groups in the specified grouping', VALUE_DEFAULT, 0)))
/group/overview.php:1581$groups[OVERVIEW_NO_GROUP] = (object) array('id' => OVERVIEW_NO_GROUP, 'courseid' => $courseid, 'idnumber' => '', 'name' => $strnogroup, 'formattedname' => $strnogroup, 'description' => '', 'descriptionformat' => FORMAT_HTML, 'enrolmentkey' => '', 'picture' => 0, 'timecreated' => 0, 'timemodified' => 0, )
/group/autogroup_form.php:1381$options = array('no' => get_string('noallocation', 'group'), 'random' => get_string('random', 'group'), 'firstname' => get_string('byfirstname', 'group'), 'lastname' => get_string('bylastname', 'group'), 'idnumber' => get_string('byidnumber', 'group'))
/group/lib.php:12821$result[$groupingid][] = ['type' => $fieldcontroller->get_field( )->get('type'), 'value' => $fieldcontroller->export_value( ), 'valueraw' => $fieldcontroller->get_value( ), 'name' => $fieldcontroller->get_field( )->get('name'), 'shortname' => $fieldcontroller->get_field( )->get('shortname'), ]
/group/lib.php:12531$result[$groupid][] = ['type' => $fieldcontroller->get_field( )->get('type'), 'value' => $fieldcontroller->export_value( ), 'valueraw' => $fieldcontroller->get_value( ), 'name' => $fieldcontroller->get_field( )->get('name'), 'shortname' => $fieldcontroller->get_field( )->get('shortname'), ]
/group/externallib.php:1721return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description'), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'visibility' => new external_value(PARAM_INT, 'group visibility mode. 0 = Visible to all. 1 = Visible to members. 2 = See own membership. ' . '3 = Membership is hidden.'), 'participation' => new external_value(PARAM_BOOL, 'participation mode'), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of group object. A group has an id, a courseid, a name, a description and an enrolment key.')
/group/externallib.php:691return new external_function_parameters(array('groups' => new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'visibility' => new external_value(PARAM_INT, 'group visibility mode. 0 = Visible to all. 1 = Visible to members. ' . '2 = See own membership. 3 = Membership is hidden. default: 0', VALUE_DEFAULT, 0), 'participation' => new external_value(PARAM_BOOL, 'activity participation enabled? Only for "all" and "members" visibility. Default true.', VALUE_DEFAULT, true), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of group object. A group has a courseid, a name, a description and an enrolment key.')))
/group/externallib.php:3341return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description'), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'visibility' => new external_value(PARAM_INT, 'group visibility mode. 0 = Visible to all. 1 = Visible to members. 2 = See own membership. ' . '3 = Membership is hidden.'), 'participation' => new external_value(PARAM_BOOL, 'participation mode'), )))
/group/externallib.php:2551return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group record id'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'name' => new external_value(PARAM_TEXT, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description text'), 'descriptionformat' => new external_format_value('description'), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'), 'idnumber' => new external_value(PARAM_RAW, 'id number'), 'visibility' => new external_value(PARAM_INT, 'group visibility mode. 0 = Visible to all. 1 = Visible to members. 2 = See own membership. ' . '3 = Membership is hidden.'), 'participation' => new external_value(PARAM_BOOL, 'participation mode'), 'customfields' => self::build_custom_fields_returns_structure( ), )))
/auth/lti/tests/auth_test.php:8141return ['New (unlinked) platform learner including PII, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_ALL, 'migrated' => false]], 'New (unlinked) platform learner excluding PII, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_NONE, 'migrated' => false]], 'New (unlinked) platform learner excluding names, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, )[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_EMAILS_ONLY, 'migrated' => false]], 'New (unlinked) platform learner excluding email, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', true, false)[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_NAMES_ONLY, 'migrated' => false]], 'New (unlinked) platform learner including PII, legacy user, consumer key bound, legacy user id sent' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', ], 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'legacy_user_id' => '123-abc'], 'iss' => $this->issuer, 'legacy_consumer_key' => 'CONSUMER_1', 'expected' => ['PII' => self::PII_ALL, 'migrated' => true]], 'New (unlinked) platform learner including PII, legacy user, consumer key bound, legacy user id omitted' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', ], 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => 'CONSUMER_1', 'expected' => ['PII' => self::PII_ALL, 'migrated' => false, ]], 'New (unlinked) platform learner including PII, legacy user, consumer key bound, no change in user id' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', ], 'membership_data' => ['user' => $this->get_mock_users_with_ids(['123-abc'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => 'CONSUMER_1', 'expected' => ['PII' => self::PII_ALL, 'migrated' => true]], 'New (unlinked) platform learner including PII, legacy user, unexpected consumer key bound, no change in user id' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', ], 'membership_data' => ['user' => $this->get_mock_users_with_ids(['123-abc'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => 'CONSUMER_ABCDEF', 'expected' => ['PII' => self::PII_ALL, 'migrated' => false, ]], 'New (unlinked) platform learner including PII, legacy user, consumer key not bound, legacy user id sent' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', ], 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'legacy_user_id' => '123-abc'], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_ALL, 'migrated' => false]], 'New (unlinked) platform learner including PII, no legacy data, consumer key bound, legacy user id sent' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'legacy_user_id' => '123-abc'], 'iss' => $this->issuer, 'legacy_consumer_key' => 'CONSUMER_1', 'expected' => ['PII' => self::PII_ALL, 'migrated' => false]], 'New (unlinked) platform instructor including PII, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_ALL, 'migrated' => false]], 'New (unlinked) platform instructor excluding PII, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'membership_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', false, false)[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_NONE, 'migrated' => false]], 'Existing (linked) platform learner including PII, no legacy data, no consumer key bound, no legacy id' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => true, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'iss' => $this->issuer, 'legacy_consumer_key' => null, 'expected' => ['PII' => self::PII_ALL, 'migrated' => false]], ]
/auth/lti/tests/auth_test.php:11521return ['Full PII included in both auths, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'expected' => ['PII' => self::PII_ALL, 'user_updated' => false, 'picture_updated' => false]], 'No PII included in both auths, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], ], 'expected' => ['PII' => self::PII_NONE, 'user_updated' => false, 'picture_updated' => false]], 'First auth no PII, second auth including PII, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], ], 'expected' => ['PII' => self::PII_ALL, 'user_updated' => true, 'picture_updated' => false]], 'First auth full PII, second auth no PII, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', )[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], ], 'expected' => ['PII' => self::PII_NONE, 'user_updated' => true, 'picture_updated' => false]], 'First auth full PII, second auth emails only, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', )[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false)[0], ], 'expected' => ['PII' => self::PII_EMAILS_ONLY, 'user_updated' => true, 'picture_updated' => false]], 'First auth full PII, second auth names only, no picture in either' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', )[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', true, false)[0], ], 'expected' => ['PII' => self::PII_NAMES_ONLY, 'user_updated' => true, 'picture_updated' => false]], 'Full PII included in both auths, picture included in the second auth' => ['first_launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', true, true, true)[0], ], 'expected' => ['PII' => self::PII_ALL, 'user_updated' => false, 'picture_updated' => false]], ]
/auth/db/auth.php:1141$rs = $authdb->Execute("SELECT {$this->config->fieldpass} FROM {$this->config->table} WHERE {$this->config->fielduser} = '" . $this->ext_addslashes($extusername) . "'")
/auth/email/classes/external.php:1431return new external_single_structure(['namefields' => new external_multiple_structure(new external_value(PARAM_NOTAGS, 'The order of the name fields')), 'passwordpolicy' => new external_value(PARAM_RAW, 'Password policy', VALUE_OPTIONAL), 'sitepolicy' => new external_value(PARAM_RAW, 'Site policy', VALUE_OPTIONAL), 'sitepolicyhandler' => new external_value(PARAM_PLUGIN, 'Site policy handler', VALUE_OPTIONAL), 'defaultcity' => new external_value(PARAM_NOTAGS, 'Default city', VALUE_OPTIONAL), 'country' => new external_value(PARAM_ALPHA, 'Default country', VALUE_OPTIONAL), 'extendedusernamechars' => new external_value(PARAM_BOOL, 'Extended characters in usernames or not', VALUE_OPTIONAL), 'profilefields' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Profile field id', VALUE_OPTIONAL), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'Profile field shortname', VALUE_OPTIONAL), 'name' => new external_value(PARAM_RAW, 'Profield field name', VALUE_OPTIONAL), 'datatype' => new external_value(PARAM_ALPHANUMEXT, 'Profield field datatype', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'Profield field description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description'), 'categoryid' => new external_value(PARAM_INT, 'Profield field category id', VALUE_OPTIONAL), 'categoryname' => new external_value(PARAM_RAW, 'Profield field category name', VALUE_OPTIONAL), 'sortorder' => new external_value(PARAM_INT, 'Profield field sort order', VALUE_OPTIONAL), 'required' => new external_value(PARAM_INT, 'Profield field required', VALUE_OPTIONAL), 'locked' => new external_value(PARAM_INT, 'Profield field locked', VALUE_OPTIONAL), 'visible' => new external_value(PARAM_INT, 'Profield field visible', VALUE_OPTIONAL), 'forceunique' => new external_value(PARAM_INT, 'Profield field unique', VALUE_OPTIONAL), 'signup' => new external_value(PARAM_INT, 'Profield field in signup form', VALUE_OPTIONAL), 'defaultdata' => new external_value(PARAM_RAW, 'Profield field default data', VALUE_OPTIONAL), 'defaultdataformat' => new external_format_value('defaultdata'), 'param1' => new external_value(PARAM_RAW, 'Profield field settings', VALUE_OPTIONAL), 'param2' => new external_value(PARAM_RAW, 'Profield field settings', VALUE_OPTIONAL), 'param3' => new external_value(PARAM_RAW, 'Profield field settings', VALUE_OPTIONAL), 'param4' => new external_value(PARAM_RAW, 'Profield field settings', VALUE_OPTIONAL), 'param5' => new external_value(PARAM_RAW, 'Profield field settings', VALUE_OPTIONAL), ]), 'Required profile fields', VALUE_OPTIONAL), 'recaptchapublickey' => new external_value(PARAM_RAW, 'Recaptcha public key', VALUE_OPTIONAL), 'recaptchachallengehash' => new external_value(PARAM_RAW, 'Recaptcha challenge hash', VALUE_OPTIONAL), 'recaptchachallengeimage' => new external_value(PARAM_URL, 'Recaptcha challenge noscript image', VALUE_OPTIONAL), 'recaptchachallengejs' => new external_value(PARAM_URL, 'Recaptcha challenge js url', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ])
/auth/email/classes/external.php:1991return new external_function_parameters(array('username' => new external_value(core_user::get_property_type('username'), 'Username'), 'password' => new external_value(core_user::get_property_type('password'), 'Plain text password'), 'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user'), 'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user'), 'email' => new external_value(core_user::get_property_type('email'), 'A valid and unique email address'), 'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_DEFAULT, ''), 'country' => new external_value(core_user::get_property_type('country'), 'Home country code', VALUE_DEFAULT, ''), 'recaptchachallengehash' => new external_value(PARAM_RAW, 'Recaptcha challenge hash', VALUE_DEFAULT, ''), 'recaptcharesponse' => new external_value(PARAM_NOTAGS, 'Recaptcha response', VALUE_DEFAULT, ''), 'customprofilefields' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field'), 'name' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'), 'value' => new external_value(PARAM_RAW, 'Custom field value, can be an encoded json if required'))), 'User custom fields (also known as user profile fields)', VALUE_DEFAULT, array( )), 'redirect' => new external_value(PARAM_LOCALURL, 'Redirect the user to this site url after confirmation.', VALUE_DEFAULT, ''), ))
/auth/email/classes/external.php:2501$params = self::validate_parameters(self::signup_user_parameters( ), array('username' => $username, 'password' => $password, 'firstname' => $firstname, 'lastname' => $lastname, 'email' => $email, 'city' => $city, 'country' => $country, 'recaptchachallengehash' => $recaptchachallengehash, 'recaptcharesponse' => $recaptcharesponse, 'customprofilefields' => $customprofilefields, 'redirect' => $redirect, ))
/auth/email/tests/external/external_test.php:631$this->field1 = $this->getDataGenerator( )->create_custom_profile_field(array('shortname' => 'frogname', 'name' => 'Name of frog', 'datatype' => 'text', 'signup' => 1, 'visible' => 1, 'required' => 1, 'sortorder' => 1))->id
/auth/email/tests/external/external_test.php:661$this->field2 = $this->getDataGenerator( )->create_custom_profile_field(array('shortname' => 'sometext', 'name' => 'Some text in textarea', 'datatype' => 'textarea', 'signup' => 1, 'visible' => 1, 'required' => 1, 'sortorder' => 2))->id
/auth/mnet/classes/privacy/provider.php:1881$item = (object) ['time' => transform::datetime($logentry->time), 'remoteid' => $logentry->remoteid, 'ip' => $logentry->ip, 'course' => $logentry->course, 'coursename' => format_string($logentry->coursename), 'module' => $logentry->module, 'cmid' => $logentry->cmid, 'action' => $logentry->action, 'url' => $logentry->url, 'info' => format_string($logentry->info)]
/auth/manual/settings.php:431$expirationtimeoptions = array('30' => new lang_string('numdays', '', 30), '60' => new lang_string('numdays', '', 60), '90' => new lang_string('numdays', '', 90), '120' => new lang_string('numdays', '', 120), '150' => new lang_string('numdays', '', 150), '180' => new lang_string('numdays', '', 180), '365' => new lang_string('numdays', '', 365), )
/auth/manual/settings.php:571$expirationwarningoptions = array('0' => new lang_string('never'), '1' => new lang_string('numdays', '', 1), '2' => new lang_string('numdays', '', 2), '3' => new lang_string('numdays', '', 3), '4' => new lang_string('numdays', '', 4), '5' => new lang_string('numdays', '', 5), '6' => new lang_string('numdays', '', 6), '7' => new lang_string('numdays', '', 7), '10' => new lang_string('numdays', '', 10), '14' => new lang_string('numdays', '', 14), )
/auth/lti/classes/privacy/provider.php:711$data = (object) ['timecreated' => transform::datetime($login->timecreated), 'timemodified' => transform::datetime($login->timemodified), 'issuer' => $login->issuer, 'issuer256' => $login->issuer256, 'sub' => $login->sub, 'sub256' => $login->sub256]
/auth/lti/classes/output/renderer.php:471$accountinfo = ['firstname' => $USER->firstname, 'lastname' => $USER->lastname, 'email' => $USER->email, 'picturehtml' => $this->output->user_picture($USER, ['size' => 35, 'class' => 'round']), ]
/auth/lti/classes/output/renderer.php:551$context = ['isloggedin' => isloggedin( ), 'info' => $notification->export_for_template($this), 'formaction' => $formaction->out( ), 'sesskey' => sesskey( ), 'accountinfo' => $accountinfo, 'cancreateaccounts' => $cancreateaccounts, ]
/auth/lti/tests/auth_test.php:1391$data = ['iss' => $this->issuer, 'aud' => '123', 'sub' => $mockuser['user_id'], 'exp' => time( ) + 60, 'nonce' => 'some-nonce-value-123', 'https://purl.imsglobal.org/spec/lti/claim/deployment_id' => '1', 'https://purl.imsglobal.org/spec/lti/claim/roles' => $mockuser['roles'], 'https://purl.imsglobal.org/spec/lti/claim/resource_link' => ['title' => "Res link title", 'id' => 'res-link-id-123', ], "https://purl.imsglobal.org/spec/lti/claim/context" => ["id" => "context-id-12345", "label" => "ITS 123", "title" => "ITS 123 Machine Learning", "type" => ["http://purl.imsglobal.org/vocab/lis/v2/course#CourseOffering"]], 'https://purl.imsglobal.org/spec/lti/claim/target_link_uri' => 'https://this-moodle-tool.example.org/context/24/resource/14', 'https://purl.imsglobal.org/spec/lti/claim/custom' => ['id' => '1']]
/auth/lti/tests/auth_test.php:2901return ['New (unlinked) platform learner including PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => null], ], 'New (unlinked) platform learner excluding names, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false)[0], 'migration_claim' => null], ], 'New (unlinked) platform learner excluding emails, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', true, false)[0], 'migration_claim' => null], ], 'New (unlinked) platform learner excluding all PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], 'migration_claim' => null], ], 'New (unlinked) platform learner including PII, existing legacy user, valid migration claim' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => true]], 'New (unlinked) platform learner including PII, existing legacy user, no migration claim' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => null, ], 'expected' => ['migrated' => false, ]], 'New (unlinked) platform learner including PII, existing legacy user, migration missing consumer_key' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['signing_secret' => 'toolsecret1', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => false, 'migration_debugging' => true, ]], 'New (unlinked) platform learner including PII, existing legacy user, migration bad consumer_key' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_BAD', 'signing_secret' => 'toolsecret1', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => false, ]], 'New (unlinked) platform learner including PII, existing legacy user, migration user not matched' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'user_id' => '234-bcd', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => false]], 'New (unlinked) platform learner including PII, existing legacy user, valid migration claim secret2' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret2', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => true]], 'New (unlinked) platform learner including PII, existing legacy user, migration claim bad secret' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'bad_secret', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => false, 'migration_debugging' => true, ]], 'New (unlinked) platform learner including PII, no legacy user, valid migration claim' => ['legacy_data' => ['users' => [ ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret2', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => false]], 'New (unlinked) platform learner excluding PII, existing legacy user, valid migration claim' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => true]], 'New (unlinked) platform instructor including PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor')[0], 'migration_claim' => null], ], 'New (unlinked) platform instructor excluding PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', false, false)[0], 'migration_claim' => null], ], 'New (unlinked) platform instructor including PII, existing legacy user, valid migration claim' => ['legacy_data' => ['users' => [['user_id' => '123-abc'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor')[0], 'migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'user_id' => '123-abc', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']], 'expected' => ['migrated' => true]], 'Existing (linked) platform learner including PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => true, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner')[0], 'migration_claim' => null], ], 'Existing (linked) platform learner excluding PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => true, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner', false, false)[0], 'migration_claim' => null], ], 'Existing (linked) platform instructor including PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => true, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor')[0], 'migration_claim' => null], ], 'Existing (linked) platform instructor excluding PII, no legacy user, no migration claim' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => true, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', false, false)[0], 'migration_claim' => null], ], 'New (unlinked) platform instructor excluding PII, picture included' => ['legacy_data' => null, 'launch_data' => ['has_authenticated_before' => false, 'user' => $this->get_mock_users_with_ids(['1'], 'http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', false, false, true)[0], 'migration_claim' => null], ]]
/reportbuilder/classes/local/filters/number.php:651$operators = [self::ANY_VALUE => get_string('filterisanyvalue', 'core_reportbuilder'), self::IS_NOT_EMPTY => get_string('filterisnotempty', 'core_reportbuilder'), self::IS_EMPTY => get_string('filterisempty', 'core_reportbuilder'), self::LESS_THAN => get_string('filterlessthan', 'core_reportbuilder'), self::GREATER_THAN => get_string('filtergreaterthan', 'core_reportbuilder'), self::EQUAL_TO => get_string('filterisequalto', 'core_reportbuilder'), self::EQUAL_OR_LESS_THAN => get_string('filterequalorlessthan', 'core_reportbuilder'), self::EQUAL_OR_GREATER_THAN => get_string('filterequalorgreaterthan', 'core_reportbuilder'), self::RANGE => get_string('filterrange', 'core_reportbuilder'), ]
/reportbuilder/classes/output/dynamictabs/audience.php:1161$audienceinstances[] = ['instanceid' => $persistent->get('id'), 'description' => $reportaudience->get_description( ), 'heading' => $reportaudience->get_name( ), 'headingeditable' => $editable->render($renderer), 'editwarning' => in_array($persistent->get('id'), $scheduleaudiences) ? get_string('audienceusedbyschedule', 'core_reportbuilder') : '', 'canedit' => $canedit, 'candelete' => $canedit, 'showormessage' => $showormessage, ]
/reportbuilder/classes/output/dynamictabs/audience.php:541return ['tabheading' => get_string('audience', 'core_reportbuilder'), 'reportid' => $reportid, 'contextid' => (new report($reportid))->get('contextid'), 'sidebarmenucards' => $menucards, 'instances' => $audienceinstances, 'hasinstances' => !empty($audienceinstances), ]
/reportbuilder/classes/privacy/provider.php:3601return (object) ['name' => $schedule->get_formatted_name($context), 'enabled' => transform::yesno($schedule->get('enabled')), 'format' => $formatoptions[$schedule->get('format')], 'timescheduled' => transform::datetime($schedule->get('timescheduled')), 'recurrence' => $recurrenceoptions[$schedule->get('recurrence')], 'userviewas' => $viewasoptions[$userviewas] ?? transform::user($userviewas), 'audiences' => $schedule->get('audiences'), 'subject' => $schedule->get('subject'), 'message' => format_text($schedule->get('message'), $schedule->get('messageformat'), ['context' => $context]), 'reportempty' => $reportemptyoptions[$schedule->get('reportempty')], 'usercreated' => transform::user($schedule->get('usercreated')), 'usermodified' => transform::user($schedule->get('usermodified')), 'timecreated' => transform::datetime($schedule->get('timecreated')), 'timemodified' => transform::datetime($schedule->get('timemodified')), ]
/reportbuilder/classes/local/filters/filesize.php:901$units = [self::SIZE_UNIT_BYTE => new lang_string('sizeb'), self::SIZE_UNIT_KILOBYTE => new lang_string('sizekb'), self::SIZE_UNIT_MEGABYTE => new lang_string('sizemb'), self::SIZE_UNIT_GIGABYTE => new lang_string('sizegb'), ]
/reportbuilder/classes/local/filters/tags.php:671$operators = [self::ANY_VALUE => new lang_string('filterisanyvalue', 'core_reportbuilder'), self::NOT_EMPTY => new lang_string('filterisnotempty', 'core_reportbuilder'), self::EMPTY => new lang_string('filterisempty', 'core_reportbuilder'), self::EQUAL_TO => new lang_string('filterisequalto', 'core_reportbuilder'), self::NOT_EQUAL_TO => new lang_string('filterisnotequalto', 'core_reportbuilder'), ]
/reportbuilder/classes/local/filters/date.php:1321$units = [self::DATE_UNIT_HOUR => get_string('filterdatehours', 'core_reportbuilder'), self::DATE_UNIT_DAY => get_string('filterdatedays', 'core_reportbuilder'), self::DATE_UNIT_WEEK => get_string('filterdateweeks', 'core_reportbuilder'), self::DATE_UNIT_MONTH => get_string('filterdatemonths', 'core_reportbuilder'), self::DATE_UNIT_YEAR => get_string('filterdateyears', 'core_reportbuilder'), ]
/reportbuilder/classes/local/filters/date.php:911$operators = [self::DATE_ANY => new lang_string('filterisanyvalue', 'core_reportbuilder'), self::DATE_NOT_EMPTY => new lang_string('filterisnotempty', 'core_reportbuilder'), self::DATE_EMPTY => new lang_string('filterisempty', 'core_reportbuilder'), self::DATE_RANGE => new lang_string('filterrange', 'core_reportbuilder'), self::DATE_BEFORE => new lang_string('filterdatebefore', 'core_reportbuilder'), self::DATE_LAST => new lang_string('filterdatelast', 'core_reportbuilder'), self::DATE_CURRENT => new lang_string('filterdatecurrent', 'core_reportbuilder'), self::DATE_NEXT => new lang_string('filterdatenext', 'core_reportbuilder'), self::DATE_PAST => new lang_string('filterdatepast', 'core_reportbuilder'), self::DATE_FUTURE => new lang_string('filterdatefuture', 'core_reportbuilder'), ]
/group/classes/reportbuilder/local/entities/group_member.php:871$columns[] = (new column('timeadded', new lang_string('timeadded', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$groupsmembersalias}.timeadded")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/group/classes/reportbuilder/local/entities/grouping.php:1831$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$groupingsalias}.timemodified")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/group/classes/reportbuilder/local/entities/grouping.php:1711$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$groupingsalias}.timecreated")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/group/classes/reportbuilder/local/entities/grouping.php:1411$columns[] = (new column('description', new lang_string('description'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_fields("{$groupingsalias}.descriptionformat, {$groupingsalias}.id, {$groupingsalias}.courseid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(false)->set_callback(static function (?string $description, stdClass $grouping) : string { /**/ } )
/reportbuilder/classes/privacy/provider.php:3271return (object) ['classname' => $classname, 'heading' => $audience->get_formatted_heading($context), 'configdata' => $audience->get('configdata'), 'usercreated' => transform::user($audience->get('usercreated')), 'usermodified' => transform::user($audience->get('usermodified')), 'timecreated' => transform::datetime($audience->get('timecreated')), 'timemodified' => transform::datetime($audience->get('timemodified')), ]
/reportbuilder/classes/privacy/provider.php:2971$reportdata = (object) ['name' => $report->get_formatted_name( ), 'source' => $source, 'conditiondata' => $report->get('conditiondata'), 'settingsdata' => $report->get('settingsdata'), 'uniquerows' => transform::yesno($report->get('uniquerows')), 'usercreated' => transform::user($report->get('usercreated')), 'usermodified' => transform::user($report->get('usermodified')), 'timecreated' => transform::datetime($report->get('timecreated')), 'timemodified' => transform::datetime($report->get('timemodified')), ]
/reportbuilder/lib.php:661$context = ['instanceid' => 0, 'heading' => $params['title'], 'headingeditable' => $params['title'], 'form' => $audienceform->render( ), 'canedit' => true, 'candelete' => true, 'showormessage' => $params['showormessage'], ]
/group/classes/reportbuilder/local/entities/group_member.php:991$columns[] = (new column('component', new lang_string('plugin', 'core'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupsmembersalias}.component")->set_is_sortable(true)
/group/classes/reportbuilder/local/entities/group.php:2281$columns[] = (new column('picture', new lang_string('picture'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$groupsalias}.picture, {$groupsalias}.id, {$contextalias}.id AS contextid")->set_is_sortable(false)->set_disabled_aggregation(['avg', 'max', 'min', 'sum'])->set_callback(static function ($picture, stdClass $group) : string { /**/ } )
/group/classes/reportbuilder/local/entities/group.php:2511$columns[] = (new column('timecreated', new lang_string('timecreated', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$groupsalias}.timecreated")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/group/classes/reportbuilder/local/entities/group.php:1891$columns[] = (new column('visibility', new lang_string('visibilityshort', 'core_group'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$groupsalias}.visibility")->set_is_sortable(true)->set_disabled_aggregation(['avg', 'max', 'min', 'sum'])->set_callback(static function (?int $visibility) : string { /**/ } )
/group/classes/reportbuilder/local/entities/group.php:2161$columns[] = (new column('participation', new lang_string('participationshort', 'core_group'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_fields("{$groupsalias}.participation")->set_is_sortable(true)->set_callback([format::class, 'boolean_as_text'])
/group/classes/reportbuilder/local/entities/grouping.php:1041$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupingsalias}.name, {$groupingsalias}.courseid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->set_callback(static function ($name, stdClass $grouping) : string { /**/ } )
/group/classes/reportbuilder/local/entities/grouping.php:1261$columns[] = (new column('idnumber', new lang_string('idnumber'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupingsalias}.idnumber")->set_is_sortable(true)
/group/classes/reportbuilder/local/entities/group.php:2631$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$groupsalias}.timemodified")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/group/classes/reportbuilder/local/entities/group.php:3061$filters[] = (new filter(select::class, 'visibility', new lang_string('visibilityshort', 'core_group'), $this->get_entity_name( ), "{$groupsalias}.visibility"))->add_joins($this->get_joins( ))->set_options([GROUPS_VISIBILITY_ALL => new lang_string('visibilityall', 'core_group'), GROUPS_VISIBILITY_MEMBERS => new lang_string('visibilitymembers', 'core_group'), GROUPS_VISIBILITY_OWN => new lang_string('visibilityown', 'core_group'), GROUPS_VISIBILITY_NONE => new lang_string('visibilitynone', 'core_group'), ])
/group/classes/customfield/grouping_handler.php:1451$finalfields[] = ['id' => $data->get('id'), 'shortname' => $data->get_field( )->get('shortname'), 'type' => $data->get_field( )->get('type'), 'value' => $data->get_value( ), 'valueformat' => $data->get('valueformat'), 'valuetrust' => $data->get('valuetrust'), 'groupingid' => $data->get('instanceid'), ]
/group/classes/customfield/group_handler.php:1461$finalfields[] = ['id' => $data->get('id'), 'shortname' => $data->get_field( )->get('shortname'), 'type' => $data->get_field( )->get('type'), 'value' => $data->get_value( ), 'valueformat' => $data->get('valueformat'), 'valuetrust' => $data->get('valuetrust'), 'groupid' => $data->get('instanceid'), ]
/group/externallib.php:15871return new external_function_parameters(array('groups' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the group'), 'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'), 'description' => new external_value(PARAM_RAW, 'group description text', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_DEFAULT), 'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'id number', VALUE_OPTIONAL), 'visibility' => new external_value(PARAM_TEXT, 'group visibility mode. 0 = Visible to all. 1 = Visible to members. ' . '2 = See own membership. 3 = Membership is hidden.', VALUE_OPTIONAL), 'participation' => new external_value(PARAM_BOOL, 'activity participation enabled? Only for "all" and "members" visibility', VALUE_OPTIONAL), 'customfields' => self::build_custom_fields_parameters_structure( ), )), 'List of group objects. A group is found by the id, then all other details provided will be updated.')))
/group/externallib.php:17251return new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field - to be able to build the field class in the code'), 'type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field - text field, checkbox...'), 'valueraw' => new external_value(PARAM_RAW, 'The raw value of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), ]), 'Custom fields', VALUE_OPTIONAL)
/group/classes/reportbuilder/local/entities/group.php:1481$columns[] = (new column('description', new lang_string('description'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_fields("{$groupsalias}.descriptionformat, {$groupsalias}.id, {$groupsalias}.courseid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(false)->set_callback(static function (?string $description, stdClass $group) : string { /**/ } )
/group/classes/reportbuilder/local/entities/group.php:1781$columns[] = (new column('enrolmentkey', new lang_string('enrolmentkey', 'core_group'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupsalias}.enrolmentkey")->set_is_sortable(true)
/group/classes/reportbuilder/local/entities/group.php:1111$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupsalias}.name, {$groupsalias}.courseid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true)->set_callback(static function ($name, stdClass $group) : string { /**/ } )
/group/classes/reportbuilder/local/entities/group.php:1331$columns[] = (new column('idnumber', new lang_string('idnumber'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$groupsalias}.idnumber")->set_is_sortable(true)
/admin/tool/xmldb/actions/edit_xml_file/edit_xml_file.class.php:1861$move = html_writer::span($OUTPUT->render_from_template('core/drag_handle', ['movetitle' => get_string('movecontent', 'moodle', $table->getName( ))]), '', ['data-action' => 'move_updown_table', 'data-dir' => str_replace($CFG->dirroot, '', $dirpath), 'data-table' => $table->getName( )])
/admin/tool/xmldb/actions/view_table_php/view_table_php.class.php:1201$commands = array('Fields', $optionspacer . 'add_field', $optionspacer . 'drop_field', $optionspacer . 'rename_field', $optionspacer . 'change_field_type', $optionspacer . 'change_field_precision', $optionspacer . 'change_field_notnull', $optionspacer . 'change_field_default', 'Keys', $optionspacer . 'add_key', $optionspacer . 'drop_key', $optionspacer . 'rename_key', 'Indexes', $optionspacer . 'add_index', $optionspacer . 'drop_index', $optionspacer . 'rename_index')
/admin/tool/xmldb/actions/view_table_php/view_table_php.class.php:1661$o .= ' <tr><td><label for="menucommand" accesskey="c">' . $this->str['selectaction'] . ' </label>' . html_writer::select($popcommands, 'command', $commandparam, false) . '&nbsp;<label for="menufieldkeyindex" accesskey="f">' . $this->str['selectfieldkeyindex'] . ' </label>' . html_writer::select($popfields, 'fieldkeyindex', $origfieldkeyindexparam, false) . '</td></tr>'
/admin/tool/xmldb/actions/check_defaults/check_defaults.class.php:1701$r .= ' <li>' . $this->str['table'] . ': ' . $xmldbtable->getName( ) . '. ' . $this->str['field'] . ': ' . $xmldbfield->getName( ) . ', ' . $this->str['expected'] . ' ' . $xmldbtext . ' ' . $this->str['actual'] . ' ' . $physicaltext . '</li>'
/admin/tool/xmldb/actions/check_oracle_semantics/check_oracle_semantics.class.php:771$params = array('table_name' => core_text::strtoupper($DB->get_prefix( ) . $xmldb_table->getName( )), 'column_name' => core_text::strtoupper($xmldb_field->getName( )), 'data_type' => 'VARCHAR2')
/admin/tool/xmldb/actions/check_oracle_semantics/check_oracle_semantics.class.php:1281$r .= ' <li>' . $this->str['table'] . ': ' . $xmldb_table->getName( ) . '. ' . $this->str['field'] . ': ' . $xmldb_field->getName( ) . ', ' . $this->str['expected'] . ' ' . "'CHAR'" . ' ' . $this->str['actual'] . ' ' . "'BYTE'" . '</li>'
/admin/tool/xmldb/actions/edit_field/edit_field.class.php:1321$typeoptions = array(XMLDB_TYPE_INTEGER => $field->getXMLDBTypeName(XMLDB_TYPE_INTEGER), XMLDB_TYPE_NUMBER => $field->getXMLDBTypeName(XMLDB_TYPE_NUMBER), XMLDB_TYPE_FLOAT => $field->getXMLDBTypeName(XMLDB_TYPE_FLOAT), XMLDB_TYPE_DATETIME => $field->getXMLDBTypeName(XMLDB_TYPE_DATETIME), XMLDB_TYPE_CHAR => $field->getXMLDBTypeName(XMLDB_TYPE_CHAR), XMLDB_TYPE_TEXT => $field->getXMLDBTypeName(XMLDB_TYPE_TEXT), XMLDB_TYPE_BINARY => $field->getXMLDBTypeName(XMLDB_TYPE_BINARY))
/admin/tool/xmldb/actions/edit_xml_file/edit_xml_file.class.php:1651$b .= '&nbsp;<a href="index.php?action=save_xml_file&amp;sesskey=' . sesskey( ) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;time=' . time( ) . '&amp;unload=false&amp;postaction=edit_xml_file&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['save'] . ']</a>'
/admin/tool/lp/classes/external.php:5321return new external_single_structure(array('template' => template_exporter::get_read_structure( ), 'pagecontextid' => new external_value(PARAM_INT, 'Context ID'), 'canmanagecompetencyframeworks' => new external_value(PARAM_BOOL, 'User can manage competency frameworks'), 'canmanagetemplatecompetencies' => new external_value(PARAM_BOOL, 'User can manage learning plan templates'), 'competencies' => new external_multiple_structure(competency_summary_exporter::get_read_structure( )), 'manageurl' => new external_value(PARAM_LOCALURL, 'Url to the manage competencies page.'), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Base URL of the plugin.'), 'statistics' => template_statistics_exporter::get_read_structure( )))
/admin/tool/lp/classes/external.php:5961return new external_single_structure(array('plan' => plan_exporter::get_read_structure( ), 'contextid' => new external_value(PARAM_INT, 'Context ID.'), 'pluginbaseurl' => new external_value(PARAM_URL, 'Plugin base URL.'), 'competencies' => new external_multiple_structure(new external_single_structure(array('competency' => competency_exporter::get_read_structure( ), 'comppath' => competency_path_exporter::get_read_structure( ), 'usercompetency' => $uc, 'usercompetencyplan' => $ucp))), 'competencycount' => new external_value(PARAM_INT, 'Count of competencies'), 'proficientcompetencycount' => new external_value(PARAM_INT, 'Count of proficientcompetencies'), 'proficientcompetencypercentage' => new external_value(PARAM_FLOAT, 'Percentage of competencies proficient'), 'proficientcompetencypercentageformatted' => new external_value(PARAM_RAW, 'Displayable percentage'), ))
/admin/tool/lp/classes/external.php:6581return new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The learning plan user id'), 'plans' => new external_multiple_structure(plan_exporter::get_read_structure( )), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Url to the tool_lp plugin folder on this Moodle site'), 'navigation' => new external_multiple_structure(new external_value(PARAM_RAW, 'HTML for a navigation item that should be on this page')), 'canreaduserevidence' => new external_value(PARAM_BOOL, 'Can the current user view the user\'s evidence'), 'canmanageuserplans' => new external_value(PARAM_BOOL, 'Can the current user manage the user\'s plans'), ))
/admin/tool/lp/classes/external.php:7081return new external_single_structure(array('canmanage' => new external_value(PARAM_BOOL, 'Can the current user manage the user\'s evidence'), 'userid' => new external_value(PARAM_INT, 'The user ID'), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Url to the tool_lp plugin folder on this Moodle site'), 'evidence' => new external_multiple_structure(user_evidence_summary_exporter::get_read_structure( )), 'navigation' => new external_multiple_structure(new external_value(PARAM_RAW, 'HTML for a navigation item that should be on this page')), ))
/admin/tool/lp/classes/external.php:1421return new external_single_structure(array('competencyframeworks' => new external_multiple_structure(competency_framework_exporter::get_read_structure( )), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Url to the tool_lp plugin folder on this Moodle site'), 'navigation' => new external_multiple_structure(new external_value(PARAM_RAW, 'HTML for a navigation item that should be on this page')), 'pagecontextid' => new external_value(PARAM_INT, 'The page context id')))
/admin/tool/lp/classes/external.php:2121return new external_single_structure(array('framework' => competency_framework_exporter::get_read_structure( ), 'canmanage' => new external_value(PARAM_BOOL, 'True if this user has permission to manage competency frameworks'), 'pagecontextid' => new external_value(PARAM_INT, 'Context id for the framework'), 'search' => new external_value(PARAM_RAW, 'Current search string'), 'rulesmodules' => new external_value(PARAM_RAW, 'JSON encoded data for rules'), 'pluginbaseurl' => new external_value(PARAM_RAW, 'Plugin base url')))
/admin/tool/lp/classes/external.php:3991return new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'The current course id'), 'pagecontextid' => new external_value(PARAM_INT, 'The current page context ID.'), 'gradableuserid' => new external_value(PARAM_INT, 'Current user id, if the user is a gradable user.', VALUE_OPTIONAL), 'canmanagecompetencyframeworks' => new external_value(PARAM_BOOL, 'User can manage competency frameworks'), 'canmanagecoursecompetencies' => new external_value(PARAM_BOOL, 'User can manage linked course competencies'), 'canconfigurecoursecompetencies' => new external_value(PARAM_BOOL, 'User can configure course competency settings'), 'cangradecompetencies' => new external_value(PARAM_BOOL, 'User can grade competencies.'), 'settings' => course_competency_settings_exporter::get_read_structure( ), 'statistics' => course_competency_statistics_exporter::get_read_structure( ), 'competencies' => new external_multiple_structure(new external_single_structure(array('competency' => competency_exporter::get_read_structure( ), 'coursecompetency' => course_competency_exporter::get_read_structure( ), 'coursemodules' => new external_multiple_structure(course_module_summary_exporter::get_read_structure( )), 'usercompetencycourse' => $ucc, 'ruleoutcomeoptions' => new external_multiple_structure(new external_single_structure(array('value' => new external_value(PARAM_INT, 'The option value'), 'text' => new external_value(PARAM_NOTAGS, 'The name of the option'), 'selected' => new external_value(PARAM_BOOL, 'If this is the currently selected option'), ))), 'comppath' => competency_path_exporter::get_read_structure( ), 'plans' => new external_multiple_structure(plan_exporter::get_read_structure( )), ))), 'manageurl' => new external_value(PARAM_LOCALURL, 'Url to the manage competencies page.'), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Url to the course competencies page.'), ))
/admin/tool/lp/classes/external.php:4711return new external_single_structure(array('templates' => new external_multiple_structure(template_exporter::get_read_structure( )), 'pluginbaseurl' => new external_value(PARAM_LOCALURL, 'Url to the tool_lp plugin folder on this Moodle site'), 'navigation' => new external_multiple_structure(new external_value(PARAM_RAW, 'HTML for a navigation item that should be on this page')), 'pagecontextid' => new external_value(PARAM_INT, 'The page context id'), 'canmanage' => new external_value(PARAM_BOOL, 'Whether the user manage the templates')))
/admin/tool/licensemanager/classes/output/table.php:1801$updown .= '&nbsp;' . html_writer::link(\tool_licensemanager\helper::get_movedown_license_url($license->shortname), $output->pix_icon('t/down', get_string('movelicensedownname', 'tool_licensemanager', $license->fullname), 'moodle', ['class' => 'iconsmall']), ['class' => 'move-down'])
/admin/tool/licensemanager/classes/output/table.php:1711$updown .= html_writer::link(\tool_licensemanager\helper::get_moveup_license_url($license->shortname), $output->pix_icon('t/up', get_string('movelicenseupname', 'tool_licensemanager', $license->fullname), 'moodle', ['class' => 'iconsmall']), ['class' => 'move-up']) . ''
/admin/tool/xmldb/classes/external.php:631$params = self::validate_parameters(self::invoke_move_action_parameters( ), ['action' => $action, 'dir' => $dir, 'table' => $table, 'field' => $field, 'key' => $key, 'index' => $index, 'position' => $position])
/admin/tool/xmldb/classes/external.php:351return new external_function_parameters(['action' => new external_value(PARAM_ALPHAEXT, 'Action'), 'dir' => new external_value(PARAM_PATH, 'Plugin that is being edited'), 'table' => new external_value(PARAM_NOTAGS, 'Table name'), 'field' => new external_value(PARAM_NOTAGS, 'Field name', VALUE_DEFAULT, ''), 'key' => new external_value(PARAM_NOTAGS, 'Key name', VALUE_DEFAULT, ''), 'index' => new external_value(PARAM_NOTAGS, 'Index name', VALUE_DEFAULT, ''), 'position' => new external_value(PARAM_INT, 'How many positions to move by (negative - up, positive - down)'), ])
/admin/presets/tests/manager_test.php:5261return ['Import settings from an empty file' => ['filecontents' => '', 'expectedpreset' => false, ], 'Import settings and plugins from a valid XML file' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/import_settings_plugins.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => true, ], 'Import only settings from a valid XML file' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/import_settings.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => false, ], 'Import settings and plugins from a valid XML file with Starter name, which will be marked as non-core' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/import_starter_name.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => true, 'expecteddebugging' => false, 'expectedexception' => null, 'expectedpresetname' => 'Starter', ], 'Import settings from an invalid XML file' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/invalid_xml_file.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => false, 'expectedexception' => \Exception::class, ], 'Import unexisting settings category' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/unexisting_category.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, ], 'Import unexisting setting' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/unexisting_setting.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => true, ], 'Import valid settings with one unexisting setting too' => ['filecontents' => file_get_contents(__DIR__ . '/fixtures/import_settings_with_unexisting_setting.xml'), 'expectedpreset' => true, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => true, ], ]
/admin/presets/classes/helper.php:521$preset = ['userid' => $USER->id, 'name' => $name, 'comments' => $comments, 'site' => $CFG->wwwroot, 'author' => $author, 'moodleversion' => $CFG->version, 'moodlerelease' => $CFG->release, 'iscore' => $iscore, 'timecreated' => time( ), 'timeimported' => 0, ]
/admin/tool/licensemanager/classes/output/table.php:1421$deletelicense = html_writer::link(url : '#', text : $output->pix_icon('i/trash', get_string('deletelicensename', 'tool_licensemanager', $license->fullname)), attributes : ['class' => 'delete-license', 'data-modal' => 'confirmation', 'data-modal-title-str' => json_encode(['deletelicense', 'tool_licensemanager']), 'data-modal-content-str' => json_encode(['deletelicenseconfirmmessage', 'tool_licensemanager']), 'data-modal-destination' => $deletelink->out(false), ], )
/admin/presets/tests/generator/lib.php:761$preset = ['userid' => $USER->id, 'name' => $data['name'], 'comments' => $data['comments'], 'site' => $CFG->wwwroot, 'author' => $data['author'], 'moodleversion' => $CFG->version, 'moodlerelease' => $CFG->release, 'timecreated' => time( ), 'timeimported' => 0, 'iscore' => $data['iscore'], ]
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:2871$b .= '<a href="index.php?action=delete_key&amp;sesskey=' . sesskey( ) . '&amp;key=' . $key->getName( ) . '&amp;table=' . $table->getName( ) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>'
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:2661$move = (count($keys) > 1) ? html_writer::span($OUTPUT->render_from_template('core/drag_handle', ['movetitle' => get_string('movecontent', 'moodle', $key->getName( ))]), '', ['data-action' => 'move_updown_key', 'data-dir' => str_replace($CFG->dirroot, '', $dirpath), 'data-table' => $table->getName( ), 'data-key' => $key->getName( )]) : ''
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:3241$b .= '<a href="index.php?action=delete_index&amp;sesskey=' . sesskey( ) . '&amp;index=' . $index->getName( ) . '&amp;table=' . $table->getName( ) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>'
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:3121$move = (count($indexes) > 1) ? html_writer::span($OUTPUT->render_from_template('core/drag_handle', ['movetitle' => get_string('movecontent', 'moodle', $index->getName( ))]), '', ['data-action' => 'move_updown_index', 'data-dir' => str_replace($CFG->dirroot, '', $dirpath), 'data-table' => $table->getName( ), 'data-index' => $index->getName( )]) : ''
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:1921$b .= '&nbsp;<a href="index.php?action=save_xml_file&amp;sesskey=' . sesskey( ) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '&amp;time=' . time( ) . '&amp;unload=false&amp;postaction=edit_table&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['save'] . ']</a>'
/admin/tool/xmldb/actions/view_structure_php/view_structure_php.class.php:1171$o .= ' <tr><td><label for="menucommand" accesskey="c">' . $this->str['selectaction'] . ' </label>' . html_writer::select($popcommands, 'command', $commandparam, false) . '&nbsp;<label for="menutable" accesskey="t">' . $this->str['selecttable'] . ' </label>' . html_writer::select($poptables, 'table', $tableparam, false) . '</td></tr>'
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:2371$b .= '<a href="index.php?action=delete_field&amp;sesskey=' . sesskey( ) . '&amp;field=' . $field->getName( ) . '&amp;table=' . $table->getName( ) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['delete'] . ']</a>'
/admin/tool/xmldb/actions/edit_table/edit_table.class.php:2151$move = (count($fields) > 1) ? html_writer::span($OUTPUT->render_from_template('core/drag_handle', ['movetitle' => get_string('movecontent', 'moodle', $field->getName( ))]), '', ['data-action' => 'move_updown_field', 'data-dir' => str_replace($CFG->dirroot, '', $dirpath), 'data-table' => $table->getName( ), 'data-field' => $field->getName( )]) : ''
/admin/tool/behat/cli/run.php:441list($options, $unrecognised) = cli_get_params(array('stop-on-failure' => 0, 'verbose' => false, 'replace' => '', 'help' => false, 'tags' => '', 'profile' => '', 'feature' => '', 'suite' => '', 'fromrun' => 1, 'torun' => 0, 'single-run' => false, 'rerun' => 0, 'auto-rerun' => 0, ), array('h' => 'help', 't' => 'tags', 'p' => 'profile', 's' => 'single-run', ))
/admin/tool/behat/cli/util_single_run.php:411list($options, $unrecognized) = cli_get_params(array('help' => false, 'install' => false, 'parallel' => 0, 'run' => 0, 'drop' => false, 'enable' => false, 'disable' => false, 'diag' => false, 'tags' => '', 'updatesteps' => false, 'optimize-runs' => '', 'add-core-features-to-theme' => false, 'axe' => true, 'scss-deprecations' => false, ), array('h' => 'help', 'o' => 'optimize-runs', 'a' => 'add-core-features-to-theme', ))
/admin/tool/oauth2/classes/output/renderer.php:541$table->head = [get_string('name'), get_string('issuerusedforlogin', 'tool_oauth2'), get_string('logindisplay', 'tool_oauth2'), get_string('issuerusedforinternal', 'tool_oauth2'), get_string('discoverystatus', 'tool_oauth2') . ' ' . $this->help_icon('discovered', 'tool_oauth2'), get_string('systemauthstatus', 'tool_oauth2') . ' ' . $this->help_icon('systemaccountconnected', 'tool_oauth2'), get_string('edit'), ]
/admin/tool/behat/cli/init.php:431list($options, $unrecognized) = cli_get_params(array('parallel' => 0, 'maxruns' => false, 'help' => false, 'fromrun' => 1, 'torun' => 0, 'optimize-runs' => '', 'add-core-features-to-theme' => false, 'axe' => null, 'disable-composer' => false, 'composer-upgrade' => true, 'composer-self-update' => true, 'scss-deprecations' => false, ), array('j' => 'parallel', 'm' => 'maxruns', 'h' => 'help', 'o' => 'optimize-runs', 'a' => 'add-core-features-to-theme', ))
/admin/tool/lpimportcsv/classes/framework_exporter.php:721$row = array('', $this->framework->get('idnumber'), $this->framework->get('shortname'), $this->framework->get('description'), $this->framework->get('descriptionformat'), $this->framework->get_scale( )->compact_items( ), $this->framework->get('scaleconfiguration'), '', '', '', '', '', true, implode(',', $this->framework->get('taxonomies')))
/admin/tool/lpimportcsv/classes/framework_exporter.php:1251$row = array($parentidnumber, $competency->get('idnumber'), $competency->get('shortname'), $competency->get('description'), $competency->get('descriptionformat'), $scalevalues, $scaleconfig, $competency->get('ruletype'), $competency->get('ruleoutcome'), $ruleconfig, $relatedidnumbers, $competency->get('id'), false, '')
/admin/tool/lpimportcsv/classes/framework_importer.php:831return array(get_string('parentidnumber', 'tool_lpimportcsv'), get_string('idnumber', 'tool_lpimportcsv'), get_string('shortname', 'tool_lpimportcsv'), get_string('description', 'tool_lpimportcsv'), get_string('descriptionformat', 'tool_lpimportcsv'), get_string('scalevalues', 'tool_lpimportcsv'), get_string('scaleconfiguration', 'tool_lpimportcsv'), get_string('ruletype', 'tool_lpimportcsv'), get_string('ruleoutcome', 'tool_lpimportcsv'), get_string('ruleconfig', 'tool_lpimportcsv'), get_string('relatedidnumbers', 'tool_lpimportcsv'), get_string('exportid', 'tool_lpimportcsv'), get_string('isframework', 'tool_lpimportcsv'), get_string('taxonomy', 'tool_lpimportcsv'), )
/admin/tool/lpimportcsv/classes/framework_importer.php:1151return array('parentidnumber' => $data->header0, 'idnumber' => $data->header1, 'shortname' => $data->header2, 'description' => $data->header3, 'descriptionformat' => $data->header4, 'scalevalues' => $data->header5, 'scaleconfiguration' => $data->header6, 'ruletype' => $data->header7, 'ruleoutcome' => $data->header8, 'ruleconfig' => $data->header9, 'relatedidnumbers' => $data->header10, 'exportid' => $data->header11, 'isframework' => $data->header12, 'taxonomies' => $data->header13)
/admin/tool/mfa/classes/event/user_deleted_factor.php:481$data = ['relateduserid' => $user->id, 'context' => \context_user::instance($user->id), 'other' => ['userid' => $user->id, 'factorname' => $factorname, 'delete' => $deleteuser->id, ], ]
/admin/tool/mfa/tests/manager_test.php:1651return [['/', 'http://test.server', true], ['/admin/tool/mfa/action.php', 'http://test.server', true], ['/admin/tool/mfa/factor/totp/settings.php', 'http://test.server', true], ['/', 'http://test.server', true, ['url' => $badparam1]], ['/', 'http://test.server', true, ['url' => $badparam2]], ['/admin/tool/mfa/auth.php', 'http://test.server', false], ['/admin/tool/mfa/auth.php', 'http://test.server/parent/directory', false], ['/admin/tool/mfa/action.php', 'http://test.server/parent/directory', true], ['/', 'http://test.server/parent/directory', true, ['url' => $badparam1]], ['/', 'http://test.server/parent/directory', true, ['url' => $badparam2]], ]
/admin/tool/mfa/classes/output/renderer.php:5001$actions .= $this->action_link(new \moodle_url($this->page->url, ['reset' => $factor->name, 'id' => $record->id, 'sesskey' => sesskey( )]), $this->pix_icon('t/delete', get_string('resetconfirm', 'tool_mfa')), $action)
/admin/tool/mfa/classes/output/renderer.php:6331$context = ['logintitle' => get_string('logintitle', 'factor_' . $factor->name), 'logindesc' => $factor->get_login_desc( ), 'factoricon' => $factor->get_icon( ), 'form' => $form->render( ), 'hasadditionalfactors' => $hasadditionalfactors, 'additionalfactors' => $alladitionalfactors, 'authurl' => $authurl->out( ), 'supportlink' => $this->get_support_link( ), 'disablefactor' => $disablefactor]
/admin/tool/mfa/factor_report.php:781$selectarr = [0 => get_string('alltime', 'tool_mfa'), 1 => get_string('numday', '', 1), 7 => get_string('numweek', '', 1), 31 => get_string('nummonth', '', 1), 90 => get_string('nummonths', '', 3), 180 => get_string('nummonths', '', 6), 365 => get_string('numyear', '', 1), ]
/admin/tool/mfa/classes/output/renderer.php:4541$table->head = ['userid' => get_string('userid', 'grades'), 'fullname' => get_string('fullname'), 'factorip' => get_string('ipatcreation', 'tool_mfa'), 'lastip' => get_string('lastip'), 'modified' => get_string('modified'), 'actions' => get_string('actions'), ]
/admin/tool/behat/cli/util.php:451list($options, $unrecognized) = cli_get_params(array('help' => false, 'install' => false, 'drop' => false, 'enable' => false, 'disable' => false, 'diag' => false, 'parallel' => 0, 'maxruns' => false, 'updatesteps' => false, 'fromrun' => 1, 'torun' => 0, 'optimize-runs' => '', 'add-core-features-to-theme' => false, 'axe' => true, 'scss-deprecations' => false, ), array('h' => 'help', 'j' => 'parallel', 'm' => 'maxruns', 'o' => 'optimize-runs', 'a' => 'add-core-features-to-theme', ))
/admin/tool/mfa/guide.php:621$url = moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/admin/tool/lp/classes/external/course_competency_statistics_exporter.php:941return array('proficientcompetencypercentage' => $proficientcompetencypercentage, 'proficientcompetencypercentageformatted' => $proficientcompetencypercentageformatted, 'leastproficient' => $competencies, 'leastproficientcount' => count($competencies), 'canbegradedincourse' => has_capability('moodle/competency:coursecompetencygradable', $this->related['context']), 'canmanagecoursecompetencies' => has_capability('moodle/competency:coursecompetencymanage', $this->related['context']))
/admin/tool/lp/classes/external/course_competency_statistics_exporter.php:521return array('proficientcompetencypercentage' => array('type' => PARAM_FLOAT), 'proficientcompetencypercentageformatted' => array('type' => PARAM_RAW), 'leastproficient' => array('type' => competency_exporter::read_properties_definition( ), 'multiple' => true), 'leastproficientcount' => array('type' => PARAM_INT), 'canbegradedincourse' => array('type' => PARAM_BOOL), 'canmanagecoursecompetencies' => array('type' => PARAM_BOOL), )
/admin/tool/lp/classes/external/template_statistics_exporter.php:641return array('linkedcompetencypercentage' => array('type' => PARAM_FLOAT), 'linkedcompetencypercentageformatted' => array('type' => PARAM_RAW), 'linkedcompetencycount' => array('type' => PARAM_INT), 'completedplanpercentage' => array('type' => PARAM_FLOAT), 'completedplanpercentageformatted' => array('type' => PARAM_RAW), 'proficientusercompetencyplanpercentage' => array('type' => PARAM_FLOAT), 'proficientusercompetencyplanpercentageformatted' => array('type' => PARAM_RAW), 'leastproficient' => array('type' => competency_exporter::read_properties_definition( ), 'multiple' => true), 'leastproficientcount' => array('type' => PARAM_INT), )
/admin/tool/lp/classes/external/user_competency_summary_exporter.php:1531$related = array('scale' => $scale, 'usercompetency' => ($this->related['usercompetency'] ? $this->related['usercompetency'] : null), 'usercompetencyplan' => ($this->related['usercompetencyplan'] ? $this->related['usercompetencyplan'] : null), 'context' => $evidence->get_context( ))
/admin/tool/lp/classes/external/user_competency_summary_exporter.php:1011$exporter = new competency_summary_exporter(null, array('competency' => $competency, 'context' => $competency->get_context( ), 'framework' => $competency->get_framework( ), 'linkedcourses' => array( ), 'relatedcompetencies' => $this->related['relatedcompetencies']))
/admin/tool/lp/classes/external/user_competency_summary_exporter.php:581return array('showrelatedcompetencies' => array('type' => PARAM_BOOL), 'cangrade' => array('type' => PARAM_BOOL), 'competency' => array('type' => competency_summary_exporter::read_properties_definition( )), 'user' => array('type' => user_summary_exporter::read_properties_definition( ), ), 'usercompetency' => array('type' => user_competency_exporter::read_properties_definition( ), 'optional' => true), 'usercompetencyplan' => array('type' => user_competency_plan_exporter::read_properties_definition( ), 'optional' => true), 'usercompetencycourse' => array('type' => user_competency_course_exporter::read_properties_definition( ), 'optional' => true), 'evidence' => array('type' => evidence_exporter::read_properties_definition( ), 'multiple' => true), 'commentarea' => array('type' => comment_area_exporter::read_properties_definition( ), 'optional' => true), )
/admin/tool/lp/classes/output/user_competency_summary.php:741$related += array('usercompetency' => $this->usercompetency, 'usercompetencyplan' => null, 'usercompetencycourse' => null, 'evidence' => api::list_evidence($this->usercompetency->get('userid'), $this->usercompetency->get('competencyid')), 'relatedcompetencies' => api::list_related_competencies($this->usercompetency->get('competencyid')))
/admin/tool/lp/classes/output/course_competencies_page.php:2221$onerow = array('competency' => $compexporter->export($output), 'coursecompetency' => $ccexporter->export($output), 'ruleoutcomeoptions' => $ccoutcomeoptions, 'coursemodules' => $exportedmodules, 'comppath' => $pathexporter->export($output), 'plans' => $exportedplans)
/admin/tool/lp/tests/behat/behat_tool_lp.php:961return [new behat_component_named_selector('competency', ["//*[@data-region='coursecompetencies']//table[contains(@class,'managecompetencies')]" . "//tr[contains(., //a[@title='View details'][contains(., %locator%)])]", ]), new behat_component_named_selector('learning plan', ["//*[@data-region='plan-competencies']//table[contains(@class,'managecompetencies')]" . "//tr[@data-node='user-competency'][contains(., //a[@data-usercompetency='true'][contains(., %locator%)])]", ]), new behat_component_named_selector('competency description', ["//td/p[contains(., %locator%)]", ]), new behat_component_named_selector('competency grade', ["//span[contains(concat(' ', normalize-space(@class), ' '), ' badge ')][contains(., %locator%)]", ]), new behat_component_named_selector('learning plan rating', ["//td[position()=2][contains(., %locator%)]", ]), new behat_component_named_selector('learning plan proficiency', ["//td[position()=3][contains(., %locator%)]", ]), new behat_component_named_selector('competency page proficiency', ["//dt[contains(., 'Proficient')]/following-sibling::dd[1][contains(., %locator%)]", ]), new behat_component_named_selector('competency page rating', ["//dt[contains(., 'Rating')]/following-sibling::dd[1][contains(., %locator%)]", ]), new behat_component_named_selector('competency page related competency', ["//*[@data-region='relatedcompetencies']//a[contains(., %locator%)]", ]), ]
/admin/tool/lp/classes/external/user_evidence_summary_exporter.php:1141$values = array('canmanage' => $this->persistent->can_manage( ), 'filecount' => count($files), 'files' => $files, 'userhasplan' => $this->persistent->user_has_plan( ), 'hasurlorfiles' => !empty($files) || !empty($url), 'urlshort' => $urlshort, 'competencycount' => count($userevidencecompetencies), 'usercompetencies' => $userevidencecompetencies)
/admin/tool/lp/classes/external/user_evidence_summary_exporter.php:451return array('canmanage' => array('type' => PARAM_BOOL), 'filecount' => array('type' => PARAM_INT), 'files' => array('type' => stored_file_exporter::read_properties_definition( ), 'multiple' => true), 'hasurlorfiles' => array('type' => PARAM_BOOL), 'urlshort' => array('type' => PARAM_TEXT), 'competencycount' => array('type' => PARAM_INT), 'usercompetencies' => array('type' => user_evidence_competency_summary_exporter::read_properties_definition( ), 'optional' => true, 'multiple' => true), 'userhasplan' => array('type' => PARAM_BOOL), )
/admin/tool/lp/classes/external/competency_path_exporter.php:1131$exporter = new path_node_exporter(['id' => $this->related['framework']->get('id'), 'name' => $this->related['framework']->get('shortname'), 'first' => 0, 'last' => 0, 'position' => -1], ['context' => $this->related['context']])
/admin/tool/lp/classes/external/competency_path_exporter.php:991$exporter = new path_node_exporter(['id' => $competency->get('id'), 'name' => $competency->get('idnumber'), 'position' => $i, 'first' => $i == 1, 'last' => $i == $nodescount], ['context' => $this->related['context'], ])
/admin/tool/lp/classes/external/competency_path_exporter.php:661return ['ancestors' => ['type' => path_node_exporter::read_properties_definition( ), 'multiple' => true, ], 'framework' => ['type' => path_node_exporter::read_properties_definition( )], 'pluginbaseurl' => ['type' => PARAM_URL], 'pagecontextid' => ['type' => PARAM_INT], 'showlinks' => ['type' => PARAM_BOOL]]
/admin/tool/lp/classes/external/user_competency_summary_in_course_exporter.php:571return array('usercompetencysummary' => array('type' => user_competency_summary_exporter::read_properties_definition( )), 'course' => array('type' => course_summary_exporter::read_properties_definition( ), ), 'coursemodules' => array('type' => course_module_summary_exporter::read_properties_definition( ), 'multiple' => true), 'plans' => array('type' => plan_exporter::read_properties_definition( ), 'multiple' => true), 'pluginbaseurl' => ['type' => PARAM_URL], )
/admin/tool/lp/classes/external/competency_summary_exporter.php:541return array('linkedcourses' => array('type' => course_summary_exporter::read_properties_definition( ), 'multiple' => true), 'relatedcompetencies' => array('type' => competency_exporter::read_properties_definition( ), 'multiple' => true), 'competency' => array('type' => competency_exporter::read_properties_definition( )), 'framework' => array('type' => competency_framework_exporter::read_properties_definition( )), 'hascourses' => array('type' => PARAM_BOOL), 'hasrelatedcompetencies' => array('type' => PARAM_BOOL), 'scaleid' => array('type' => PARAM_INT), 'scaleconfiguration' => array('type' => PARAM_RAW), 'taxonomyterm' => array('type' => PARAM_TEXT), 'comppath' => array('type' => competency_path_exporter::read_properties_definition( ), ), 'pluginbaseurl' => ['type' => PARAM_URL])
/admin/classes/reportbuilder/local/entities/task_log.php:2511$columns[] = (new column('dbwrites', new lang_string('task_dbwrites', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$tablealias}.dbwrites")->set_is_sortable(true)
/admin/classes/reportbuilder/local/entities/task_log.php:2621$columns[] = (new column('result', new lang_string('task_result', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_field($DB->sql_bitxor("{$tablealias}.result", 1), 'success')->set_is_sortable(true)->add_callback(static function (bool $success) : string { /**/ } )
/admin/classes/reportbuilder/local/entities/task_log.php:2931$filters[] = (new filter(autocomplete::class, 'name', new lang_string('classname', 'tool_task'), $this->get_entity_name( ), "{$tablealias}.classname"))->add_joins($this->get_joins( ))->set_options_callback(static function ( ) : array { /**/ } )
/admin/classes/reportbuilder/local/entities/task_log.php:3281$filters[] = (new filter(select::class, 'type', new lang_string('tasktype', 'admin'), $this->get_entity_name( ), "{$tablealias}.type"))->add_joins($this->get_joins( ))->set_options([\core\task\database_logger::TYPE_ADHOC => new lang_string('task_type:adhoc', 'admin'), \core\task\database_logger::TYPE_SCHEDULED => new lang_string('task_type:scheduled', 'admin'), ])
/admin/classes/reportbuilder/local/entities/task_log.php:3421$filters[] = (new filter(text::class, 'output', new lang_string('task_logoutput', 'admin'), $this->get_entity_name( ), $DB->sql_cast_to_char("{$tablealias}.output")))->add_joins($this->get_joins( ))
/admin/classes/reportbuilder/local/entities/task_log.php:3521$filters[] = (new filter(date::class, 'timestart', new lang_string('task_starttime', 'admin'), $this->get_entity_name( ), "{$tablealias}.timestart"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_RANGE, date::DATE_PREVIOUS, date::DATE_CURRENT, ])
/admin/classes/reportbuilder/local/entities/task_log.php:3681$filters[] = (new filter(date::class, 'timeend', new lang_string('task_endtime', 'admin'), $this->get_entity_name( ), "{$tablealias}.timeend"))->add_joins($this->get_joins( ))->set_limited_operators([date::DATE_ANY, date::DATE_RANGE, date::DATE_PREVIOUS, date::DATE_CURRENT, ])
/admin/classes/reportbuilder/local/entities/task_log.php:4141$filters[] = (new filter(select::class, 'result', new lang_string('task_result', 'admin'), $this->get_entity_name( ), "{$tablealias}.result"))->add_joins($this->get_joins( ))->set_options([self::SUCCESS => get_string('success'), self::FAILED => get_string('task_result:failed', 'admin'), ])
/admin/classes/local/settings/filesize.php:1791$context = (object) ['id' => $this->get_id( ), 'name' => $this->get_full_name( ), 'value' => $data['v'], 'readonly' => $this->is_readonly( ), 'options' => array_map(function ($unit, $title) use ($data, $defaultunit) { /**/ } , array_keys($units), $units)]
/admin/classes/table/plugin_management_table.php:3181return html_writer::link($this->get_action_url($params), $icon, ['data-toggle-method' => $this->get_toggle_service( ), 'data-action' => 'togglestate', 'data-plugin' => $row->plugin, 'data-state' => $enabled ? 1 : 0, ], )
/admin/classes/table/plugin_management_table.php:3701$upicon = html_writer::link($this->get_action_url(['sesskey' => sesskey( ), 'action' => 'up', 'plugin' => $row->plugininfo->name, ]), $OUTPUT->pix_icon('t/up', get_string('moveup')), array_merge($dataattributes, ['data-direction' => 'up']), )
/admin/classes/table/plugin_management_table.php:3841$downicon = html_writer::link($this->get_action_url(['sesskey' => sesskey( ), 'action' => 'down', 'plugin' => $row->plugininfo->name, ]), $OUTPUT->pix_icon('t/down', get_string('movedown')), array_merge($dataattributes, ['data-direction' => 'down']), )
/admin/classes/table/activity_management_table.php:781return html_writer::span(html_writer::img($OUTPUT->image_url('monologo', $row->plugininfo->name), '', ['class' => 'icon', ], ) . get_string('modulename', $row->plugininfo->name))
/admin/classes/table/block_management_table.php:841return array_merge(array_slice($columns, 0, 1, true), ['instances' => get_string('blockinstances', 'admin')], array_slice($columns, 1, 2, true), ['protect' => get_string('blockprotect', 'admin')], array_slice($columns, 3, null, true), )
/admin/tests/reportbuilder/local/filters/courserole_test.php:1051[$select, $params] = courserole::create($filter)->get_sql_filter([$filter->get_unique_identifier( ) . '_role' => $DB->get_field('role', 'id', ['shortname' => $rolename]), $filter->get_unique_identifier( ) . '_category' => $DB->get_field('course_categories', 'id', ['name' => $categoryname]), $filter->get_unique_identifier( ) . '_course' => $course, ])
/admin/tests/external/set_plugin_order_test.php:861return [['initialstate' => 'textarea,tiny', 'pluginname' => 'editor_textarea', 'direction' => 1, 'expected' => $getorder(['tiny', 'textarea', ]), 'newtexteditors' => 'tiny,textarea', ], ['initialstate' => 'textarea,tiny', 'pluginname' => 'editor_textarea', 'direction' => -1, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['initialstate' => 'textarea,tiny', 'pluginname' => 'editor_tiny', 'direction' => 1, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ['initialstate' => 'textarea,tiny', 'pluginname' => 'editor_atto', 'direction' => 1, 'expected' => $getorder(['textarea', 'tiny', ]), 'newtexteditors' => 'textarea,tiny', ], ]
/admin/settings/security.php:1111$pwresetoptions = array(300 => new lang_string('numminutes', '', 5), 900 => new lang_string('numminutes', '', 15), 1800 => new lang_string('numminutes', '', 30), 2700 => new lang_string('numminutes', '', 45), 3600 => new lang_string('numminutes', '', 60), 7200 => new lang_string('numminutes', '', 120), 14400 => new lang_string('numminutes', '', 240))
/admin/settings/analytics.php:1471$options = array(0 => new lang_string('neverdelete', 'analytics'), 1000 => new lang_string('numdays', '', 1000), 365 => new lang_string('numdays', '', 365), 180 => new lang_string('numdays', '', 180), 150 => new lang_string('numdays', '', 150), 120 => new lang_string('numdays', '', 120), 90 => new lang_string('numdays', '', 90), 60 => new lang_string('numdays', '', 60), 35 => new lang_string('numdays', '', 35))
/admin/settings/appearance.php:821$options = array(365 => new lang_string('numyear', '', 1), 270 => new lang_string('nummonths', '', 9), 180 => new lang_string('nummonths', '', 6), 150 => new lang_string('nummonths', '', 5), 120 => new lang_string('nummonths', '', 4), 90 => new lang_string('nummonths', '', 3), 60 => new lang_string('nummonths', '', 2), 30 => new lang_string('nummonth', '', 1), 21 => new lang_string('numweeks', '', 3), 14 => new lang_string('numweeks', '', 2), 7 => new lang_string('numweek', '', 1), 6 => new lang_string('numdays', '', 6), 5 => new lang_string('numdays', '', 5), 4 => new lang_string('numdays', '', 4), 3 => new lang_string('numdays', '', 3), 2 => new lang_string('numdays', '', 2), 1 => new lang_string('numday', '', 1))
/admin/settings/security.php:1931$referreroptions = ['default' => get_string('referrernone', 'admin'), 'no-referrer' => 'no-referrer', 'no-referrer-when-downgrade' => 'no-referrer-when-downgrade', 'origin' => 'origin', 'origin-when-cross-origin' => 'origin-when-cross-origin', 'same-origin' => 'same-origin', 'strict-origin' => 'strict-origin', 'strict-origin-when-cross-origin' => 'strict-origin-when-cross-origin', 'unsafe-url' => 'unsafe-url', ]
/admin/classes/form/purge_caches.php:491$checkboxes = [$mform->createElement('advcheckbox', 'theme', '', get_string('purgethemecache', 'admin')), $mform->createElement('advcheckbox', 'lang', '', get_string('purgelangcache', 'admin')), $mform->createElement('advcheckbox', 'js', '', get_string('purgejscache', 'admin')), $mform->createElement('advcheckbox', 'template', '', get_string('purgetemplates', 'admin')), $mform->createElement('advcheckbox', 'filter', '', get_string('purgefiltercache', 'admin')), $mform->createElement('advcheckbox', 'muc', '', get_string('purgemuc', 'admin')), $mform->createElement('advcheckbox', 'other', '', get_string('purgeothercaches', 'admin'))]
/admin/settings/appearance.php:1081$days = array(365 => new lang_string('numdays', '', 365), 180 => new lang_string('numdays', '', 180), 150 => new lang_string('numdays', '', 150), 120 => new lang_string('numdays', '', 120), 90 => new lang_string('numdays', '', 90), 60 => new lang_string('numdays', '', 60), 30 => new lang_string('numdays', '', 30), 5 => new lang_string('numdays', '', 5))
/admin/classes/reportbuilder/local/entities/task_log.php:1251$columns[] = (new column('component', new lang_string('plugin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.component")->set_is_sortable(true)
/admin/classes/reportbuilder/local/entities/task_log.php:1011$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("$tablealias.classname")->set_is_sortable(true)->add_callback(static function (string $classname) : string { /**/ } )
/admin/classes/reportbuilder/local/entities/task_log.php:1531$columns[] = (new column('starttime', new lang_string('task_starttime', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$tablealias}.timestart")->set_is_sortable(true)->add_callback([format::class, 'userdate'], get_string('strftimedatetimeshortaccurate', 'core_langconfig'))
/admin/classes/reportbuilder/local/entities/task_log.php:1361$columns[] = (new column('type', new lang_string('tasktype', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$tablealias}.type")->set_is_sortable(true)->add_callback(static function ($value) : string { /**/ } )
/admin/classes/reportbuilder/local/entities/task_log.php:1771$columns[] = (new column('duration', new lang_string('task_duration', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_FLOAT)->add_field("{$tablealias}.timeend - {$tablealias}.timestart", 'duration')->set_is_sortable(true)->add_callback(static function (float $value) : string { /**/ } )
/admin/classes/reportbuilder/local/entities/task_log.php:1651$columns[] = (new column('endtime', new lang_string('task_endtime', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$tablealias}.timeend")->set_is_sortable(true)->add_callback([format::class, 'userdate'], get_string('strftimedatetimeshortaccurate', 'core_langconfig'))
/admin/classes/reportbuilder/local/entities/task_log.php:2081$columns[] = (new column('pid', new lang_string('pid', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("{$tablealias}.pid")->set_is_sortable(true)->set_disabled_aggregation(['avg', 'count', 'countdistinct', 'max', 'min', 'sum'])
/admin/classes/reportbuilder/local/entities/task_log.php:1971$columns[] = (new column('hostname', new lang_string('hostname', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("$tablealias.hostname")->set_is_sortable(true)
/admin/classes/reportbuilder/local/entities/task_log.php:2401$columns[] = (new column('dbreads', new lang_string('task_dbreads', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$tablealias}.dbreads")->set_is_sortable(true)
/admin/classes/reportbuilder/local/entities/task_log.php:2211$columns[] = (new column('database', new lang_string('task_dbstats', 'admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_fields("{$tablealias}.dbreads, {$tablealias}.dbwrites")->set_is_sortable(true, ["{$tablealias}.dbreads", "{$tablealias}.dbwrites"])->add_callback(static function (int $value, stdClass $row) : string { /**/ } )->set_disabled_aggregation(['avg', 'count', 'countdistinct', 'max', 'min', 'sum'])
/admin/cli/uninstall_plugins.php:691list($options, $unrecognised) = cli_get_params(['help' => false, 'show-all' => false, 'show-contrib' => false, 'show-missing' => false, 'purge-missing' => false, 'plugins' => false, 'run' => false, 'showsql' => false, 'showdebugging' => false, ], ['h' => 'help'])
/admin/cli/install.php:2192$databases = array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'), 'auroramysql' => moodle_database::get_driver_instance('auroramysql', 'native'), 'mariadb' => moodle_database::get_driver_instance('mariadb', 'native'), 'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'), 'oci' => moodle_database::get_driver_instance('oci', 'native'), 'sqlsrv' => moodle_database::get_driver_instance('sqlsrv', 'native'), )
/admin/cli/scheduled_task.php:311list($options, $unrecognized) = cli_get_params(['help' => false, 'list' => false, 'execute' => false, 'showsql' => false, 'showdebugging' => false, 'force' => false, 'disable' => false, 'enable' => false, ], ['h' => 'help', 'f' => 'force', ])
/admin/cli/scheduled_task.php:941$schedule = $task->get_minute( ) . ' ' . $task->get_hour( ) . ' ' . $task->get_day( ) . ' ' . $task->get_day_of_week( ) . ' ' . $task->get_month( ) . ' ' . $task->get_day_of_week( )
/admin/cli/install.php:6392$hintdatabase = install_db_validate($database, $CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname, $CFG->prefix, array('dbpersist' => 0, 'dbport' => $CFG->dboptions['dbport'], 'dbsocket' => $CFG->dboptions['dbsocket']))
/admin/cli/install.php:6442$hintdatabase = install_db_validate($database, $CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname, $CFG->prefix, array('dbpersist' => 0, 'dbport' => $CFG->dboptions['dbport'], 'dbsocket' => $CFG->dboptions['dbsocket']))
/admin/cli/install.php:2391list($options, $unrecognized) = cli_get_params(array('chmod' => isset($distro->directorypermissions) ? sprintf('%04o', $distro->directorypermissions) : '2777', 'lang' => $CFG->lang, 'wwwroot' => '', 'dataroot' => empty($distro->dataroot) ? str_replace('\\', '/', dirname(dirname(dirname(__DIR__))) . '/moodledata') : $distro->dataroot, 'dbtype' => empty($distro->dbtype) ? $defaultdb : $distro->dbtype, 'dbhost' => empty($distro->dbhost) ? 'localhost' : $distro->dbhost, 'dbname' => 'moodle', 'dbuser' => empty($distro->dbuser) ? 'root' : $distro->dbuser, 'dbpass' => '', 'dbport' => '', 'dbsocket' => '', 'prefix' => 'mdl_', 'fullname' => '', 'shortname' => '', 'summary' => '', 'adminuser' => 'admin', 'adminpass' => '', 'adminemail' => '', 'sitepreset' => '', 'supportemail' => '', 'upgradekey' => '', 'non-interactive' => false, 'agree-license' => false, 'allow-unstable' => false, 'skip-database' => false, 'help' => false), array('h' => 'help'))
/admin/cli/install.php:6351$distro = distro_pre_create_db($database, $CFG->dbhost, $CFG->dbuser, $CFG->dbpass, $CFG->dbname, $CFG->prefix, array('dbpersist' => 0, 'dbport' => $CFG->dboptions['dbport'], 'dbsocket' => $CFG->dboptions['dbsocket']), $distro)
/admin/cli/cron.php:361[$options, $unrecognized] = cli_get_params(['help' => false, 'stop' => false, 'list' => false, 'force' => false, 'enable' => false, 'disable' => false, 'disable-wait' => false, 'keep-alive' => null, ], ['h' => 'help', 's' => 'stop', 'l' => 'list', 'f' => 'force', 'e' => 'enable', 'd' => 'disable', 'w' => 'disable-wait', 'k' => 'keep-alive', ])
/admin/cli/install_database.php:931list($options, $unrecognized) = cli_get_params(array('lang' => 'en', 'adminuser' => 'admin', 'adminpass' => '', 'adminemail' => '', 'fullname' => '', 'shortname' => '', 'summary' => '', 'supportemail' => '', 'agree-license' => false, 'help' => false), array('h' => 'help'))
/admin/cli/adhoc_task.php:311list($options, $unrecognized) = cli_get_params(['help' => false, 'showsql' => false, 'showdebugging' => false, 'execute' => false, 'keep-alive' => 0, 'ignorelimits' => false, 'force' => false, 'id' => null, 'classname' => null, 'taskslimit' => null, 'failed' => false, ], ['h' => 'help', 'e' => 'execute', 'k' => 'keep-alive', 'i' => 'ignorelimits', 'f' => 'force', 'c' => 'classname', 'l' => 'taskslimit', ])
/admin/cli/upgrade.php:491list($options, $unrecognized) = cli_get_params(array('allow-unstable' => false, 'help' => false, 'is-maintenance-required' => false, 'is-pending' => false, 'lang' => $lang, 'maintenance' => true, 'non-interactive' => false, 'set-ui-upgrade-lock' => false, 'unset-ui-upgrade-lock' => false, 'verbose-settings' => false, ), array('h' => 'help'))
/admin/cli/cfg.php:931list($options, $unrecognised) = cli_get_params(['help' => false, 'component' => null, 'name' => null, 'set' => null, 'unset' => false, 'shell-arg' => false, 'json' => false, 'no-eol' => false, ], ['h' => 'help'])
/admin/mnet/peers.php:2491$table->data[] = array(html_writer::link($hosturl, $host->name), html_writer::link($host->wwwroot, $host->wwwroot), $last_connect, $OUTPUT->single_button(new moodle_url('/admin/mnet/delete.php', array('hostid' => $host->id)), get_string('delete')))
/admin/cli/restore_backup.php:321list($options, $unrecognized) = cli_get_params(['file' => '', 'categoryid' => '', 'courseid' => '', 'showdebugging' => false, 'help' => false, ], ['f' => 'file', 'c' => 'categoryid', 'C' => 'courseid', 's' => 'showdebugging', 'h' => 'help', ])
/admin/cli/mysql_compressed_rows.php:401list($options, $unrecognized) = cli_get_params(array('help' => false, 'info' => false, 'list' => false, 'fix' => false, 'showsql' => false), array('h' => 'help', 'i' => 'info', 'l' => 'list', 'f' => 'fix', 's' => 'showsql'))
/admin/roles/define.php:1501$options = array('shortname' => $data->shortname, 'name' => $data->name, 'description' => $data->description, 'permissions' => $data->permissions, 'archetype' => $data->archetype, 'contextlevels' => $data->contextlevels, 'allowassign' => $data->allowassign, 'allowoverride' => $data->allowoverride, 'allowswitch' => $data->allowswitch, 'allowview' => $data->allowview)
/admin/roles/permissions.php:1551$continueurl = new moodle_url($PAGE->url, array('contextid' => $context->id, 'roleid' => $roleid, 'capability' => $capability->name, 'unprohibit' => 1, 'sesskey' => sesskey( ), 'confirm' => 1))
/admin/roles/permissions.php:1431$continueurl = new moodle_url($PAGE->url, array('contextid' => $context->id, 'roleid' => $roleid, 'capability' => $capability->name, 'prevent' => 1, 'sesskey' => sesskey( ), 'confirm' => 1))
/admin/tests/external/set_plugin_state_test.php:711return [['plugin' => $plugin, 'initialstate' => null, 'newstate' => 0, 'notificationcount' => 1, ], ['plugin' => $plugin, 'initialstate' => 1, 'newstate' => 0, 'notificationcount' => 1, ], ['plugin' => $plugin, 'initialstate' => 1, 'newstate' => 1, 'notificationcount' => 0, ], ['plugin' => $plugin, 'initialstate' => 0, 'newstate' => 0, 'notificationcount' => 0, ], ['plugin' => $plugin, 'initialstate' => 0, 'newstate' => 1, 'notificationcount' => 1, ], ]
/admin/roles/classes/reportbuilder/local/entities/role.php:1451$columns[] = (new column('shortname', new lang_string('roleshortname', 'core_role'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$rolealias}.shortname")->set_is_sortable(true)
/admin/roles/classes/reportbuilder/local/entities/role.php:1211$columns[] = (new column('originalname', new lang_string('roleoriginalname', 'core_role'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$rolealias}.name, {$rolealias}.shortname")->set_is_sortable(true, ["CASE WHEN " . $DB->sql_concat("{$rolealias}.name", "' '") . " = ' ' THEN {$rolealias}.shortname ELSE {$rolealias}.name END", ])->set_callback(static function ($name, stdClass $role) : string { /**/ } )
/admin/roles/classes/reportbuilder/local/entities/role.php:931$columns[] = (new column('name', new lang_string('rolefullname', 'core_role'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$rolealias}.name, {$rolealias}.shortname, {$rolealias}.id, {$contextalias}.id AS contextid")->add_fields(context_helper::get_preload_record_columns_sql($contextalias))->set_is_sortable(true, ["CASE WHEN " . $DB->sql_concat("{$rolealias}.name", "' '") . " = ' ' THEN {$rolealias}.shortname ELSE {$rolealias}.name END", ])->set_callback(static function ($name, stdClass $role) : string { /**/ } )
/admin/roles/classes/define_role_table_advanced.php:6221return html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'allow' . $type . '[]', 'value' => "")) . html_writer::select($options, 'allow' . $type . '[]', $selected, false, array('multiple' => 'multiple', 'size' => 10, 'class' => 'form-control'))
/admin/roles/classes/reportbuilder/local/entities/role_assignment.php:991$columns[] = (new column('component', new lang_string('plugin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_field("{$raalias}.component")->set_is_sortable(true)
/admin/roles/classes/reportbuilder/local/entities/role_assignment.php:871$columns[] = (new column('timemodified', new lang_string('timemodified', 'core_reportbuilder'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_field("{$raalias}.timemodified")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/admin/roles/classes/reportbuilder/local/entities/role.php:1891$filters[] = (new filter(select::class, 'name', new lang_string('rolefullname', 'core_role'), $this->get_entity_name( ), "{$rolealias}.id"))->add_joins($this->get_joins( ))->set_options_callback(static function ( ) : array { /**/ } )
/admin/roles/classes/reportbuilder/local/entities/role.php:1601$columns[] = (new column('description', new lang_string('description'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_LONGTEXT)->add_field($descriptionfieldsql, 'description')->add_field("{$rolealias}.shortname")->set_callback(static function ($description, stdClass $role) : string { /**/ } )
/admin/user/user_bulk_cohortadd.php:1422$table->data[] = array('<a href="' . $CFG->wwwroot . '/user/view.php?id=' . $user->id . '&amp;course=' . SITEID . '">' . $user->fullname . '</a>', s($user->email), $user->city, $user->country, $user->lastaccess ? format_time(time( ) - $user->lastaccess) : $strnever)
/admin/user/user_bulk_display.php:772$table->data[] = array('<a href="' . $CFG->wwwroot . '/user/view.php?id=' . $user->id . '&amp;course=' . SITEID . '">' . $user->fullname . '</a>', s($user->email), $user->city, $user->country, $user->lastaccess ? format_time(time( ) - $user->lastaccess) : $strnever)
/admin/roles/tests/reportbuilder/datasource/roles_test.php:1391return ['Filter role name' => ['role:name', ['role:name_operator' => select::EQUAL_TO, 'role:name_value' => $DB->get_field('role', 'id', ['shortname' => 'student']), ], true], 'Filter role name (no match)' => ['role:name', ['role:name_operator' => select::EQUAL_TO, 'role:name_value' => -1, ], false], 'Filter role assignment time modified' => ['role_assignment:timemodified', ['role_assignment:timemodified_operator' => date::DATE_RANGE, 'role_assignment:timemodified_from' => 1622502000, ], true], 'Filter role assignment time modified (no match)' => ['role_assignment:timemodified', ['role_assignment:timemodified_operator' => date::DATE_RANGE, 'role_assignment:timemodified_to' => 1622502000, ], false], 'Filter context level' => ['context:level', ['context:level_operator' => select::EQUAL_TO, 'context:level_value' => CONTEXT_COURSE, ], true], 'Filter context level (no match)' => ['context:level', ['context:level_operator' => select::EQUAL_TO, 'context:level_value' => CONTEXT_COURSECAT, ], false], 'Filter user firstname' => ['user:firstname', ['user:firstname_operator' => text::IS_EQUAL_TO, 'user:firstname_value' => 'Zoe', ], true], 'Filter user firstname (no match)' => ['user:firstname', ['user:firstname_operator' => text::IS_EQUAL_TO, 'user:firstname_value' => 'Amy', ], false], ]
/admin/roles/classes/reportbuilder/local/entities/role_assignment.php:1101$columns[] = (new column('itemid', new lang_string('pluginitemid'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_INTEGER)->add_field("{$raalias}.itemid")->set_is_sortable(true)
/rating/lib.php:3161$attributes = array('contextid' => $this->context->id, 'component' => $this->component, 'ratingarea' => $this->ratingarea, 'itemid' => $this->itemid, 'scaleid' => $this->settings->scale->id)
/rating/lib.php:3451$args = array('contextid' => $this->context->id, 'component' => $this->component, 'ratingarea' => $this->ratingarea, 'itemid' => $this->itemid, 'scaleid' => $this->settings->scale->id, 'returnurl' => $returnurl, 'rateduserid' => $this->itemuserid, 'aggregation' => $this->settings->aggregationmethod, 'sesskey' => sesskey( ))
/course/format/topics/tests/format_topics_test.php:2142$args = ['course' => $course, 'category' => $category, 'editoroptions' => ['context' => \context_course::instance($course->id), 'subdirs' => 0], 'returnto' => new \moodle_url('/'), 'returnurl' => new \moodle_url('/'), ]
/rating/index.php:1111$table->head = array('', html_writer::link(new moodle_url($sorturl, array('sort' => 'firstname')), $strname), html_writer::link(new moodle_url($sorturl, array('sort' => 'rating')), $strrating), html_writer::link(new moodle_url($sorturl, array('sort' => 'time')), $strtime))
/course/format/topics/classes/output/courseformat/content/section/controlmenu.php:1241$result = ['url' => $url, 'icon' => 'i/marked', 'name' => $highlightoff, 'pixattr' => ['class' => ''], 'attr' => ['class' => 'editing_highlight', 'data-action' => 'sectionUnhighlight', 'data-sectionreturn' => $sectionreturn, 'data-id' => $section->id, 'data-swapname' => $highlighton, 'data-swapicon' => 'i/marker', ], ]
/course/format/topics/classes/output/courseformat/content/section/controlmenu.php:1401$result = ['url' => $url, 'icon' => 'i/marker', 'name' => $highlighton, 'pixattr' => ['class' => ''], 'attr' => ['class' => 'editing_highlight', 'data-action' => 'sectionHighlight', 'data-sectionreturn' => $sectionreturn, 'data-id' => $section->id, 'data-swapname' => $highlightoff, 'data-swapicon' => 'i/marked', ], ]
/course/format/tests/local/cmactions_test.php:791return ['Empty name' => ['newname' => '', 'expected' => false, 'expectexception' => false, ], 'Maximum length' => ['newname' => str_repeat('a', 256), 'expected' => false, 'expectexception' => true, ], 'Valid name' => ['newname' => 'New name', 'expected' => true, 'expectexception' => false, ], ]
/course/format/topics/lib.php:2431$courseformatoptionsedit = ['hiddensections' => ['label' => new lang_string('hiddensections'), 'help' => 'hiddensections', 'help_component' => 'moodle', 'element_type' => 'select', 'element_attributes' => [[0 => new lang_string('hiddensectionscollapsed'), 1 => new lang_string('hiddensectionsinvisible')], ], ], 'coursedisplay' => ['label' => new lang_string('coursedisplay'), 'element_type' => 'select', 'element_attributes' => [[COURSE_DISPLAY_SINGLEPAGE => new lang_string('coursedisplay_single'), COURSE_DISPLAY_MULTIPAGE => new lang_string('coursedisplay_multi'), ], ], 'help' => 'coursedisplay', 'help_component' => 'moodle', ], ]
/course/format/tests/local/sectionactions_test.php:691return ['component with no itemid or fields' => ['mod_assign', null, null, ], 'component with itemid but no fields' => ['mod_assign', 1, null, ], 'component with itemid and empty fields' => ['mod_assign', 1, new stdClass( ), ], 'component with itemid and name field' => ['mod_assign', 1, (object) ['name' => 'new name'], ], 'component with no itemid but name field' => ['mod_assign', null, (object) ['name' => 'new name'], ], 'component with itemid and summary' => ['mod_assign', 1, (object) ['summary' => 'summary'], ], 'component with itemid and summary, summaryformat ' => ['mod_assign', 1, (object) ['summary' => 'summary', 'summaryformat' => 1], ], 'component with itemid and section number' => ['mod_assign', 1, (object) ['section' => 2], ], 'component with itemid and visible 1' => ['mod_assign', 1, (object) ['visible' => 1], ], 'component with itemid and visible 0' => ['mod_assign', 1, (object) ['visible' => 0], ], ]
/course/format/tests/local/sectionactions_test.php:5971return ['Id will not be updated' => ['fieldname' => 'id', 'value' => -1, 'expected' => '=', 'expectexception' => false, ], 'Course will not be updated' => ['fieldname' => 'course', 'value' => -1, 'expected' => '=', 'expectexception' => false, ], 'Section number will not be updated' => ['fieldname' => 'section', 'value' => -1, 'expected' => '=', 'expectexception' => false, ], 'Sequence will be updated' => ['fieldname' => 'name', 'value' => 'new name', 'expected' => 'new name', 'expectexception' => false, ], 'Summary can be updated' => ['fieldname' => 'summary', 'value' => 'new summary', 'expected' => 'new summary', 'expectexception' => false, ], 'Visible can be updated' => ['fieldname' => 'visible', 'value' => 0, 'expected' => 0, 'expectexception' => false, ], 'component can be updated' => ['fieldname' => 'component', 'value' => 'mod_assign', 'expected' => 'mod_assign', 'expectexception' => false, ], 'itemid can be updated' => ['fieldname' => 'itemid', 'value' => 1, 'expected' => 1, 'expectexception' => false, ], 'Long names throws and exception' => ['fieldname' => 'name', 'value' => str_repeat('a', 256), 'expected' => '=', 'expectexception' => true, ], ]
/course/format/tests/stateactions_test.php:4981return ["$role $format cm_state no cms" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => [ ], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => [ ], 'expectedexception' => true, ], "$role $format cm_state visible cm" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['cm0'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1'], $usersections), 'cm' => array_intersect(['cm0'], $usercms), ], 'expectedexception' => false, ], "$role $format cm_state hidden cm" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['cm1'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1'], $usersections), 'cm' => array_intersect(['cm1'], $usercms), ], 'expectedexception' => false, ], "$role $format cm_state several cm" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['cm0', 'cm2'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1', 'section2'], $usersections), 'cm' => array_intersect(['cm0', 'cm2'], $usercms), ], 'expectedexception' => false, ], "$role $format cm_state using targetsection" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['cm0'], 'targetsectionid' => 'section2', 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1', 'section2'], $usersections), 'cm' => array_intersect(['cm0'], $usercms), ], 'expectedexception' => ($format === 'social'), ], "$role $format cm_state using targetcm" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['cm0'], 'targetsectionid' => null, 'targetcmid' => 'cm3'], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1', 'section2'], $usersections), 'cm' => array_intersect(['cm0', 'cm3'], $usercms), ], 'expectedexception' => false, ], "$role $format cm_state using an invalid cm" => ['format' => $format, 'role' => $role, 'method' => 'cm_state', 'params' => ['ids' => ['invalidcm'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => [ ], 'expectedexception' => true, ], ]
/course/format/tests/output/activitybadge_test.php:1471return (object) ['course' => $course, 'forumunread' => $modinfo->get_cm($forumunread->cmid), 'discussion' => $discussion, 'forumread' => $modinfo->get_cm($forumread->cmid), 'fileshowtype' => $modinfo->get_cm($fileshowtype->cmid), 'filehidetype' => $modinfo->get_cm($filehidetype->cmid), 'assign' => $modinfo->get_cm($assign->cmid), 'label' => $modinfo->get_cm($label->cmid), 'renderer' => $renderer, ]
/course/format/tests/stateactions_test.php:3051return ["admin $format course_state" => ['format' => $format, 'role' => 'admin', 'method' => 'course_state', 'params' => ['ids' => [ ], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => ['course'], 'section' => ['section0', 'section1', 'section2', 'section3'], 'cm' => ['cm0', 'cm1', 'cm2', 'cm3'], ], 'expectedexception' => $expectedexception, ], "editingteacher $format course_state" => ['format' => $format, 'role' => 'editingteacher', 'method' => 'course_state', 'params' => ['ids' => [ ], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => ['course'], 'section' => ['section0', 'section1', 'section2', 'section3'], 'cm' => ['cm0', 'cm1', 'cm2', 'cm3'], ], 'expectedexception' => $expectedexception, ], "student $format course_state" => ['format' => $format, 'role' => 'student', 'method' => 'course_state', 'params' => ['ids' => [ ], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => ['course'], 'section' => ['section0', 'section1', 'section3'], 'cm' => ['cm0'], ], 'expectedexception' => $expectedexception, ], ]
/course/format/tests/stateactions_test.php:3731return ["$role $format section_state no section" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => [ ], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => [ ], 'expectedexception' => true, ], "$role $format section_state section 0" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section0'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section0'], $usersections), 'cm' => [ ], ], 'expectedexception' => $expectedexception, ], "$role $format section_state visible section" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section1'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1'], $usersections), 'cm' => array_intersect(['cm0', 'cm1'], $usercms), ], 'expectedexception' => $expectedexception, ], "$role $format section_state hidden section" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section2'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section2'], $usersections), 'cm' => array_intersect(['cm2', 'cm3'], $usercms), ], 'expectedexception' => $expectedexception, ], "$role $format section_state several sections" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section1', 'section3'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1', 'section3'], $usersections), 'cm' => array_intersect(['cm0', 'cm1'], $usercms), ], 'expectedexception' => $expectedexception, ], "$role $format section_state invalid section" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['invalidsection'], 'targetsectionid' => null, 'targetcmid' => null], 'expectedresults' => [ ], 'expectedexception' => true, ], "$role $format section_state using target section" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section1'], 'targetsectionid' => 'section3', 'targetcmid' => null], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section1', 'section3'], $usersections), 'cm' => array_intersect(['cm0', 'cm1'], $usercms), ], 'expectedexception' => $expectedexception, ], "$role $format section_state using target targetcmid" => ['format' => $format, 'role' => $role, 'method' => 'section_state', 'params' => ['ids' => ['section3'], 'targetsectionid' => null, 'targetcmid' => 'cm1'], 'expectedresults' => ['course' => [ ], 'section' => array_intersect(['section3'], $usersections), 'cm' => array_intersect(['cm1'], $usercms), ], 'expectedexception' => $expectedexception, ], ]
/course/format/tests/stateupdates_test.php:3681return ["$action admin role" => ['action' => $action, 'role' => 'admin', 'expected' => [0, 1, 2, 3], ], "$action teacher role" => ['action' => $action, 'role' => 'editingteacher', 'expected' => [0, 1, 2, 3], ], "$action student role" => ['action' => $action, 'role' => 'student', 'expected' => $studentcms, ], ]
/course/format/tests/stateactions_test.php:2721return array_merge($this->course_state_provider('weeks'), $this->course_state_provider('topics'), $this->course_state_provider('social'), $this->section_state_provider('weeks', 'admin'), $this->section_state_provider('weeks', 'editingteacher'), $this->section_state_provider('weeks', 'student'), $this->section_state_provider('topics', 'admin'), $this->section_state_provider('topics', 'editingteacher'), $this->section_state_provider('topics', 'student'), $this->section_state_provider('social', 'admin'), $this->section_state_provider('social', 'editingteacher'), $this->section_state_provider('social', 'student'), $this->cm_state_provider('weeks', 'admin'), $this->cm_state_provider('weeks', 'editingteacher'), $this->cm_state_provider('weeks', 'student'), $this->cm_state_provider('topics', 'admin'), $this->cm_state_provider('topics', 'editingteacher'), $this->cm_state_provider('topics', 'student'), $this->cm_state_provider('social', 'admin'), $this->cm_state_provider('social', 'editingteacher'), $this->cm_state_provider('social', 'student'), )
/calendar/lib.php:7133$eventargs = array('context' => $this->get_context( ), 'objectid' => $this->properties->id, 'other' => array('repeatid' => empty($this->properties->repeatid) ? 0 : $this->properties->repeatid, 'timestart' => $this->properties->timestart, 'name' => $this->properties->name))
/calendar/lib.php:6341$params = [$this->properties->name, $this->properties->description, $this->properties->timeduration, time( ), isset($this->properties->groupid) ? $this->properties->groupid : $event->groupid, isset($this->properties->courseid) ? $this->properties->courseid : $event->courseid, ]
/calendar/lib.php:6051$this->properties->description = file_save_draft_area_files($this->properties->description['itemid'], $this->editorcontext->id, 'calendar', 'event_description', $this->properties->id, $this->editoroptions, $this->properties->description['text'], $this->editoroptions['forcehttps'])
/calendar/lib.php:4703$eventargs = array('context' => $this->get_context( ), 'objectid' => $this->properties->id, 'other' => array('repeatid' => empty($this->properties->repeatid) ? 0 : $this->properties->repeatid, 'timestart' => $this->properties->timestart, 'name' => $this->properties->name))
/calendar/lib.php:2401$data->timeduration = make_timestamp($data->timeduration['year'], $data->timeduration['month'], $data->timeduration['day'], $data->timeduration['hour'], $data->timeduration['minute']) - $data->timestart
/calendar/export.php:1491$formdata = array('allownextweek' => $weekend & (1 << $now['wday']), 'allownextmonth' => calendar_days_in_month($now['mon'], $now['year']) - $now['mday'] < $numberofdaysinweek, 'allowthisweek' => !(($weekend & (1 << $now['wday'])) && !($weekend & (1 << (($now['wday'] + 1) % $numberofdaysinweek)))))
/calendar/renderer.php:4201$data = ['eventsimported' => $result['eventsimported'], 'eventsskipped' => $result['eventsskipped'], 'eventsupdated' => $result['eventsupdated'], 'eventsdeleted' => $result['eventsdeleted'], 'haserror' => $result['haserror'], 'errors' => $result['errors']]
/calendar/renderer.php:3501$tablerow = new html_table_row(array($calendarname, new html_table_cell($lastupdated), new html_table_cell(get_string($type, 'calendar')), new html_table_cell($this->render_subscription_update_interval($sub)), new html_table_cell($this->subscription_action_links( ))))
/rating/tests/rating_test.php:601$ratings = array(array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 1, 'scaleid' => 10, 'rating' => 1, 'userid' => 2, 'timecreated' => 1, 'timemodified' => 1), array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 1, 'scaleid' => 10, 'rating' => 3, 'userid' => 3, 'timecreated' => 1, 'timemodified' => 1), array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 2, 'scaleid' => 10, 'rating' => 1, 'userid' => 1, 'timecreated' => 1, 'timemodified' => 1), array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 2, 'scaleid' => 10, 'rating' => 4, 'userid' => 3, 'timecreated' => 1, 'timemodified' => 1), array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 3, 'scaleid' => 10, 'rating' => 3, 'userid' => 1, 'timecreated' => 1, 'timemodified' => 1), array('contextid' => $ctxid, 'component' => 'mod_forum', 'ratingarea' => 'post', 'itemid' => 3, 'scaleid' => 10, 'rating' => 5, 'userid' => 2, 'timecreated' => 1, 'timemodified' => 1))
/rating/classes/external/util.php:1421$rating = ['itemid' => $item->rating->itemid, 'scaleid' => $item->rating->scaleid, 'userid' => $item->rating->userid, 'rating' => $item->rating->rating, 'canrate' => $item->rating->user_can_rate( ), 'canviewaggregate' => $item->rating->user_can_view_aggregate( ), ]
/rating/classes/external/util.php:521return new external_single_structure(['contextid' => new external_value(PARAM_INT, 'Context id.'), 'component' => new external_value(PARAM_COMPONENT, 'Context name.'), 'ratingarea' => new external_value(PARAM_AREA, 'Rating area name.'), 'canviewall' => new external_value(PARAM_BOOL, 'Whether the user can view all the individual ratings.', VALUE_OPTIONAL), 'canviewany' => new external_value(PARAM_BOOL, 'Whether the user can view aggregate of ratings of others.', VALUE_OPTIONAL), 'scales' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Scale id.'), 'courseid' => new external_value(PARAM_INT, 'Course id.', VALUE_OPTIONAL), 'name' => new external_value(PARAM_TEXT, 'Scale name (when a real scale is used).', VALUE_OPTIONAL), 'max' => new external_value(PARAM_INT, 'Max value for the scale.'), 'isnumeric' => new external_value(PARAM_BOOL, 'Whether is a numeric scale.'), 'items' => new external_multiple_structure(new external_single_structure(['value' => new external_value(PARAM_INT, 'Scale value/option id.'), 'name' => new external_value(PARAM_NOTAGS, 'Scale name.'), ]), 'Scale items. Only returned for not numerical scales.', VALUE_OPTIONAL)], 'Scale information'), 'Different scales used information', VALUE_OPTIONAL), 'ratings' => new external_multiple_structure(new external_single_structure(['itemid' => new external_value(PARAM_INT, 'Item id.'), 'scaleid' => new external_value(PARAM_INT, 'Scale id.', VALUE_OPTIONAL), 'userid' => new external_value(PARAM_INT, 'User who rated id.', VALUE_OPTIONAL), 'aggregate' => new external_value(PARAM_FLOAT, 'Aggregated ratings grade.', VALUE_OPTIONAL), 'aggregatestr' => new external_value(PARAM_NOTAGS, 'Aggregated ratings as string.', VALUE_OPTIONAL), 'aggregatelabel' => new external_value(PARAM_NOTAGS, 'The aggregation label.', VALUE_OPTIONAL), 'count' => new external_value(PARAM_INT, 'Ratings count (used when aggregating).', VALUE_OPTIONAL), 'rating' => new external_value(PARAM_INT, 'The rating the user gave.', VALUE_OPTIONAL), 'canrate' => new external_value(PARAM_BOOL, 'Whether the user can rate the item.', VALUE_OPTIONAL), 'canviewaggregate' => new external_value(PARAM_BOOL, 'Whether the user can view the aggregated grade.', VALUE_OPTIONAL), ]), 'The ratings', VALUE_OPTIONAL), ], 'Rating information', VALUE_OPTIONAL)
/rating/classes/external.php:2991return new external_single_structure(array('success' => new external_value(PARAM_BOOL, 'Whether the rate was successfully created'), 'aggregate' => new external_value(PARAM_TEXT, 'New aggregate', VALUE_OPTIONAL), 'count' => new external_value(PARAM_INT, 'Ratings count', VALUE_OPTIONAL), 'itemid' => new external_value(PARAM_INT, 'Rating item id', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/rating/classes/external.php:2131return new external_function_parameters(array('contextlevel' => new external_value(PARAM_ALPHA, 'context level: course, module, user, etc...'), 'instanceid' => new external_value(PARAM_INT, 'the instance id of item associated with the context level'), 'component' => new external_value(PARAM_COMPONENT, 'component'), 'ratingarea' => new external_value(PARAM_AREA, 'rating area'), 'itemid' => new external_value(PARAM_INT, 'associated id'), 'scaleid' => new external_value(PARAM_INT, 'scale id'), 'rating' => new external_value(PARAM_INT, 'user rating'), 'rateduserid' => new external_value(PARAM_INT, 'rated user id'), 'aggregation' => new external_value(PARAM_INT, 'agreggation method', VALUE_DEFAULT, RATING_AGGREGATE_NONE)))
/rating/classes/external.php:1871return new external_single_structure(array('ratings' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'rating id'), 'userid' => new external_value(PARAM_INT, 'user id'), 'userpictureurl' => new external_value(PARAM_URL, 'URL user picture'), 'userfullname' => new external_value(PARAM_NOTAGS, 'user fullname'), 'rating' => new external_value(PARAM_NOTAGS, 'rating on scale'), 'timemodified' => new external_value(PARAM_INT, 'time modified (timestamp)')), 'Rating'), 'list of ratings'), 'warnings' => new external_warnings( ), ))
/rating/classes/external.php:561return new external_function_parameters(array('contextlevel' => new external_value(PARAM_ALPHA, 'context level: course, module, user, etc...'), 'instanceid' => new external_value(PARAM_INT, 'the instance id of item associated with the context level'), 'component' => new external_value(PARAM_COMPONENT, 'component'), 'ratingarea' => new external_value(PARAM_AREA, 'rating area'), 'itemid' => new external_value(PARAM_INT, 'associated id'), 'scaleid' => new external_value(PARAM_INT, 'scale id'), 'sort' => new external_value(PARAM_ALPHA, 'sort order (firstname, rating or timemodified)')))
/rating/lib.php:9031return array(RATING_AGGREGATE_NONE => get_string('aggregatenone', 'rating'), RATING_AGGREGATE_AVERAGE => get_string('aggregateavg', 'rating'), RATING_AGGREGATE_COUNT => get_string('aggregatecount', 'rating'), RATING_AGGREGATE_MAXIMUM => get_string('aggregatemax', 'rating'), RATING_AGGREGATE_MINIMUM => get_string('aggregatemin', 'rating'), RATING_AGGREGATE_SUM => get_string('aggregatesum', 'rating'))
/calendar/externallib.php:10551return new external_function_parameters(['year' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED), 'month' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED), 'courseid' => new external_value(PARAM_INT, 'Course being viewed', VALUE_DEFAULT, SITEID, NULL_ALLOWED), 'categoryid' => new external_value(PARAM_INT, 'Category being viewed', VALUE_DEFAULT, null, NULL_ALLOWED), 'includenavigation' => new external_value(PARAM_BOOL, 'Whether to show course navigation', VALUE_DEFAULT, true, NULL_ALLOWED), 'mini' => new external_value(PARAM_BOOL, 'Whether to return the mini month view or not', VALUE_DEFAULT, false, NULL_ALLOWED), 'day' => new external_value(PARAM_INT, 'Day to be viewed', VALUE_DEFAULT, 1), 'view' => new external_value(PARAM_ALPHA, 'The view mode of the calendar', VALUE_DEFAULT, 'month', NULL_ALLOWED), ])
/calendar/externallib.php:11311return new external_function_parameters(['year' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED), 'month' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED), 'day' => new external_value(PARAM_INT, 'Day to be viewed', VALUE_REQUIRED), 'courseid' => new external_value(PARAM_INT, 'Course being viewed', VALUE_DEFAULT, SITEID, NULL_ALLOWED), 'categoryid' => new external_value(PARAM_INT, 'Category being viewed', VALUE_DEFAULT, null, NULL_ALLOWED), ])
/calendar/externallib.php:13341return new external_single_structure(['canmanageentries' => new external_value(PARAM_BOOL, 'Whether the user can manage entries.'), 'canmanageownentries' => new external_value(PARAM_BOOL, 'Whether the user can manage its own entries.'), 'canmanagegroupentries' => new external_value(PARAM_BOOL, 'Whether the user can manage group entries.'), 'warnings' => new external_warnings( ), ])
/calendar/externallib.php:14461return new external_function_parameters(['data' => new external_multiple_structure(new external_single_structure(['key' => new external_value(PARAM_ALPHANUMEXT, 'key', VALUE_OPTIONAL), 'year' => new external_value(PARAM_INT, 'year'), 'month' => new external_value(PARAM_INT, 'month'), 'day' => new external_value(PARAM_INT, 'day'), 'hour' => new external_value(PARAM_INT, 'hour', VALUE_OPTIONAL), 'minute' => new external_value(PARAM_INT, 'minute', VALUE_OPTIONAL), ]))])
/calendar/externallib.php:5861return new external_function_parameters(array('courseids' => new external_multiple_structure(new external_value(PARAM_INT, 'Course id')), 'timesortfrom' => new external_value(PARAM_INT, 'Time sort from', VALUE_DEFAULT, null), 'timesortto' => new external_value(PARAM_INT, 'Time sort to', VALUE_DEFAULT, null), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 10), 'searchvalue' => new external_value(PARAM_RAW, 'The value a user wishes to search against', VALUE_DEFAULT, null)))
/calendar/externallib.php:6781return new external_function_parameters(array('events' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TEXT, 'event name', VALUE_REQUIRED, '', NULL_NOT_ALLOWED), 'description' => new external_value(PARAM_RAW, 'Description', VALUE_DEFAULT, null, NULL_ALLOWED), 'format' => new external_format_value('description', VALUE_DEFAULT), 'courseid' => new external_value(PARAM_INT, 'course id', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), 'groupid' => new external_value(PARAM_INT, 'group id', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), 'repeats' => new external_value(PARAM_INT, 'number of repeats', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), 'eventtype' => new external_value(PARAM_TEXT, 'Event type', VALUE_DEFAULT, 'user', NULL_NOT_ALLOWED), 'timestart' => new external_value(PARAM_INT, 'timestart', VALUE_DEFAULT, time( ), NULL_NOT_ALLOWED), 'timeduration' => new external_value(PARAM_INT, 'time duration', VALUE_DEFAULT, 0, NULL_NOT_ALLOWED), 'visible' => new external_value(PARAM_INT, 'visible', VALUE_DEFAULT, 1, NULL_NOT_ALLOWED), 'sequence' => new external_value(PARAM_INT, 'sequence', VALUE_DEFAULT, 1, NULL_NOT_ALLOWED), ), 'event'))))
/calendar/externallib.php:7641return new external_single_structure(array('events' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'event id'), 'name' => new external_value(PARAM_RAW, 'event name'), 'description' => new external_value(PARAM_RAW, 'Description', VALUE_OPTIONAL), 'format' => new external_format_value('description'), 'courseid' => new external_value(PARAM_INT, 'course id'), 'groupid' => new external_value(PARAM_INT, 'group id'), 'userid' => new external_value(PARAM_INT, 'user id'), 'repeatid' => new external_value(PARAM_INT, 'repeat id', VALUE_OPTIONAL), 'modulename' => new external_value(PARAM_TEXT, 'module name', VALUE_OPTIONAL), 'instance' => new external_value(PARAM_INT, 'instance id'), 'eventtype' => new external_value(PARAM_TEXT, 'Event type'), 'timestart' => new external_value(PARAM_INT, 'timestart'), 'timeduration' => new external_value(PARAM_INT, 'time duration'), 'visible' => new external_value(PARAM_INT, 'visible'), 'uuid' => new external_value(PARAM_TEXT, 'unique id of ical events', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'sequence' => new external_value(PARAM_INT, 'sequence'), 'timemodified' => new external_value(PARAM_INT, 'time modified'), 'subscriptionid' => new external_value(PARAM_INT, 'Subscription id', VALUE_OPTIONAL), ), 'event')), 'warnings' => new external_warnings( )))
/calendar/externallib.php:10221$params = self::validate_parameters(self::get_calendar_monthly_view_parameters( ), ['year' => $year, 'month' => $month, 'courseid' => $courseid, 'categoryid' => $categoryid, 'includenavigation' => $includenavigation, 'mini' => $mini, 'day' => $day, 'view' => $view, ])
/calendar/externallib.php:3691return new external_single_structure(array('events' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'event id'), 'name' => new external_value(PARAM_RAW, 'event name'), 'description' => new external_value(PARAM_RAW, 'Description', VALUE_OPTIONAL, null, NULL_ALLOWED), 'format' => new external_format_value('description'), 'courseid' => new external_value(PARAM_INT, 'course id'), 'categoryid' => new external_value(PARAM_INT, 'Category id (only for category events).', VALUE_OPTIONAL), 'groupid' => new external_value(PARAM_INT, 'group id'), 'userid' => new external_value(PARAM_INT, 'user id'), 'repeatid' => new external_value(PARAM_INT, 'repeat id'), 'modulename' => new external_value(PARAM_TEXT, 'module name', VALUE_OPTIONAL, null, NULL_ALLOWED), 'instance' => new external_value(PARAM_INT, 'instance id'), 'eventtype' => new external_value(PARAM_TEXT, 'Event type'), 'timestart' => new external_value(PARAM_INT, 'timestart'), 'timeduration' => new external_value(PARAM_INT, 'time duration'), 'visible' => new external_value(PARAM_INT, 'visible'), 'uuid' => new external_value(PARAM_TEXT, 'unique id of ical events', VALUE_OPTIONAL, null, NULL_NOT_ALLOWED), 'sequence' => new external_value(PARAM_INT, 'sequence'), 'timemodified' => new external_value(PARAM_INT, 'time modified'), 'subscriptionid' => new external_value(PARAM_INT, 'Subscription id', VALUE_OPTIONAL, null, NULL_ALLOWED), ), 'event')), 'warnings' => new external_warnings( )))
/calendar/externallib.php:4061return new external_function_parameters(array('timesortfrom' => new external_value(PARAM_INT, 'Time sort from', VALUE_DEFAULT, 0), 'timesortto' => new external_value(PARAM_INT, 'Time sort to', VALUE_DEFAULT, null), 'aftereventid' => new external_value(PARAM_INT, 'The last seen event id', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 20), 'limittononsuspendedevents' => new external_value(PARAM_BOOL, 'Limit the events to courses the user is not suspended in', VALUE_DEFAULT, false), 'userid' => new external_value(PARAM_INT, 'The user id', VALUE_DEFAULT, null), 'searchvalue' => new external_value(PARAM_RAW, 'The value a user wishes to search against', VALUE_DEFAULT, null)))
/calendar/externallib.php:4371$params = self::validate_parameters(self::get_calendar_action_events_by_timesort_parameters( ), ['timesortfrom' => $timesortfrom, 'timesortto' => $timesortto, 'aftereventid' => $aftereventid, 'limitnum' => $limitnum, 'limittononsuspendedevents' => $limittononsuspendedevents, 'userid' => $userid, 'searchvalue' => $searchvalue])
/calendar/externallib.php:4991return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'Course id'), 'timesortfrom' => new external_value(PARAM_INT, 'Time sort from', VALUE_DEFAULT, null), 'timesortto' => new external_value(PARAM_INT, 'Time sort to', VALUE_DEFAULT, null), 'aftereventid' => new external_value(PARAM_INT, 'The last seen event id', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 20), 'searchvalue' => new external_value(PARAM_RAW, 'The value a user wishes to search against', VALUE_DEFAULT, null)))
/calendar/lib.php:8983$eventargs = array('context' => $this->get_context( ), 'objectid' => $this->properties->id, 'other' => array('repeatid' => empty($this->properties->repeatid) ? 0 : $this->properties->repeatid, 'timestart' => $this->properties->timestart, 'name' => $this->properties->name))
/calendar/lib.php:27941return array('0' => get_string('never', 'calendar'), HOURSECS => get_string('hourly', 'calendar'), DAYSECS => get_string('daily', 'calendar'), WEEKSECS => get_string('weekly', 'calendar'), '2628000' => get_string('monthly', 'calendar'), YEARSECS => get_string('annually', 'calendar'))
/calendar/externallib.php:661return new external_function_parameters(array('events' => new external_multiple_structure(new external_single_structure(array('eventid' => new external_value(PARAM_INT, 'Event ID', VALUE_REQUIRED, '', NULL_NOT_ALLOWED), 'repeat' => new external_value(PARAM_BOOL, 'Delete comeplete series if repeated event')), 'List of events to delete'))))
/calendar/externallib.php:1281return new external_function_parameters(array('events' => new external_single_structure(array('eventids' => new external_multiple_structure(new external_value(PARAM_INT, 'event ids'), 'List of event ids', VALUE_DEFAULT, array( )), 'courseids' => new external_multiple_structure(new external_value(PARAM_INT, 'course ids'), 'List of course ids for which events will be returned', VALUE_DEFAULT, array( )), 'groupids' => new external_multiple_structure(new external_value(PARAM_INT, 'group ids'), 'List of group ids for which events should be returned', VALUE_DEFAULT, array( )), 'categoryids' => new external_multiple_structure(new external_value(PARAM_INT, 'Category ids'), 'List of category ids for which events will be returned', VALUE_DEFAULT, array( )), ), 'Event details', VALUE_DEFAULT, array( )), 'options' => new external_single_structure(array('userevents' => new external_value(PARAM_BOOL, "Set to true to return current user's user events", VALUE_DEFAULT, true, NULL_ALLOWED), 'siteevents' => new external_value(PARAM_BOOL, "Set to true to return site events", VALUE_DEFAULT, true, NULL_ALLOWED), 'timestart' => new external_value(PARAM_INT, "Time from which events should be returned", VALUE_DEFAULT, 0, NULL_ALLOWED), 'timeend' => new external_value(PARAM_INT, "Time to which the events should be returned. We treat 0 and null as no end", VALUE_DEFAULT, 0, NULL_ALLOWED), 'ignorehidden' => new external_value(PARAM_BOOL, "Ignore hidden events or not", VALUE_DEFAULT, true, NULL_ALLOWED), ), 'Options', VALUE_DEFAULT, array( ))))
/calendar/classes/external/day_exporter.php:1931$exporter = new calendar_event_exporter($event, ['context' => $context, 'course' => $course, 'moduleinstance' => $moduleinstance, 'daylink' => $this->url, 'type' => $this->related['type'], 'today' => $this->data[0], ])
/calendar/classes/external/day_exporter.php:1751$return = ['timestamp' => $timestamp, 'neweventtimestamp' => $neweventstarttime->getTimestamp( ), 'previousperiod' => $this->get_previous_day_timestamp($daytimestamp), 'nextperiod' => $this->get_next_day_timestamp($daytimestamp), 'viewdaylink' => $this->url->out(false), ]
/calendar/classes/external/calendar_day_exporter.php:621return ['events' => ['type' => calendar_event_exporter::read_properties_definition( ), 'multiple' => true, ], 'defaulteventcontext' => ['type' => PARAM_INT, 'default' => 0, ], 'filter_selector' => ['type' => PARAM_RAW, ], 'courseid' => ['type' => PARAM_INT, ], 'categoryid' => ['type' => PARAM_INT, 'optional' => true, 'default' => 0, ], 'neweventtimestamp' => ['type' => PARAM_INT, ], 'date' => ['type' => date_exporter::read_properties_definition( ), ], 'periodname' => ['type' => PARAM_RAW, ], 'previousperiod' => ['type' => date_exporter::read_properties_definition( ), ], 'previousperiodlink' => ['type' => PARAM_URL, ], 'previousperiodname' => ['type' => PARAM_RAW, ], 'nextperiod' => ['type' => date_exporter::read_properties_definition( ), ], 'nextperiodname' => ['type' => PARAM_RAW, ], 'nextperiodlink' => ['type' => PARAM_URL, ], 'larrow' => ['type' => PARAM_RAW, ], 'rarrow' => ['type' => PARAM_RAW, ], ]
/calendar/classes/external/events_exporter.php:671return ['events' => ['type' => event_exporter::read_properties_definition( ), 'multiple' => true, ], 'firstid' => ['type' => PARAM_INT, 'null' => NULL_ALLOWED, 'default' => null, ], 'lastid' => ['type' => PARAM_INT, 'null' => NULL_ALLOWED, 'default' => null, ], ]
/calendar/classes/local/event/mappers/event_mapper.php:661return $this->factory->create_instance((object) ['id' => $coalesce('id'), 'name' => $coalesce('name'), 'description' => $coalesce('description'), 'location' => $coalesce('location'), 'format' => $coalesce('format'), 'categoryid' => $coalesce('categoryid'), 'courseid' => $coalesce('courseid'), 'groupid' => $coalesce('groupid'), 'userid' => $coalesce('userid'), 'repeatid' => $coalesce('repeatid'), 'component' => $coalesce('component'), 'modulename' => $coalesce('modulename'), 'instance' => $coalesce('instance'), 'eventtype' => $coalesce('eventtype'), 'timestart' => $coalesce('timestart'), 'timeduration' => $coalesce('timeduration'), 'timemodified' => $coalesce('timemodified'), 'timesort' => $coalesce('timesort'), 'visible' => $coalesce('visible'), 'subscriptionid' => $coalesce('subscriptionid')])
/calendar/classes/local/event/factories/event_abstract_factory.php:1791$event = new event($dbrow->id, $dbrow->name, new event_description($dbrow->description, $dbrow->format), $category, $course, $group, $user, $repeatcollection, $module, $dbrow->eventtype, new event_times((new \DateTimeImmutable( ))->setTimestamp($dbrow->timestart), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timestart + $dbrow->timeduration), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timesort ? $dbrow->timesort : $dbrow->timestart), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timemodified), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timesort ? usergetmidnight($dbrow->timesort) : 0)), !empty($dbrow->visible), $subscription, $dbrow->location, $component)
/calendar/classes/external/day_exporter.php:1121return ['timestamp' => ['type' => PARAM_INT, ], 'neweventtimestamp' => ['type' => PARAM_INT, ], 'viewdaylink' => ['type' => PARAM_URL, 'optional' => true, ], 'viewdaylinktitle' => ['type' => PARAM_RAW, 'optional' => true, ], 'events' => ['type' => calendar_event_exporter::read_properties_definition( ), 'multiple' => true, ], 'hasevents' => ['type' => PARAM_BOOL, 'default' => false, ], 'calendareventtypes' => ['type' => PARAM_RAW, 'multiple' => true, ], 'previousperiod' => ['type' => PARAM_INT, ], 'nextperiod' => ['type' => PARAM_INT, ], 'haslastdayofevent' => ['type' => PARAM_BOOL, 'default' => false, ], ]
/calendar/classes/local/event/mappers/event_mapper.php:1211return ['id' => $event->get_id( ), 'name' => $event->get_name( ), 'description' => $event->get_description( )->get_value( ), 'format' => $event->get_description( )->get_format( ), 'location' => $event->get_location( ), 'courseid' => $event->get_course( ) ? $event->get_course( )->get('id') : null, 'categoryid' => $event->get_category( ) ? $event->get_category( )->get('id') : null, 'groupid' => $event->get_group( ) ? $event->get_group( )->get('id') : null, 'userid' => $event->get_user( ) ? $event->get_user( )->get('id') : null, 'repeatid' => $event->get_repeats( ) ? $event->get_repeats( )->get_id( ) : null, 'component' => $event->get_component( ), 'modulename' => $event->get_course_module( ) ? $event->get_course_module( )->get('modname') : null, 'instance' => $event->get_course_module( ) ? $event->get_course_module( )->get('instance') : null, 'eventtype' => $event->get_type( ), 'timestart' => $event->get_times( )->get_start_time( )->getTimestamp( ), 'timeduration' => $timeduration, 'timesort' => $event->get_times( )->get_sort_time( )->getTimestamp( ), 'timeusermidnight' => $event->get_times( )->get_usermidnight_time( )->getTimestamp( ), 'visible' => $event->is_visible( ) ? 1 : 0, 'timemodified' => $event->get_times( )->get_modified_time( )->getTimestamp( ), 'subscriptionid' => $event->get_subscription( ) ? $event->get_subscription( )->get('id') : null, 'actionname' => $action ? $action->get_name( ) : null, 'actionurl' => $action ? $action->get_url( ) : null, 'actionnum' => $action ? $action->get_item_count( ) : null, 'actionactionable' => $action ? $action->is_actionable( ) : null, 'sequence' => 1]
/calendar/classes/local/event/data_access/event_vault.php:1521$where = array_merge($type ? ['type = :type'] : [ ], $timesortfromquery ? $timesortfromquery['where'] : [ ], $timesorttoquery ? $timesorttoquery['where'] : [ ], $timestartfromquery ? $timestartfromquery['where'] : [ ], $timestarttoquery ? $timestarttoquery['where'] : [ ], $searchquery ? [$searchquery['where']] : [ ], )
/calendar/classes/local/event/data_access/event_vault.php:1431$params = array_merge($type ? ['type' => $type] : [ ], $timesortfromquery ? $timesortfromquery['params'] : [ ], $timesorttoquery ? $timesorttoquery['params'] : [ ], $timestartfromquery ? $timestartfromquery['params'] : [ ], $timestarttoquery ? $timestarttoquery['params'] : [ ], $searchquery ? $searchquery['params'] : [ ], )
/calendar/classes/local/event/strategies/raw_event_retrieval_strategy.php:511return $this->get_raw_events_legacy_implementation(!is_null($usersfilter) ? $usersfilter : true, !is_null($groupsfilter) ? $groupsfilter : true, !is_null($coursesfilter) ? $coursesfilter : true, !is_null($categoriesfilter) ? $categoriesfilter : true, $whereconditions, $whereparams, $ordersql, $offset, $limitnum, $ignorehidden)
/calendar/classes/local/event/data_access/event_vault.php:2551return array_values($this->get_events(null, null, $timesortfrom, $timesortto, null, $afterevent, $limitnum, CALENDAR_EVENT_TYPE_ACTION, [$user->id], $groupings[0] ? $groupings[0] : null, [$course->id], [ ], true, true, function ($event) use ($course) { /**/ } , $searchvalue))
/calendar/classes/privacy/provider.php:3771$eventdetails = (object) ['name' => $event->name, 'description' => $event->description, 'location' => $event->location, 'eventtype' => $event->eventtype, 'timestart' => transform::datetime($event->timestart), 'timeduration' => $event->timeduration]
/calendar/classes/rrule_manager.php:9001return !empty($this->bymonth) || !empty($this->bymonthday) || !empty($this->bysecond) || !empty($this->byday) || !empty($this->byweekno) || !empty($this->byhour) || !empty($this->byminute) || !empty($this->byyearday)
/calendar/classes/local/event/data_access/event_vault.php:1241return $this->timefield_pagination_to($field, $timeto, $afterevent ? $afterevent->get_times( )->{$lastseenmethod}( )->getTimestamp( ) : null, $afterevent ? $afterevent->get_id( ) : null)
/calendar/classes/local/event/data_access/event_vault.php:1101return $this->timefield_pagination_from($field, $timefrom, $afterevent ? $afterevent->get_times( )->{$lastseenmethod}( )->getTimestamp( ) : null, $afterevent ? $afterevent->get_id( ) : null, $withduration)
/course/tests/courselib_test.php:44741return ['no courses' => ['coursesdata' => [ ], 'expected' => [COURSE_TIMELINE_PAST => [ ], COURSE_TIMELINE_FUTURE => [ ], COURSE_TIMELINE_INPROGRESS => [ ]]], 'only past' => ['coursesdata' => [['shortname' => 'past1', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'past2', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day]], 'expected' => [COURSE_TIMELINE_PAST => ['past1', 'past2'], COURSE_TIMELINE_FUTURE => [ ], COURSE_TIMELINE_INPROGRESS => [ ]]], 'only in progress' => ['coursesdata' => [['shortname' => 'inprogress1', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'inprogress2', 'startdate' => $now - $day, 'enddate' => $now + $day]], 'expected' => [COURSE_TIMELINE_PAST => [ ], COURSE_TIMELINE_FUTURE => [ ], COURSE_TIMELINE_INPROGRESS => ['inprogress1', 'inprogress2']]], 'only future' => ['coursesdata' => [['shortname' => 'future1', 'startdate' => $now + $day], ['shortname' => 'future2', 'startdate' => $now + $day]], 'expected' => [COURSE_TIMELINE_PAST => [ ], COURSE_TIMELINE_FUTURE => ['future1', 'future2'], COURSE_TIMELINE_INPROGRESS => [ ]]], 'combination' => ['coursesdata' => [['shortname' => 'past1', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'past2', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'inprogress1', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'inprogress2', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'future1', 'startdate' => $now + $day], ['shortname' => 'future2', 'startdate' => $now + $day]], 'expected' => [COURSE_TIMELINE_PAST => ['past1', 'past2'], COURSE_TIMELINE_FUTURE => ['future1', 'future2'], COURSE_TIMELINE_INPROGRESS => ['inprogress1', 'inprogress2']]], ]
/course/tests/courselib_test.php:46321return ['zero records' => ['dbquerylimit' => 3, 'totalcourses' => 0, 'limit' => 0, 'offset' => 0, 'expecteddbqueries' => 4, 'expectedresult' => $buildexpectedresult(0, 0)], 'less than query limit' => ['dbquerylimit' => 3, 'totalcourses' => 2, 'limit' => 0, 'offset' => 0, 'expecteddbqueries' => 2, 'expectedresult' => $buildexpectedresult(2, 0)], 'more than query limit' => ['dbquerylimit' => 3, 'totalcourses' => 7, 'limit' => 0, 'offset' => 0, 'expecteddbqueries' => 4, 'expectedresult' => $buildexpectedresult(7, 0)], 'limit less than query limit' => ['dbquerylimit' => 3, 'totalcourses' => 7, 'limit' => 2, 'offset' => 0, 'expecteddbqueries' => 2, 'expectedresult' => $buildexpectedresult(2, 0)], 'limit less than query limit with offset' => ['dbquerylimit' => 3, 'totalcourses' => 7, 'limit' => 2, 'offset' => 2, 'expecteddbqueries' => 2, 'expectedresult' => $buildexpectedresult(2, 2)], 'limit less than total' => ['dbquerylimit' => 3, 'totalcourses' => 9, 'limit' => 6, 'offset' => 0, 'expecteddbqueries' => 3, 'expectedresult' => $buildexpectedresult(6, 0)], 'less results than limit' => ['dbquerylimit' => 4, 'totalcourses' => 9, 'limit' => 20, 'offset' => 0, 'expecteddbqueries' => 4, 'expectedresult' => $buildexpectedresult(9, 0)], 'less results than limit exact divisible' => ['dbquerylimit' => 3, 'totalcourses' => 9, 'limit' => 20, 'offset' => 0, 'expecteddbqueries' => 5, 'expectedresult' => $buildexpectedresult(9, 0)], 'less results than limit with offset' => ['dbquerylimit' => 3, 'totalcourses' => 9, 'limit' => 10, 'offset' => 5, 'expecteddbqueries' => 3, 'expectedresult' => $buildexpectedresult(4, 5)], ]
/course/tests/courselib_test.php:23341$event = \core\event\course_section_updated::create(array('objectid' => $section->id, 'courseid' => $course->id, 'context' => context_course::instance($course->id), 'other' => array('sectionnum' => $section->section)))
/course/tests/courselib_test.php:35791return [[$time, $time + DAYSECS, false, false, $time, $time + DAYSECS], [$time, $time + DAYSECS, false, $time + DAYSECS + 111, $time, $time + DAYSECS + 111], [$time, 0, $time + DAYSECS, false, $time + DAYSECS, 0], [$time, $time + DAYSECS, $time + WEEKSECS, false, $time + WEEKSECS, $time + WEEKSECS + DAYSECS], [$time, $time + DAYSECS, $time + WEEKSECS, $time + YEARSECS, $time + WEEKSECS, $time + YEARSECS]]
/course/tests/courselib_test.php:50611$coursedata = [['shortname' => 'C1', 'customfield_checkboxfield' => 1, 'customfield_datefield' => strtotime('2001-02-01T12:00:00Z'), 'customfield_selectfield' => 1, 'customfield_textfield' => 'fish', ], ['shortname' => 'C2', 'customfield_checkboxfield' => 0, 'customfield_datefield' => strtotime('1980-08-05T13:00:00Z'), ], ['shortname' => 'C3', 'customfield_checkboxfield' => 0, 'customfield_datefield' => strtotime('2001-02-01T12:00:00Z'), 'customfield_selectfield' => 2, 'customfield_textfield' => 'dog', ], ['shortname' => 'C4', 'customfield_checkboxfield' => 1, 'customfield_selectfield' => 3, 'customfield_textfield' => 'cat', ], ['shortname' => 'C5', 'customfield_datefield' => strtotime('1980-08-06T13:00:00Z'), 'customfield_selectfield' => 2, 'customfield_textfield' => 'fish', ], ]
/course/tests/courselib_test.php:50951return ['empty set' => ['coursedata' => [ ], 'customfield' => 'checkboxfield', 'customfieldvalue' => 1, 'limit' => 10, 'offset' => 0, 'expectedcourses' => [ ], 'expectedprocessedcount' => 0], 'checkbox yes' => ['coursedata' => $coursedata, 'customfield' => 'checkboxfield', 'customfieldvalue' => 1, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C1', 'C4'], 'expectedprocessedcount' => 5], 'checkbox no' => ['coursedata' => $coursedata, 'customfield' => 'checkboxfield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C2', 'C3', 'C5'], 'expectedprocessedcount' => 5], 'date 1 Feb 2001' => ['coursedata' => $coursedata, 'customfield' => 'datefield', 'customfieldvalue' => strtotime('2001-02-01T12:00:00Z'), 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C1', 'C3'], 'expectedprocessedcount' => 5], 'date 6 Aug 1980' => ['coursedata' => $coursedata, 'customfield' => 'datefield', 'customfieldvalue' => strtotime('1980-08-06T13:00:00Z'), 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C5'], 'expectedprocessedcount' => 5], 'date no date' => ['coursedata' => $coursedata, 'customfield' => 'datefield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C4'], 'expectedprocessedcount' => 5], 'select Option 1' => ['coursedata' => $coursedata, 'customfield' => 'selectfield', 'customfieldvalue' => 1, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C1'], 'expectedprocessedcount' => 5], 'select Option 2' => ['coursedata' => $coursedata, 'customfield' => 'selectfield', 'customfieldvalue' => 2, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C3', 'C5'], 'expectedprocessedcount' => 5], 'select no select' => ['coursedata' => $coursedata, 'customfield' => 'selectfield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C2'], 'expectedprocessedcount' => 5], 'text fish' => ['coursedata' => $coursedata, 'customfield' => 'textfield', 'customfieldvalue' => 'fish', 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C1', 'C5'], 'expectedprocessedcount' => 5], 'text dog' => ['coursedata' => $coursedata, 'customfield' => 'textfield', 'customfieldvalue' => 'dog', 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C3'], 'expectedprocessedcount' => 5], 'text no text' => ['coursedata' => $coursedata, 'customfield' => 'textfield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['C2'], 'expectedprocessedcount' => 5], 'checkbox limit no' => ['coursedata' => $coursedata, 'customfield' => 'checkboxfield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 2, 'offset' => 0, 'expectedcourses' => ['C2', 'C3'], 'expectedprocessedcount' => 3], 'checkbox limit offset no' => ['coursedata' => $coursedata, 'customfield' => 'checkboxfield', 'customfieldvalue' => BLOCK_MYOVERVIEW_CUSTOMFIELD_EMPTY, 'limit' => 2, 'offset' => 3, 'expectedcourses' => ['C5'], 'expectedprocessedcount' => 2], ]
/course/tests/courselib_test.php:47633$coursedata = [['shortname' => 'apast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'bpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'cpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'dpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'epast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'ainprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'binprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'cinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'dinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'einprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'afuture', 'startdate' => $now + $day], ['shortname' => 'bfuture', 'startdate' => $now + $day], ['shortname' => 'cfuture', 'startdate' => $now + $day], ['shortname' => 'dfuture', 'startdate' => $now + $day], ['shortname' => 'efuture', 'startdate' => $now + $day]]
/course/tests/courselib_test.php:48471return ['empty set' => ['coursedata' => [ ], 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 0, 'expectedcourses' => [ ], 'expectedprocessedcount' => 0], 'future not limit no offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 15], 'future no offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 0, 'expectedcourses' => ['afuture', 'bfuture'], 'expectedprocessedcount' => 4], 'future offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 2, 'expectedcourses' => ['bfuture', 'cfuture'], 'expectedprocessedcount' => 5], 'future exact limit' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 5, 'offset' => 0, 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 13], 'future limit less results' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 15], 'future limit less results with offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 10, 'offset' => 5, 'expectedcourses' => ['cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 10], ]
/course/classes/external/course_summary_exporter.php:691return array('fullnamedisplay' => get_course_display_name_for_list($this->data), 'viewurl' => (new moodle_url('/course/view.php', array('id' => $this->data->id)))->out(false), 'courseimage' => $courseimage, 'progress' => $progress, 'hasprogress' => $hasprogress, 'isfavourite' => $this->related['isfavourite'], 'hidden' => boolval(get_user_preferences('block_myoverview_hidden_course_' . $this->data->id, 0)), 'showshortname' => $CFG->courselistshortnames ? true : false, 'coursecategory' => $coursecategory->name)
/course/tests/targets_test.php:491return ['coursenotyetstarted' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, 10, 24, $year + 1)], 'isvalid' => get_string('coursenotyetstarted', 'course')], 'coursenostudents' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, 10, 24, $year - 2), 'enddate' => mktime(0, 0, 0, 10, 24, $year - 1)], 'isvalid' => get_string('nocoursestudents', 'course')], 'coursenosections' => ['params' => ['enablecompletion' => 1, 'format' => 'social', 'students' => true], 'isvalid' => get_string('nocoursesections', 'course')], 'coursenoendtime' => ['params' => ['enablecompletion' => 1, 'format' => 'topics', 'enddate' => 0, 'students' => true], 'isvalid' => get_string('nocourseendtime', 'course')], 'courseendbeforestart' => ['params' => ['enablecompletion' => 1, 'enddate' => mktime(0, 0, 0, 10, 23, $year - 2), 'students' => true], 'isvalid' => get_string('errorendbeforestart', 'course')], 'coursetoolong' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, 10, 24, $year - 2), 'enddate' => mktime(0, 0, 0, 10, 23, $year), 'students' => true], 'isvalid' => get_string('coursetoolong', 'course')], 'coursealreadyfinished' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, 10, 24, $year - 2), 'enddate' => mktime(0, 0, 0, 10, 23, $year - 1), 'students' => true], 'isvalid' => get_string('coursealreadyfinished', 'course'), 'fortraining' => false], 'coursenotyetfinished' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, $month - 1, 24, $year), 'enddate' => mktime(0, 0, 0, $month + 2, 23, $year), 'students' => true], 'isvalid' => get_string('coursenotyetfinished', 'course')], 'coursenocompletion' => ['params' => ['enablecompletion' => 0, 'startdate' => mktime(0, 0, 0, $month - 2, 24, $year), 'enddate' => mktime(0, 0, 0, $month - 1, 23, $year), 'students' => true], 'isvalid' => get_string('completionnotenabledforcourse', 'completion')], 'coursehiddentraining' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, $month - 1, 24, $year - 1), 'enddate' => mktime(0, 0, 0, $month - 1, 23, $year), 'students' => true, 'visible' => '0', ], 'isvalid' => true, ], 'coursehiddenprediction' => ['params' => ['enablecompletion' => 1, 'startdate' => mktime(0, 0, 0, $month - 1, 24, $year), 'enddate' => mktime(0, 0, 0, $month - 1, 23, $year + 1), 'students' => true, 'visible' => '0', ], 'isvalid' => get_string('hiddenfromstudents'), 'fortraining' => false], ]
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php:481return new external_function_parameters(['classification' => new external_value(PARAM_ALPHA, 'future, inprogress, or past'), 'limit' => new external_value(PARAM_INT, 'Result set limit', VALUE_DEFAULT, 0), 'offset' => new external_value(PARAM_INT, 'Result set offset', VALUE_DEFAULT, 0), 'sort' => new external_value(PARAM_TEXT, 'Sort string', VALUE_DEFAULT, null), 'customfieldname' => new external_value(PARAM_ALPHANUMEXT, 'Used when classification = customfield', VALUE_DEFAULT, null), 'customfieldvalue' => new external_value(PARAM_RAW, 'Used when classification = customfield', VALUE_DEFAULT, null), 'searchvalue' => new external_value(PARAM_RAW, 'The value a user wishes to search against', VALUE_DEFAULT, null), 'eventsfrom' => new external_value(PARAM_INT, 'Optional starting timestamp for action events', VALUE_DEFAULT, null), 'eventsto' => new external_value(PARAM_INT, 'Optional ending timestamp for action events', VALUE_DEFAULT, null), ])
/course/classes/external/get_enrolled_courses_with_action_events_by_timeline_classification.php:991$params = self::validate_parameters(self::execute_parameters( ), ['classification' => $classification, 'limit' => $limit, 'offset' => $offset, 'sort' => $sort, 'customfieldname' => $customfieldname, 'customfieldvalue' => $customfieldvalue, 'searchvalue' => $searchvalue, 'eventsfrom' => $eventsfrom, 'eventsto' => $eventsto, ])
/course/tests/modlib_test.php:2671$expectedorder = [$moduleinfo[1]->coursemodule, $modulescm[0]->id, $modulescm[1]->id, $moduleinfo[2]->coursemodule, $modulescm[3]->id, $moduleinfo[0]->coursemodule, $moduleinfo[3]->coursemodule, $moduleinfo[4]->coursemodule, ]
/course/tests/courselib_test.php:5591$moduleinfo->availability = json_encode(\core_availability\tree::get_root_json(array(\availability_date\condition::get_json('>=', time( )), \availability_date\condition::get_json('<', time( ) + (7 * 24 * 3600)), \availability_grade\condition::get_json($coursegradeitem->id, 10, 80), \availability_profile\condition::get_json(false, 'email', 'contains', '@'), \availability_completion\condition::get_json($assigncm->id, COMPLETION_COMPLETE)), '&'))
/course/tests/targets_test.php:1581return ['enrolmentendbeforecourse' => ['coursestart' => $now, 'courseend' => $now + (WEEKSECS * 8), 'timestart' => $now, 'timeend' => $now - DAYSECS, 'isvalidfortraining' => false, 'isvalidforprediction' => false], 'enrolmenttoolong' => ['coursestart' => $now, 'courseend' => $now + (WEEKSECS * 8), 'timestart' => $now - (YEARSECS + (WEEKSECS * 8)), 'timeend' => $now + (WEEKSECS * 8), 'isvalidfortraining' => false, 'isvalidforprediction' => false], 'enrolmentstartaftercourse' => ['coursestart' => $now, 'courseend' => $now + (WEEKSECS * 8), 'timestart' => $now + (WEEKSECS * 9), 'timeend' => $now + (WEEKSECS * 10), 'isvalidfortraining' => false, 'isvalidforprediction' => false], 'enrolmentstartsafternow' => ['coursestart' => $now, 'courseend' => $now + (WEEKSECS * 8), 'timestart' => $now + (WEEKSECS * 2), 'timeend' => $now + (WEEKSECS * 7), 'isvalidfortraining' => false, 'isvalidforprediction' => false], 'enrolmentfinishedbeforenow' => ['coursestart' => $now - (WEEKSECS * 4), 'courseend' => $now - (WEEKSECS * 1), 'timestart' => $now - (WEEKSECS * 3), 'timeend' => $now - (WEEKSECS * 2), 'isvalidfortraining' => true, 'isvalidforprediction' => false], ]
/course/tests/targets_test.php:2101return ['enrol-after-end' => ['starttime' => $now, 'endtime' => $now + WEEKSECS, 'timestart' => $now + (WEEKSECS * 2), 'timeend' => $now + (WEEKSECS * 3), 'nullcalculation' => true, ], 'enrol-before-start' => ['starttime' => $now + (WEEKSECS * 2), 'endtime' => $now + (WEEKSECS * 3), 'timestart' => $now, 'timeend' => $now + WEEKSECS, 'nullcalculation' => true, ], 'enrol-active-exact-match' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 1), 'timestart' => $now, 'timeend' => $now + (WEEKSECS * 1), 'nullcalculation' => false, ], 'enrol-active' => ['starttime' => $now + WEEKSECS, 'endtime' => $now + (WEEKSECS * 2), 'timestart' => $now, 'timeend' => $now + (WEEKSECS * 3), 'nullcalculation' => false, ], 'enrol-during-analysis-active-just-for-a-while' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + WEEKSECS, 'timeend' => $now + (WEEKSECS * 2), 'nullcalculation' => true, ], 'enrol-during-analysis-mostly-active' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 20), 'timestart' => $now + WEEKSECS, 'timeend' => $now + (WEEKSECS * 19), 'nullcalculation' => false, ], 'enrol-partly-active-starts-before' => ['starttime' => $now + WEEKSECS, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now, 'timeend' => $now + (WEEKSECS * 2), 'nullcalculation' => true, ], 'enrol-mostly-active-starts-before' => ['starttime' => $now + WEEKSECS, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now, 'timeend' => $now + (WEEKSECS * 9), 'nullcalculation' => false, ], 'enrol-partly-active-ends-afterwards' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + (WEEKSECS * 9), 'timeend' => $now + (WEEKSECS * 11), 'nullcalculation' => true, ], 'enrol-mostly-active-ends-afterwards' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + WEEKSECS, 'timeend' => $now + (WEEKSECS * 11), 'nullcalculation' => false, ], 'enrol-partly-active-no-enrolment-end' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + (WEEKSECS * 9), 'timeend' => false, 'nullcalculation' => true, ], 'enrol-mostly-active-no-enrolment-end-false' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + WEEKSECS, 'timeend' => false, 'nullcalculation' => false, ], 'enrol-mostly-active-no-enrolment-end-zero' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => $now + WEEKSECS, 'timeend' => 0, 'nullcalculation' => false, ], 'enrol-no-enrolment-start-false' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => false, 'timeend' => $now + (WEEKSECS * 9), 'nullcalculation' => false, ], 'enrol-no-enrolment-start-zero' => ['starttime' => $now, 'endtime' => $now + (WEEKSECS * 10), 'timestart' => 0, 'timeend' => $now + (WEEKSECS * 9), 'nullcalculation' => false, ], 'no-start' => ['starttime' => 0, 'endtime' => $now + (WEEKSECS * 2), 'timestart' => $now + WEEKSECS, 'timeend' => $now + (WEEKSECS * 3), 'nullcalculation' => false, ], 'no-end' => ['starttime' => $now, 'endtime' => 0, 'timestart' => $now + (WEEKSECS * 2), 'timeend' => $now + (WEEKSECS * 3), 'nullcalculation' => false, ]]
/course/tests/externallib_test.php:11371$forumcompleteauto = $this->getDataGenerator( )->create_module('forum', array('course' => $course->id, 'intro' => 'forum completion tracking auto', 'trackingtype' => 2), array('showdescription' => true, 'completionview' => 1, 'completion' => COMPLETION_TRACKING_AUTOMATIC))
/course/tests/externallib_test.php:11021$url = $this->getDataGenerator( )->create_module('url', array('course' => $course->id, 'name' => 'URL: % & $ ../', 'section' => 2, 'display' => RESOURCELIB_DISPLAY_POPUP, 'popupwidth' => 100, 'popupheight' => 100), array('availability' => $availability))
/course/tests/externallib_test.php:3451$dbcategories = $DB->get_records_select('course_categories', 'id IN (' . $category1->id . ',' . $category2->id . ',' . $category2->id . ',' . $category3->id . ',' . $category4->id . ',' . $category5->id . ')')
/course/tests/externallib_test.php:3331$categories = array(array('id' => $category1->id, 'name' => $category1->name . '_updated', 'idnumber' => $category1->idnumber . '_updated', 'description' => $category1->description . '_updated', 'descriptionformat' => FORMAT_HTML, 'theme' => $category1->theme), array('id' => $category4->id, 'parent' => $category1->id))
/course/tests/externallib_test.php:33991return ['empty set' => ['coursedata' => [ ], 'classification' => 'future', 'limit' => 2, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => [ ], 'expectednextoffset' => 0, ], 'future not limit no offset' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 0, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectednextoffset' => 15, ], 'future no offset' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 2, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'bfuture'], 'expectednextoffset' => 4, ], 'future offset' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 2, 'offset' => 2, 'sort' => 'shortname ASC', 'expectedcourses' => ['bfuture', 'cfuture'], 'expectednextoffset' => 7, ], 'future exact limit' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 5, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectednextoffset' => 13, ], 'future limit less results' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 10, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'bfuture', 'cfuture', 'dfuture', 'efuture'], 'expectednextoffset' => 15, ], 'future limit less results with offset' => ['coursedata' => $coursedata, 'classification' => 'future', 'limit' => 10, 'offset' => 5, 'sort' => 'shortname ASC', 'expectedcourses' => ['cfuture', 'dfuture', 'efuture'], 'expectednextoffset' => 15, ], 'all no limit or offset' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 0, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'ainprogress', 'apast', 'bfuture', 'binprogress', 'bpast', 'cfuture', 'cinprogress', 'cpast', 'dfuture', 'dinprogress', 'dpast', 'efuture', 'einprogress', 'epast'], 'expectednextoffset' => 15, ], 'all limit no offset' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 0, 'sort' => 'shortname ASC', 'expectedcourses' => ['afuture', 'ainprogress', 'apast', 'bfuture', 'binprogress'], 'expectednextoffset' => 5, ], 'all limit and offset' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => 'shortname ASC', 'expectedcourses' => ['bpast', 'cfuture', 'cinprogress', 'cpast', 'dfuture'], 'expectednextoffset' => 10, ], 'all offset past result set' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 50, 'sort' => 'shortname ASC', 'expectedcourses' => [ ], 'expectednextoffset' => 50, ], 'all limit and offset with sort ul.timeaccess desc' => ['coursedata' => $coursedata, 'classification' => 'inprogress', 'limit' => 0, 'offset' => 0, 'sort' => 'ul.timeaccess desc', 'expectedcourses' => ['ainprogress', 'binprogress', 'cinprogress', 'dinprogress', 'einprogress'], 'expectednextoffset' => 15, ], 'all limit and offset with sort sql injection for sort or 1==1' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => 'ul.timeaccess desc or 1==1', 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with sql injection of sort a custom one' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul.timeaccess LIMIT 1--", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong sort direction' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul.timeaccess abcdasc", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid sort direction in $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong sort direction' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul.timeaccess.foo ascd", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid sort direction in $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong sort param' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "foobar", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong field name' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul.foobar", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong field separator' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul.timeaccess.foo", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong field separator #' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "ul#timeaccess", 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong field separator $' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => 'ul$timeaccess', 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with wrong field name' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => 'timeaccess123', 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => 'Invalid $sort parameter in enrol_get_my_courses()', ], 'all limit and offset with no sort direction for ul' => ['coursedata' => $coursedata, 'classification' => 'inprogress', 'limit' => 0, 'offset' => 0, 'sort' => "ul.timeaccess", 'expectedcourses' => ['ainprogress', 'binprogress', 'cinprogress', 'dinprogress', 'einprogress'], 'expectednextoffset' => 15, ], 'all limit and offset with valid field name and no prefix, test for ul' => ['coursedata' => $coursedata, 'classification' => 'inprogress', 'limit' => 0, 'offset' => 0, 'sort' => "timeaccess", 'expectedcourses' => ['ainprogress', 'binprogress', 'cinprogress', 'dinprogress', 'einprogress'], 'expectednextoffset' => 15, ], 'all limit and offset with valid field name and no prefix' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "fullname", 'expectedcourses' => ['bpast', 'cpast', 'dfuture', 'dpast', 'efuture'], 'expectednextoffset' => 10, ], 'all limit and offset with valid field name and no prefix and with sort direction' => ['coursedata' => $coursedata, 'classification' => 'all', 'limit' => 5, 'offset' => 5, 'sort' => "fullname desc", 'expectedcourses' => ['bpast', 'cpast', 'dfuture', 'dpast', 'efuture'], 'expectednextoffset' => 10, ], 'Search courses for courses containing bfut' => ['coursedata' => $coursedata, 'classification' => 'search', 'limit' => 0, 'offset' => 0, 'sort' => null, 'expectedcourses' => ['bfuture'], 'expectednextoffset' => 1, 'expectedexception' => null, 'searchvalue' => 'bfut', ], 'Search courses for courses containing inp' => ['coursedata' => $coursedata, 'classification' => 'search', 'limit' => 0, 'offset' => 0, 'sort' => null, 'expectedcourses' => ['ainprogress', 'binprogress', 'cinprogress', 'dinprogress', 'einprogress'], 'expectednextoffset' => 5, 'expectedexception' => null, 'searchvalue' => 'inp', ], 'Search courses for courses containing fail' => ['coursedata' => $coursedata, 'classification' => 'search', 'limit' => 0, 'offset' => 0, 'sort' => null, 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => null, 'searchvalue' => 'fail', ], 'Search courses for courses containing !`~[]C' => ['coursedata' => $coursedata, 'classification' => 'search', 'limit' => 0, 'offset' => 0, 'sort' => null, 'expectedcourses' => [ ], 'expectednextoffset' => 0, 'expectedexception' => null, 'searchvalue' => '!`~[]C', ], ]
/course/tests/externallib_test.php:33103$coursedata = [['shortname' => 'apast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'bpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'cpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'dpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'epast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'ainprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'binprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'cinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'dinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'einprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'afuture', 'startdate' => $now + $day], ['shortname' => 'bfuture', 'startdate' => $now + $day], ['shortname' => 'cfuture', 'startdate' => $now + $day], ['shortname' => 'dfuture', 'startdate' => $now + $day], ['shortname' => 'efuture', 'startdate' => $now + $day]]
/course/tests/externallib_test.php:19401$fieldtext = self::getDataGenerator( )->create_custom_field(['categoryid' => $fieldcategory->get('id'), 'name' => 'Text', 'shortname' => 'text', 'type' => 'text', 'configdata' => ['locked' => 1, ], ])
/course/tests/externallib_test.php:17191$filessize = $module['contents'][0]['filesize'] + $module['contents'][1]['filesize'] + $module['contents'][2]['filesize'] + $module['contents'][3]['filesize']
/course/tests/courselib_test.php:73481$file = $fs->create_file_from_pathname((object) ['contextid' => \core\context\course::instance($course->id)->id, 'component' => 'course', 'filearea' => 'overviewfiles', 'itemid' => 0, 'filepath' => '/', 'filename' => 'logo.png', ], "{$CFG->dirroot}/lib/tests/fixtures/gd-logo.png")
/course/tests/courselib_test.php:57621return ['future course start fixed no users enrolled' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [[ ], [ ]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 1 users enrolled future' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 1 users enrolled past' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart - 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled future' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled past' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart - 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled mixed' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled 2 methods' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled 2 methods 1 disabled' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled 2 methods 2 disabled' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_DISABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled 2 methods 0 disabled 1 user suspended' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start fixed 2 users enrolled 2 methods 0 disabled 2 user suspended' => ['relativedatemode' => false, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED]], ['manual' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative no users enrolled' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [[ ], [ ]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 1 users enrolled future' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $futurecoursestart + 10, 'startoffset' => 10], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 1 users enrolled past' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart - 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 2 users enrolled future' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart + 10, 'startoffset' => 10], ['start' => $futurecoursestart + 20, 'startoffset' => 20]]], 'future course start relative 2 users enrolled past' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart - 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 2 users enrolled mixed' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart + 10, 'startoffset' => 10], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 2 users enrolled 2 methods' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart + 10, 'startoffset' => 10], ['start' => $futurecoursestart + 10, 'startoffset' => 10]]], 'future course start relative 2 users enrolled 2 methods 1 disabled' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart + 20, 'startoffset' => 20], ['start' => $futurecoursestart + 10, 'startoffset' => 10]]], 'future course start relative 2 users enrolled 2 methods 2 disabled' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_DISABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'future course start relative 2 users enrolled 2 methods 0 disabled 1 user suspended' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $futurecoursestart + 20, 'startoffset' => 20], ['start' => $futurecoursestart + 10, 'startoffset' => 10]]], 'future course start relative 2 users enrolled 2 methods 0 disabled 2 user suspended' => ['relativedatemode' => true, 'coursestart' => $futurecoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED]], ['manual' => [$futurecoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$futurecoursestart + 10, ENROL_USER_SUSPENDED]]], 'expected' => [['start' => $futurecoursestart, 'startoffset' => 0], ['start' => $futurecoursestart, 'startoffset' => 0]]], 'past course start fixed no users enrolled' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [[ ], [ ]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 1 users enrolled future' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 1 users enrolled past' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart - 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled future' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled past' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart - 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled mixed' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled 2 methods' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled 2 methods 1 disabled' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled 2 methods 2 disabled' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_DISABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled 2 methods 0 disabled 1 user suspended' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start fixed 2 users enrolled 2 methods 0 disabled 2 user suspended' => ['relativedatemode' => false, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED]], ['manual' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative no users enrolled' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [[ ], [ ]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 1 users enrolled future' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $pastcoursestart + 10, 'startoffset' => 10], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 1 users enrolled past' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart - 10, ENROL_USER_ACTIVE]], [ ]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 2 users enrolled future' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart + 10, 'startoffset' => 10], ['start' => $pastcoursestart + 20, 'startoffset' => 20]]], 'past course start relative 2 users enrolled past' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart - 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 2 users enrolled mixed' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart - 20, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart + 10, 'startoffset' => 10], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 2 users enrolled 2 methods' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart + 10, 'startoffset' => 10], ['start' => $pastcoursestart + 10, 'startoffset' => 10]]], 'past course start relative 2 users enrolled 2 methods 1 disabled' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart + 20, 'startoffset' => 20], ['start' => $pastcoursestart + 10, 'startoffset' => 10]]], 'past course start relative 2 users enrolled 2 methods 2 disabled' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_DISABLED], ['self', ENROL_INSTANCE_DISABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_ACTIVE], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]], 'past course start relative 2 users enrolled 2 methods 0 disabled 1 user suspended' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 20, ENROL_USER_ACTIVE]], ['manual' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 10, ENROL_USER_ACTIVE]]], 'expected' => [['start' => $pastcoursestart + 20, 'startoffset' => 20], ['start' => $pastcoursestart + 10, 'startoffset' => 10]]], 'past course start relative 2 users enrolled 2 methods 0 disabled 2 user suspended' => ['relativedatemode' => true, 'coursestart' => $pastcoursestart, 'usercount' => 2, 'enrolmentmethods' => [['manual', ENROL_INSTANCE_ENABLED], ['self', ENROL_INSTANCE_ENABLED]], 'enrolled' => [['manual' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED]], ['manual' => [$pastcoursestart + 20, ENROL_USER_SUSPENDED], 'self' => [$pastcoursestart + 10, ENROL_USER_SUSPENDED]]], 'expected' => [['start' => $pastcoursestart, 'startoffset' => 0], ['start' => $pastcoursestart, 'startoffset' => 0]]]]
/course/tests/courselib_test.php:54021return ['empty set' => ['coursedata' => [ ], 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 0, 'expectedcourses' => [ ], 'expectedprocessedcount' => 0, 'hiddencourse' => ''], 'future not limit no offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['afuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 15, 'hiddencourse' => 'bfuture'], 'future no offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 0, 'expectedcourses' => ['afuture', 'cfuture'], 'expectedprocessedcount' => 7, 'hiddencourse' => 'bfuture'], 'future offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 2, 'offset' => 2, 'expectedcourses' => ['bfuture', 'dfuture'], 'expectedprocessedcount' => 8, 'hiddencourse' => 'cfuture'], 'future exact limit' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 5, 'offset' => 0, 'expectedcourses' => ['afuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 15, 'hiddencourse' => 'bfuture'], 'future limit less results' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 10, 'offset' => 0, 'expectedcourses' => ['afuture', 'cfuture', 'dfuture', 'efuture'], 'expectedprocessedcount' => 15, 'hiddencourse' => 'bfuture'], 'future limit less results with offset' => ['coursedata' => $coursedata, 'classification' => COURSE_TIMELINE_FUTURE, 'limit' => 10, 'offset' => 5, 'expectedcourses' => ['cfuture', 'efuture'], 'expectedprocessedcount' => 10, 'hiddencourse' => 'dfuture'], ]
/course/tests/courselib_test.php:53183$coursedata = [['shortname' => 'apast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'bpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'cpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'dpast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'epast', 'startdate' => $now - ($day * 2), 'enddate' => $now - $day], ['shortname' => 'ainprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'binprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'cinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'dinprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'einprogress', 'startdate' => $now - $day, 'enddate' => $now + $day], ['shortname' => 'afuture', 'startdate' => $now + $day], ['shortname' => 'bfuture', 'startdate' => $now + $day], ['shortname' => 'cfuture', 'startdate' => $now + $day], ['shortname' => 'dfuture', 'startdate' => $now + $day], ['shortname' => 'efuture', 'startdate' => $now + $day]]
/course/tests/externallib_test.php:2991$categories = core_course_external::get_categories(array(array('key' => 'id', 'value' => $category1->id), array('key' => 'idnumber', 'value' => $category1->idnumber), array('key' => 'visible', 'value' => 1)), 0)
/course/tests/externallib_test.php:2611$categories = core_course_external::get_categories(array(array('key' => 'id', 'value' => "$category1->id"), array('key' => 'idnumber', 'value' => $category1->idnumber), array('key' => 'name', 'value' => $category1->name . "<br/>"), array('key' => 'visible', 'value' => '1')), 0)
/course/tests/externallib_test.php:2491$categories = core_course_external::get_categories(array(array('key' => 'id', 'value' => $category1->id), array('key' => 'ids', 'value' => $category1->id), array('key' => 'idnumber', 'value' => $category1->idnumber), array('key' => 'visible', 'value' => 1)), 0)
/course/tests/externallib_test.php:741$categories = array(array('name' => $category1->name, 'parent' => 0), array('name' => $category2->name, 'parent' => 0, 'idnumber' => $category2->idnumber, 'description' => $category2->desc, 'theme' => $category2->theme))
/course/tests/analytics/indicators_test.php:2552$data = array($course1->id => array('course' => $course1, ), $course2->id => array('course' => $course2, ), $course3->id => array('course' => $course3, ), $course4->id => array('course' => $course4, ))
/course/format/formatlegacy.php:2651$courseformatoptions = array('numsections' => array('default' => $courseconfig->numsections, 'type' => PARAM_INT, ), 'hiddensections' => array('default' => $courseconfig->hiddensections ?? 0, 'type' => PARAM_INT, ), 'coursedisplay' => array('default' => $courseconfig->coursedisplay ?? COURSE_DISPLAY_SINGLEPAGE, 'type' => PARAM_INT, ), )
/course/format/formatlegacy.php:2861$courseformatoptionsedit = array('numsections' => array('label' => new lang_string('numberweeks'), 'element_type' => 'select', 'element_attributes' => array($sectionmenu), ), 'hiddensections' => array('label' => new lang_string('hiddensections'), 'help' => 'hiddensections', 'help_component' => 'moodle', 'element_type' => 'select', 'element_attributes' => array(array(0 => new lang_string('hiddensectionscollapsed'), 1 => new lang_string('hiddensectionsinvisible'))), ), 'coursedisplay' => array('label' => new lang_string('coursedisplay'), 'element_type' => 'select', 'element_attributes' => array(array(COURSE_DISPLAY_SINGLEPAGE => new lang_string('coursedisplay_single'), COURSE_DISPLAY_MULTIPAGE => new lang_string('coursedisplay_multi'))), 'help' => 'coursedisplay', 'help_component' => 'moodle', ))
/course/format/weeks/lib.php:2461$courseformatoptions = array('hiddensections' => array('default' => $courseconfig->hiddensections, 'type' => PARAM_INT, ), 'coursedisplay' => array('default' => $courseconfig->coursedisplay ?? COURSE_DISPLAY_SINGLEPAGE, 'type' => PARAM_INT, ), 'automaticenddate' => array('default' => 1, 'type' => PARAM_BOOL, ), )
/course/format/weeks/lib.php:2621$courseformatoptionsedit = array('hiddensections' => array('label' => new lang_string('hiddensections'), 'help' => 'hiddensections', 'help_component' => 'moodle', 'element_type' => 'select', 'element_attributes' => array(array(0 => new lang_string('hiddensectionscollapsed'), 1 => new lang_string('hiddensectionsinvisible'))), ), 'coursedisplay' => array('label' => new lang_string('coursedisplay'), 'element_type' => 'select', 'element_attributes' => array(array(COURSE_DISPLAY_SINGLEPAGE => new lang_string('coursedisplay_single'), COURSE_DISPLAY_MULTIPAGE => new lang_string('coursedisplay_multi'))), 'help' => 'coursedisplay', 'help_component' => 'moodle', ), 'automaticenddate' => array('label' => new lang_string('automaticenddate', 'format_weeks'), 'help' => 'automaticenddate', 'help_component' => 'format_weeks', 'element_type' => 'advcheckbox', ))
/course/format/weeks/tests/format_weeks_test.php:2102$args = ['course' => $course, 'category' => $category, 'editoroptions' => ['context' => \context_course::instance($course->id), 'subdirs' => 0], 'returnto' => new \moodle_url('/'), 'returnurl' => new \moodle_url('/'), ]
/course/format/classes/output/local/content/cm.php:1161$data = (object) ['grouping' => $mod->get_grouping_label($displayoptions['textclasses']), 'modname' => get_string('pluginname', 'mod_' . $mod->modname), 'url' => $mod->url, 'activityname' => $mod->get_formatted_name( ), 'textclasses' => $displayoptions['textclasses'], 'classlist' => [ ], 'cmid' => $mod->id, 'editing' => $PAGE->user_is_editing( ), ]
/course/format/classes/output/local/content/section.php:1421$data = (object) ['num' => $section->section ?? '0', 'id' => $section->id, 'sectionreturnid' => $format->get_sectionnum( ), 'insertafter' => false, 'summary' => $summary->export_for_template($output), 'highlightedlabel' => $format->get_section_highlighted_name( ), 'sitehome' => $course->id == SITEID, 'editing' => $PAGE->user_is_editing( ), 'displayonesection' => ($course->id != SITEID && !is_null($format->get_sectionid( ))), ]
/course/tests/externallib_test.php:39581$expectedusers['users'] = [['id' => $user1->id, 'fullname' => fullname($user1), 'firstname' => $user1->firstname, 'lastname' => $user1->lastname, 'profileimage' => $user1->profileimage, ], ['id' => $user2->id, 'fullname' => fullname($user2), 'firstname' => $user2->firstname, 'lastname' => $user2->lastname, 'profileimage' => $user2->profileimage, ]]
/course/tests/customfield_test.php:612$c1 = $dg->create_course(['shortname' => 'SN', 'fullname' => 'FN', 'summary' => 'DESC', 'summaryformat' => FORMAT_MOODLE, 'customfield_f1' => 'some text', 'customfield_f2' => 1, 'customfield_f3' => $now, 'customfield_f4' => 2, 'customfield_f5_editor' => ['text' => 'test', 'format' => FORMAT_HTML]])
/course/tests/customfield_test.php:1632$c1 = $dg->create_course(['shortname' => 'SN', 'fullname' => 'FN', 'summary' => 'DESC', 'summaryformat' => FORMAT_MOODLE, 'customfield_f1' => 'some text', 'customfield_f2' => 1, 'customfield_f3' => $now, 'customfield_f4' => 2, 'customfield_f5_editor' => ['text' => 'test', 'format' => FORMAT_HTML]])
/course/tests/reportbuilder/datasource/participants_test.php:2481return [['enrolment:status', ['enrolment:status_operator' => select::EQUAL_TO, 'enrolment:status_value' => 1, ], ['Luna'], ], ['enrolment:timecreated', ['enrolment:timecreated_operator' => date::DATE_CURRENT, 'enrolment:timecreated_unit' => date::DATE_UNIT_DAY, ], ['Kira'], ], ['enrolment:timestarted', ['enrolment:timestarted_operator' => date::DATE_CURRENT, 'enrolment:timecreated_unit' => date::DATE_UNIT_DAY, ], ['Luna'], ], ['enrolment:timeended', ['enrolment:timeended_operator' => date::DATE_CURRENT, 'enrolment:timeended_unit' => date::DATE_UNIT_DAY, ], ['Luna'], ], ['enrol:enabled', ['completion:enabled_operator' => boolean_select::CHECKED, ], ['Lionel', 'Kira', 'Luna'], ], ['enrol:period', ['enrol:period_operator' => duration::DURATION_MAXIMUM, 'enrol:period_unit' => MINSECS, 'enrol:period_value' => 2, ], ['Lionel', 'Kira', 'Luna'], ], ['enrol:startdate', ['enrol:startdate_operator' => date::DATE_EMPTY, ], ['Lionel', 'Kira', 'Luna'], ], ['enrol:enddate', ['enrol:enddate_operator' => date::DATE_EMPTY, ], ['Lionel', 'Kira', 'Luna'], ], ['enrol:customname', ['enrol:customname_operator' => text::IS_EMPTY, ], ['Luna', 'Kira', 'Lionel'], ], ['enrol:customname', ['enrol:customname_operator' => text::IS_EQUAL_TO, 'enrol:customname_value' => 'All night long'], [ ], ], ['role:name', ['role:name_operator' => select::EQUAL_TO, 'role:name_value' => $DB->get_field('role', 'id', ['shortname' => 'editingteacher']), ], ['Luna'], ], ['completion:completed', ['completion:completed_operator' => boolean_select::CHECKED, ], ['Lionel'], ], ['completion:timecompleted', ['completion:timecompleted_operator' => date::DATE_NOT_EMPTY, ], ['Lionel'], ], ['completion:timeenrolled', ['completion:timeenrolled_operator' => date::DATE_NOT_EMPTY, ], ['Lionel'], ], ['completion:timestarted', ['completion:timestarted_operator' => date::DATE_NOT_EMPTY, ], ['Lionel'], ], ['completion:reaggregate', ['completion:reaggregate_operator' => date::DATE_NOT_EMPTY, ], ['Lionel'], ], ]
/course/tests/reportbuilder/datasource/courses_test.php:4031$course = $this->getDataGenerator( )->create_course(['category' => $category->id, 'fullname' => 'Equine', 'shortname' => 'EQ101', 'idnumber' => 'E-101AB', 'lang' => 'en', 'calendartype' => 'gregorian', 'theme' => 'boost', 'downloadcontent' => 1, 'tags' => ['Horses'], ])
/course/tests/reportbuilder/datasource/categories_test.php:1401return ['Filter category' => ['course_category:name', ['course_category:name_operator' => category::NOT_EQUAL_TO, 'course_category:name_value' => -1, ], true], 'Filter category (no match)' => ['course_category:name', ['course_category:name_operator' => category::EQUAL_TO, 'course_category:name_value' => -1, ], false], 'Filter category name' => ['course_category:text', ['course_category:text_operator' => text::IS_EQUAL_TO, 'course_category:text_value' => 'Zoo', ], true], 'Filter category name (no match)' => ['course_category:text', ['course_category:text_operator' => text::IS_EQUAL_TO, 'course_category:text_value' => 'Plants', ], false], 'Filter category idnumber' => ['course_category:idnumber', ['course_category:idnumber_operator' => text::IS_EQUAL_TO, 'course_category:idnumber_value' => 'Z01', ], true], 'Filter category idnumber (no match)' => ['course_category:idnumber', ['course_category:idnumber_operator' => text::IS_EQUAL_TO, 'course_category:idnumber_value' => 'P01', ], false], 'Filter category theme' => ['course_category:theme', ['course_category:theme_operator' => select::EQUAL_TO, 'course_category:theme_value' => 'boost', ], true], 'Filter category theme (no match)' => ['course_category:theme', ['course_category:theme_operator' => select::EQUAL_TO, 'course_category:theme_value' => 'classic', ], false], 'Filter course fullname' => ['course:fullname', ['course:fullname_operator' => text::IS_EQUAL_TO, 'course:fullname_value' => 'Zebra', ], true], 'Filter course fullname (no match)' => ['course:fullname', ['course:fullname_operator' => text::IS_EQUAL_TO, 'course:fullname_value' => 'Python', ], false], 'Filter cohort name' => ['cohort:name', ['cohort:name_operator' => text::IS_EQUAL_TO, 'cohort:name_value' => 'My cohort', ], true], 'Filter cohort name (no match)' => ['cohort:name', ['cohort:name_operator' => text::IS_EQUAL_TO, 'cohort:name_value' => 'Not my cohort', ], false], 'Filter role' => ['role:name', ['role:name_operator' => select::EQUAL_TO, 'role:name_value' => $DB->get_field('role', 'id', ['shortname' => 'manager']), ], true], 'Filter role (no match)' => ['role:name', ['role:name_operator' => select::EQUAL_TO, 'role:name_value' => -1, ], false], 'Filter user firstname' => ['user:firstname', ['user:firstname_operator' => text::IS_EQUAL_TO, 'user:firstname_value' => 'Zoe', ], true], 'Filter user firstname (no match)' => ['user:firstname', ['user:firstname_operator' => text::IS_EQUAL_TO, 'user:firstname_value' => 'Pedro', ], false], ]
/course/tests/task/content_notification_task_test.php:441$draft = get_file_storage( )->create_file_from_pathname(['component' => 'user', 'filearea' => 'draft', 'contextid' => context_user::instance($USER->id)->id, 'itemid' => file_get_unused_draft_itemid( ), 'filename' => 'gd-logo.png', 'filepath' => '/', ], "{$CFG->libdir}/tests/fixtures/gd-logo.png")
/course/tests/analytics/indicators_test.php:1702$data = array($course1->id => array('course' => $course1, ), $course2->id => array('course' => $course2, ), $course3->id => array('course' => $course3, ), $course4->id => array('course' => $course4, ))
/course/format/classes/output/local/state/cm.php:831$data = (object) ['id' => $cm->id, 'anchor' => "module-{$cm->id}", 'name' => \core_external\util::format_string($cm->name, $cm->context, true), 'visible' => !empty($cm->visible), 'stealth' => $cm->is_stealth( ), 'sectionid' => $section->id, 'sectionnumber' => $section->section, 'uservisible' => $cm->uservisible, 'hascmrestrictions' => $this->get_has_restrictions( ), 'modname' => get_string('pluginname', 'mod_' . $cm->modname), 'indent' => ($format->uses_indentation( )) ? $cm->indent : 0, 'groupmode' => $cm->groupmode, 'module' => $cm->modname, 'plugin' => 'mod_' . $cm->modname, 'delegatesection' => sectiondelegate::has_delegate_class('mod_' . $cm->modname), ]
/course/format/classes/output/local/content/cm/cmname.php:1091$data = ['url' => $mod->url, 'modname' => $mod->modname, 'textclasses' => $displayoptions['textclasses'] ?? '', 'activityicon' => $this->get_icon_data($output), 'activityname' => $this->get_title_data($output), ]
/course/format/classes/output/local/state/course.php:641$data = (object) ['id' => $course->id, 'numsections' => $format->get_last_section_number( ), 'sectionlist' => [ ], 'editmode' => $format->show_editor( ), 'highlighted' => $format->get_section_highlighted_name( ), 'maxsections' => $format->get_max_sections( ), 'baseurl' => $url->out( ), 'statekey' => course_format::session_cache($course), 'maxbytes' => $maxbytes, 'maxbytestext' => display_size($maxbytes), ]
/course/format/classes/output/local/state/section.php:771$data = (object) ['id' => $section->id, 'section' => $section->section, 'number' => $section->section, 'title' => $format->get_section_name($section), 'hassummary' => !empty($section->summary), 'rawtitle' => $section->name, 'cmlist' => [ ], 'visible' => !empty($section->visible), 'sectionurl' => course_get_url($course, $section->section, ['navigation' => true])->out( ), 'current' => $format->is_section_current($section), 'indexcollapsed' => $indexcollapsed, 'contentcollapsed' => $contentcollapsed, 'hasrestrictions' => $this->get_has_restrictions( ), 'bulkeditable' => $this->is_bulk_editable( ), 'component' => $section->component, 'itemid' => $section->itemid, ]
/course/format/classes/local/sectionactions.php:2441$event = course_section_deleted::create(['objectid' => $sectioninfo->id, 'courseid' => $this->course->id, 'context' => $context, 'other' => ['sectionnum' => $sectioninfo->section, 'sectionname' => $sectionname, ], ])
/course/format/classes/local/sectionactions.php:491$sectionrecord = (object) ['course' => $this->course->id, 'section' => $lastsection + 1, 'summary' => $fields->summary ?? '', 'summaryformat' => $fields->summaryformat ?? FORMAT_HTML, 'sequence' => '', 'name' => $fields->name ?? null, 'visible' => $fields->visible ?? 1, 'availability' => null, 'component' => $fields->component ?? null, 'itemid' => $fields->itemid ?? null, 'timemodified' => time( ), ]
/course/format/tests/stateupdates_test.php:2241return ["$action admin role" => ['action' => $action, 'role' => 'admin', 'expected' => [0, 1, 2], ], "$action teacher role" => ['action' => $action, 'role' => 'editingteacher', 'expected' => [0, 1, 2], ], "$action student role" => ['action' => $action, 'role' => 'student', 'expected' => $studentsections, ], ]
/course/format/classes/external/update_course.php:441return new external_function_parameters(['action' => new external_value(PARAM_ALPHANUMEXT, 'action: cm_hide, cm_show, section_hide, section_show, cm_moveleft...', VALUE_REQUIRED), 'courseid' => new external_value(PARAM_INT, 'course id', VALUE_REQUIRED), 'ids' => new external_multiple_structure(new external_value(PARAM_INT, 'Target id'), 'Affected ids', VALUE_DEFAULT, [ ]), 'targetsectionid' => new external_value(PARAM_INT, 'Optional target section id', VALUE_DEFAULT, null), 'targetcmid' => new external_value(PARAM_INT, 'Optional target cm id', VALUE_DEFAULT, null), ])
/course/format/classes/output/local/content/section/controlmenu.php:1421$controls['view'] = ['url' => new moodle_url('/course/section.php', ['id' => $section->id]), 'icon' => 'i/viewsection', 'name' => get_string('view'), 'pixattr' => ['class' => ''], 'attr' => ['class' => 'icon view'], ]
/course/format/classes/output/local/content/section.php:2051$showsummary = ($section->section != 0 && $section->section != $format->get_sectionnum( ) && $format->get_course_display( ) == COURSE_DISPLAY_MULTIPAGE && !$format->show_editor( ))
/course/format/classes/output/local/content/section/controlmenu.php:2101$controls['visiblity'] = ['url' => $url, 'icon' => 'i/show', 'name' => $strshowfromothers, 'pixattr' => ['class' => ''], 'attr' => ['class' => 'icon editing_showhide', 'data-sectionreturn' => $sectionreturn, 'data-action' => ($usecomponents) ? 'sectionShow' : 'show', 'data-id' => $section->id, 'data-swapname' => $strhidefromothers, 'data-swapicon' => 'i/hide', ], ]
/course/format/classes/output/local/content/section/controlmenu.php:1941$controls['visiblity'] = ['url' => $url, 'icon' => 'i/hide', 'name' => $strhidefromothers, 'pixattr' => ['class' => ''], 'attr' => ['class' => 'icon editing_showhide', 'data-sectionreturn' => $sectionreturn, 'data-action' => ($usecomponents) ? 'sectionHide' : 'hide', 'data-id' => $section->id, 'data-swapname' => $strshowfromothers, 'data-swapicon' => 'i/show', ], ]
/course/format/classes/output/local/content/section/cmitem.php:1021return (object) ['id' => $mod->id, 'anchor' => "module-{$mod->id}", 'module' => $mod->modname, 'extraclasses' => $mod->extraclasses, 'cmformat' => $item->export_for_template($output), 'hasinfo' => $hasinfo, 'indent' => ($format->uses_indentation( )) ? $mod->indent : 0, 'groupmode' => $mod->groupmode, ]
/course/format/classes/output/local/content/section/controlmenu.php:2331$controls['movesection'] = ['url' => $url, 'icon' => 'i/dragdrop', 'name' => get_string('move', 'moodle'), 'pixattr' => ['class' => ''], 'attr' => ['class' => 'icon move waitstate', 'data-action' => 'moveSection', 'data-id' => $section->id, ], ]
/course/format/classes/output/local/content/cm/visibility.php:2231return ['description' => get_string("availability_{$name}_help", 'core_courseformat'), 'icon' => $this->get_icon($name), 'url' => $this->format->get_non_ajax_cm_action_url($action, $this->mod), 'extras' => ['data-id' => $this->mod->id, 'data-action' => $action, ]]
/course/format/classes/output/local/content/cm/cmicon.php:831$data = ['uservisible' => $mod->uservisible, 'url' => $mod->url, 'icon' => $iconurl, 'iconclass' => $iconclass, 'modname' => $mod->modname, 'pluginname' => get_string('pluginname', 'mod_' . $mod->modname), 'showtooltip' => $this->format->show_editor( ), 'purpose' => plugin_supports('mod', $mod->modname, FEATURE_MOD_PURPOSE, MOD_PURPOSE_OTHER), 'branded' => $isbranded, ]
/calendar/tests/externallib_test.php:21341$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'course', 'courseid' => $course->id, 'description' => ['text' => '', 'format' => 1, 'itemid' => 0, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:20711$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'site', 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:20051$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'site', 'description' => ['text' => '', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:19442$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'user', 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:18791$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'user', 'description' => ['text' => '', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:18212$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'user', 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:17881$event = $this->create_calendar_event('Test event', $user->id, 'user', 0, null, ['modulename' => 'assign', 'instance' => $moduleinstance->id, 'courseid' => $course->id, 'timestart' => $originalstarttime->getTimestamp( )])
/calendar/tests/externallib_test.php:11791$records[] = $this->create_calendar_event(sprintf('Event %d', $i), $user->id, 'user', 0, 1, ['type' => CALENDAR_EVENT_TYPE_ACTION, 'courseid' => $courseid, 'timesort' => $i + 1, 'modulename' => 'assign', 'instance' => $instance, ])
/calendar/tests/externallib_test.php:26382$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_monthly_view_returns( ), core_calendar_external::get_calendar_monthly_view($timestart->format('Y'), $timestart->format('n'), $course->id, null, false, true, $timestart->format('j')))
/calendar/tests/externallib_test.php:26302$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_monthly_view_returns( ), core_calendar_external::get_calendar_monthly_view($timestart->format('Y'), $timestart->format('n'), $course->id, null, false, true, $timestart->format('j')))
/calendar/tests/externallib_test.php:25571$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'group', 'groupid' => $group->id, 'groupcourseid' => $course->id, 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:24833$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'group', 'groupid' => $group->id, 'groupcourseid' => $course->id, 'description' => ['text' => '', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:24093$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'group', 'groupid' => $group->id, 'groupcourseid' => $course->id, 'description' => ['text' => '', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:23363$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'group', 'groupid' => $group->id, 'groupcourseid' => $course->id, 'description' => ['text' => '', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:22701$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'course', 'courseid' => $course2->id, 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:22041$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'name' => 'Test', 'timestart' => ['day' => $timestart->format('j'), 'month' => $timestart->format('n'), 'year' => $timestart->format('Y'), 'hour' => $timestart->format('G'), 'minute' => 0, ], 'eventtype' => 'course', 'courseid' => $course->id, 'description' => ['text' => '', 'format' => 1, ], 'location' => 'Test', 'duration' => 1, 'timedurationuntil' => ['day' => $timedurationuntil->format('j'), 'month' => $timedurationuntil->format('n'), 'year' => $timedurationuntil->format('Y'), 'hour' => $timedurationuntil->format('G'), 'minute' => 0, ]]
/calendar/tests/externallib_test.php:31881$dates = [['key' => 'from', 'year' => $time1->format('Y'), 'month' => $time1->format('m'), 'day' => $time1->format('d'), ], ['key' => 'to', 'year' => $time2->format('Y'), 'month' => (int) $time2->format('m'), 'day' => $time2->format('d'), 'hour' => $time2->format('H'), 'minute' => $time2->format('i'), ], ]
/calendar/tests/externallib_test.php:32311$dates = [['year' => $time1->format('Y'), 'month' => $time1->format('m'), 'day' => $time1->format('d'), ], ['year' => $time2->format('Y'), 'month' => (int) $time2->format('m'), 'day' => $time2->format('d'), 'hour' => $time2->format('H'), 'minute' => $time2->format('i'), ], ]
/calendar/tests/externallib_test.php:27073$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_day_view_returns( ), core_calendar_external::get_calendar_day_view($timestart->format('Y'), $timestart->format('n'), $timestart->format('j'), $course->id, null))
/calendar/tests/externallib_test.php:29531$formdata = ['id' => 0, 'userid' => $user->id, 'modulename' => '', 'instance' => 0, 'visible' => 1, 'eventtype' => 'user', 'name' => 'Test', 'timestart' => ['day' => 1, 'month' => 1, 'year' => 2021, 'hour' => 1, 'minute' => 0, ], 'description' => ['text' => 'xxxxx', 'format' => 1, 'itemid' => 0], 'location' => 'Test', 'duration' => 0, ]
/calendar/tests/externallib_test.php:26903$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_day_view_returns( ), core_calendar_external::get_calendar_day_view($timestart->format('Y'), $timestart->format('n'), $timestart->format('j'), $course->id, null))
/calendar/tests/externallib_test.php:26983$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_day_view_returns( ), core_calendar_external::get_calendar_day_view($timestart->format('Y'), $timestart->format('n'), $timestart->format('j'), $course->id, null))
/calendar/tests/externallib_test.php:26471$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_monthly_view_returns( ), core_calendar_external::get_calendar_monthly_view($timestart->format('Y'), $timestart->format('n'), $course->id, null, false, false, $timestart->format('j')))
/calendar/tests/externallib_test.php:26621$data = external_api::clean_returnvalue(core_calendar_external::get_calendar_monthly_view_returns( ), core_calendar_external::get_calendar_monthly_view($timestart->format('Y'), $timestart->format('n'), SITEID, null, false, true, $timestart->format('j')))
/privacy/tests/moodle_content_writer_test.php:13632$record = ['contextid' => $context->id, 'component' => $file->component, 'filearea' => $file->filearea, 'itemid' => $file->itemid, 'filepath' => $file->path, 'filename' => $file->name, ]
/privacy/tests/moodle_content_writer_test.php:13791$expectedtreeoutput = ['System _.1' => ['data.json', 'paper' => 'data.json', 'Category Category 1 _.' . $misccoursecxt->id => ['Course Test course 1 _.' . $coursecontext->id => ['Chat Chat 1 _.' . $modulecontext->id => 'data.json', 'grades' => 'data.json']], 'Category Course category 1 _.' . $categorycontext->id => 'data.json', '_files' => ['tests' => 'a.txt'], 'Logs' => ['Standard log' => 'data.json']]]
/privacy/tests/moodle_content_writer_test.php:3972$record = ['contextid' => $context->id, 'component' => $file->component, 'filearea' => $file->filearea, 'itemid' => $file->itemid, 'filepath' => $file->path, 'filename' => $file->name, ]
/privacy/tests/moodle_content_writer_test.php:4761return ['basic' => ['intro', 0, '/', 'testfile.txt', 'An example file content', ], 'longpath' => ['attachments', '12', '/path/within/a/path/within/a/path/', 'testfile.txt', 'An example file content', ], 'pathwithspaces' => ['intro', 0, '/path with/some spaces/', 'testfile.txt', 'An example file content', ], 'filewithspaces' => ['submission_attachments', 1, '/path with/some spaces/', 'test file.txt', 'An example file content', ], 'image' => ['intro', 0, '/', 'logo.png', file_get_contents(__DIR__ . '/fixtures/logo.png'), ], 'UTF8' => ['submission_content', 2, '/Žluťoučký/', 'koníček.txt', 'koníček', ], 'EUC-JP' => ['intro', 0, '/言語設定/', '言語設定.txt', '言語設定', ], ]
/calendar/type/gregorian/classes/structure.php:1611return array(0 => array('shortname' => get_string('sun', 'calendar'), 'fullname' => get_string('sunday', 'calendar')), 1 => array('shortname' => get_string('mon', 'calendar'), 'fullname' => get_string('monday', 'calendar')), 2 => array('shortname' => get_string('tue', 'calendar'), 'fullname' => get_string('tuesday', 'calendar')), 3 => array('shortname' => get_string('wed', 'calendar'), 'fullname' => get_string('wednesday', 'calendar')), 4 => array('shortname' => get_string('thu', 'calendar'), 'fullname' => get_string('thursday', 'calendar')), 5 => array('shortname' => get_string('fri', 'calendar'), 'fullname' => get_string('friday', 'calendar')), 6 => array('shortname' => get_string('sat', 'calendar'), 'fullname' => get_string('saturday', 'calendar')), )
/privacy/classes/output/exported_html_page.php:781return ['navigation' => $this->navigationdata, 'systemname' => $this->systemname, 'timegenerated' => time( ), 'username' => $this->username, 'righttoleft' => $this->rtl, 'siteurl' => $this->siteurl]
/calendar/tests/privacy/provider_test.php:7631$event = (object) ['name' => $name, 'categoryid' => $categoryid, 'courseid' => $courseid, 'groupid' => $groupid, 'userid' => $userid, 'modulename' => 0, 'instance' => 0, 'eventtype' => $eventtype, 'type' => CALENDAR_EVENT_TYPE_STANDARD, 'timestart' => $time, 'visible' => 1]
/calendar/tests/privacy/provider_test.php:7931$event = (object) ['name' => "Action Calendar Event $eventtype -- $modulename", 'categoryid' => 0, 'courseid' => $courseid, 'groupid' => 0, 'userid' => $userid, 'modulename' => $modulename, 'instance' => $instanceid, 'eventtype' => $eventtype, 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => $time, 'visible' => 1]
/privacy/tests/tests_content_writer_test.php:5251$file = $this->getMockBuilder(stored_file::class)->onlyMethods([ ])->setConstructorArgs([get_file_storage( ), (object) ['contenthash' => $contenthash, 'filesize' => strlen($filecontent), 'filepath' => $filepath, 'filename' => $filename, ]])->getMock( )
/privacy/tests/request_transform_test.php:1141return ['Bool False' => [false, get_string('no'), ], 'Bool true' => [true, get_string('yes'), ], 'Int 0' => [0, get_string('no'), ], 'Int 1' => [1, get_string('yes'), ], 'String 0' => ['0', get_string('no'), ], 'String 1' => ['1', get_string('yes'), ], ]
/customfield/classes/handler.php:5421$finalfields[] = ['id' => $d->get('id'), 'shortname' => $d->get_field( )->get('shortname'), 'type' => $d->get_field( )->get('type'), 'value' => $d->get_value( ), 'valueformat' => $d->get('valueformat'), 'valuetrust' => $d->get('valuetrust'), ]
/customfield/externallib.php:1111return new external_single_structure(array('component' => new external_value(PARAM_COMPONENT, 'component'), 'area' => new external_value(PARAM_ALPHANUMEXT, 'area'), 'itemid' => new external_value(PARAM_INT, 'itemid'), 'usescategories' => new external_value(PARAM_BOOL, 'view has categories'), 'categories' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'id'), 'nameeditable' => new external_value(PARAM_RAW, 'inplace editable name'), 'addfieldmenu' => new external_value(PARAM_RAW, 'addfieldmenu'), 'fields' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_NOTAGS, 'name'), 'shortname' => new external_value(PARAM_NOTAGS, 'shortname'), 'type' => new external_value(PARAM_NOTAGS, 'type'), 'id' => new external_value(PARAM_INT, 'id'), )), '', VALUE_OPTIONAL), ))), ))
/privacy/tests/moodle_content_writer_test.php:14131$expectedindex = ['data_file_1' => 'System _.1/data.js', 'data_file_2' => 'System _.1/paper/data.js', 'data_file_3' => 'System _.1/Category Category 1 _.' . $misccoursecxt->id . '/Course Test course 1 _.' . $coursecontext->id . '/Chat Chat 1 _.' . $modulecontext->id . '/data.js', 'data_file_4' => 'System _.1/Category Category 1 _.' . $misccoursecxt->id . '/Course Test course 1 _.' . $coursecontext->id . '/grades/data.js', 'data_file_5' => 'System _.1/Category Course category 1 _.' . $categorycontext->id . '/data.js', 'data_file_6' => 'System _.1/Logs/Standard log/data.js']
/privacy/tests/moodle_content_writer_test.php:14001$expectedlistoutput = ['System _.1/data.json' => 'data_file_1', 'System _.1/paper/data.json' => 'data_file_2', 'System _.1/Category Category 1 _.' . $misccoursecxt->id . '/Course Test course 1 _.' . $coursecontext->id . '/Chat Chat 1 _.' . $modulecontext->id . '/data.json' => 'data_file_3', 'System _.1/Category Category 1 _.' . $misccoursecxt->id . '/Course Test course 1 _.' . $coursecontext->id . '/grades/data.json' => 'data_file_4', 'System _.1/Category Course category 1 _.' . $categorycontext->id . '/data.json' => 'data_file_5', 'System _.1/_files/tests/a.txt' => 'No var', 'System _.1/Logs/Standard log/data.json' => 'data_file_6']
/privacy/tests/moodle_content_writer_test.php:15491$expectedsortedtree = ['System _.1' => (object) ['itemtype' => 'treeitem', 'name' => 'System ', 'context' => \context_system::instance( ), 'children' => ['Category Category 1 _.' . $misccoursecxt->id => (object) ['itemtype' => 'treeitem', 'name' => 'Category Category 1 ', 'context' => $misccoursecxt, 'children' => ['Course Test course 1 _.' . $coursecontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Course Test course 1 ', 'context' => $coursecontext, 'children' => ['Chat Chat 1 _.' . $modulecontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Chat Chat 1 ', 'context' => $modulecontext, 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_3']]], 'grades' => (object) ['itemtype' => 'treeitem', 'name' => 'grades', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_4']]]]]]], 'Category Course category 1 _.' . $categorycontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Category Course category 1 ', 'context' => $categorycontext, 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_5']]], '_files' => (object) ['itemtype' => 'treeitem', 'name' => '_files', 'children' => ['tests' => (object) ['itemtype' => 'treeitem', 'name' => 'tests', 'children' => ['a.txt' => (object) ['name' => 'a.txt', 'itemtype' => 'item', 'url' => new \moodle_url('System _.1/_files/tests/a.txt')]]]]], 'Logs' => (object) ['itemtype' => 'treeitem', 'name' => 'Logs', 'children' => ['Standard log' => (object) ['itemtype' => 'treeitem', 'name' => 'Standard log', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_6']]]]], 'paper' => (object) ['itemtype' => 'treeitem', 'name' => 'paper', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_2']]], (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_1']]]]
/privacy/tests/moodle_content_writer_test.php:14291$expectedrichtree = ['System _.1' => (object) ['itemtype' => 'treeitem', 'name' => 'System ', 'context' => \context_system::instance( ), 'children' => [(object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_1'], 'paper' => (object) ['itemtype' => 'treeitem', 'name' => 'paper', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_2']]], 'Category Category 1 _.' . $misccoursecxt->id => (object) ['itemtype' => 'treeitem', 'name' => 'Category Category 1 ', 'context' => $misccoursecxt, 'children' => ['Course Test course 1 _.' . $coursecontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Course Test course 1 ', 'context' => $coursecontext, 'children' => ['Chat Chat 1 _.' . $modulecontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Chat Chat 1 ', 'context' => $modulecontext, 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_3']]], 'grades' => (object) ['itemtype' => 'treeitem', 'name' => 'grades', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_4']]]]]]], 'Category Course category 1 _.' . $categorycontext->id => (object) ['itemtype' => 'treeitem', 'name' => 'Category Course category 1 ', 'context' => $categorycontext, 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_5']]], '_files' => (object) ['itemtype' => 'treeitem', 'name' => '_files', 'children' => ['tests' => (object) ['itemtype' => 'treeitem', 'name' => 'tests', 'children' => ['a.txt' => (object) ['name' => 'a.txt', 'itemtype' => 'item', 'url' => new \moodle_url('System _.1/_files/tests/a.txt')]]]]], 'Logs' => (object) ['itemtype' => 'treeitem', 'name' => 'Logs', 'children' => ['Standard log' => (object) ['itemtype' => 'treeitem', 'name' => 'Standard log', 'children' => ['data.json' => (object) ['name' => 'data.json', 'itemtype' => 'item', 'datavar' => 'data_file_6']]]]]]]]
/customfield/classes/event/field_deleted.php:573$eventparams = ['objectid' => $field->get('id'), 'context' => $field->get_handler( )->get_configuration_context( ), 'other' => ['shortname' => $field->get('shortname'), 'name' => $field->get('name')]]
/customfield/classes/event/field_created.php:573$eventparams = ['objectid' => $field->get('id'), 'context' => $field->get_handler( )->get_configuration_context( ), 'other' => ['shortname' => $field->get('shortname'), 'name' => $field->get('name')]]
/customfield/field/textarea/tests/plugin_test.php:581$this->cfields[3] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield3', 'type' => 'textarea', 'configdata' => ['defaultvalue' => 'Value3', 'defaultvalueformat' => FORMAT_MOODLE]])
/customfield/field/date/tests/plugin_test.php:501$this->cfields[2] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield2', 'type' => 'date', 'configdata' => ['required' => 1, 'includetime' => 0, 'mindate' => 946684800, 'maxdate' => 1893456000]])
/customfield/classes/api.php:2691$records = $DB->get_records(category::TABLE, ['component' => $category->get('component'), 'area' => $category->get('area'), 'itemid' => $category->get('itemid')], 'sortorder, id', '*')
/customfield/classes/api.php:2501return new inplace_editable('core_customfield', 'category', $category->get('id'), $editable, $category->get_formatted_name( ), $category->get('name'), get_string('editcategoryname', 'core_customfield'), get_string('newvaluefor', 'core_form', $category->get_formatted_name( )))
/customfield/classes/event/field_updated.php:573$eventparams = ['objectid' => $field->get('id'), 'context' => $field->get_handler( )->get_configuration_context( ), 'other' => ['shortname' => $field->get('shortname'), 'name' => $field->get('name')]]
/customfield/classes/output/field_data.php:1051return (object) ['value' => $value, 'type' => $this->get_type( ), 'shortname' => $this->get_shortname( ), 'name' => $this->get_name( ), 'hasvalue' => ($value !== null), 'instanceid' => $this->data->get('instanceid')]
/customfield/field/select/tests/plugin_test.php:511$this->cfields[2] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield2', 'type' => 'select', 'configdata' => ['required' => 1, 'options' => "a\nb\nc"]])
/customfield/field/select/tests/plugin_test.php:541$this->cfields[3] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield3', 'type' => 'select', 'configdata' => ['defaultvalue' => 'b', 'options' => "a\nb\nc"]])
/auth/cas/CAS/vendor/composer/autoload_classmap.php:81return array('CAS_AuthenticationException' => $vendorDir . '/apereo/phpcas/source/CAS/AuthenticationException.php', 'CAS_Client' => $vendorDir . '/apereo/phpcas/source/CAS/Client.php', 'CAS_CookieJar' => $vendorDir . '/apereo/phpcas/source/CAS/CookieJar.php', 'CAS_Exception' => $vendorDir . '/apereo/phpcas/source/CAS/Exception.php', 'CAS_GracefullTerminationException' => $vendorDir . '/apereo/phpcas/source/CAS/GracefullTerminationException.php', 'CAS_InvalidArgumentException' => $vendorDir . '/apereo/phpcas/source/CAS/InvalidArgumentException.php', 'CAS_Languages_Catalan' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Catalan.php', 'CAS_Languages_ChineseSimplified' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/ChineseSimplified.php', 'CAS_Languages_English' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/English.php', 'CAS_Languages_French' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/French.php', 'CAS_Languages_Galego' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Galego.php', 'CAS_Languages_German' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/German.php', 'CAS_Languages_Greek' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Greek.php', 'CAS_Languages_Japanese' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Japanese.php', 'CAS_Languages_LanguageInterface' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/LanguageInterface.php', 'CAS_Languages_Portuguese' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Portuguese.php', 'CAS_Languages_Spanish' => $vendorDir . '/apereo/phpcas/source/CAS/Languages/Spanish.php', 'CAS_OutOfSequenceBeforeAuthenticationCallException' => $vendorDir . '/apereo/phpcas/source/CAS/OutOfSequenceBeforeAuthenticationCallException.php', 'CAS_OutOfSequenceBeforeClientException' => $vendorDir . '/apereo/phpcas/source/CAS/OutOfSequenceBeforeClientException.php', 'CAS_OutOfSequenceBeforeProxyException' => $vendorDir . '/apereo/phpcas/source/CAS/OutOfSequenceBeforeProxyException.php', 'CAS_OutOfSequenceException' => $vendorDir . '/apereo/phpcas/source/CAS/OutOfSequenceException.php', 'CAS_PGTStorage_AbstractStorage' => $vendorDir . '/apereo/phpcas/source/CAS/PGTStorage/AbstractStorage.php', 'CAS_PGTStorage_Db' => $vendorDir . '/apereo/phpcas/source/CAS/PGTStorage/Db.php', 'CAS_PGTStorage_File' => $vendorDir . '/apereo/phpcas/source/CAS/PGTStorage/File.php', 'CAS_ProxiedService' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService.php', 'CAS_ProxiedService_Abstract' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Abstract.php', 'CAS_ProxiedService_Exception' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Exception.php', 'CAS_ProxiedService_Http' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Http.php', 'CAS_ProxiedService_Http_Abstract' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Http/Abstract.php', 'CAS_ProxiedService_Http_Get' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Http/Get.php', 'CAS_ProxiedService_Http_Post' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Http/Post.php', 'CAS_ProxiedService_Imap' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Imap.php', 'CAS_ProxiedService_Testable' => $vendorDir . '/apereo/phpcas/source/CAS/ProxiedService/Testable.php', 'CAS_ProxyChain' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyChain.php', 'CAS_ProxyChain_AllowedList' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyChain/AllowedList.php', 'CAS_ProxyChain_Any' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyChain/Any.php', 'CAS_ProxyChain_Interface' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyChain/Interface.php', 'CAS_ProxyChain_Trusted' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyChain/Trusted.php', 'CAS_ProxyTicketException' => $vendorDir . '/apereo/phpcas/source/CAS/ProxyTicketException.php', 'CAS_Request_AbstractRequest' => $vendorDir . '/apereo/phpcas/source/CAS/Request/AbstractRequest.php', 'CAS_Request_CurlMultiRequest' => $vendorDir . '/apereo/phpcas/source/CAS/Request/CurlMultiRequest.php', 'CAS_Request_CurlRequest' => $vendorDir . '/apereo/phpcas/source/CAS/Request/CurlRequest.php', 'CAS_Request_Exception' => $vendorDir . '/apereo/phpcas/source/CAS/Request/Exception.php', 'CAS_Request_MultiRequestInterface' => $vendorDir . '/apereo/phpcas/source/CAS/Request/MultiRequestInterface.php', 'CAS_Request_RequestInterface' => $vendorDir . '/apereo/phpcas/source/CAS/Request/RequestInterface.php', 'CAS_ServiceBaseUrl_AllowedListDiscovery' => $vendorDir . '/apereo/phpcas/source/CAS/ServiceBaseUrl/AllowedListDiscovery.php', 'CAS_ServiceBaseUrl_Base' => $vendorDir . '/apereo/phpcas/source/CAS/ServiceBaseUrl/Base.php', 'CAS_ServiceBaseUrl_Interface' => $vendorDir . '/apereo/phpcas/source/CAS/ServiceBaseUrl/Interface.php', 'CAS_ServiceBaseUrl_Static' => $vendorDir . '/apereo/phpcas/source/CAS/ServiceBaseUrl/Static.php', 'CAS_Session_PhpSession' => $vendorDir . '/apereo/phpcas/source/CAS/Session/PhpSession.php', 'CAS_TypeMismatchException' => $vendorDir . '/apereo/phpcas/source/CAS/TypeMismatchException.php', 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 'phpCAS' => $vendorDir . '/apereo/phpcas/source/CAS.php', )
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:7871$this->_authentication_caller = array('file' => $dbg[1]['file'], 'line' => $dbg[1]['line'], 'method' => $dbg[1]['class'] . '::' . $dbg[1]['function'], 'result' => (boolean) $auth)
/customfield/field/text/tests/plugin_test.php:481$this->cfields[1] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield1', 'type' => 'text', 'configdata' => ['maxlength' => 30, 'displaysize' => 50], 'description' => null])
/customfield/field/text/tests/plugin_test.php:511$this->cfields[2] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield2', 'type' => 'text', 'configdata' => ['required' => 1, 'maxlength' => 30, 'displaysize' => 50]])
/customfield/field/text/tests/plugin_test.php:541$this->cfields[3] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield3', 'type' => 'text', 'configdata' => ['defaultvalue' => 'Defvalue', 'maxlength' => 30, 'displaysize' => 50]])
/customfield/field/text/tests/plugin_test.php:571$this->cfields[4] = $this->get_generator( )->create_field(['categoryid' => $this->cfcat->get('id'), 'shortname' => 'myfield4', 'type' => 'text', 'configdata' => ['link' => 'https://twitter.com/$$', 'maxlength' => 30, 'displaysize' => 50]])
/auth/ldap/tests/auth_ldap_test.php:4421$user = array('username' => 'usersignuptest1', 'password' => 'Moodle2014!', 'idnumber' => 'idsignuptest1', 'firstname' => 'First Name User Test 1', 'lastname' => 'Last Name User Test 1', 'middlename' => 'Middle Name User Test 1', 'lastnamephonetic' => '最後のお名前のテスト一号', 'firstnamephonetic' => 'お名前のテスト一号', 'alternatename' => 'Alternate Name User Test 1', 'email' => 'usersignuptest1@example.com', 'description' => 'This is a description for user 1', 'city' => 'Perth', 'country' => 'AU', 'mnethostid' => $CFG->mnet_localhost_id, 'auth' => 'ldap')
/auth/shibboleth/login.php:1061$templatedata = (object) ['adminemail' => get_admin( )->email, 'cansignup' => $cansignup, 'guestlogin' => $CFG->guestloginbutton, 'guestloginurl' => new moodle_url('/login/index.php'), 'idps' => $idps, 'instructions' => $instructions, 'loginname' => $config->login_name ?? null, 'logintoken' => \core\session\manager::get_login_token( ), 'loginurl' => new moodle_url('/auth/shibboleth/login.php'), 'showinstructions' => $showinstructions, 'signupurl' => new moodle_url('/login/signup.php'), 'isvalid' => $isvalid]
/auth/oauth2/classes/privacy/provider.php:1381$data = (object) ['timecreated' => transform::datetime($oauth2account->timecreated), 'timemodified' => transform::datetime($oauth2account->timemodified), 'issuerid' => $oauth2account->issuername, 'username' => $oauth2account->username, 'email' => $oauth2account->email]
/auth/mnet/auth.php:10831$idps[] = array('url' => new moodle_url($host->wwwroot . $host->sso_jump_url, array('hostwwwroot' => $CFG->wwwroot, 'wantsurl' => $wantsurl, 'remoteurl' => 1)), 'icon' => new pix_icon('i/' . $host->application . '_host', $host->name), 'name' => $host->name, )
/auth/cas/CAS/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php:1081$context = array('bool' => true, 'null' => null, 'string' => 'Foo', 'int' => 0, 'float' => 0.5, 'nested' => array('with object' => new DummyTest), 'object' => new \DateTime, 'resource' => fopen('php://memory', 'r'), 'closed' => $closed, )
/auth/classes/external.php:3521return new external_function_parameters(array('username' => new external_value(core_user::get_property_type('username'), 'Username.'), 'password' => new external_value(core_user::get_property_type('password'), 'Plain text password.'), 'redirect' => new external_value(PARAM_LOCALURL, 'Redirect the user to this site url after confirmation.', VALUE_DEFAULT, ''), ))
/auth/classes/privacy/provider.php:811$prefs = [['auth_forcepasswordchange', 'forcepasswordchange', $yesno], ['create_password', 'createpassword', $yesno], ['login_failed_count', 'loginfailedcount', null], ['login_failed_count_since_success', 'loginfailedcountsincesuccess', null], ['login_failed_last', 'loginfailedlast', $datetime], ['login_lockout', 'loginlockout', $datetime], ['login_lockout_ignored', 'loginlockoutignored', $yesno], ['login_lockout_secret', 'loginlockoutsecret', null], ]
/auth/ldap/auth.php:20271$ldapconnection = ldap_connect_moodle($this->config->host_url, $this->config->ldap_version, $this->config->user_type, $this->config->bind_dn, $this->config->bind_pw, $this->config->opt_deref, $debuginfo, $this->config->start_tls)
/calendar/classes/external/event_exporter_base.php:2311return ['icon' => ['type' => event_icon_exporter::read_properties_definition( ), ], 'category' => ['type' => coursecat_summary_exporter::read_properties_definition( ), 'optional' => true, ], 'course' => ['type' => course_summary_exporter::read_properties_definition( ), 'optional' => true, ], 'subscription' => ['type' => event_subscription_exporter::read_properties_definition( ), 'optional' => true, ], 'canedit' => ['type' => PARAM_BOOL], 'candelete' => ['type' => PARAM_BOOL], 'deleteurl' => ['type' => PARAM_URL], 'editurl' => ['type' => PARAM_URL], 'viewurl' => ['type' => PARAM_URL], 'formattedtime' => ['type' => PARAM_RAW, ], 'formattedlocation' => ['type' => PARAM_RAW, ], 'isactionevent' => ['type' => PARAM_BOOL], 'iscourseevent' => ['type' => PARAM_BOOL], 'iscategoryevent' => ['type' => PARAM_BOOL], 'groupname' => ['type' => PARAM_RAW, 'optional' => true, 'default' => null, 'null' => NULL_ALLOWED], 'normalisedeventtype' => ['type' => PARAM_TEXT], 'normalisedeventtypetext' => ['type' => PARAM_TEXT], 'action' => ['type' => event_action_exporter::read_properties_definition( ), 'optional' => true, ], 'purpose' => ['type' => PARAM_TEXT], 'branded' => ['type' => PARAM_BOOL, 'optional' => true, ], ]
/calendar/classes/external/month_exporter.php:2411$return = ['courseid' => $this->calendar->courseid, 'weeks' => $this->get_weeks($output), 'daynames' => $this->get_day_names($output), 'view' => $viewmode, 'date' => (new date_exporter($date))->export($output), 'periodname' => userdate($this->calendar->time, get_string('strftimemonthyear')), 'previousperiod' => (new date_exporter($previousperiod))->export($output), 'previousperiodname' => userdate($previousperiod[0], get_string('strftimemonth')), 'previousperiodlink' => $previousperiodlink->out(false), 'nextperiod' => (new date_exporter($nextperiod))->export($output), 'nextperiodname' => userdate($nextperiod[0], get_string('strftimemonth')), 'nextperiodlink' => $nextperiodlink->out(false), 'larrow' => $output->larrow( ), 'rarrow' => $output->rarrow( ), 'includenavigation' => $this->includenavigation, 'initialeventsloaded' => $this->initialeventsloaded, 'calendarinstanceid' => $this->calendarinstanceid, 'showviewselector' => $viewmode === 'month', 'viewinginblock' => $viewmode === 'monthblock', ]
/calendar/classes/external/month_exporter.php:1271return ['courseid' => ['type' => PARAM_INT, ], 'categoryid' => ['type' => PARAM_INT, 'optional' => true, 'default' => 0, ], 'filter_selector' => ['type' => PARAM_RAW, 'optional' => true, ], 'weeks' => ['type' => week_exporter::read_properties_definition( ), 'multiple' => true, ], 'daynames' => ['type' => day_name_exporter::read_properties_definition( ), 'multiple' => true, ], 'view' => ['type' => PARAM_ALPHA, ], 'date' => ['type' => date_exporter::read_properties_definition( ), ], 'periodname' => ['type' => PARAM_RAW, ], 'includenavigation' => ['type' => PARAM_BOOL, 'default' => true, ], 'initialeventsloaded' => ['type' => PARAM_BOOL, 'default' => true, ], 'previousperiod' => ['type' => date_exporter::read_properties_definition( ), ], 'previousperiodlink' => ['type' => PARAM_URL, ], 'previousperiodname' => ['type' => PARAM_RAW, ], 'nextperiod' => ['type' => date_exporter::read_properties_definition( ), ], 'nextperiodname' => ['type' => PARAM_RAW, ], 'nextperiodlink' => ['type' => PARAM_URL, ], 'larrow' => ['type' => PARAM_RAW, ], 'rarrow' => ['type' => PARAM_RAW, ], 'defaulteventcontext' => ['type' => PARAM_INT, 'default' => 0, ], 'calendarinstanceid' => ['type' => PARAM_INT, 'default' => 0, ], 'viewingmonth' => ['type' => PARAM_BOOL, 'default' => true, ], 'showviewselector' => ['type' => PARAM_BOOL, 'default' => true, ], 'viewinginblock' => ['type' => PARAM_BOOL, 'default' => false, ], ]
/calendar/classes/external/calendar_day_exporter.php:1502$exporter = new calendar_event_exporter($event, ['context' => $context, 'course' => $course, 'moduleinstance' => $moduleinstance, 'daylink' => $url, 'type' => $this->related['type'], 'today' => $this->calendar->time, ])
/calendar/tests/event_test.php:431$event = new event($constructorparams['id'], $constructorparams['name'], $constructorparams['description'], $constructorparams['category'], $constructorparams['course'], $constructorparams['group'], $constructorparams['user'], $constructorparams['repeats'], $constructorparams['course_module'], $constructorparams['type'], $constructorparams['times'], $constructorparams['visible'], $constructorparams['subscription'], $constructorparams['location'], $constructorparams['component'])
/calendar/classes/external/calendar_upcoming_exporter.php:1202$exporter = new calendar_event_exporter($event, ['context' => $context, 'course' => $course, 'moduleinstance' => $moduleinstance, 'daylink' => $url, 'type' => $this->related['type'], 'today' => $this->calendar->time, ])
/calendar/classes/external/calendar_upcoming_exporter.php:701return ['events' => ['type' => calendar_event_exporter::read_properties_definition( ), 'multiple' => true, ], 'defaulteventcontext' => ['type' => PARAM_INT, 'default' => 0, ], 'filter_selector' => ['type' => PARAM_RAW, ], 'courseid' => ['type' => PARAM_INT, ], 'categoryid' => ['type' => PARAM_INT, 'optional' => true, 'default' => 0, ], 'isloggedin' => ['type' => PARAM_BOOL, ], 'date' => ['type' => date_exporter::read_properties_definition( ), ], ]
/calendar/classes/external/week_exporter.php:851return ['prepadding' => ['type' => PARAM_INT, 'multiple' => true, ], 'postpadding' => ['type' => PARAM_INT, 'multiple' => true, ], 'days' => ['type' => week_day_exporter::read_properties_definition( ), 'multiple' => true, ], ]
/calendar/tests/raw_event_retrieval_strategy_test.php:471$events = [['name' => 'Start of assignment', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => 1, 'eventtype' => 'due', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1], ['name' => 'Start of lesson', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => 1, 'eventtype' => 'end', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1]]
/calendar/tests/container_test.php:5891$dbrow = (object) ['name' => 'Name', 'description' => 'Description', 'format' => 1, 'categoryid' => 0, 'courseid' => 0, 'groupid' => 0, 'userid' => 0, 'repeatid' => 0, 'modulename' => '', 'instance' => 0, 'eventtype' => 'user', 'timestart' => 1486396800, 'timeduration' => 0, 'timesort' => 1486396800, 'visible' => 1, 'timemodified' => 1485793098, 'subscriptionid' => null, 'location' => 'Test location', ]
/calendar/tests/container_test.php:5081return ['Data set 1' => ['dbrow' => (object) ['name' => 'Test event', 'description' => 'Hello', 'format' => 1, 'categoryid' => 0, 'courseid' => 1, 'groupid' => 0, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'assign', 'instance' => 2, 'eventtype' => 'due', 'timestart' => 1486396800, 'timeduration' => 0, 'timesort' => 1486396800, 'visible' => 1, 'timemodified' => 1485793098, 'subscriptionid' => null, 'location' => 'Test location', ]], 'Data set 2' => ['dbrow' => (object) ['name' => 'Test event', 'description' => 'Hello', 'format' => 1, 'categoryid' => 0, 'courseid' => 1, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'assign', 'instance' => 2, 'eventtype' => 'due', 'timestart' => 1486396800, 'timeduration' => 0, 'timesort' => 1486396800, 'visible' => 1, 'timemodified' => 1485793098, 'subscriptionid' => null, 'location' => 'Test location', ]]]
/calendar/tests/event_test.php:791return ['Dataset 1' => ['constructorparams' => ['id' => 1, 'name' => 'Test event 1', 'description' => new event_description('asdf', 1), 'category' => new coursecat_proxy(0), 'course' => new std_proxy(1, $lamecallable), 'group' => new std_proxy(1, $lamecallable), 'user' => new std_proxy(1, $lamecallable), 'repeats' => new core_calendar_event_test_event_collection( ), 'course_module' => new std_proxy(1, $lamecallable), 'type' => 'dunno what this actually is meant to be', 'times' => new event_times((new \DateTimeImmutable( ))->setTimestamp(-386380800), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(time( )), (new \DateTimeImmutable( ))->setTimestamp(115776000)), 'visible' => true, 'subscription' => new std_proxy(1, $lamecallable), 'location' => 'Test', 'component' => null]], ]
/calendar/tests/raw_event_retrieval_strategy_test.php:3731$events = [['name' => 'User1 Event', 'eventtype' => 'user', 'userid' => $user1->id, 'timestart' => time( ), ], ['name' => 'User2 Event', 'eventtype' => 'user', 'userid' => $user2->id, 'timestart' => time( ), ], ['name' => 'User3 Event', 'eventtype' => 'user', 'userid' => $user3->id, 'timestart' => time( ), ]]
/calendar/tests/raw_event_retrieval_strategy_test.php:3071$events = [['name' => 'E1', 'eventtype' => 'category', 'description' => '', 'location' => 'Test', 'format' => 1, 'categoryid' => $category1->id, 'userid' => 2, 'timestart' => time( ), ], ['name' => 'E2', 'eventtype' => 'category', 'description' => '', 'location' => 'Test', 'format' => 1, 'categoryid' => $category2->id, 'userid' => 2, 'timestart' => time( ) + 1, ], ]
/calendar/tests/raw_event_retrieval_strategy_test.php:2541$repeatingevents = [['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => 1, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, ], ['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => 1, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, ], ]
/calendar/tests/raw_event_retrieval_strategy_test.php:1543$events = [['name' => 'Assignment 1 due date', 'description' => '', 'location' => 'Test', 'format' => 0, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now, 'timeduration' => 0, 'visible' => 1], ['name' => 'Assignment 1 due date - User override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => 0, 'groupid' => 0, 'userid' => $useroverridestudent->id, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, 'priority' => CALENDAR_EVENT_USER_OVERRIDE_PRIORITY], ['name' => 'Assignment 1 due date - Group A override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group1->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 1, ], ['name' => 'Assignment 1 due date - Group B override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group2->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (3 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 2, ], ]
/calendar/tests/local_api_test.php:911$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'courseid' => $course->id, 'modulename' => 'assign', 'instance' => $moduleinstance->id, 'userid' => $user->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:3826$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/raw_event_retrieval_strategy_test.php:4171$events = [['name' => 'Group 1 Event', 'eventtype' => 'group', 'groupid' => $group1->id, 'timestart' => time( ), ], ['name' => 'Group 2 Event', 'eventtype' => 'group', 'groupid' => $group2->id, 'timestart' => time( ), ]]
/calendar/tests/event_times_test.php:551return ['Dataset 1' => ['constructorparams' => ['start_time' => (new \DateTimeImmutable( ))->setTimestamp(-386380800), 'end_time' => (new \DateTimeImmutable( ))->setTimestamp(115776000), 'sort_time' => (new \DateTimeImmutable( ))->setTimestamp(115776000), 'modified_time' => (new \DateTimeImmutable( ))->setTimestamp(time( )), 'usermidnight_time' => (new \DateTimeImmutable( ))->setTimestamp(115776000), ]], 'Dataset 2' => ['constructorparams' => ['start_time' => (new \DateTimeImmutable( ))->setTimestamp(123456), 'end_time' => (new \DateTimeImmutable( ))->setTimestamp(12345678), 'sort_time' => (new \DateTimeImmutable( ))->setTimestamp(1111), 'modified_time' => (new \DateTimeImmutable( ))->setTimestamp(time( )), 'usermidnight_time' => (new \DateTimeImmutable( ))->setTimestamp(1111), ]]]
/calendar/tests/local_api_test.php:5786$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:6466$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:4476$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:5126$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:8993$events = [['name' => 'Assignment 1 due date', 'description' => '', 'location' => 'Test', 'format' => 0, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now, 'timeduration' => 0, 'visible' => 1], ['name' => 'Assignment 1 due date - User override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => 0, 'groupid' => 0, 'userid' => $useroverridestudent->id, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, 'priority' => CALENDAR_EVENT_USER_OVERRIDE_PRIORITY], ['name' => 'Assignment 1 due date - Group A override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group1->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 1, ], ['name' => 'Assignment 1 due date - Group B override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group2->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (3 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 2, ], ]
/calendar/tests/local_api_test.php:10032$repeatingevents = [['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => $event->id, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, ], ['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => $event->id, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, ], ]
/calendar/tests/local_api_test.php:7336$params = ['type' => CALENDAR_EVENT_TYPE_ACTION, 'modulename' => 'assign', 'instance' => $moduleinstance1->id, 'userid' => $user->id, 'courseid' => $course1->id, 'eventtype' => 'user', 'repeats' => 0, 'timestart' => 1, ]
/calendar/tests/local_api_test.php:8052$events = [['name' => 'Start of assignment', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1], ['name' => 'Start of lesson', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => $lessoninstance->id, 'eventtype' => 'end', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1]]
/calendar/tests/action_event_test.php:1441return new event_times((new \DateTimeImmutable( ))->setTimestamp(-386380800), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(time( )))
/calendar/tests/event_factory_test.php:2591$instance = $factory->create_instance((object) ['id' => $event->id, 'name' => 'test', 'description' => 'Test description', 'format' => 2, 'categoryid' => 0, 'courseid' => $course->id, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'assign', 'instance' => 1, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 123456789, 'timeduration' => 12, 'timemodified' => 123456789, 'timesort' => 123456789, 'visible' => 1, 'subscriptionid' => 1, 'location' => 'Test location', ])
/calendar/tests/local_api_test.php:14211$event = create_event(['courseid' => $course->id, 'userid' => $user->id, 'modulename' => 'quiz', 'instance' => $quiz->id, 'eventtype' => QUIZ_EVENT_TYPE_OPEN, 'timestart' => $timeopen->getTimestamp( )])
/calendar/tests/action_event_test.php:681return ['Dataset 1' => ['constructorparams' => ['event' => new core_calendar_action_event_test_event( ), 'action' => new action('action 1', new \moodle_url('http://example.com'), 2, true)]], 'Dataset 2' => ['constructorparams' => ['event' => new core_calendar_action_event_test_event( ), 'action' => new action('action 2', new \moodle_url('http://example.com'), 5, false)]], ]
/calendar/tests/event_factory_test.php:3501return ['Sample event record with event exposed' => ['dbrow' => (object) ['name' => 'Test event', 'description' => 'Hello', 'format' => 1, 'categoryid' => 0, 'courseid' => 1, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'Test module', 'instance' => 1, 'eventtype' => 'Due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 123456789, 'timeduration' => 123456789, 'timemodified' => 123456789, 'timesort' => 123456789, 'visible' => true, 'subscriptionid' => 1, 'location' => 'Test location', ], 'actioncallbackapplier' => function (event_interface $event) { /**/ } , 'visibilitycallbackapplier' => function (event_interface $event) { /**/ } , 'bailoutcheck' => function ( ) { /**/ } , event_interface::class, 'Hello'], 'Sample event record with event hidden' => ['dbrow' => (object) ['name' => 'Test event', 'description' => 'Hello', 'format' => 1, 'categoryid' => 0, 'courseid' => 1, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'Test module', 'instance' => 1, 'eventtype' => 'Due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 123456789, 'timeduration' => 123456789, 'timemodified' => 123456789, 'timesort' => 123456789, 'visible' => true, 'subscriptionid' => 1, 'location' => 'Test location', ], 'actioncallbackapplier' => function (event_interface $event) { /**/ } , 'visibilitycallbackapplier' => function (event_interface $event) { /**/ } , 'bailoutcheck' => function ( ) { /**/ } , null, null], 'Sample event record with early bail' => ['dbrow' => (object) ['name' => 'Test event', 'description' => 'Hello', 'format' => 1, 'categoryid' => 0, 'courseid' => 1, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'Test module', 'instance' => 1, 'eventtype' => 'Due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 123456789, 'timeduration' => 123456789, 'timemodified' => 123456789, 'timesort' => 123456789, 'visible' => true, 'subscriptionid' => 1, 'location' => 'Test location', ], 'actioncallbackapplier' => function (event_interface $event) { /**/ } , 'visibilitycallbackapplier' => function (event_interface $event) { /**/ } , 'bailoutcheck' => function ( ) { /**/ } , null, null]]
/calendar/tests/event_factory_test.php:3151$instance = $factory->create_instance((object) ['id' => $event->id, 'name' => 'test', 'description' => 'Test description', 'format' => 2, 'categoryid' => 0, 'courseid' => 0, 'groupid' => 1, 'userid' => 1, 'repeatid' => 0, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 123456789, 'timeduration' => 12, 'timemodified' => 123456789, 'timesort' => 123456789, 'visible' => 1, 'subscriptionid' => 1, 'location' => 'Test location', ])
/calendar/tests/event_vault_test.php:4632$events = [['name' => 'Assignment 1 due date - Group A override', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => $groupa->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => 1], ['name' => 'Assignment 1 due date - Group B override', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => $groupb->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => 1], ['name' => 'Assignment 1 due date', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => null, ]]
/calendar/tests/event_vault_test.php:4372$users = ['Only in group A' => $this->getDataGenerator( )->create_user( ), 'Only in group B' => $this->getDataGenerator( )->create_user( ), 'In group A and B' => $this->getDataGenerator( )->create_user( ), 'In no groups' => $this->getDataGenerator( )->create_user( )]
/calendar/tests/event_vault_test.php:10942$users = ['Only in group A' => $this->getDataGenerator( )->create_user( ), 'Only in group B' => $this->getDataGenerator( )->create_user( ), 'In group A and B' => $this->getDataGenerator( )->create_user( ), 'In no groups' => $this->getDataGenerator( )->create_user( )]
/calendar/tests/event_vault_test.php:5652$lesson = $this->getDataGenerator( )->create_module('lesson', ['name' => 'Lesson 1', 'course' => $course->id, 'available' => time( ), 'deadline' => (time( ) + (60 * 60 * 24 * 5))])
/calendar/tests/calendar_event_exporter_test.php:441return ['before min' => [$starttime, [($starttime->getTimestamp( ) + 1), 'some error'], $tomorrowmidnight], 'equal min' => [$starttime, [$starttime->getTimestamp( ), 'some error'], $todaymidnight], 'after min' => [$starttime, [($starttime->getTimestamp( ) - 1), 'some error'], $todaymidnight]]
/calendar/tests/event_vault_test.php:11202$events = [['name' => 'Assignment 1 due date - Group A override', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => $groupa->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => 1], ['name' => 'Assignment 1 due date - Group B override', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => $groupb->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => 1], ['name' => 'Assignment 1 due date', 'description' => '', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'type' => CALENDAR_EVENT_TYPE_ACTION, 'timestart' => 1, 'timeduration' => 0, 'visible' => 1, 'priority' => null, ]]
/calendar/tests/event_mapper_test.php:3691return new event_times((new \DateTimeImmutable( ))->setTimestamp(-386380800), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(115776000), (new \DateTimeImmutable( ))->setTimestamp(time( )), (new \DateTimeImmutable( ))->setTimestamp(115776000))
/calendar/tests/calendar_event_exporter_test.php:1001return ['before max' => [$starttime, [($starttime->getTimestamp( ) + 1), 'some error'], $todaymidnight], 'equal max' => [$starttime, [$starttime->getTimestamp( ), 'some error'], $todaymidnight], 'after max' => [$starttime, [($starttime->getTimestamp( ) - 1), 'some error'], $yesterdaymidnight]]
/calendar/tests/action_test.php:561return ['Dataset 1' => ['constructorparams' => ['name' => 'Hello', 'url' => new \moodle_url('http://example.com'), 'item_count' => 1, 'actionable' => true]], 'Dataset 2' => ['constructorparams' => ['name' => 'Goodbye', 'url' => new \moodle_url('http://example.com'), 'item_count' => 2, 'actionable' => false]]]
/calendar/tests/calendartype_test.php:2491$comparedate = array('minute' => $usergetdate['minutes'], 'hour' => $usergetdate['hours'], 'day' => $usergetdate['mday'], 'month' => $usergetdate['mon'], 'year' => $usergetdate['year'], 'timestamp' => $date['timestamp'])
/calendar/tests/lib_test.php:2943$events = [['name' => 'Assignment 1 due date', 'description' => '', 'location' => 'Test', 'format' => 0, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now, 'timeduration' => 0, 'visible' => 1], ['name' => 'Assignment 1 due date - User override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => 0, 'groupid' => 0, 'userid' => $useroverridestudent->id, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, 'priority' => CALENDAR_EVENT_USER_OVERRIDE_PRIORITY], ['name' => 'Assignment 1 due date - Group A override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group1->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 1, ], ['name' => 'Assignment 1 due date - Group B override', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => $group2->id, 'userid' => 2, 'modulename' => 'assign', 'instance' => $instance->id, 'eventtype' => 'due', 'timestart' => $now + (3 * 86400), 'timeduration' => 0, 'visible' => 1, 'priority' => 2, ], ]
/calendar/tests/lib_test.php:592$events = [['name' => 'Start of assignment', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'assign', 'instance' => $assigninstance->id, 'eventtype' => 'due', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1], ['name' => 'Start of lesson', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => $course->id, 'groupid' => 0, 'userid' => 2, 'modulename' => 'lesson', 'instance' => $lessoninstance->id, 'eventtype' => 'end', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1]]
/calendar/tests/lib_test.php:9281$manualevent = (object) ['name' => 'Manual course event', 'description' => '', 'format' => 1, 'categoryid' => 0, 'courseid' => $manualcourse->id, 'groupid' => 0, 'userid' => $USER->id, 'modulename' => 0, 'instance' => 0, 'eventtype' => 'course', 'timestart' => time( ), 'timeduration' => 86400, 'visible' => 1]
/calendar/tests/lib_test.php:3982$repeatingevents = [['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => $event->id, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + 86400, 'timeduration' => 0, 'visible' => 1, ], ['name' => 'Repeating site event', 'description' => '', 'location' => 'Test', 'format' => 1, 'courseid' => SITEID, 'groupid' => 0, 'userid' => 2, 'repeatid' => $event->id, 'modulename' => '0', 'instance' => 0, 'eventtype' => 'site', 'timestart' => $now + (2 * 86400), 'timeduration' => 0, 'visible' => 1, ], ]
/calendar/tests/rrule_manager_test.php:1101$props = ['freq' => rrule_manager::FREQ_YEARLY, 'count' => 3, 'interval' => 4, 'bysecond' => [20, 40], 'byminute' => [2, 30], 'byhour' => [3, 4], 'byday' => $bydayrules, 'bymonthday' => [20, 30], 'byyearday' => [300, -20], 'byweekno' => [22, 33], 'bymonth' => [3, 4], ]
/calendar/tests/rrule_manager_test.php:4991$offset = $this->event->timestart - mktime(0, 0, 0, date("n", $this->event->timestart), date("j", $this->event->timestart), date("Y", $this->event->timestart))
/calendar/tests/rrule_manager_test.php:25441$expecteddates = [(new \DateTime('1997-09-29 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-10-30 09:00:00 EST'))->getTimestamp( ), (new \DateTime('1997-11-27 09:00:00 EST'))->getTimestamp( ), (new \DateTime('1997-12-30 09:00:00 EST'))->getTimestamp( ), (new \DateTime('1998-01-29 09:00:00 EST'))->getTimestamp( ), (new \DateTime('1998-02-26 09:00:00 EST'))->getTimestamp( ), (new \DateTime('1998-03-30 09:00:00 EST'))->getTimestamp( ), ]
/calendar/tests/rrule_manager_test.php:26151$expecteddates = [(new \DateTime('1997-09-02 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 09:15:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 09:30:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 09:45:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 10:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 10:15:00 EDT'))->getTimestamp( ), ]
/calendar/tests/rrule_manager_test.php:26471$expecteddates = [(new \DateTime('1997-09-02 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 10:30:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 12:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-09-02 13:30:00 EDT'))->getTimestamp( ), ]
/calendar/tests/rrule_manager_test.php:27691$expecteddates = [(new \DateTime('1997-08-05 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-10 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-19 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-24 09:00:00 EDT'))->getTimestamp( ), ]
/calendar/tests/rrule_manager_test.php:28021$expecteddates = [(new \DateTime('1997-08-05 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-17 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-19 09:00:00 EDT'))->getTimestamp( ), (new \DateTime('1997-08-31 09:00:00 EDT'))->getTimestamp( ), ]
/calendar/tests/repeat_event_collection_test.php:1921return new event($dbrow->id, $dbrow->name, new event_description($dbrow->description, $dbrow->format), new coursecat_proxy($dbrow->categoryid), new std_proxy($dbrow->courseid, $identity), new std_proxy($dbrow->groupid, $identity), new std_proxy($dbrow->userid, $identity), $dbrow->repeatid ? new repeat_event_collection($dbrow, $this) : null, new std_proxy($dbrow->instance, $identity), $dbrow->type, new event_times((new \DateTimeImmutable( ))->setTimestamp($dbrow->timestart), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timestart + $dbrow->timeduration), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timesort ? $dbrow->timesort : $dbrow->timestart), (new \DateTimeImmutable( ))->setTimestamp($dbrow->timemodified), (new \DateTimeImmutable( ))->setTimestamp(usergetmidnight($dbrow->timesort))), !empty($dbrow->visible), new std_proxy($dbrow->subscriptionid, $identity), $dbrow->location, $dbrow->component)
/calendar/tests/helpers.php:1111$event = array_merge($data, ['eventtype' => isset($data['eventtype']) ? $data['eventtype'] : 'open', 'courseid' => isset($data['courseid']) ? $data['courseid'] : 0, 'instance' => $data['instance'], 'modulename' => $data['modulename'], 'type' => CALENDAR_EVENT_TYPE_ACTION, ])
/calendar/tests/helpers.php:2051$event = new event($record->id, $record->name, new event_description($record->description, $record->format), new coursecat_proxy($record->categoryid), new std_proxy($record->courseid, function ($id) { /**/ } ), new std_proxy($record->groupid, function ($id) { /**/ } ), new std_proxy($record->userid, function ($id) { /**/ } ), !empty($record->repeatid) ? new repeat_event_collection($record, $this) : null, $module, $record->eventtype, new event_times((new \DateTimeImmutable( ))->setTimestamp($record->timestart), (new \DateTimeImmutable( ))->setTimestamp($record->timestart + $record->timeduration), (new \DateTimeImmutable( ))->setTimestamp($record->timesort ? $record->timesort : $record->timestart), (new \DateTimeImmutable( ))->setTimestamp($record->timemodified), (new \DateTimeImmutable( ))->setTimestamp($record->timesort ? usergetmidnight($record->timesort) : 0)), !empty($record->visible), $subscription, $record->location, !empty($record->component) ? $record->component : null)
/calendar/tests/externallib_test.php:1921$events = array(array('eventid' => $siteevent->id, 'repeat' => 0), array('eventid' => $courseevent->id, 'repeat' => 1), array('eventid' => $userevent->id, 'repeat' => 0), array('eventid' => $groupevent->id, 'repeat' => 0))
/calendar/tests/externallib_test.php:2811$events = array(array('eventid' => $siteevent->id, 'repeat' => 0), array('eventid' => $courseevent->id, 'repeat' => 0), array('eventid' => $userevent->id, 'repeat' => 0), array('eventid' => $groupevent->id, 'repeat' => 0))
/calendar/tests/externallib_test.php:6031$events = array(array('name' => 'site', 'courseid' => $SITE->id, 'eventtype' => 'site'), array('name' => 'course', 'courseid' => $course->id, 'eventtype' => 'course', 'repeats' => 2), array('name' => 'group', 'courseid' => $course->id, 'groupid' => $group->id, 'eventtype' => 'group'), array('name' => 'user'))
/calendar/tests/externallib_test.php:6231$events = array(array('name' => 'course', 'courseid' => $course->id, 'eventtype' => 'course', 'repeats' => 2), array('name' => 'group', 'courseid' => $course->id, 'groupid' => $group->id, 'eventtype' => 'group'), array('name' => 'user'))
/calendar/tests/externallib_test.php:10232$lesson = $this->getDataGenerator( )->create_module('lesson', ['name' => 'Lesson 1', 'course' => $course->id, 'available' => time( ), 'deadline' => (time( ) + (60 * 60 * 24 * 5))])
/calendar/tests/externallib_test.php:10541$lesson = $this->getDataGenerator( )->create_module('lesson', ['name' => 'Lesson 1', 'course' => $course->id, 'available' => time( ), 'deadline' => (time( ) + (60 * 60 * 24 * 5)), 'availability' => '{"op":"&","c":[{"type":"profile","sf":"email","op":"isequalto","v":"student2@localhost.com"}],"showc":[true]}'])
/message/tests/externallib_test.php:51462$conversations = [['type' => $typeindividual, 'users' => [$user1, $user2], 'messages' => [$user1, $user2, $user2], 'favourites' => [$user1], 'enabled' => null], ['type' => $typeindividual, 'users' => [$user1, $user3], 'messages' => [$user1, $user3, $user1], 'favourites' => [ ], 'enabled' => null], ['type' => $typegroup, 'users' => [$user1, $user2, $user3, $user4], 'messages' => [$user1, $user2, $user3, $user4], 'favourites' => [ ], 'enabled' => true], ['type' => $typegroup, 'users' => [$user2, $user3, $user4], 'messages' => [$user2, $user3, $user4], 'favourites' => [ ], 'enabled' => true], ['type' => $typegroup, 'users' => [$user6, $user7], 'messages' => [$user6, $user7, $user7], 'favourites' => [$user6], 'enabled' => false], ['type' => $typeself, 'users' => [$user8], 'messages' => [$user8], 'favourites' => [ ], 'enabled' => null], ]
/message/classes/output/preferences/notification_list.php:1471$context['processors'][] = ['displayname' => get_string('pluginname', 'message_' . $processor->name), 'name' => $processor->name, 'hassettings' => !empty($processor->object->config_form($preferences)), 'contextid' => $usercontext->id, 'userconfigured' => $processor->object->is_user_configured( ), ]
/message/classes/output/preferences/processor.php:771return ['userid' => $this->user->id, 'displayname' => get_string('pluginname', 'message_' . $this->type), 'name' => $this->type, 'formhtml' => $this->processor->config_form($this->preferences), ]
/message/classes/output/preferences/notification_list_processor.php:1271$context = ['displayname' => $processorname, 'name' => $processor->name, 'locked' => false, 'userconfigured' => $processor->object->is_user_configured( ), 'loggedin' => ['name' => 'loggedin', 'displayname' => 'loggedin', 'checked' => false, ], 'loggedoff' => ['name' => 'loggedoff', 'displayname' => 'loggedoff', 'checked' => false, ], 'enabled' => false, 'enabledlabel' => get_string('sendingviaenabled', 'message', $labelparams), ]
/message/tests/externallib_test.php:58711$convgroup = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id, $user3->id], 'Group test delete for everyone', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/message/tests/externallib_test.php:56214$users = [$generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( )]
/message/tests/externallib_test.php:55244$users = [$generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( )]
/message/tests/externallib_test.php:51911return ['No conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user5], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'No individual conversations, 2 group conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user4], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '2 individual conversations (one favourited), 1 group conversation' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '1 individual conversation, 2 group conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user2], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '2 group conversations only' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user4], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete a message from individual favourited, messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete a message from individual non-favourited, messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual favourited, no messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0, 1, 2], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual non-favourited, no messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3, 4, 5], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual favourited, no messages remaining, different user' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0, 1, 2], 'arguments' => [$user2], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual non-favourited, no messages remaining, different user' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3, 4, 5], 'arguments' => [$user3], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete some messages from group non-favourited, messages remaining,' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [6, 7], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from group non-favourited, no messages remaining,' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [6, 7, 8, 9], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, another user soft deleted' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [$user2]], 'All conversation types, all group users soft deleted' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [$user2, $user3, $user4]], 'Group conversation which is disabled, favourited' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user6], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'Group conversation which is disabled, non-favourited' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user7], 'expectedcounts' => ['favourites' => 1, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'Conversation with self' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user8], 'expectedcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 1]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], ]
/message/classes/api.php:9461return (object) ['id' => $conversation->id, 'name' => $conversation->name, 'subname' => $subname, 'imageurl' => $imageurl, 'type' => $conversation->type, 'membercount' => $membercount, 'isfavourite' => $isfavourite, 'isread' => empty($unreadcount), 'unreadcount' => $unreadcount, 'ismuted' => $ismuted, 'members' => $members, 'messages' => $messages['messages'], 'candeletemessagesforallusers' => has_capability('moodle/site:deleteanymessage', $deleteallcontext)]
/message/classes/helper.php:5961$templatecontext = ['contactrequestcount' => $requestcount, 'loggedinuser' => ['id' => $USER->id, 'midnight' => usergetmidnight(time( ))], 'messagepollmin' => $CFG->messagingminpoll ?? MESSAGE_DEFAULT_MIN_POLL_IN_SECONDS, 'messagepollmax' => $CFG->messagingmaxpoll ?? MESSAGE_DEFAULT_MAX_POLL_IN_SECONDS, 'messagepollaftermax' => $CFG->messagingtimeoutpoll ?? MESSAGE_DEFAULT_TIMEOUT_POLL_IN_SECONDS, 'contacts' => ['sectioncontacts' => ['placeholders' => array_fill(0, $contactscount > 50 ? 50 : $contactscount, true)], 'sectionrequests' => ['placeholders' => array_fill(0, $requestcount > 50 ? 50 : $requestcount, true)], ], 'settings' => ['privacy' => $choices, 'entertosend' => $entertosend], 'overview' => ['messageurl' => $messageurl, 'notification' => $notification], 'isdrawer' => $isdrawer, 'showemojipicker' => !empty($CFG->allowemojipicker), 'messagemaxlength' => api::MESSAGE_MAX_LENGTH, 'caneditownmessageprofile' => has_capability('moodle/user:editownmessageprofile', \context_system::instance( ))]
/message/externallib.php:35741return new external_single_structure(['favourites' => new external_value(PARAM_INT, 'Total number of unread favourite conversations'), 'types' => new external_single_structure([\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => new external_value(PARAM_INT, 'Total number of unread individual conversations'), \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => new external_value(PARAM_INT, 'Total number of unread group conversations'), \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => new external_value(PARAM_INT, 'Total number of unread self conversations'), ]), ])
/message/externallib.php:34971return new external_single_structure(['favourites' => new external_value(PARAM_INT, 'Total number of favourite conversations'), 'types' => new external_single_structure([\core_message\api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => new external_value(PARAM_INT, 'Total number of individual conversations'), \core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP => new external_value(PARAM_INT, 'Total number of group conversations'), \core_message\api::MESSAGE_CONVERSATION_TYPE_SELF => new external_value(PARAM_INT, 'Total number of self conversations'), ]), ])
/message/classes/privacy/provider.php:10391$data = (object) ['subject' => $notification->subject, 'fullmessage' => $notification->fullmessage, 'smallmessage' => $notification->smallmessage, 'component' => $notification->component, 'eventtype' => $notification->eventtype, 'contexturl' => $notification->contexturl, 'contexturlname' => $notification->contexturlname, 'timeread' => $timeread, 'timecreated' => transform::datetime($notification->timecreated), 'customdata' => $notification->customdata, ]
/message/classes/api.php:22531$message->customdata = ['notificationiconurl' => $userpicture->get_url($PAGE)->out(false), 'actionbuttons' => ['accept' => get_string_manager( )->get_string('accept', 'moodle', null, $userto->lang), 'reject' => get_string_manager( )->get_string('reject', 'moodle', null, $userto->lang), ], ]
/message/classes/api.php:22271$subject = get_string_manager( )->get_string('messagecontactrequestsubject', 'core_message', (object) ['sitename' => format_string($SITE->fullname, true, ['context' => \context_system::instance( )]), 'user' => $userfromfullname, ], $userto->lang)
/message/classes/api.php:13571$params = ['userid' => $userid, 'userid2' => $userid, 'userid3' => $userid, 'userid4' => $userid, 'userid5' => $userid, 'action' => self::MESSAGE_ACTION_DELETED, 'enabled' => self::MESSAGE_CONVERSATION_ENABLED, 'individualtype' => self::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL, 'grouptype' => self::MESSAGE_CONVERSATION_TYPE_GROUP, 'selftype' => self::MESSAGE_CONVERSATION_TYPE_SELF, ] + $favparams
/message/externallib.php:21661return new external_single_structure(array('messages' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Message id'), 'useridfrom' => new external_value(PARAM_INT, 'User from id'), 'useridto' => new external_value(PARAM_INT, 'User to id'), 'subject' => new external_value(PARAM_TEXT, 'The message subject'), 'text' => new external_value(PARAM_RAW, 'The message text formated'), 'fullmessage' => new external_value(PARAM_RAW, 'The message'), 'fullmessageformat' => new external_format_value('fullmessage'), 'fullmessagehtml' => new external_value(PARAM_RAW, 'The message in html'), 'smallmessage' => new external_value(PARAM_RAW, 'The shorten message'), 'notification' => new external_value(PARAM_INT, 'Is a notification?'), 'contexturl' => new external_value(PARAM_RAW, 'Context URL'), 'contexturlname' => new external_value(PARAM_TEXT, 'Context URL link name'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timeread' => new external_value(PARAM_INT, 'Time read'), 'usertofullname' => new external_value(PARAM_TEXT, 'User to full name'), 'userfromfullname' => new external_value(PARAM_TEXT, 'User from full name'), 'component' => new external_value(PARAM_TEXT, 'The component that generated the notification', VALUE_OPTIONAL), 'eventtype' => new external_value(PARAM_TEXT, 'The type of notification', VALUE_OPTIONAL), 'customdata' => new external_value(PARAM_RAW, 'Custom data to be passed to the message processor. The data here is serialised using json_encode().', VALUE_OPTIONAL), 'iconurl' => new external_value(PARAM_URL, 'URL for icon, only for notifications.', VALUE_OPTIONAL), ), 'message')), 'warnings' => new external_warnings( )))
/message/externallib.php:24401return new external_single_structure(array('users' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'User ID'), 'fullname' => new external_value(PARAM_NOTAGS, 'User full name'), 'profileimageurl' => new external_value(PARAM_URL, 'User picture URL', VALUE_OPTIONAL))), 'List of blocked users'), 'warnings' => new external_warnings( )))
/message/externallib.php:19431return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'User ID'), 'fullname' => new external_value(PARAM_NOTAGS, 'User full name'), 'profileimageurl' => new external_value(PARAM_URL, 'User picture URL', VALUE_OPTIONAL), 'profileimageurlsmall' => new external_value(PARAM_URL, 'Small user picture URL', VALUE_OPTIONAL))), 'List of contacts')
/message/externallib.php:19631return new external_function_parameters(array('useridto' => new external_value(PARAM_INT, 'the user id who received the message, 0 for any user', VALUE_REQUIRED), 'useridfrom' => new external_value(PARAM_INT, 'the user id who send the message, 0 for any user. -10 or -20 for no-reply or support user', VALUE_DEFAULT, 0), 'type' => new external_value(PARAM_ALPHA, 'type of message to return, expected values are: notifications, conversations and both', VALUE_DEFAULT, 'both'), 'read' => new external_value(PARAM_INT, '1 for getting read messages, 0 for unread, 2 for both', VALUE_DEFAULT, 1), 'newestfirst' => new external_value(PARAM_BOOL, 'true for ordering by newest first, false for oldest first', VALUE_DEFAULT, true), 'limitfrom' => new external_value(PARAM_INT, 'limit from', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'limit number', VALUE_DEFAULT, 0)))
/message/externallib.php:32351return new external_function_parameters(array('preferences' => self::get_preferences_structure( ), 'blocknoncontacts' => new external_value(PARAM_INT, 'Privacy messaging setting to define who can message you'), 'entertosend' => new external_value(PARAM_BOOL, 'User preference for using enter to send messages'), 'warnings' => new external_warnings( ), ))
/message/externallib.php:33691return new external_function_parameters(array('referenceuserid' => new external_value(PARAM_INT, 'id of the user'), 'userids' => new external_multiple_structure(new external_value(PARAM_INT, 'id of members to get')), 'includecontactrequests' => new external_value(PARAM_BOOL, 'include contact requests in response', VALUE_DEFAULT, false), 'includeprivacyinfo' => new external_value(PARAM_BOOL, 'include privacy info in response', VALUE_DEFAULT, false)))
/message/externallib.php:28531return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'id of the user, 0 for current user', VALUE_REQUIRED), 'name' => new external_value(PARAM_SAFEDIR, 'The name of the message processor'), 'formvalues' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TEXT, 'name of the form element', VALUE_REQUIRED), 'value' => new external_value(PARAM_RAW, 'value of the form element', VALUE_REQUIRED), )), 'Config form values', VALUE_REQUIRED), ))
/message/externallib.php:30341return new external_single_structure(array('userid' => new external_value(PARAM_INT, 'User id'), 'disableall' => new external_value(PARAM_INT, 'Whether all the preferences are disabled'), 'processors' => new external_multiple_structure(new external_single_structure(array('displayname' => new external_value(PARAM_TEXT, 'Display name'), 'name' => new external_value(PARAM_PLUGIN, 'Processor name'), 'hassettings' => new external_value(PARAM_BOOL, 'Whether has settings'), 'contextid' => new external_value(PARAM_INT, 'Context id'), 'userconfigured' => new external_value(PARAM_INT, 'Whether is configured by the user'), )), 'Config form values'), 'components' => new external_multiple_structure(new external_single_structure(array('displayname' => new external_value(PARAM_TEXT, 'Display name'), 'notifications' => new external_multiple_structure(new external_single_structure(array('displayname' => new external_value(PARAM_TEXT, 'Display name'), 'preferencekey' => new external_value(PARAM_ALPHANUMEXT, 'Preference key'), 'processors' => new external_multiple_structure(new external_single_structure(array('displayname' => new external_value(PARAM_TEXT, 'Display name'), 'name' => new external_value(PARAM_PLUGIN, 'Processor name'), 'locked' => new external_value(PARAM_BOOL, 'Is locked by admin?'), 'lockedmessage' => new external_value(PARAM_TEXT, 'Text to display if locked', VALUE_OPTIONAL), 'userconfigured' => new external_value(PARAM_INT, 'Is configured?'), 'loggedin' => new external_single_structure(array('name' => new external_value(PARAM_NOTAGS, 'Name'), 'displayname' => new external_value(PARAM_TEXT, 'Display name'), 'checked' => new external_value(PARAM_BOOL, 'Is checked?'), ), 'DEPRECATED ATTRIBUTE - Kept for backward compatibility, use enabled instead.', ), 'loggedoff' => new external_single_structure(array('name' => new external_value(PARAM_NOTAGS, 'Name'), 'displayname' => new external_value(PARAM_TEXT, 'Display name'), 'checked' => new external_value(PARAM_BOOL, 'Is checked?'), ), 'DEPRECATED ATTRIBUTE - Kept for backward compatibility, use enabled instead.', ), 'enabled' => new external_value(PARAM_BOOL, 'Is enabled?'), )), 'Processors values for this notification'), )), 'List of notificaitons for the component'), )), 'Available components'), ))
/message/externallib.php:13961return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who we are viewing conversations for'), 'conversationid' => new external_value(PARAM_INT, 'The id of the conversation to fetch'), 'includecontactrequests' => new external_value(PARAM_BOOL, 'Include contact requests in the members'), 'includeprivacyinfo' => new external_value(PARAM_BOOL, 'Include privacy info in the members'), 'memberlimit' => new external_value(PARAM_INT, 'Limit for number of members', VALUE_DEFAULT, 0), 'memberoffset' => new external_value(PARAM_INT, 'Offset for member list', VALUE_DEFAULT, 0), 'messagelimit' => new external_value(PARAM_INT, 'Limit for number of messages', VALUE_DEFAULT, 100), 'messageoffset' => new external_value(PARAM_INT, 'Offset for messages list', VALUE_DEFAULT, 0), 'newestmessagesfirst' => new external_value(PARAM_BOOL, 'Order messages by newest first', VALUE_DEFAULT, true)))
/message/externallib.php:14601$conversation = \core_message\api::get_conversation($params['userid'], $params['conversationid'], $params['includecontactrequests'], $params['includeprivacyinfo'], $params['memberlimit'], $params['memberoffset'], $params['messagelimit'], $params['messageoffset'], $params['newestmessagesfirst'])
/message/externallib.php:11981return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who is performing the search'), 'search' => new external_value(PARAM_RAW, 'The string being searched'), 'limitfrom' => new external_value(PARAM_INT, 'Limit from', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 0)))
/message/externallib.php:13061return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who we are viewing conversations for'), 'limitfrom' => new external_value(PARAM_INT, 'The offset to start at', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number of conversations to this', VALUE_DEFAULT, 0), 'type' => new external_value(PARAM_INT, 'Filter by type', VALUE_DEFAULT, null), 'favourites' => new external_value(PARAM_BOOL, 'Whether to restrict the results to contain NO favourite conversations (false), ONLY favourite conversation (true), or ignore any restriction altogether (null)', VALUE_DEFAULT, null), 'mergeself' => new external_value(PARAM_BOOL, 'Whether to include self-conversations (true) or ONLY private conversations (false) when private conversations are requested.', VALUE_DEFAULT, false), ))
/message/externallib.php:16871return new external_function_parameters(array('currentuserid' => new external_value(PARAM_INT, 'The current user\'s id'), 'convid' => new external_value(PARAM_INT, 'The conversation id'), 'limitfrom' => new external_value(PARAM_INT, 'Limit from', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 0), 'newest' => new external_value(PARAM_BOOL, 'Newest first?', VALUE_DEFAULT, false), 'timefrom' => new external_value(PARAM_INT, 'The timestamp from which the messages were created', VALUE_DEFAULT, 0), ))
/message/externallib.php:17801return new external_single_structure(array('id' => new external_value(PARAM_INT, 'The conversation id'), 'members' => new external_multiple_structure(self::get_conversation_member_structure( )), 'messages' => new external_multiple_structure(self::get_conversation_message_structure( )), ))
/message/externallib.php:14961return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who we are viewing conversations for'), 'otheruserid' => new external_value(PARAM_INT, 'The other user id'), 'includecontactrequests' => new external_value(PARAM_BOOL, 'Include contact requests in the members'), 'includeprivacyinfo' => new external_value(PARAM_BOOL, 'Include privacy info in the members'), 'memberlimit' => new external_value(PARAM_INT, 'Limit for number of members', VALUE_DEFAULT, 0), 'memberoffset' => new external_value(PARAM_INT, 'Offset for member list', VALUE_DEFAULT, 0), 'messagelimit' => new external_value(PARAM_INT, 'Limit for number of messages', VALUE_DEFAULT, 100), 'messageoffset' => new external_value(PARAM_INT, 'Offset for messages list', VALUE_DEFAULT, 0), 'newestmessagesfirst' => new external_value(PARAM_BOOL, 'Order messages by newest first', VALUE_DEFAULT, true)))
/message/externallib.php:16011return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who we are viewing self-conversations for'), 'messagelimit' => new external_value(PARAM_INT, 'Limit for number of messages', VALUE_DEFAULT, 100), 'messageoffset' => new external_value(PARAM_INT, 'Offset for messages list', VALUE_DEFAULT, 0), 'newestmessagesfirst' => new external_value(PARAM_BOOL, 'Order messages by newest first', VALUE_DEFAULT, true)))
/message/externallib.php:9961return new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The user\'s id'), 'fullname' => new external_value(PARAM_NOTAGS, 'The user\'s name'), 'profileimageurl' => new external_value(PARAM_URL, 'User picture URL'), 'profileimageurlsmall' => new external_value(PARAM_URL, 'Small user picture URL'), 'ismessaging' => new external_value(PARAM_BOOL, 'If we are messaging the user'), 'sentfromcurrentuser' => new external_value(PARAM_BOOL, 'Was the last message sent from the current user?'), 'lastmessage' => new external_value(PARAM_NOTAGS, 'The user\'s last message'), 'lastmessagedate' => new external_value(PARAM_INT, 'Timestamp for last message', VALUE_DEFAULT, null), 'messageid' => new external_value(PARAM_INT, 'The unique search message id', VALUE_DEFAULT, null), 'showonlinestatus' => new external_value(PARAM_BOOL, 'Show the user\'s online status?'), 'isonline' => new external_value(PARAM_BOOL, 'The user\'s online status'), 'isread' => new external_value(PARAM_BOOL, 'If the user has read the message'), 'isblocked' => new external_value(PARAM_BOOL, 'If the user has been blocked'), 'unreadcount' => new external_value(PARAM_INT, 'The number of unread messages in this conversation', VALUE_DEFAULT, null), 'conversationid' => new external_value(PARAM_INT, 'The id of the conversation', VALUE_DEFAULT, null), ))
/message/externallib.php:8641return new external_single_structure(array('request' => new external_single_structure(array('id' => new external_value(PARAM_INT, 'Message id'), 'userid' => new external_value(PARAM_INT, 'User from id'), 'requesteduserid' => new external_value(PARAM_INT, 'User to id'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), ), 'request record', VALUE_OPTIONAL), 'warnings' => new external_warnings( )))
/message/externallib.php:10571$result = ['id' => new external_value(PARAM_INT, 'The user id'), 'fullname' => new external_value(PARAM_NOTAGS, 'The user\'s name'), 'profileurl' => new external_value(PARAM_URL, 'The link to the user\'s profile page'), 'profileimageurl' => new external_value(PARAM_URL, 'User picture URL'), 'profileimageurlsmall' => new external_value(PARAM_URL, 'Small user picture URL'), 'isonline' => new external_value(PARAM_BOOL, 'The user\'s online status'), 'showonlinestatus' => new external_value(PARAM_BOOL, 'Show the user\'s online status?'), 'isblocked' => new external_value(PARAM_BOOL, 'If the user has been blocked'), 'iscontact' => new external_value(PARAM_BOOL, 'Is the user a contact?'), 'isdeleted' => new external_value(PARAM_BOOL, 'Is the user deleted?'), 'canmessageevenifblocked' => new external_value(PARAM_BOOL, 'If the user can still message even if they get blocked'), 'canmessage' => new external_value(PARAM_BOOL, 'If the user can be messaged'), 'requirescontact' => new external_value(PARAM_BOOL, 'If the user requires to be contacts'), ]
/message/externallib.php:10251return new external_single_structure(array('id' => new external_value(PARAM_INT, 'The conversation id'), 'name' => new external_value(PARAM_RAW, 'The conversation name, if set', VALUE_DEFAULT, null), 'subname' => new external_value(PARAM_RAW, 'A subtitle for the conversation name, if set', VALUE_DEFAULT, null), 'imageurl' => new external_value(PARAM_URL, 'A link to the conversation picture, if set', VALUE_DEFAULT, null), 'type' => new external_value(PARAM_INT, 'The type of the conversation (1=individual,2=group,3=self)'), 'membercount' => new external_value(PARAM_INT, 'Total number of conversation members'), 'ismuted' => new external_value(PARAM_BOOL, 'If the user muted this conversation'), 'isfavourite' => new external_value(PARAM_BOOL, 'If the user marked this conversation as a favourite'), 'isread' => new external_value(PARAM_BOOL, 'If the user has read all messages in the conversation'), 'unreadcount' => new external_value(PARAM_INT, 'The number of unread messages in this conversation', VALUE_DEFAULT, null), 'members' => new external_multiple_structure(self::get_conversation_member_structure( )), 'messages' => new external_multiple_structure(self::get_conversation_message_structure( )), 'candeletemessagesforallusers' => new external_value(PARAM_BOOL, 'If the user can delete messages in the conversation for all users', VALUE_DEFAULT, false), ))
/message/externallib.php:10851$result['conversations'] = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Conversations id'), 'type' => new external_value(PARAM_INT, 'Conversation type: private or public'), 'name' => new external_value(PARAM_RAW, 'Multilang compatible conversation name' . VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the conversation'), ), 'information about conversation', VALUE_OPTIONAL), 'Conversations between users', VALUE_OPTIONAL)
/message/externallib.php:10741$result['contactrequests'] = new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'The id of the contact request'), 'userid' => new external_value(PARAM_INT, 'The id of the user who created the contact request'), 'requesteduserid' => new external_value(PARAM_INT, 'The id of the user confirming the request'), 'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the contact request'), ]), 'The contact requests', VALUE_OPTIONAL)
/message/externallib.php:11241return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'The id of the user who is performing the search'), 'search' => new external_value(PARAM_RAW, 'The string being searched'), 'limitfrom' => new external_value(PARAM_INT, 'Limit from', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 0), ))
/message/externallib.php:11071return new external_single_structure(array('id' => new external_value(PARAM_INT, 'The id of the message'), 'useridfrom' => new external_value(PARAM_INT, 'The id of the user who sent the message'), 'text' => new external_value(PARAM_RAW, 'The text of the message'), 'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the message'), ))
/enrol/paypal/tests/privacy/provider_test.php:6511$paypaldata = ['business' => $business->email, 'receiver_email' => $receiver->email, 'receiver_id' => 'SELLERSID', 'item_name' => $course->fullname, 'courseid' => $course->id, 'userid' => $user->id, 'instanceid' => $enrol->id, 'payment_status' => 'Completed', 'txn_id' => $txnid, 'payment_type' => 'instant', 'timeupdated' => $time, ]
/enrol/paypal/classes/privacy/provider.php:2071$transaction = (object) ['receiver_id' => $paypalrecord->receiver_id, 'item_name' => $paypalrecord->item_name, 'userid' => $paypalrecord->userid, 'memo' => $paypalrecord->memo, 'tax' => $paypalrecord->tax, 'option_name1' => $paypalrecord->option_name1, 'option_selection1_x' => $paypalrecord->option_selection1_x, 'option_name2' => $paypalrecord->option_name2, 'option_selection2_x' => $paypalrecord->option_selection2_x, 'payment_status' => $paypalrecord->payment_status, 'pending_reason' => $paypalrecord->pending_reason, 'reason_code' => $paypalrecord->reason_code, 'txn_id' => $paypalrecord->txn_id, 'parent_txn_id' => $paypalrecord->parent_txn_id, 'payment_type' => $paypalrecord->payment_type, 'timeupdated' => \core_privacy\local\request\transform::datetime($paypalrecord->timeupdated), ]
/message/lib.php:3421$eventdata->customdata = ['notificationiconurl' => $userpicture->get_url($PAGE)->out(false), 'actionbuttons' => ['send' => get_string_manager( )->get_string('send', 'message', null, $eventdata->userto->lang), ], 'placeholders' => ['send' => get_string_manager( )->get_string('writeamessage', 'message', null, $eventdata->userto->lang), ], ]
/enrol/guest/classes/external.php:1071return new external_single_structure(array('instanceinfo' => new external_single_structure(array('id' => new external_value(PARAM_INT, 'Id of course enrolment instance'), 'courseid' => new external_value(PARAM_INT, 'Id of course'), 'type' => new external_value(PARAM_PLUGIN, 'Type of enrolment plugin'), 'name' => new external_value(PARAM_RAW, 'Name of enrolment plugin'), 'status' => new external_value(PARAM_BOOL, 'Is the enrolment enabled?'), 'passwordrequired' => new external_value(PARAM_BOOL, 'Is a password required?'), )), 'warnings' => new external_warnings( )))
/message/externallib.php:1411return new external_function_parameters(array('messages' => new external_multiple_structure(new external_single_structure(array('touserid' => new external_value(PARAM_INT, 'id of the user to send the private message'), 'text' => new external_value(PARAM_RAW, 'the text of the message'), 'textformat' => new external_format_value('text', VALUE_DEFAULT, FORMAT_MOODLE), 'clientmsgid' => new external_value(PARAM_ALPHANUMEXT, 'your own client id for the message. If this id is provided, the fail message id will be returned to you', VALUE_OPTIONAL), )))))
/message/externallib.php:561return new external_function_parameters(array('conversationid' => new external_value(PARAM_INT, 'id of the conversation'), 'messages' => new external_multiple_structure(new external_single_structure(array('text' => new external_value(PARAM_RAW, 'the text of the message'), 'textformat' => new external_format_value('text', VALUE_DEFAULT, FORMAT_MOODLE), )))))
/message/externallib.php:7221return new external_function_parameters(['userid' => new external_value(PARAM_INT, 'The id of the user we are performing this action on behalf of'), 'conversationid' => new external_value(PARAM_INT, 'The id of the conversation'), 'includecontactrequests' => new external_value(PARAM_BOOL, 'Do we want to include contact requests?', VALUE_DEFAULT, false), 'includeprivacyinfo' => new external_value(PARAM_BOOL, 'Do we want to include privacy info?', VALUE_DEFAULT, false), 'limitfrom' => new external_value(PARAM_INT, 'Limit from', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'Limit number', VALUE_DEFAULT, 0)])
/message/externallib.php:2771return new external_multiple_structure(new external_single_structure(array('msgid' => new external_value(PARAM_INT, 'test this to know if it succeeds: id of the created message if it succeeded, -1 when failed'), 'clientmsgid' => new external_value(PARAM_ALPHANUMEXT, 'your own id for the message', VALUE_OPTIONAL), 'errormessage' => new external_value(PARAM_TEXT, 'error message - if it failed', VALUE_OPTIONAL), 'text' => new external_value(PARAM_RAW, 'The text of the message', VALUE_OPTIONAL), 'timecreated' => new external_value(PARAM_INT, 'The timecreated timestamp for the message', VALUE_OPTIONAL), 'conversationid' => new external_value(PARAM_INT, 'The conversation id for this message', VALUE_OPTIONAL), 'useridfrom' => new external_value(PARAM_INT, 'The user id who sent the message', VALUE_OPTIONAL), 'candeletemessagesforallusers' => new external_value(PARAM_BOOL, 'If the user can delete messages in the conversation for all users', VALUE_DEFAULT, false), )))
/enrol/lti/tests/local/ltiadvantage/service/tool_launch_service_test.php:1271return ['New tool: no legacy data, no migration claim sent' => ['legacy_data' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'expected' => ['deployment_consumer_key' => null, ]], 'Migrated tool: Legacy data exists, no change in user_id so omitted from claim' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'expected' => ['deployment_consumer_key' => 'CONSUMER_1', ]], 'Migrated tool: Legacy data exists, platform signs with different valid secret' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret2', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'expected' => ['deployment_consumer_key' => 'CONSUMER_1', ]], 'Migrated tool: Legacy data exists, no migration claim sent' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'expected' => ['deployment_consumer_key' => null, ]], 'Migrated tool: Legacy data exists, migration claim signature generated using invalid secret' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'secret-not-mapped-to-consumer', 'user_id' => 'user-id-123', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'expected' => ['exception' => \coding_exception::class, 'exception_message' => "Invalid 'oauth_consumer_key_sign' signature in lti1p1 claim"]], 'Migrated tool: Legacy data exists, migration claim signature omitted' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'user_id' => 'user-id-123', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'expected' => ['exception' => \coding_exception::class, 'exception_message' => "Missing 'oauth_consumer_key_sign' property in lti1p1 migration claim."]], 'Migrated tool: Legacy data exists, migration claim missing oauth_consumer_key' => ['legacy_data' => ['consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['user_id' => 'user-id-123', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'expected' => ['deployment_consumer_key' => null]]]
/enrol/lti/tests/local/ltiadvantage/service/tool_launch_service_test.php:5581return ['valid, array having multiple entries with the first one being clientid' => ['aud' => ['123', 'something else', 'blah'], 'expected' => ['valid' => true]], 'valid, array having a single entry being clientid' => ['aud' => ['123'], 'expected' => ['valid' => true]], 'valid, string containing the single clientid' => ['aud' => '123', 'expected' => ['valid' => true]], 'invalid, array having multiple values where the first item is not clientid' => ['aud' => ['cat', 'dog', '123'], 'expected' => ['valid' => false, 'exception' => \moodle_exception::class, 'exceptionmessage' => get_string('ltiadvlauncherror:invalidregistration', 'enrol_lti')]], 'invalid, array containing a single item which is not clientid' => ['aud' => ['cat'], 'expected' => ['valid' => false, 'exception' => \moodle_exception::class, 'exceptionmessage' => get_string('ltiadvlauncherror:invalidregistration', 'enrol_lti')]], 'invalid, string contains the item and it is not the clientid' => ['aud' => 'cat', 'expected' => ['valid' => false, 'exception' => \moodle_exception::class, 'exceptionmessage' => get_string('ltiadvlauncherror:invalidregistration', 'enrol_lti')]], 'invalid, empty string' => ['aud' => '', 'expected' => ['valid' => false, 'exception' => \moodle_exception::class, 'exceptionmessage' => get_string('ltiadvlauncherror:invalidregistration', 'enrol_lti')]], ]
/enrol/lti/tests/generator/lib.php:471$registration = application_registration::create($data['name'], $uniqueid, new moodle_url($data['platformid']), $data['clientid'], new moodle_url($data['authrequesturl']), new moodle_url($data['jwksurl']), new moodle_url($data['accesstokenurl']))
/enrol/self/settings.php:1002$options = array(0 => get_string('never'), 1800 * 3600 * 24 => get_string('numdays', '', 1800), 1000 * 3600 * 24 => get_string('numdays', '', 1000), 365 * 3600 * 24 => get_string('numdays', '', 365), 180 * 3600 * 24 => get_string('numdays', '', 180), 150 * 3600 * 24 => get_string('numdays', '', 150), 120 * 3600 * 24 => get_string('numdays', '', 120), 90 * 3600 * 24 => get_string('numdays', '', 90), 60 * 3600 * 24 => get_string('numdays', '', 60), 30 * 3600 * 24 => get_string('numdays', '', 30), 21 * 3600 * 24 => get_string('numdays', '', 21), 14 * 3600 * 24 => get_string('numdays', '', 14), 7 * 3600 * 24 => get_string('numdays', '', 7))
/enrol/self/lib.php:8132$options = array(0 => get_string('never'), 1800 * 3600 * 24 => get_string('numdays', '', 1800), 1000 * 3600 * 24 => get_string('numdays', '', 1000), 365 * 3600 * 24 => get_string('numdays', '', 365), 180 * 3600 * 24 => get_string('numdays', '', 180), 150 * 3600 * 24 => get_string('numdays', '', 150), 120 * 3600 * 24 => get_string('numdays', '', 120), 90 * 3600 * 24 => get_string('numdays', '', 90), 60 * 3600 * 24 => get_string('numdays', '', 60), 30 * 3600 * 24 => get_string('numdays', '', 30), 21 * 3600 * 24 => get_string('numdays', '', 21), 14 * 3600 * 24 => get_string('numdays', '', 14), 7 * 3600 * 24 => get_string('numdays', '', 7))
/enrol/self/lib.php:10601$tovalidate = array('enrolstartdate' => PARAM_INT, 'enrolenddate' => PARAM_INT, 'name' => PARAM_TEXT, 'customint1' => $validgroupkey, 'customint2' => $validlongtimenosee, 'customint3' => PARAM_INT, 'customint4' => PARAM_INT, 'customint5' => PARAM_INT, 'customint6' => $validnewenrols, 'status' => $validstatus, 'enrolperiod' => PARAM_INT, 'expirynotify' => $validexpirynotify, 'roleid' => $validroles)
/enrol/self/externallib.php:871return new external_single_structure(array('id' => new external_value(PARAM_INT, 'id of course enrolment instance'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'type' => new external_value(PARAM_PLUGIN, 'type of enrolment plugin'), 'name' => new external_value(PARAM_RAW, 'name of enrolment plugin'), 'status' => new external_value(PARAM_RAW, 'status of enrolment plugin'), 'enrolpassword' => new external_value(PARAM_RAW, 'password required for enrolment', VALUE_OPTIONAL), ))
/enrol/self/classes/editselectedusers_operation.php:1301$event = \core\event\user_enrolment_updated::create(array('objectid' => $enrolment->id, 'courseid' => $enrolment->courseid, 'context' => context_course::instance($enrolment->courseid), 'relateduserid' => $user->id, 'other' => array('enrol' => 'self')))
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:5991$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Activity not completed for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student1id', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 0 grades.", "Starting - LTI Advantage grade sync for shared resource '$publishedcourse->id' in course '$course->id'.", "Skipping - Course not completed for the user '$student2id', for the resource '$publishedcourse->id' and " . "the course '$course->id'.", "Completed - Synced grades for tool '$publishedcourse->id' in the course '$course->id'. " . "Processed 1 users; sent 0 grades.", ]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:6291$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Activity not completed for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student1id', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 0 grades.", "Starting - LTI Advantage grade sync for shared resource '$publishedcourse->id' in course '$course->id'.", "Success - The grade '$expectedstudent2grade' for the user '$student2id', for the resource " . "'$publishedcourse->id' and the course '$course->id' was sent.", "Completed - Synced grades for tool '$publishedcourse->id' in the course '$course->id'. " . "Processed 1 users; sent 1 grades.", ]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:6612$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Activity not completed for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student1id', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Skipping - Course not completed for the user '$student2id', for the resource '$publishedcourse->id' and " . "the course '$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 0 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:7112$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Failed - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' failed to send.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 2 users; sent 0 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:7292$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Failed - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' failed to send.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 2 users; sent 0 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:7994$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:8764$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:9534$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:5681$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Activity not completed for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Activity not completed for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades.", "Starting - LTI Advantage grade sync for shared resource '$publishedcourse->id' in course '$course->id'.", "Skipping - Course not completed for the user '$student2id', for the resource '$publishedcourse->id' and " . "the course '$course->id'.", "Completed - Synced grades for tool '$publishedcourse->id' in the course '$course->id'. " . "Processed 1 users; sent 0 grades.", ]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:5402$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Activity not completed for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student1id', for the resource '$resource->id' and the course " . "'$course->id'.", "Activity not completed for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Skipping - Course not completed for the user '$student2id', for the resource '$publishedcourse->id' and " . "the course '$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 0 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:3761$expected = "/Found 2 resource link\(s\) for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id'. Attempting to sync grades for all.\n" . "Processing resource link '.*'.\n" . "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.\n" . "Processing resource link '.*'.\n" . "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent./"
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:3581$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Found 2 resource link(s) for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id'. Attempting to sync grades for all.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:2981$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Success - The grade '$expectedstudent2grade' for the user '$student2id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 2 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:2731$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Not sent - The grade for the user '$student1id', for the resource '$resource->id' and the course " . "'$course->id' was not sent as the grades are the same.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 0 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:2534$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Skipping - Invalid grade for the user '$student2id', for the resource '$resource->id' and the course " . "'$course->id'.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 3 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_tool_grades_test.php:2011$expectedtraces = ["Starting - LTI Advantage grade sync for shared resource '$resource->id' in course '$course->id'.", "Skipping - Invalid grade for the user '$teacherid', for the resource '$resource->id' and the course " . "'$course->id'.", "Success - The grade '$expectedstudent1grade' for the user '$student1id', for the resource " . "'$resource->id' and the course '$course->id' was sent.", "Completed - Synced grades for tool '$resource->id' in the course '$course->id'. " . "Processed 2 users; sent 1 grades."]
/enrol/lti/tests/local/ltiadvantage/task/sync_members_test.php:7941return ['Migrated tool, user ids changed, new and existing users present in sync' => ['legacy_data' => ['users' => [['user_id' => '1'], ['user_id' => '2'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'user_id' => '1', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], ['1'])[0], $this->get_mock_members_with_ids(['1p3_2'], ['2'])[0], $this->get_mock_members_with_ids(['1p3_3'], ['3'])[0], $this->get_mock_members_with_ids(['1p3_4'], ['4'])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => true, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => true, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'Migrated tool, no change in user ids, new and existing users present in sync' => ['legacy_data' => ['users' => [['user_id' => '1'], ['user_id' => '2'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1'], null)[0], $this->get_mock_members_with_ids(['2'], null)[0], $this->get_mock_members_with_ids(['3'], null)[0], $this->get_mock_members_with_ids(['4'], null)[0], ], 'expected' => ['enrolments' => ['1' => ['is_enrolled' => true, 'is_migrated' => true, ], '2' => ['is_enrolled' => true, 'is_migrated' => true, ], '3' => ['is_enrolled' => true, 'is_migrated' => false, ], '4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'New tool, no launch migration claim, change in user ids, new and existing users present in sync' => ['legacy_data' => ['users' => [['user_id' => '1'], ['user_id' => '2'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], null)[0], $this->get_mock_members_with_ids(['1p3_2'], null)[0], $this->get_mock_members_with_ids(['1p3_3'], null)[0], $this->get_mock_members_with_ids(['1p3_4'], null)[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'New tool, no launch migration claim, no change in user ids, new and existing users present in sync' => ['legacy_data' => ['users' => [['user_id' => '1'], ['user_id' => '2'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1'], null)[0], $this->get_mock_members_with_ids(['2'], null)[0], $this->get_mock_members_with_ids(['3'], null)[0], $this->get_mock_members_with_ids(['4'], null)[0], ], 'expected' => ['enrolments' => ['1' => ['is_enrolled' => true, 'is_migrated' => false, ], '2' => ['is_enrolled' => true, 'is_migrated' => false, ], '3' => ['is_enrolled' => true, 'is_migrated' => false, ], '4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'New tool, migration only via member sync, no launch claim, new and existing users present in sync' => ['legacy_data' => ['users' => [['user_id' => '1'], ['user_id' => '2'], ], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => null, 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], ['1'])[0], $this->get_mock_members_with_ids(['1p3_2'], ['2'])[0], $this->get_mock_members_with_ids(['1p3_3'], ['3'])[0], $this->get_mock_members_with_ids(['1p3_4'], ['4'])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'Default provisioning modes, mixed bag of users and roles' => ['legacy_data' => null, 'resource_config' => ['provisioningmodelearner' => \auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY, 'provisioningmodeinstructor' => \auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', ])[0], $this->get_mock_members_with_ids(['1p3_2'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_3'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_4'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => false, 'is_migrated' => false, ]]]], 'All automatic provisioning, mixed bag of users and roles' => ['legacy_data' => null, 'resource_config' => ['provisioningmodelearner' => \auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY, 'provisioningmodeinstructor' => \auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', ])[0], $this->get_mock_members_with_ids(['1p3_2'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_3'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_4'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => true, 'is_migrated' => false, ]]]], 'All prompt provisioning, mixed bag of users and roles' => ['legacy_data' => null, 'resource_config' => ['provisioningmodelearner' => \auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING, 'provisioningmodeinstructor' => \auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => null, ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', ])[0], $this->get_mock_members_with_ids(['1p3_2'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_3'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_4'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => false, 'is_migrated' => false, ], '1p3_3' => ['is_enrolled' => false, 'is_migrated' => false, ], '1p3_4' => ['is_enrolled' => false, 'is_migrated' => false, ]]]], 'All automatic provisioning, with legacy data and migration claim, mixed bag of users and roles' => ['legacy_data' => ['users' => [['user_id' => '2'], ['user_id' => '3'], ['user_id' => '4'], ['user_id' => '5']], 'consumer_key' => 'CONSUMER_1', 'tools' => [['secret' => 'toolsecret1'], ['secret' => 'toolsecret2'], ]], 'resource_config' => ['provisioningmodelearner' => \auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY, 'provisioningmodeinstructor' => \auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY], 'launch_data' => ['user' => $this->get_mock_launch_users_with_ids(['1p3_1'])[0], 'launch_migration_claim' => ['consumer_key' => 'CONSUMER_1', 'signing_secret' => 'toolsecret1', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], ], 'sync_members_data' => [$this->get_mock_members_with_ids(['1p3_1'], null, true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', ])[0], $this->get_mock_members_with_ids(['1p3_2'], ['2'], true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_3'], ['3'], true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_4'], ['4'], true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', 'http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'])[0], $this->get_mock_members_with_ids(['1p3_5'], ['5'], true, true, true, false, ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', ])[0], ], 'expected' => ['enrolments' => ['1p3_1' => ['is_enrolled' => true, 'is_migrated' => false, ], '1p3_2' => ['is_enrolled' => true, 'is_migrated' => true, ], '1p3_3' => ['is_enrolled' => true, 'is_migrated' => true, ], '1p3_4' => ['is_enrolled' => true, 'is_migrated' => true], '1p3_5' => ['is_enrolled' => true, 'is_migrated' => true]]]], ]
/enrol/lti/tests/local/ltiadvantage/entity/nrps_info_test.php:561return ['Valid creation' => ['args' => ['contextmembershipsurl' => new \moodle_url('https://lms.example.com/45/memberships'), 'serviceversions' => ['1.0', '2.0'], ], 'expectations' => ['valid' => true, 'serviceversions' => ['1.0', '2.0']]], 'Missing service version' => ['args' => ['contextmembershipsurl' => new \moodle_url('https://lms.example.com/45/memberships'), 'serviceversions' => [ ], ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Service versions array cannot be empty']], 'Invalid service version' => ['args' => ['contextmembershipsurl' => new \moodle_url('https://lms.example.com/45/memberships'), 'serviceversions' => ['1.1'], ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid Names and Roles service version '1.1'"]], 'Duplicate service version' => ['args' => ['contextmembershipsurl' => new \moodle_url('https://lms.example.com/45/memberships'), 'serviceversions' => ['1.0', '1.0'], ], 'expectations' => ['valid' => true, 'serviceversions' => ['1.0']]]]
/enrol/lti/tests/local/ltiadvantage/entity/migration_claim_test.php:901return ['Invalid - missing oauth_consumer_key' => ['lti1p1migrationclaim' => ['oauth_consumer_key' => '', 'oauth_consumer_key_sign' => 'abcd', ], 'deploymentid' => 'D12345', 'platform' => 'https://lms.example.org/', 'clientid' => 'a1b2c3d4', 'exp' => '1622612930', 'nonce' => 'j45j2j5nnjn24544', new legacy_consumer_repository( ), 'expected' => ['exception' => \coding_exception::class, 'exceptionmessage' => "Missing 'oauth_consumer_key' property in lti1p1 migration claim."]], 'Invalid - missing oauth_consumer_key_sign' => ['lti1p1migrationclaim' => ['oauth_consumer_key' => 'CONSUMER_1', 'oauth_consumer_key_sign' => '', ], 'deploymentid' => 'D12345', 'platform' => 'https://lms.example.org/', 'clientid' => 'a1b2c3d4', 'exp' => '1622612930', 'nonce' => 'j45j2j5nnjn24544', new legacy_consumer_repository( ), 'expected' => ['exception' => \coding_exception::class, 'exceptionmessage' => "Missing 'oauth_consumer_key_sign' property in lti1p1 migration claim."]], 'Invalid - incorrect oauth_consumer_key_sign' => ['lti1p1migrationclaim' => ['oauth_consumer_key' => 'CONSUMER_1', 'oauth_consumer_key_sign' => 'badsignature', ], 'deploymentid' => 'D12345', 'platform' => 'https://lms.example.org/', 'clientid' => 'a1b2c3d4', 'exp' => '1622612930', 'nonce' => 'j45j2j5nnjn24544', new legacy_consumer_repository( ), 'expected' => ['exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'oauth_consumer_key_sign' signature in lti1p1 claim."]], 'Valid - signature valid, map properties not provided' => ['lti1p1migrationclaim' => ['oauth_consumer_key' => 'CONSUMER_1', 'oauth_consumer_key_sign' => base64_encode(hash_hmac('sha256', 'CONSUMER_1&D12345&https://lms.example.org/&a1b2c3d4&1622612930&j45j2j5nnjn24544', 'consumer_secret')), ], 'deploymentid' => 'D12345', 'platform' => 'https://lms.example.org/', 'clientid' => 'a1b2c3d4', 'exp' => '1622612930', 'nonce' => 'j45j2j5nnjn24544', $this->get_stub_legacy_consumer_repo( ), 'expected' => ['user_id' => null, 'context_id' => null, 'tool_consumer_instance_guid' => null, 'resource_link_id' => null]], 'Valid - signature valid, map properties are provided' => ['lti1p1migrationclaim' => ['oauth_consumer_key' => 'CONSUMER_1', 'oauth_consumer_key_sign' => base64_encode(hash_hmac('sha256', 'CONSUMER_1&D12345&https://lms.example.org/&a1b2c3d4&1622612930&j45j2j5nnjn24544', 'consumer_secret')), 'user_id' => '24', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa'], 'deploymentid' => 'D12345', 'platform' => 'https://lms.example.org/', 'clientid' => 'a1b2c3d4', 'exp' => '1622612930', 'nonce' => 'j45j2j5nnjn24544', $this->get_stub_legacy_consumer_repo( ), 'expected' => ['user_id' => '24', 'context_id' => 'd345b', 'tool_consumer_instance_guid' => '12345-123', 'resource_link_id' => '4b6fa']]]
/enrol/lti/tests/local/ltiadvantage/entity/ags_info_test.php:621return ['Both lineitems and lineitem URL provided with full list of valid scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => true, 'lineitemscope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly'], 'resultscope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'Both lineitems and lineitem URL provided with lineitem scopes only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', ]], 'expectations' => ['valid' => true, 'lineitemscope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', ], 'scorescope' => null, 'resultscope' => null]], 'Both lineitems and lineitem URL provided with score scope only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score', 'resultscope' => null]], 'Both lineitems and lineitem URL provided with result scope only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly']], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => null, 'resultscope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly']], 'Both lineitems and lineitem URL provided with no scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => [ ]], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => null, 'resultscope' => null]], 'Just lineitems URL, no lineitem URL, with full list of valid scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => true, 'lineitemscope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly'], 'resultscope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'Just lineitems URL, no lineitem URL, with lineitems scopes only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', ]], 'expectations' => ['valid' => true, 'lineitemscope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', ], 'scorescope' => null, 'resultscope' => null]], 'Just lineitems URL, no lineitem URL, with score scope only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score', 'resultscope' => null]], 'Just lineitems URL, no lineitem URL, with result scope only' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly']], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => null, 'resultscope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly']], 'Just lineitems URL, no lineitem URL, with no scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scopes' => [ ]], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => null, 'resultscope' => null]], 'Both lineitems and lineitem URL provided with non-string scope' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score', 12345]], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Scope must be a string value']], 'Both lineitems and lineitem URL provided with unsupported scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score', 'https://example.com/unsupported/scope']], 'expectations' => ['valid' => true, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score', ], 'lineitemscope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly'], 'resultscope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'Both lineitems and lineitem URL provided with invalid scope types' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => [12]], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Scope must be a string value"]], 'Claim contains a single lineitem URL only with valid scopes' => ['args' => ['lineitemsurl' => null, 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => true, 'lineitemscope' => null, 'scorescope' => 'https://purl.imsglobal.org/spec/lti-ags/scope/score', 'resultscope' => null]], 'Claim contains no lineitems URL or lineitem URL' => ['args' => ['lineitemsurl' => null, 'lineitemurl' => null, 'scopes' => ['https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Missing lineitem or lineitems URL"]], ]
/enrol/lti/tests/local/ltiadvantage/entity/resource_link_test.php:1441return ['Valid, both URLs, some scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expected' => ['valid' => true, ]], 'Valid, only coupled line item URL, some scopes' => ['args' => ['lineitemsurl' => null, 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/score']], 'expected' => ['valid' => true, ]], 'Valid, only decoupled line items URL, some scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => null, 'scope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem', 'https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly', 'https://purl.imsglobal.org/spec/lti-ags/scope/score', ]], 'expected' => ['valid' => true, ]], 'Valid, URLs without any scopes' => ['args' => ['lineitemsurl' => new \moodle_url('https://platform.example.org/10/lineitems'), 'lineitemurl' => new \moodle_url('https://platform.example.org/10/lineitems/4/lineitem'), 'scope' => [ ]], 'expected' => ['valid' => true, ]], 'Invalid, missing both URLs' => ['args' => ['lineitemsurl' => null, 'lineitemurl' => null, 'scope' => ['https://purl.imsglobal.org/spec/lti-ags/scope/lineitem']], 'expected' => ['valid' => false, 'exception' => \coding_exception::class]], ]
/enrol/lti/tests/local/ltiadvantage/entity/user_test.php:5161return ['Testing set_resourcelinkid with valid id' => ['methodname' => 'resourcelinkid', 'arg' => 8, 'expectations' => ['valid' => true, ]], 'Testing set_resourcelinkid with invalid id' => ['methodname' => 'resourcelinkid', 'arg' => -1, 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid resourcelinkid '-1' provided. Must be > 0."]], 'Testing set_city with a non-empty string' => ['methodname' => 'city', 'arg' => 'Melbourne', 'expectations' => ['valid' => true, ]], 'Testing set_city with an empty string' => ['methodname' => 'city', 'arg' => '', 'expectations' => ['valid' => true, ]], 'Testing set_country with a valid country code' => ['methodname' => 'country', 'arg' => 'AU', 'expectations' => ['valid' => true, ]], 'Testing set_country with an empty string' => ['methodname' => 'country', 'arg' => '', 'expectations' => ['valid' => true, ]], 'Testing set_country with an invalid country code' => ['methodname' => 'country', 'arg' => 'FFF', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid country code 'FFF'."]], 'Testing set_institution with a non-empty string' => ['methodname' => 'institution', 'arg' => 'Some institution', 'expectations' => ['valid' => true, ]], 'Testing set_institution with an empty string' => ['methodname' => 'institution', 'arg' => '', 'expectations' => ['valid' => true, ]], 'Testing set_timezone with a valid real timezone' => ['methodname' => 'timezone', 'arg' => 'Pacific/Wallis', 'expectations' => ['valid' => true, ]], 'Testing set_timezone with a valid server timezone value' => ['methodname' => 'timezone', 'arg' => '99', 'expectations' => ['valid' => true, ]], 'Testing set_timezone with an invalid timezone value' => ['methodname' => 'timezone', 'arg' => 'NOT/FOUND', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid timezone 'NOT/FOUND' provided."]], 'Testing set_maildisplay with a valid int: 0' => ['methodname' => 'maildisplay', 'arg' => '0', 'expectations' => ['valid' => true, ]], 'Testing set_maildisplay with a valid int: 1' => ['methodname' => 'maildisplay', 'arg' => '1', 'expectations' => ['valid' => true, ]], 'Testing set_maildisplay with a valid int: 2' => ['methodname' => 'maildisplay', 'arg' => '1', 'expectations' => ['valid' => true, ]], 'Testing set_maildisplay with invalid int' => ['methodname' => 'maildisplay', 'arg' => '-1', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid maildisplay value '-1'. Must be in the range {0..2}."]], 'Testing set_maildisplay with invalid int' => ['methodname' => 'maildisplay', 'arg' => '3', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid maildisplay value '3'. Must be in the range {0..2}."]], 'Testing set_lang with valid lang code' => ['methodname' => 'lang', 'arg' => $CFG->lang, 'expectations' => ['valid' => true, ]], 'Testing set_lang with an empty string' => ['methodname' => 'lang', 'arg' => '', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Invalid lang value. Cannot be an empty string.']], 'Testing set_lang with an empty string' => ['methodname' => 'lang', 'arg' => 'ff', 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid lang 'ff' provided."]], 'Testing set_lastgrade with valid grade' => ['methodname' => 'lastgrade', 'arg' => 0.0, 'expectations' => ['valid' => true]], 'Testing set_lastgrade with valid non zero grade' => ['methodname' => 'lastgrade', 'arg' => 150.0, 'expectations' => ['valid' => true]], 'Testing set_lastgrade with valid non zero long decimal grade' => ['methodname' => 'lastgrade', 'arg' => 150.777779, 'expectations' => ['valid' => true, 'expectedvalue' => 150.77778]], 'Testing set_lastaccess with valid time' => ['methodname' => 'lastaccess', 'arg' => 4, 'expectations' => ['valid' => true]], 'Testing set_lastaccess with invalid time' => ['methodname' => 'lastaccess', 'arg' => -1, 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Cannot set negative access time']], ]
/enrol/lti/tests/local/ltiadvantage/entity/user_test.php:2771return ['Valid creation, all args provided explicitly' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'platform', 'maildisplay' => 1], 'expectations' => ['valid' => true, 'id' => null, 'localid' => 2, 'resourcelinkid' => 11, 'resourceid' => 22, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'platform', 'maildisplay' => 1, 'lastgrade' => 0.0, 'lastaccess' => null]], 'Valid creation, only required args provided, explicit values' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => 'UTC'], 'expectations' => ['valid' => true, 'id' => null, 'localid' => 2, 'resourcelinkid' => 11, 'resourceid' => 22, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => 'UTC', 'city' => '', 'country' => '', 'institution' => '', 'maildisplay' => 2, 'lastgrade' => 0.0, 'lastaccess' => null]], 'Invalid creation, only required args provided, empty sourceid' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'user' => 2, 'deploymentid' => 33, 'sourceid' => '', 'lang' => $CFG->lang, 'timezone' => 'UTC'], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Invalid sourceid value. Cannot be an empty string.']], 'Invalid creation, only required args provided, empty lang' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'user' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => '', 'timezone' => 'UTC'], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Invalid lang value. Cannot be an empty string.']], 'Invalid creation, only required args provided, empty timezone' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => ''], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => 'Invalid timezone value. Cannot be an empty string.']], 'Invalid creation, only required args provided, invalid lang (vvvv not installed)' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => 'vvvv', 'timezone' => 'UTC'], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid lang 'vvvv' provided."]], 'Invalid creation, only required args provided, invalid timezone' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => 'NOT/FOUND'], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid timezone 'NOT/FOUND' provided."]], 'Invalid creation, all args provided explicitly, invalid country' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'FFF', 'institution' => 'platform', 'maildisplay' => 1], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid country code 'FFF'."]], 'Invalid creation, all args provided explicitly, invalid maildisplay' => ['args' => ['resourcelinkid' => 11, 'resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'platform', 'maildisplay' => 4], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid maildisplay value '4'. Must be in the range {0..2}."]], ]
/enrol/lti/tests/local/ltiadvantage/entity/user_test.php:691return ['Valid create, only required args provided' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99'], 'expectations' => ['valid' => true, 'resourceid' => 22, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => '', 'country' => '', 'institution' => '', 'maildisplay' => 2, 'lastgrade' => 0.0, 'lastaccess' => null, 'id' => null, 'localid' => 2, 'resourcelinkid' => null, ]], 'Valid create, all args provided explicitly' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'My institution', 'maildisplay' => 1, 'lastgrade' => 50.55, 'lastaccess' => 14567888, 'resourcelinkid' => 44, 'id' => 22], 'expectations' => ['valid' => true, 'resourceid' => 22, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'My institution', 'maildisplay' => 1, 'lastgrade' => 50.55, 'lastaccess' => 14567888, 'resourcelinkid' => 44, 'localid' => 2, 'id' => 22, ]], 'Valid create, optional args explicitly nulled for default values' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'My institution', 'maildisplay' => null, 'lastgrade' => null, 'lastaccess' => null, 'resourcelinkid' => null, 'id' => null], 'expectations' => ['valid' => true, 'resourceid' => 22, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => 'Melbourne', 'country' => 'AU', 'institution' => 'My institution', 'maildisplay' => 2, 'lastgrade' => 0.0, 'lastaccess' => null, 'resourcelinkid' => null, 'localid' => 2, 'id' => null]], 'Invalid create, lang with bad value (vvvv not installed)' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => 'vvvv', 'timezone' => '99', ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid lang 'vvvv' provided."]], 'Invalid create, timezone with bad value' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => 'NOT/FOUND', ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid timezone 'NOT/FOUND' provided."]], 'Invalid create, explicitly provided country with bad value' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => '', 'country' => 'FFF', ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid country code 'FFF'."]], 'Invalid create, explicit maildisplay with bad value' => ['args' => ['resourceid' => 22, 'userid' => 2, 'deploymentid' => 33, 'sourceid' => 'user-id-123', 'lang' => $CFG->lang, 'timezone' => '99', 'city' => '', 'country' => '', 'institution' => '', 'maildisplay' => 3, ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid maildisplay value '3'. Must be in the range {0..2}."]], ]
/enrol/lti/tests/local/ltiadvantage/entity/application_registration_test.php:631return ['Valid, only required args provided' => ['args' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ], 'expectations' => ['valid' => true]], 'Valid, all args provided' => ['args' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), 'id' => 24], 'expectations' => ['valid' => true]], 'Invalid, empty name provided' => ['args' => ['name' => '', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'name' arg. Cannot be an empty string."]], 'Invalid, empty uniqueid provided' => ['args' => ['name' => 'Platform X', 'uniqueid' => '', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'uniqueid' arg. Cannot be an empty string."]], 'Invalid, empty clientid provided' => ['args' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => '', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'clientid' arg. Cannot be an empty string."]]]
/enrol/lti/tests/local/ltiadvantage/entity/application_registration_test.php:2721return ['Valid, contains id on registration and valid deployment data provided' => ['args' => ['registration' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), 'id' => 24], 'deployment' => ['name' => 'Deployment at site level', 'deploymentid' => 'id-123abc']], 'expectations' => ['valid' => true, ]], 'Invalid, missing id on registration' => ['args' => ['registration' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ], 'deployment' => ['name' => 'Deployment at site level', 'deploymentid' => 'id-123abc']], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Can't add deployment to a resource_link that hasn't first been saved."]], 'Invalid, id present on registration but empty deploymentname' => ['args' => ['registration' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), 'id' => 24], 'deployment' => ['name' => '', 'deploymentid' => 'id-123abc']], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'deploymentname' arg. Cannot be an empty string."]], 'Invalid, id present on registration but empty deploymentid' => ['args' => ['registration' => ['name' => 'Platform X', 'uniqueid' => 'a2c94a2c94', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'client-id-12345', 'authrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), 'id' => 24], 'deployment' => ['name' => 'Site deployment', 'deploymentid' => '']], 'expectations' => ['valid' => false, 'exception' => \coding_exception::class, 'exceptionmessage' => "Invalid 'deploymentid' arg. Cannot be an empty string."]]]
/enrol/lti/tests/local/ltiadvantage/repository/application_registration_repository_test.php:1391return ['minimal draft' => ['registrationdata' => ['name' => 'My test platform', 'uniqueid' => 'acbhd4355', ]], 'draft with only some properties completed' => ['registrationdata' => ['name' => 'My test platform', 'uniqueid' => 'acbhd4355', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'abc345', ]], 'draft with all fields completed, not marked complete' => ['registrationdata' => ['name' => 'My test platform', 'uniqueid' => 'acbhd4355', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'abc345', 'authenticationrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), ]], 'draft with all fields completed, marked complete' => ['registrationdata' => ['name' => 'My test platform', 'uniqueid' => 'acbhd4355', 'platformid' => new \moodle_url('https://lms.example.com'), 'clientid' => 'abc345', 'authenticationrequesturl' => new \moodle_url('https://lms.example.com/auth'), 'jwksurl' => new \moodle_url('https://lms.example.com/jwks'), 'accesstokenurl' => new \moodle_url('https://lms.example.com/token'), 'setcomplete' => true, ]], ]
/enrol/lti/tests/local/ltiadvantage/repository/user_repository_test.php:2461$user2 = user::create($saveduser->get_resourceid( ), 999999, $saveduser->get_deploymentid( ), $saveduser->get_sourceid( ), $saveduser->get_lang( ), $saveduser->get_timezone( ), '', '', '', null, null, null, null, $saveduser->get_id( ))
/enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php:3282$tooldata = ['cmid' => $mod->cmid, 'courseid' => $course->id, 'membersyncmode' => $membersyncmode, 'membersync' => $membersync, 'gradesync' => $gradesync, 'gradesynccompletion' => $gradesynccompletion, 'ltiversion' => 'LTI-1p3', 'enrolstartdate' => $enrolstartdate, 'provisioningmodeinstructor' => $provisioningmodeinstructor ?: auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING, 'provisioningmodelearner' => $provisioningmodelearner ?: auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY]
/enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php:3441$tooldata = ['courseid' => $course->id, 'membersyncmode' => $membersyncmode, 'membersync' => $membersync, 'gradesync' => $gradesync, 'gradesynccompletion' => $gradesynccompletion, 'ltiversion' => 'LTI-1p3', 'enrolstartdate' => $enrolstartdate, 'provisioningmodeinstructor' => $provisioningmodeinstructor ?: auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING, 'provisioningmodelearner' => $provisioningmodelearner ?: auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY]
/enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php:1531$data = ['iss' => $this->issuer, 'aud' => $aud, 'sub' => $mockuser['user_id'], 'exp' => time( ) + 60, 'nonce' => 'some-nonce-value-123', 'https://purl.imsglobal.org/spec/lti/claim/deployment_id' => '1', 'https://purl.imsglobal.org/spec/lti/claim/roles' => $mockuser['roles'] ?? ['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor'], 'https://purl.imsglobal.org/spec/lti/claim/resource_link' => ['title' => $rltitle, 'id' => $rlid, ], "https://purl.imsglobal.org/spec/lti/claim/context" => ["id" => "context-id-12345", "label" => "ITS 123", "title" => "ITS 123 Machine Learning", "type" => ["http://purl.imsglobal.org/vocab/lis/v2/course#CourseOffering"]], 'https://purl.imsglobal.org/spec/lti/claim/target_link_uri' => 'https://this-moodle-tool.example.org/context/24/resource/14', 'given_name' => $mockuser['given_name'], 'family_name' => $mockuser['family_name'], 'email' => $mockuser['email'], ]
/enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php:3102$tooldata = ['cmid' => $mod->cmid, 'courseid' => $course->id, 'membersyncmode' => $membersyncmode, 'membersync' => $membersync, 'gradesync' => $gradesync, 'gradesynccompletion' => $gradesynccompletion, 'ltiversion' => 'LTI-1p3', 'enrolstartdate' => $enrolstartdate, 'provisioningmodeinstructor' => $provisioningmodeinstructor ?: auth_plugin_lti::PROVISIONING_MODE_PROMPT_NEW_EXISTING, 'provisioningmodelearner' => $provisioningmodelearner ?: auth_plugin_lti::PROVISIONING_MODE_AUTO_ONLY]
/enrol/lti/tests/data_connector_test.php:1212$data = ['name' => 'TestName', 'secret' => 'TestSecret', 'ltiversion' => ToolProvider::LTI_VERSION1, 'consumername' => 'TestConsumerName', 'consumerversion' => 'TestConsumerVersion', 'consumerguid' => 'TestConsumerGuid', 'profile' => json_decode('{TestProfile}'), 'toolproxy' => 'TestProxy', 'settings' => ['setting1' => 'TestSetting 1', 'setting2' => 'TestSetting 2'], 'protected' => 1, 'enabled' => 0, 'enablefrom' => $time, 'enableuntil' => $time + 1, 'lastaccess' => strtotime(date('Y-m-d')), ]
/enrol/lti/tests/local/ltiadvantage/lti_advantage_testcase.php:491$mockjwt = ['iss' => $this->issuer, 'sub' => $sub, 'https://purl.imsglobal.org/spec/lti/claim/deployment_id' => '1222', 'aud' => '123', 'exp' => time( ) + 60, 'nonce' => 'some-nonce-value-123', 'given_name' => 'John', 'family_name' => 'Smith', 'email' => 'smithj@example.org']
/enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php:2101$ltiuser = $resourcelink->add_user($user->id, $launchdata->sub, $resource->lang, $resource->city ?? '', $resource->country ?? '', $resource->institution ?? '', $resource->timezone ?? '', $resource->maildisplay ?? null, )
/enrol/lti/tests/data_connector_test.php:632$data = ['name' => 'TestName', 'secret' => 'TestSecret', 'ltiversion' => ToolProvider::LTI_VERSION1, 'consumername' => 'TestConsumerName', 'consumerversion' => 'TestConsumerVersion', 'consumerguid' => 'TestConsumerGuid', 'profile' => json_decode('{TestProfile}'), 'toolproxy' => 'TestProxy', 'settings' => ['setting1' => 'TestSetting 1', 'setting2' => 'TestSetting 2'], 'protected' => 1, 'enabled' => 0, 'enablefrom' => $time, 'enableuntil' => $time + 1, 'lastaccess' => strtotime(date('Y-m-d')), ]
/enrol/lti/classes/local/ltiadvantage/lib/issuer_database.php:861return LtiRegistration::new( )->setAuthLoginUrl($reg->get_authenticationrequesturl( )->out(false))->setAuthTokenUrl($reg->get_accesstokenurl( )->out(false))->setClientId($reg->get_clientid( ))->setKeySetUrl($reg->get_jwksurl( )->out(false))->setKid($kid)->setIssuer($reg->get_platformid( )->out(false))->setToolPrivateKey($privatekey)
/enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php:881$data = ['platform' => $launchdata['iss'], 'clientid' => is_array($launchdata['aud']) ? $launchdata['aud'][0] : $launchdata['aud'], 'exp' => $launchdata['exp'], 'nonce' => $launchdata['nonce'], 'sub' => $launchdata['sub'], 'roles' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/roles'], 'deploymentid' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/deployment_id'], 'context' => !empty($launchdata['https://purl.imsglobal.org/spec/lti/claim/context']) ? $launchdata['https://purl.imsglobal.org/spec/lti/claim/context'] : null, 'resourcelink' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/resource_link'], 'targetlinkuri' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/target_link_uri'], 'custom' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/custom'] ?? null, 'launchid' => $launch->getLaunchId( ), 'user' => ['givenname' => !empty($launchdata['given_name']) ? $launchdata['given_name'] : null, 'familyname' => !empty($launchdata['family_name']) ? $launchdata['family_name'] : null, 'name' => !empty($launchdata['name']) ? $launchdata['name'] : null, 'email' => !empty($launchdata['email']) ? $launchdata['email'] : null, 'picture' => !empty($launchdata['picture']) ? $launchdata['picture'] : null, ], 'ags' => $launchdata['https://purl.imsglobal.org/spec/lti-ags/claim/endpoint'] ?? null, 'nrps' => $launchdata['https://purl.imsglobal.org/spec/lti-nrps/claim/namesroleservice'] ?? null, 'lti1p1' => $launchdata['https://purl.imsglobal.org/spec/lti/claim/lti1p1'] ?? null]
/enrol/lti/classes/local/ltiadvantage/task/sync_tool_grades.php:1591$ltigrade = LtiGrade::new( )->setScoreGiven($grade)->setScoreMaximum($grademax)->setUserId($user->get_sourceid( ))->setTimestamp(date(\DateTimeInterface::ISO8601, $dategraded))->setActivityProgress('Completed')->setGradingProgress('FullyGraded')
/enrol/lti/classes/local/ltiadvantage/task/sync_tool_grades.php:1691$lineitem = $ags->findOrCreateLineitem(new LtiLineitem(['label' => $this->get_line_item_label($resource, $context), 'scoreMaximum' => $grademax, 'tag' => 'grade', 'resourceId' => $userresourcelink->get_resourceid( ), 'resourceLinkId' => $userresourcelink->get_resourcelinkid( )]))
/enrol/lti/classes/local/ltiadvantage/table/published_resources_table.php:1151$data = ["rows" => [["label" => $launchurllabel, "text" => $launchurl->out(false), "id" => "launchurl", "hidelabel" => false], ["label" => $customparamslabel, "text" => $customparams, "id" => "customparams", "hidelabel" => false]]]
/enrol/lti/classes/local/ltiadvantage/repository/application_registration_repository.php:621$appreg = application_registration::create($record->name, $record->uniqueid, new \moodle_url($record->platformid), $record->clientid, new \moodle_url($record->authenticationrequesturl), new \moodle_url($record->jwksurl), new \moodle_url($record->accesstokenurl), $record->id)
/enrol/lti/classes/local/ltiadvantage/task/sync_members.php:3401$ltiuser = user::create($resourcelink->get_resourceid( ), $user->id, $resourcelink->get_deploymentid( ), $member['user_id'], $resource->lang, $resource->timezone, $resource->city ?? '', $resource->country ?? '', $resource->institution ?? '', $resource->maildisplay)
/enrol/lti/classes/local/ltiadvantage/table/published_resources_table.php:2332$icon = \html_writer::tag('a', $OUTPUT->pix_icon('enrolinstancewarning', get_string('deletedactivityalt', 'enrol_lti'), 'enrol_lti'), ["class" => "btn btn-link p-0", "role" => "button", "data-container" => "body", "data-toggle" => "popover", "data-placement" => right_to_left( ) ? "left" : "right", "data-content" => get_string('deletedactivitydescription', 'enrol_lti'), "data-html" => "true", "tabindex" => "0", "data-trigger" => "focus"])
/enrol/lti/classes/local/ltiadvantage/repository/user_repository.php:831return (object) ['id' => $user->get_localid( ), 'city' => $user->get_city( ), 'country' => $user->get_country( ), 'institution' => $user->get_institution( ), 'timezone' => $user->get_timezone( ), 'maildisplay' => $user->get_maildisplay( ), 'lang' => $user->get_lang( )]
/enrol/lti/classes/local/ltiadvantage/repository/user_repository.php:441return user::create($userrecord->toolid, $userrecord->localid, $userrecord->ltideploymentid, $userrecord->sourceid, $userrecord->lang, $userrecord->timezone, $userrecord->city, $userrecord->country, $userrecord->institution, $userrecord->maildisplay, $userrecord->lastgrade, $userrecord->lastaccess, $userrecord->resourcelinkid ?? null, (int) $userrecord->id)
/enrol/lti/classes/local/ltiadvantage/repository/published_resource_repository.php:391$publishedresource = new published_resource($record->name, $record->coursefullname, $record->courseid, $record->contextid, $record->id, $record->uuid, $record->supportsgrades, $record->grademax ?? null, $record->iscourse, )
/enrol/lti/classes/local/ltiadvantage/repository/user_repository.php:1011$record = ['toolid' => $user->get_resourceid( ), 'ltideploymentid' => $user->get_deploymentid( ), 'sourceid' => $user->get_sourceid( ), 'lastgrade' => $user->get_lastgrade( ), 'lastaccess' => $user->get_lastaccess( ), ]
/enrol/lti/classes/output/renderer.php:1771$deploymentscontext[] = ['name' => $deployment->get_deploymentname( ), 'deploymentid' => $deployment->get_deploymentid( ), 'deleteurl' => (new \moodle_url('/enrol/lti/manage_deployment.php', ['action' => 'delete', 'id' => $deployment->get_id( ), 'registrationid' => $registration->get_id( )]))->out(false)]
/enrol/lti/classes/output/renderer.php:1151$registrationscontext['registrations'][] = ['name' => $reg->get_name( ), 'issuer' => $reg->get_platformid( ), 'clientid' => $reg->get_clientid( ), 'hasdeployments' => $countdeployments > 0, 'countdeployments' => $countdeployments, 'isactive' => $reg->is_complete( ), 'statusstring' => $status, 'tooldetailsurl' => (new \moodle_url('/enrol/lti/register_platform.php', ['action' => 'view', 'regid' => $reg->get_id( ), 'tabselect' => 'tooldetails']))->out(false), 'platformdetailsurl' => (new \moodle_url('/enrol/lti/register_platform.php', ['action' => 'view', 'regid' => $reg->get_id( ), 'tabselect' => 'platformdetails']))->out(false), 'deploymentsurl' => (new \moodle_url('/enrol/lti/register_platform.php', ['action' => 'view', 'regid' => $reg->get_id( ), 'tabselect' => 'tooldeployments']))->out(false), 'deleteurl' => (new \moodle_url('/enrol/lti/register_platform.php', ['action' => 'delete', 'regid' => $reg->get_id( )]))->out(false)]
/enrol/lti/classes/local/ltiadvantage/repository/resource_link_repository.php:1091$record = ['id' => $resourcelink->get_id( ), 'resourcelinkid' => $resourcelink->get_resourcelinkid( ), 'ltideploymentid' => $resourcelink->get_deploymentid( ), 'resourceid' => $resourcelink->get_resourceid( ), 'lticontextid' => $resourcelink->get_contextid( ), 'lineitemsservice' => null, 'lineitemservice' => null, 'lineitemscope' => null, 'resultscope' => $gradeservice ? $gradeservice->get_resultscope( ) : null, 'scorescope' => $gradeservice ? $gradeservice->get_scorescope( ) : null, 'contextmembershipsurl' => $nrpservice ? $nrpservice->get_context_memberships_url( )->out(false) : null, 'nrpsserviceversions' => $nrpservice ? json_encode($nrpservice->get_service_versions( )) : null]
/enrol/lti/classes/output/renderer.php:1891$tcontext = ['tool_details_active' => $activetab == 'tooldetails', 'platform_details_active' => $activetab == 'platformdetails', 'tool_deployments_active' => $activetab == 'tooldeployments', 'back_url' => (new \moodle_url('/admin/settings.php', ['section' => 'enrolsettingslti_registrations']))->out(false), 'dynamic_registration_info' => get_string('registrationurlinfomessage', 'enrol_lti', get_docs_url('Publish_as_LTI_tool')), 'dynamic_registration_url' => ['name' => get_string('registrationurl', 'enrol_lti'), 'url' => $regurl, 'id' => uniqid( )], 'manual_registration_info' => get_string('endpointltiversionnotice', 'enrol_lti'), 'manual_registration_urls' => [['name' => get_string('toolurl', 'enrol_lti'), 'url' => $CFG->wwwroot . '/enrol/lti/launch.php', 'id' => uniqid( )], ['name' => get_string('loginurl', 'enrol_lti'), 'url' => $CFG->wwwroot . '/enrol/lti/login.php?id=' . $registration->get_uniqueid( ), 'id' => uniqid( )], ['name' => get_string('jwksurl', 'enrol_lti'), 'url' => $CFG->wwwroot . '/enrol/lti/jwks.php', 'id' => uniqid( )], ['name' => get_string('deeplinkingurl', 'enrol_lti'), 'url' => $CFG->wwwroot . '/enrol/lti/launch_deeplink.php', 'id' => uniqid( )], ], 'platform_details_info' => get_string('platformdetailsinfo', 'enrol_lti'), 'platform_details' => [['name' => get_string('registerplatform:name', 'enrol_lti'), 'value' => $registration->get_name( )], ['name' => get_string('registerplatform:platformid', 'enrol_lti'), 'value' => $registration->get_platformid( ) ?? '', ], ['name' => get_string('registerplatform:clientid', 'enrol_lti'), 'value' => $registration->get_clientid( ) ?? '', ], ['name' => get_string('registerplatform:authrequesturl', 'enrol_lti'), 'value' => $registration->get_authenticationrequesturl( ) ?? '', ], ['name' => get_string('registerplatform:jwksurl', 'enrol_lti'), 'value' => $registration->get_jwksurl( ) ?? '', ], ['name' => get_string('registerplatform:accesstokenurl', 'enrol_lti'), 'value' => $registration->get_accesstokenurl( ) ?? '', ]], 'edit_platform_details_url' => (new \moodle_url('/enrol/lti/register_platform.php', ['action' => 'edit', 'regid' => $registration->get_id( )]))->out(false), 'deployments_info' => get_string('deploymentsinfo', 'enrol_lti'), 'has_deployments' => !empty($deploymentscontext), 'tool_deployments' => $deploymentscontext, 'add_deployment_url' => (new \moodle_url('/enrol/lti/manage_deployment.php', ['action' => 'add', 'registrationid' => $registrationid]))->out(false)]
/enrol/lti/classes/manage_table.php:2081$linkparams = array('courseid' => $instance->courseid, 'id' => $instance->id, 'type' => $instance->enrol, 'legacy' => 1, 'returnurl' => new \moodle_url('/enrol/lti/index.php', array('courseid' => $this->courseid, 'legacy' => 1)))
/enrol/lti/classes/manage_table.php:1281$data = ["rows" => [["label" => $cartridgeurllabel, "text" => $cartridgeurl, "id" => "cartridgeurl", "hidelabel" => false], ["label" => $secretlabel, "text" => $secret, "id" => "secret", "hidelabel" => false], ["label" => $launchurllabel, "text" => $launchurl, "id" => "launchurl", "hidelabel" => false], ]]
/enrol/lti/classes/helper.php:5941return array("/cc:cartridge_basiclti_link" => array("/blti:title" => $title, "/blti:description" => $description, "/blti:extensions" => array("/lticm:property[@name='icon_url']" => $iconurl, "/lticm:property[@name='secure_icon_url']" => $secureiconurl), "/blti:launch_url" => $launchurl, "/blti:secure_launch_url" => $securelaunchurl, "/blti:icon" => $iconurl, "/blti:secure_icon" => $secureiconurl, "/blti:vendor" => array("/lticp:code" => $SITE->shortname, "/lticp:name" => $SITE->fullname, "/lticp:description" => trim(html_to_text($SITE->summary)), "/lticp:url" => $vendorurl)))
/enrol/lti/classes/manage_table.php:2652$icon = \html_writer::tag('a', $OUTPUT->pix_icon('enrolinstancewarning', get_string('deletedactivityalt', 'enrol_lti'), 'enrol_lti'), ["class" => "btn btn-link p-0", "role" => "button", "data-container" => "body", "data-toggle" => "popover", "data-placement" => right_to_left( ) ? "left" : "right", "data-content" => get_string('deletedactivitydescription', 'enrol_lti'), "data-html" => "true", "tabindex" => "0", "data-trigger" => "focus"])
/enrol/lti/configure.php:681$contentitem = Resource::new( )->setUrl($CFG->wwwroot . '/enrol/lti/launch.php')->setCustomParams(['id' => $resource->get_uuid( )])->setTitle($resource->get_name( ))
/enrol/lti/register_platform.php:1211return (object) ['id' => $registration->get_id( ), 'name' => $registration->get_name( ), 'platformid' => $registration->get_platformid( ), 'clientid' => $registration->get_clientid( ), 'authenticationrequesturl' => $registration->get_authenticationrequesturl( ), 'jwksurl' => $registration->get_jwksurl( ), 'accesstokenurl' => $registration->get_accesstokenurl( )]
/enrol/lti/classes/data_connector.php:1311$data = ['consumerkey256' => $key256, 'consumerkey' => $key, 'name' => $consumer->name, 'secret' => $consumer->secret, 'ltiversion' => $consumer->ltiVersion, 'consumername' => $consumer->consumerName, 'consumerversion' => $consumer->consumerVersion, 'consumerguid' => $consumer->consumerGuid, 'profile' => $profile, 'toolproxy' => $consumer->toolProxy, 'settings' => $settingsvalue, 'protected' => $protected, 'enabled' => $enabled, 'enablefrom' => $consumer->enableFrom, 'enableuntil' => $consumer->enableUntil, 'lastaccess' => $consumer->lastAccess, 'updated' => $consumer->updated, ]
/enrol/lti/classes/tool_provider.php:1131$requiredmessages = [new Message('basic-lti-launch-request', $toolpath, ['Context.id', 'CourseSection.title', 'CourseSection.label', 'CourseSection.sourcedId', 'CourseSection.longDescription', 'CourseSection.timeFrame.begin', 'ResourceLink.id', 'ResourceLink.title', 'ResourceLink.description', 'User.id', 'User.username', 'Person.name.full', 'Person.name.given', 'Person.name.family', 'Person.email.primary', 'Person.sourcedId', 'Person.name.middle', 'Person.address.street1', 'Person.address.locality', 'Person.address.country', 'Person.address.timezone', 'Person.phone.primary', 'Person.phone.mobile', 'Person.webaddress', 'Membership.role', 'Result.sourcedId', 'Result.autocreate'])]
/enrol/manual/tests/lib_test.php:7101return ['disabled, all the others are default' => ['expectation' => (object) ['status' => ENROL_INSTANCE_DISABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 30 * DAYSECS, 'expirynotify' => 1, 'notifyall' => 0, 'expirythreshold' => 2 * DAYSECS, ], 'update data' => (object) ['status' => ENROL_INSTANCE_DISABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 30 * DAYSECS, 'expirynotify' => 1, 'expirythreshold' => 2 * DAYSECS, ], ], 'enabled, teacher role, no duration set, notify no one on expiry, 0 notification threshold' => ['expectation' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $teacherrole->id, 'enrolperiod' => 0, 'expirynotify' => 0, 'notifyall' => 0, 'expirythreshold' => 0, ], 'update data' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $teacherrole->id, 'enrolperiod' => 0, 'expirynotify' => 0, 'expirythreshold' => 0, ], ], 'notify enroller and enrolled on expiry, all the others are default' => ['expectation' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 30 * DAYSECS, 'expirynotify' => 2, 'notifyall' => 1, 'expirythreshold' => 2 * DAYSECS, ], 'update data' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 30 * DAYSECS, 'expirynotify' => 2, 'expirythreshold' => 2 * DAYSECS, ], ], ]
/enrol/imsenterprise/tests/imsenterprise_unenrol_test.php:1951$users[] = (object) ['recstatus' => enrol_imsenterprise_plugin::IMSENTERPRISE_ADD, 'idnumber' => $usernumber, 'username' => 'UID' . $usernumber, 'email' => 'user' . $usernumber . '@moodle.org', 'firstname' => 'User' . $usernumber . ' firstname', 'lastname' => 'User' . $usernumber . ' lastname']
/enrol/lti/index.php:1151$tabs = [0 => [new tabobject('0', new moodle_url('/enrol/lti/index.php', ['courseid' => $courseid]), get_string('lti13', 'enrol_lti')), new tabobject('1', new moodle_url('/enrol/lti/index.php', ['legacy' => 1, 'courseid' => $courseid]), get_string('ltilegacy', 'enrol_lti')), ]]
/enrol/lti/register.php:1071$regrequest = (object) ['application_type' => 'web', 'grant_types' => ['client_credentials', 'implicit'], 'response_types' => ['id_token'], 'initiate_login_uri' => $CFG->wwwroot . '/enrol/lti/login.php?id=' . $draftreg->get_uniqueid( ), 'redirect_uris' => [$CFG->wwwroot . '/enrol/lti/launch.php', $CFG->wwwroot . '/enrol/lti/launch_deeplink.php', ], 'client_name' => format_string($SITE->fullname, true, ['context' => system::instance( )]), 'jwks_uri' => $CFG->wwwroot . '/enrol/lti/jwks.php', 'logo_uri' => $OUTPUT->get_compact_logo_url( ) ? $OUTPUT->get_compact_logo_url( )->out(false) : '', 'token_endpoint_auth_method' => 'private_key_jwt', 'scope' => implode(" ", $scopes), 'https://purl.imsglobal.org/spec/lti-tool-configuration' => ['domain' => $parsed['host'], 'target_link_uri' => $CFG->wwwroot . '/enrol/lti/launch.php', 'custom_parameters' => [ ], 'claims' => ['iss', 'sub', 'aud', 'given_name', 'family_name', 'email', 'picture', ], 'messages' => [(object) ['type' => 'LtiDeepLinkingRequest', 'allowLearner' => false, 'target_link_uri' => $CFG->wwwroot . '/enrol/lti/launch_deeplink.php', 'label' => get_string('registrationdeeplinklabel', 'enrol_lti', $sitefullname), 'placements' => ["ContentArea"], ], (object) ['type' => 'LtiResourceLinkRequest', 'allowLearner' => true, 'target_link_uri' => $CFG->wwwroot . '/enrol/lti/launch.php', 'label' => get_string('registrationresourcelinklabel', 'enrol_lti', $sitefullname), 'placements' => ["ContentArea"], ], ]]]
/enrol/manual/externallib.php:441return new external_function_parameters(array('enrolments' => new external_multiple_structure(new external_single_structure(array('roleid' => new external_value(PARAM_INT, 'Role to assign to the user'), 'userid' => new external_value(PARAM_INT, 'The user that is going to be enrolled'), 'courseid' => new external_value(PARAM_INT, 'The course to enrol the user role in'), 'timestart' => new external_value(PARAM_INT, 'Timestamp when the enrolment start', VALUE_OPTIONAL), 'timeend' => new external_value(PARAM_INT, 'Timestamp when the enrolment end', VALUE_OPTIONAL), 'suspend' => new external_value(PARAM_INT, 'set to 1 to suspend the enrolment', VALUE_OPTIONAL))))))
/enrol/manual/externallib.php:1581return new external_function_parameters(array('enrolments' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'The user that is going to be unenrolled'), 'courseid' => new external_value(PARAM_INT, 'The course to unenrol the user from'), 'roleid' => new external_value(PARAM_INT, 'The user role', VALUE_OPTIONAL), )))))
/enrol/manual/classes/enrol_users_form.php:901$options = array('ajax' => 'enrol_manual/form-potential-user-selector', 'multiple' => true, 'courseid' => $course->id, 'enrolid' => $instance->id, 'perpage' => $CFG->maxusersperpage, 'userfields' => implode(',', \core_user\fields::get_identity_fields($context, true)))
/enrol/manual/tests/lib_test.php:5961return ['enabled, student role, no duration set, notify no one on expiry, 12 hours notification threshold' => ['expectation' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 0, 'expirynotify' => 0, 'notifyall' => 0, 'expirythreshold' => 12 * HOURSECS, ], 'global settings' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 0, 'expirynotify' => 0, 'expirythreshold' => 12 * HOURSECS, ], ], 'enabled, student role, 72 hours duration, notify enroller only on expiry, 1 day notification threshold' => ['expectation' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 72 * HOURSECS, 'expirynotify' => 1, 'notifyall' => 0, 'expirythreshold' => DAYSECS, ], 'global settings' => (object) ['status' => ENROL_INSTANCE_ENABLED, 'roleid' => $studentrole->id, 'enrolperiod' => 72 * HOURSECS, 'expirynotify' => 1, 'expirythreshold' => DAYSECS, ], ], 'disabled, teacher role, no duration set, notify enroller and enrolled on expiry, 0 notification threshold' => ['expectation' => (object) ['status' => ENROL_INSTANCE_DISABLED, 'roleid' => $teacherrole->id, 'enrolperiod' => 0, 'expirynotify' => 2, 'notifyall' => 1, 'expirythreshold' => 0], 'global settings' => (object) ['status' => ENROL_INSTANCE_DISABLED, 'roleid' => $teacherrole->id, 'enrolperiod' => 0, 'expirynotify' => 2, 'expirythreshold' => 0, ], ], ]
/enrol/meta/classes/external/add_instances.php:1541return new external_multiple_structure(new external_single_structure(['metacourseid' => new external_value(PARAM_INT, 'ID of the course where meta enrolment is added.'), 'courseid' => new external_value(PARAM_RAW, 'ID of the course where meta enrolment is linked to.'), 'status' => new external_value(PARAM_BOOL, 'True on success, false if link already exists.'), ]), 'List of course meta enrolment instances that were created.', VALUE_DEFAULT, [ ])
/enrol/meta/tests/plugin_test.php:8041$expectedenrolments = array($user1->id => array(0, 0, ENROL_USER_ACTIVE), $user2->id => array($timeinpast, 0, ENROL_USER_ACTIVE), $user3->id => array(0, $timeinfuture, ENROL_USER_ACTIVE), $user4->id => array($timeinpast, $timeinfuture, ENROL_USER_ACTIVE), $user5->id => array(0, 0, ENROL_USER_SUSPENDED), )
/enrol/manual/locallib.php:2711$event = \core\event\user_enrolment_updated::create(array('objectid' => $enrolment->id, 'courseid' => $enrolment->courseid, 'context' => context_course::instance($enrolment->courseid), 'relateduserid' => $user->id, 'other' => array('enrol' => 'manual')))
/enrol/manual/lib.php:1311$fields = array('status' => $this->get_config('status'), 'roleid' => $this->get_config('roleid', 0), 'enrolperiod' => $this->get_config('enrolperiod', 0), 'expirynotify' => $expirynotify, 'notifyall' => $expirynotify == 2 ? 1 : 0, 'expirythreshold' => $this->get_config('expirythreshold', 86400), )
/grade/grading/form/guide/tests/generator/criterion.php:1061return ['sortorder' => $sortorder, 'shortname' => $this->get_shortname( ), 'description' => $this->get_description( ), 'descriptionmarkers' => $this->get_descriptionmarkers( ), 'maxscore' => $this->get_maxscore( ), ]
/grade/grading/form/guide/tests/generator/guide.php:711return (object) ['name' => $this->name, 'description_editor' => ['text' => $this->description, 'format' => FORMAT_HTML, 'itemid' => 1], 'guide' => ['criteria' => $this->get_critiera_as_array( ), 'options' => $this->options, 'comments' => [ ], ], 'saveguide' => 'Continue', 'status' => gradingform_controller::DEFINITION_STATUS_READY, ]
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php:2311return ['templatename' => 'gradingform_guide/grades/grader/gradingpanel', 'hasgrade' => $hasgrade, 'grade' => ['instanceid' => $instance->get_id( ), 'criterion' => $criterion, 'hascomments' => !empty($comments), 'comments' => $comments, 'usergrade' => $grade->usergrade, 'maxgrade' => $maxgrade, 'gradedby' => $gradername, 'timecreated' => $grade->timecreated, 'timemodified' => $grade->timemodified, ], 'warnings' => [ ], ]
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php:2561return new external_single_structure(['templatename' => new external_value(PARAM_SAFEPATH, 'The template to use when rendering this data'), 'hasgrade' => new external_value(PARAM_BOOL, 'Does the user have a grade?'), 'grade' => new external_single_structure(['instanceid' => new external_value(PARAM_INT, 'The id of the current grading instance'), 'criterion' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'The id of the criterion'), 'name' => new external_value(PARAM_RAW, 'The name of the criterion'), 'maxscore' => new external_value(PARAM_FLOAT, 'The maximum score for this criterion'), 'description' => new external_value(PARAM_RAW, 'The description of the criterion'), 'descriptionmarkers' => new external_value(PARAM_RAW, 'The description of the criterion for markers'), 'score' => new external_value(PARAM_FLOAT, 'The current score for user being assessed', VALUE_OPTIONAL), 'remark' => new external_value(PARAM_RAW, 'Any remarks for this criterion for the user being assessed', VALUE_OPTIONAL), ]), 'The criterion by which this item will be graded'), 'hascomments' => new external_value(PARAM_BOOL, 'Whether there are any frequently-used comments'), 'comments' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Comment id'), 'sortorder' => new external_value(PARAM_INT, 'The sortorder of this comment'), 'description' => new external_value(PARAM_RAW, 'The comment value'), ]), 'Frequently used comments'), 'usergrade' => new external_value(PARAM_RAW, 'Current user grade'), 'maxgrade' => new external_value(PARAM_RAW, 'Max possible grade'), 'gradedby' => new external_value(PARAM_RAW, 'The assumed grader of this grading instance'), 'timecreated' => new external_value(PARAM_INT, 'The time that the grade was created'), 'timemodified' => new external_value(PARAM_INT, 'The time that the grade was last updated'), ]), 'warnings' => new external_warnings( ), ])
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/store.php:584return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), 'notifyuser' => new external_value(PARAM_BOOL, 'Wheteher to notify the user or not', VALUE_DEFAULT, false), 'formdata' => new external_value(PARAM_RAW, 'The serialised form data representing the grade', VALUE_REQUIRED), ])
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php:614return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), ])
/grade/grading/form/rubric/lib.php:6941$rubric_criteria = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'criterion id', VALUE_OPTIONAL), 'sortorder' => new external_value(PARAM_INT, 'sortorder', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_OPTIONAL), 'levels' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'level id', VALUE_OPTIONAL), 'score' => new external_value(PARAM_FLOAT, 'score', VALUE_OPTIONAL), 'definition' => new external_value(PARAM_RAW, 'definition', VALUE_OPTIONAL), 'definitionformat' => new external_format_value('definition', VALUE_OPTIONAL))), 'levels', VALUE_OPTIONAL))), 'definition details', VALUE_OPTIONAL)
/grade/grading/form/rubric/lib.php:7261$criteria = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'filling id'), 'criterionid' => new external_value(PARAM_INT, 'criterion id'), 'levelid' => new external_value(PARAM_INT, 'level id', VALUE_OPTIONAL), 'remark' => new external_value(PARAM_RAW, 'remark', VALUE_OPTIONAL), 'remarkformat' => new external_format_value('remark', VALUE_OPTIONAL))), 'filling', VALUE_OPTIONAL)
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php:2721return new external_single_structure(['templatename' => new external_value(PARAM_SAFEPATH, 'The template to use when rendering this data'), 'hasgrade' => new external_value(PARAM_BOOL, 'Does the user have a grade?'), 'grade' => new external_single_structure(['instanceid' => new external_value(PARAM_INT, 'The id of the current grading instance'), 'rubricmode' => new external_value(PARAM_RAW, 'The mode i.e. evaluate editable'), 'canedit' => new external_value(PARAM_BOOL, 'Can the user edit this'), 'criteria' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the Criteria'), 'description' => new external_value(PARAM_RAW, 'Description of the Criteria'), 'remark' => new external_value(PARAM_RAW, 'Any remarks for this criterion for the user being assessed', VALUE_OPTIONAL), 'levels' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of level'), 'criterionid' => new external_value(PARAM_INT, 'ID of the criterion this matches to'), 'score' => new external_value(PARAM_RAW, 'What this level is worth'), 'definition' => new external_value(PARAM_RAW, 'Definition of the level'), 'checked' => new external_value(PARAM_BOOL, 'Selected flag'), ])), ])), 'timecreated' => new external_value(PARAM_INT, 'The time that the grade was created'), 'usergrade' => new external_value(PARAM_RAW, 'Current user grade'), 'maxgrade' => new external_value(PARAM_RAW, 'Max possible grade'), 'gradedby' => new external_value(PARAM_RAW, 'The assumed grader of this grading instance'), 'timemodified' => new external_value(PARAM_INT, 'The time that the grade was last updated'), ]), 'warnings' => new external_warnings( ), ])
/grade/grading/form/rubric/tests/generator/rubric.php:771return (object) ['name' => $this->name, 'description_editor' => ['text' => $this->description, 'format' => FORMAT_HTML, 'itemid' => 1], 'rubric' => ['criteria' => $this->get_all_criterion_values( ), 'options' => $this->options, ], 'saverubric' => 'Save rubric and make it ready', 'status' => gradingform_controller::DEFINITION_STATUS_READY, ]
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php:2061$result = ['id' => $level['id'], 'criterionid' => $criterion['id'], 'score' => $level['score'], 'definition' => self::get_formatted_text($context, $definitionid, 'definition', $level['definition'], (int) $level['definitionformat']), 'checked' => null, ]
/grade/grading/form/rubric/classes/grades/grader/gradingpanel/external/fetch.php:2461return ['templatename' => 'gradingform_rubric/grades/grader/gradingpanel', 'hasgrade' => $hasgrade, 'grade' => ['instanceid' => $instance->get_id( ), 'criteria' => $criterion, 'rubricmode' => 'evaluate editable', 'teacherdescription' => $teacherdescription, 'canedit' => false, 'usergrade' => $grade->usergrade, 'maxgrade' => $maxgrade, 'gradedby' => $gradername, 'timecreated' => $grade->timecreated, 'timemodified' => $grade->timemodified, ], 'warnings' => [ ], ]
/grade/classes/grades/grader/gradingpanel/scale/external/store.php:554return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), 'notifyuser' => new external_value(PARAM_BOOL, 'Wheteher to notify the user or not', VALUE_DEFAULT, false), 'formdata' => new external_value(PARAM_RAW, 'The serialised form data representing the grade', VALUE_REQUIRED), ])
/grade/classes/grades/grader/gradingpanel/scale/external/fetch.php:584return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), ])
/grade/grading/classes/privacy/provider.php:2941$tmpdata = ['method' => $definition->method, 'name' => $definition->name, 'description' => $definition->description, 'timecreated' => transform::datetime($definition->timecreated), 'usercreated' => transform::user($definition->usercreated), 'timemodified' => transform::datetime($definition->timemodified), 'usermodified' => transform::user($definition->usermodified), ]
/grade/grading/tests/privacy/provider_test.php:4851$fakedefinition1 = (object) array('areaid' => $fakeareaid1, 'method' => 'test_method', 'name' => $defnameprefix . '1', 'status' => 0, 'timecreated' => $now, 'usercreated' => $this->user1->id, 'timemodified' => $now + 1, 'usermodified' => $this->user1->id, )
/grade/lib.php:17791return html_writer::link('', $title, ['class' => 'dropdown-item', 'aria-label' => $title, 'role' => 'menuitem', 'data-modal' => 'confirmation', 'data-modal-title-str' => json_encode(['confirm', 'core']), 'data-modal-content-str' => json_encode(['deletecheck', '', $element['object']->get_name( )]), 'data-modal-yes-button-str' => json_encode(['delete', 'core']), 'data-modal-destination' => $deleteconfirmationurl->out(false), ])
/grade/lib.php:15531$url = new moodle_url('/mod/' . $item->itemmodule . '/grade.php', array('id' => $cm->id, 'itemid' => $item->id, 'itemnumber' => $item->itemnumber, 'gradeid' => $grade->id, 'userid' => $grade->userid, ))
/grade/renderer.php:2011$headingdata['buttons'][] = ['title' => get_string($contacttitle, 'message'), 'url' => (new moodle_url('/message/index.php', ['user1' => $USER->id, 'user2' => $user->id, $contacturlaction => $user->id, 'sesskey' => sesskey( )]))->out(false), 'icon' => ['name' => $contacticon, 'component' => 'core'], 'linkattributes' => $togglecontactlinkattributes]
/grade/renderer.php:1771$headingdata['buttons'][] = ['title' => get_string('message', 'message'), 'url' => (new moodle_url('/message/index.php', ['id' => $user->id]))->out(false), 'icon' => ['name' => 't/message', 'component' => 'core'], 'linkattributes' => $messagelinkattributes]
/grade/lib.php:34611self::$pluginstrings = array('report' => get_string('view'), 'scale' => get_string('scales'), 'outcome' => get_string('outcomes', 'grades'), 'letter' => get_string('letters', 'grades'), 'export' => get_string('export', 'grades'), 'import' => get_string('import'), 'settings' => get_string('edittree', 'grades'))
/grade/lib.php:19681return html_writer::link($url, $title, ['class' => 'dropdown-item', 'aria-label' => $title, 'role' => 'menuitem', 'data-gprplugin' => $gpr->plugin, 'data-courseid' => $this->courseid, 'data-category' => $object->id, 'data-trigger' => 'add-category-form'])
/grade/lib.php:19561return html_writer::link($url, get_string('itemsedit', 'grades'), ['class' => 'dropdown-item', get_string('itemsedit', 'grades'), 'role' => 'menuitem', 'data-gprplugin' => $gpr->plugin, 'data-courseid' => $this->courseid, 'data-itemid' => $object->id, 'data-trigger' => 'add-outcome-form'])
/grade/lib.php:19471return html_writer::link($url, get_string('itemsedit', 'grades'), ['class' => 'dropdown-item', 'aria-label' => get_string('itemsedit', 'grades'), 'role' => 'menuitem', 'data-gprplugin' => $gpr->plugin, 'data-courseid' => $this->courseid, 'data-itemid' => $object->id, 'data-trigger' => 'add-item-form'])
/grade/grading/form/guide/lib.php:6961$guide_comments = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'criterion id', VALUE_OPTIONAL), 'sortorder' => new external_value(PARAM_INT, 'sortorder', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_OPTIONAL))), 'comments', VALUE_OPTIONAL)
/grade/grading/form/guide/lib.php:6821$guide_criteria = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'criterion id', VALUE_OPTIONAL), 'sortorder' => new external_value(PARAM_INT, 'sortorder', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_OPTIONAL), 'shortname' => new external_value(PARAM_TEXT, 'description'), 'descriptionmarkers' => new external_value(PARAM_RAW, 'markers description', VALUE_OPTIONAL), 'descriptionmarkersformat' => new external_format_value('descriptionmarkers', VALUE_OPTIONAL), 'maxscore' => new external_value(PARAM_FLOAT, 'maximum score'))))
/grade/lib.php:36611self::$letterinfo = array('view' => new grade_plugin_info('view', new moodle_url('/grade/edit/letter/index.php', array('id' => $context->id)), get_string('view')), 'edit' => new grade_plugin_info('edit', new moodle_url('/grade/edit/letter/index.php', $param), get_string('edit')))
/grade/lib.php:34811self::$aggregationstrings = array(GRADE_AGGREGATE_MEAN => get_string('aggregatemean', 'grades'), GRADE_AGGREGATE_WEIGHTED_MEAN => get_string('aggregateweightedmean', 'grades'), GRADE_AGGREGATE_WEIGHTED_MEAN2 => get_string('aggregateweightedmean2', 'grades'), GRADE_AGGREGATE_EXTRACREDIT_MEAN => get_string('aggregateextracreditmean', 'grades'), GRADE_AGGREGATE_MEDIAN => get_string('aggregatemedian', 'grades'), GRADE_AGGREGATE_MIN => get_string('aggregatemin', 'grades'), GRADE_AGGREGATE_MAX => get_string('aggregatemax', 'grades'), GRADE_AGGREGATE_MODE => get_string('aggregatemode', 'grades'), GRADE_AGGREGATE_SUM => get_string('aggregatesum', 'grades'))
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php:1751$result = ['id' => $criterion['id'], 'name' => $criterion['shortname'], 'maxscore' => $criterion['maxscore'], 'description' => self::get_formatted_text($context, $definitionid, 'description', $criterion['description'], (int) $criterion['descriptionformat']), 'descriptionmarkers' => self::get_formatted_text($context, $definitionid, 'descriptionmarkers', $criterion['descriptionmarkers'], (int) $criterion['descriptionmarkersformat']), 'score' => null, 'remark' => null, ]
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/fetch.php:624return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), ])
/grade/grading/form/guide/classes/grades/grader/gradingpanel/external/store.php:594return new external_function_parameters(['component' => new external_value(PARAM_ALPHANUMEXT, 'The name of the component', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The ID of the context being graded', VALUE_REQUIRED), 'itemname' => new external_value(PARAM_ALPHANUM, 'The grade item itemname being graded', VALUE_REQUIRED), 'gradeduserid' => new external_value(PARAM_INT, 'The ID of the user show', VALUE_REQUIRED), 'notifyuser' => new external_value(PARAM_BOOL, 'Wheteher to notify the user or not', VALUE_DEFAULT, false), 'formdata' => new external_value(PARAM_RAW, 'The serialised form data representing the grade', VALUE_REQUIRED), ])
/grade/grading/form/guide/lib.php:7181$criteria = new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'filling id'), 'criterionid' => new external_value(PARAM_INT, 'criterion id'), 'levelid' => new external_value(PARAM_INT, 'level id', VALUE_OPTIONAL), 'remark' => new external_value(PARAM_RAW, 'remark', VALUE_OPTIONAL), 'remarkformat' => new external_format_value('remark', VALUE_OPTIONAL), 'score' => new external_value(PARAM_FLOAT, 'maximum score'))), 'filling', VALUE_OPTIONAL)
/contentbank/classes/content.php:3091$filerecord = ['contextid' => $this->get_contextid( ), 'component' => 'contentbank', 'filearea' => 'public', 'itemid' => $this->get_id( ), 'filepath' => '/', 'filename' => $file->get_filename( ), 'timecreated' => time( ), ]
/contentbank/classes/contenttype.php:1631$event = contentbank_content_deleted::create(['objectid' => $content->get_id( ), 'relateduserid' => $record->usercreated, 'context' => \context::instance_by_id($record->contextid), 'other' => ['contenttype' => $content->get_content_type( ), 'name' => $content->get_name( )]])
/contentbank/classes/contenttype.php:2592$url = \moodle_url::make_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $file->get_itemid( ), $file->get_filepath( ), $file->get_filename( ))
/contentbank/classes/privacy/provider.php:2011$data[] = (object) ['name' => $content->name, 'contenttype' => $content->contenttype, 'usercreated' => transform::user($content->usercreated), 'usermodified' => transform::user($content->usermodified), 'timecreated' => transform::datetime($content->timecreated), 'timemodified' => transform::datetime($content->timemodified)]
/contentbank/classes/output/viewcontent.php:1311$options[get_string('delete')] = ['data-action' => 'deletecontent', 'data-contentname' => $this->content->get_name( ), 'data-uses' => count($this->content->get_uses( )), 'data-contentid' => $this->content->get_id( ), 'data-contextid' => $this->content->get_contextid( ), 'class' => 'text-danger', ]
/contentbank/classes/output/bankcontent.php:1031$contentdata[] = array('name' => $name, 'title' => strtolower($name), 'link' => $contenttype->get_view_url($content), 'icon' => $contenttype->get_icon($content), 'uses' => count($content->get_uses( )), 'timemodified' => $content->get_timemodified( ), 'bytes' => $filesize, 'size' => display_size($filesize), 'type' => $mimetype, 'author' => fullname($author), 'visibilityunlisted' => $content->get_visibility( ) == content::VISIBILITY_UNLISTED)
/contentbank/tests/contenttype_test.php:1972$dummy = ['contextid' => context_user::instance($USER->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => 1, 'filepath' => '/', 'filename' => 'file.h5p', 'userid' => $USER->id, ]
/contentbank/tests/contenttype_test.php:2622$dummy = ['contextid' => context_user::instance($USER->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => 1, 'filepath' => '/', 'filename' => 'error.txt', 'userid' => $USER->id, ]
/contentbank/tests/contenttype_test.php:3052$dummy = ['contextid' => context_user::instance($USER->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => 1, 'filepath' => '/', 'filename' => 'file.h5p', 'userid' => $USER->id, ]
/contentbank/tests/contenttype_test.php:3482$dummy = ['contextid' => context_user::instance($USER->id)->id, 'component' => 'user', 'filearea' => 'draft', 'itemid' => 1, 'filepath' => '/', 'filename' => 'error.txt', 'userid' => $USER->id, ]
/contentbank/tests/contenttype_test.php:4532return ['Standard name' => ['New name', 'New name', true], 'Name with digits' => ['Today is 17/04/2017', 'Today is 17/04/2017', true], 'Name with symbols' => ['Follow us: @moodle', 'Follow us: @moodle', true], 'Name with tags' => ['This is <b>bold</b>', 'This is bold', true], 'Long name' => [str_repeat('a', 100), str_repeat('a', 100), true], 'Too long name' => [str_repeat('a', 300), str_repeat('a', 255), true], 'Empty name' => ['', 'Test content ', false], 'Blanks only' => [' ', 'Test content ', false], 'Zero name' => ['0', '0', true], ]
/contentbank/tests/content_test.php:781return ['Standard name' => ['New name', 'New name'], 'Name with digits' => ['Today is 17/04/2017', 'Today is 17/04/2017'], 'Name with symbols' => ['Follow us: @moodle', 'Follow us: @moodle'], 'Name with tags' => ['This is <b>bold</b>', 'This is bold'], 'Long name' => [str_repeat('a', 100), str_repeat('a', 100)], 'Too long name' => [str_repeat('a', 300), str_repeat('a', 255)], 'Empty name' => ['', 'Old name'], 'Blanks only' => [' ', 'Old name'], ]
/contentbank/tests/content_test.php:3891$cbrecord = array('contextid' => $cbfile->get_contextid( ), 'component' => $cbfile->get_component( ), 'filearea' => $cbfile->get_filearea( ), 'itemid' => $cbfile->get_itemid( ), 'filepath' => $cbfile->get_filepath( ), 'filename' => $cbfile->get_filename( ), )
/contentbank/tests/external/rename_content_test.php:542return ['Standard name' => ['New name', 'New name', true], 'Name with digits' => ['Today is 17/04/2017', 'Today is 17/04/2017', true], 'Name with symbols' => ['Follow us: @moodle', 'Follow us: @moodle', true], 'Name with tags' => ['This is <b>bold</b>', 'This is bold', true], 'Long name' => [str_repeat('a', 100), str_repeat('a', 100), true], 'Too long name' => [str_repeat('a', 300), str_repeat('a', 255), true], 'Empty name' => ['', 'Test content ', false], 'Blanks only' => [' ', 'Test content ', false], 'Zero name' => ['0', '0', true], ]
/contentbank/contenttype/h5p/classes/form/editor.php:1651$pathnamehash = \file_storage::get_pathname_hash($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), $updatedfilerecord->itemid, $file->get_filepath( ), $file->get_filename( ))
/grade/renderer.php:1641$headingdata = ['userprofileurl' => (new moodle_url('/user/view.php', ['id' => $user->id, 'course' => $courseid]))->out(false), 'name' => fullname($user), 'image' => $this->user_picture($user, ['size' => 50, 'link' => false])]
/user/tests/table/participants_search_test.php:15491$tests = ['Users with different enrolment statuses' => (object) ['users' => ['a' => ['status' => ['manual' => ENROL_USER_ACTIVE, ]], 'b' => ['status' => ['self' => ENROL_USER_ACTIVE, ]], 'c' => ['status' => ['manual' => ENROL_USER_SUSPENDED, ]], 'd' => ['status' => ['self' => ENROL_USER_SUSPENDED, ]], 'e' => ['status' => ['manual' => ENROL_USER_ACTIVE, 'self' => ENROL_USER_SUSPENDED, ]], ], 'expect' => ['ANY: No filter' => (object) ['status' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ANY: Filter on active only' => (object) ['status' => [ENROL_USER_ACTIVE], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'e', ], ], 'ANY: Filter on suspended only' => (object) ['status' => [ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ANY: Filter on multiple statuses' => (object) ['status' => [ENROL_USER_ACTIVE, ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ALL: No filter' => (object) ['status' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ALL: Filter on active only' => (object) ['status' => [ENROL_USER_ACTIVE], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['a', 'b', 'e', ], ], 'ALL: Filter on suspended only' => (object) ['status' => [ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ALL: Filter on multiple statuses' => (object) ['status' => [ENROL_USER_ACTIVE, ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['e', ], ], 'NONE: No filter' => (object) ['status' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'NONE: Filter on active only' => (object) ['status' => [ENROL_USER_ACTIVE], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'NONE: Filter on suspended only' => (object) ['status' => [ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'b', 'e', ], ], 'NONE: Filter on multiple statuses' => (object) ['status' => [ENROL_USER_ACTIVE, ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], ], ], ]
/user/tests/table/participants_search_test.php:14611$finaltests["{$testname} => {$expectname}"] = ['users' => $testdata->users, 'keywords' => $expectdata->keywords, 'jointype' => $expectdata->jointype, 'count' => $expectdata->count, 'expectedusers' => $expectdata->expectedusers, 'asuser' => $expectdata->asuser ?? '']
/user/tests/table/participants_search_test.php:20281$tests = ['Users in different groups' => (object) ['groupsavailable' => ['groupa', 'groupb', 'groupc', ], 'users' => ['a' => ['groups' => ['groupa'], ], 'b' => ['groups' => ['groupb'], ], 'c' => ['groups' => ['groupa', 'groupb'], ], 'd' => ['groups' => [ ], ], ], 'expect' => ['ANY: No filter' => (object) ['groups' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'ANY: Filter on a single group' => (object) ['groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: Filter on a group with no members' => (object) ['groups' => ['groupc'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 0, 'expectedusers' => [ ], ], 'ANY: Filter on multiple groups' => (object) ['groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ANY: Filter on members of no groups only' => (object) ['groups' => ['nogroups'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['d', ], ], 'ANY: Filter on a single group or no groups' => (object) ['groups' => ['groupa', 'nogroups'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'c', 'd', ], ], 'ANY: Filter on multiple groups or no groups' => (object) ['groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'ALL: No filter' => (object) ['groups' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'ALL: Filter on a single group' => (object) ['groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: Filter on a group with no members' => (object) ['groups' => ['groupc'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on members of no groups only' => (object) ['groups' => ['nogroups'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['d', ], ], 'ALL: Filter on multiple groups' => (object) ['groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['c', ], ], 'ALL: Filter on a single group and no groups' => (object) ['groups' => ['groupa', 'nogroups'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on multiple groups and no groups' => (object) ['groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: No filter' => (object) ['groups' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'NONE: Filter on a single group' => (object) ['groups' => ['groupa'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['b', 'd', ], ], 'NONE: Filter on a group with no members' => (object) ['groups' => ['groupc'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'NONE: Filter on members of no groups only' => (object) ['groups' => ['nogroups'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'NONE: Filter on multiple groups' => (object) ['groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['d', ], ], 'NONE: Filter on a single group and no groups' => (object) ['groups' => ['groupa', 'nogroups'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['b', ], ], 'NONE: Filter on multiple groups and no groups' => (object) ['groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], ], ], ]
/user/tests/table/participants_search_test.php:18041$tests = ['Users with different enrolment methods' => (object) ['users' => ['a' => ['enrolmethods' => ['manual', ]], 'b' => ['enrolmethods' => ['self', ]], 'c' => ['enrolmethods' => ['manual', 'self', ]], ], 'expect' => ['ANY: No filter' => (object) ['enrolmethods' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ANY: Filter by manual enrolments only' => (object) ['enrolmethods' => ['manual'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: Filter by self enrolments only' => (object) ['enrolmethods' => ['self'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['b', 'c', ], ], 'ANY: Filter by multiple enrolment methods' => (object) ['enrolmethods' => ['manual', 'self'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ALL: No filter' => (object) ['enrolmethods' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ALL: Filter by manual enrolments only' => (object) ['enrolmethods' => ['manual'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: Filter by multiple enrolment methods' => (object) ['enrolmethods' => ['manual', 'self'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['c', ], ], 'NONE: No filter' => (object) ['enrolmethods' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'NONE: Filter by manual enrolments only' => (object) ['enrolmethods' => ['manual'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['b', ], ], 'NONE: Filter by multiple enrolment methods' => (object) ['enrolmethods' => ['manual', 'self'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], ], ], ]
/user/tests/table/participants_search_test.php:23671$tests = ['Users in different groups with separate groups mode enabled' => (object) ['groupsavailable' => ['groupa', 'groupb', 'groupc', ], 'users' => ['a' => ['groups' => ['groupa'], ], 'b' => ['groups' => ['groupb'], ], 'c' => ['groups' => ['groupa', 'groupb'], ], 'd' => ['groups' => [ ], ], ], 'expect' => ['ANY: No filter, user in one group' => (object) ['loginuser' => 'a', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: No filter, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ANY: No filter, user in no groups' => (object) ['loginuser' => 'd', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 0, 'expectedusers' => ['exception'], ], 'ANY: Filter on a single group, user in one group' => (object) ['loginuser' => 'a', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: Filter on a single group, user in multple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: Filter on a single group, user in no groups' => (object) ['loginuser' => 'd', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 0, 'expectedusers' => ['exception'], ], 'ANY: Filter on multiple groups, user in one group (ignore invalid groups)' => (object) ['loginuser' => 'a', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ANY: Filter on multiple groups, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ANY: Filter on multiple groups or no groups, user in multiple groups (ignore no groups)' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ALL: No filter, user in one group' => (object) ['loginuser' => 'a', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: No filter, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'ALL: No filter, user in no groups' => (object) ['loginuser' => 'd', 'groups' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => ['exception'], ], 'ALL: Filter on a single group, user in one group' => (object) ['loginuser' => 'a', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: Filter on a single group, user in multple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: Filter on a single group, user in no groups' => (object) ['loginuser' => 'd', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => ['exception'], ], 'ALL: Filter on multiple groups, user in one group (ignore invalid groups)' => (object) ['loginuser' => 'a', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'ALL: Filter on multiple groups, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['c', ], ], 'ALL: Filter on multiple groups or no groups, user in multiple groups (ignore no groups)' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['c', ], ], 'NONE: No filter, user in one group' => (object) ['loginuser' => 'a', 'groups' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['a', 'c', ], ], 'NONE: No filter, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'NONE: No filter, user in no groups' => (object) ['loginuser' => 'd', 'groups' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => ['exception'], ], 'NONE: Filter on a single group, user in one group' => (object) ['loginuser' => 'a', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: Filter on a single group, user in multple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['b', ], ], 'NONE: Filter on a single group, user in no groups' => (object) ['loginuser' => 'd', 'groups' => ['groupa'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => ['exception'], ], 'NONE: Filter on multiple groups, user in one group (ignore invalid groups)' => (object) ['loginuser' => 'a', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: Filter on multiple groups, user in multiple groups' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: Filter on multiple groups or no groups, user in multiple groups (ignore no groups)' => (object) ['loginuser' => 'c', 'groups' => ['groupa', 'groupb', 'nogroups'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], ], ], ]
/user/tests/table/participants_search_test.php:22441$finaltests["{$testname} => {$expectname}"] = ['users' => $testdata->users, 'groupsavailable' => $testdata->groupsavailable, 'filtergroups' => $expectdata->groups, 'jointype' => $expectdata->jointype, 'count' => $expectdata->count, 'expectedusers' => $expectdata->expectedusers, ]
/user/tests/table/participants_search_test.php:27271$tests = ['Users in different groups' => (object) ['users' => ['a' => ['lastlogin' => '-3 days', ], 'b' => ['lastlogin' => '-2 weeks', ], 'c' => ['lastlogin' => '-5 months', ], 'd' => ['lastlogin' => '-11 months', ], 'e' => ['lastlogin' => '', ], ], 'expect' => ['ANY: No filter' => (object) ['accesssince' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ANY: Filter on last login more than 1 year ago' => (object) ['accesssince' => ['-1 year'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['e', ], ], 'ANY: Filter on last login more than 6 months ago' => (object) ['accesssince' => ['-6 months'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['d', 'e', ], ], 'ANY: Filter on last login more than 3 weeks ago' => (object) ['accesssince' => ['-3 weeks'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ANY: Filter on last login more than 5 days ago' => (object) ['accesssince' => ['-5 days'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 4, 'expectedusers' => ['b', 'c', 'd', 'e', ], ], 'ANY: Filter on last login more than 2 days ago' => (object) ['accesssince' => ['-2 days'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ALL: No filter' => (object) ['accesssince' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'ALL: Filter on last login more than 1 year ago' => (object) ['accesssince' => ['-1 year'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['e', ], ], 'ALL: Filter on last login more than 6 months ago' => (object) ['accesssince' => ['-6 months'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['d', 'e', ], ], 'ALL: Filter on last login more than 3 weeks ago' => (object) ['accesssince' => ['-3 weeks'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ALL: Filter on last login more than 5 days ago' => (object) ['accesssince' => ['-5 days'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 4, 'expectedusers' => ['b', 'c', 'd', 'e', ], ], 'ALL: Filter on last login more than 2 days ago' => (object) ['accesssince' => ['-2 days'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'NONE: No filter' => (object) ['accesssince' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', ], ], 'NONE: Filter on last login more than 1 year ago' => (object) ['accesssince' => ['-1 year'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['a', 'b', 'c', 'd', ], ], 'NONE: Filter on last login more than 6 months ago' => (object) ['accesssince' => ['-6 months'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'b', 'c', ], ], 'NONE: Filter on last login more than 3 weeks ago' => (object) ['accesssince' => ['-3 weeks'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'NONE: Filter on last login more than 5 days ago' => (object) ['accesssince' => ['-5 days'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['a', ], ], 'NONE: Filter on last login more than 2 days ago' => (object) ['accesssince' => ['-2 days'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 0, 'expectedusers' => [ ], ], ], ], ]
/user/tests/table/participants_search_test.php:26431$finaltests["{$testname} => {$expectname}"] = ['users' => $testdata->users, 'groupsavailable' => $testdata->groupsavailable, 'filtergroups' => $expectdata->groups, 'jointype' => $expectdata->jointype, 'count' => $expectdata->count, 'expectedusers' => $expectdata->expectedusers, 'loginusername' => $expectdata->loginuser, ]
/user/tests/table/participants_search_test.php:34891$finaltests["{$testname} => {$expectname}"] = ['users' => $testdata->users, 'filterdata' => $expectdata->filterdata, 'groupsavailable' => $testdata->groupsavailable, 'jointype' => $expectdata->jointype, 'count' => $expectdata->count, 'expectedusers' => $expectdata->expectedusers, ]
/user/tests/table/participants_search_test.php:31321$tests = ['Users with different configurations' => (object) ['groupsavailable' => ['groupa', 'groupb', 'groupc', ], 'users' => ['adam.ant' => ['firstname' => 'Adam', 'lastname' => 'Ant', 'enrolments' => [['role' => 'student', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ], 'groups' => ['groupa'], 'lastlogin' => '-3 days', ], 'barbara.bennett' => ['firstname' => 'Barbara', 'lastname' => 'Bennett', 'enrolments' => [['role' => 'student', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ['role' => 'teacher', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ], 'groups' => ['groupb'], 'lastlogin' => '-2 weeks', ], 'colin.carnforth' => ['firstname' => 'Colin', 'lastname' => 'Carnforth', 'enrolments' => [['role' => 'editingteacher', 'method' => 'self', 'status' => ENROL_USER_SUSPENDED, ], ], 'groups' => ['groupa', 'groupb'], 'lastlogin' => '-5 months', ], 'tony.rogers' => ['firstname' => 'Anthony', 'lastname' => 'Rogers', 'enrolments' => [['role' => 'editingteacher', 'method' => 'self', 'status' => ENROL_USER_SUSPENDED, ], ], 'groups' => [ ], 'lastlogin' => '-10 months', ], 'sarah.rester' => ['firstname' => 'Sarah', 'lastname' => 'Rester', 'email' => 'zazu@example.com', 'enrolments' => [['role' => 'teacher', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ['role' => 'editingteacher', 'method' => 'self', 'status' => ENROL_USER_SUSPENDED, ], ], 'groups' => [ ], 'lastlogin' => '-11 months', ], 'morgan.crikeyson' => ['firstname' => 'Morgan', 'lastname' => 'Crikeyson', 'enrolments' => [['role' => 'teacher', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ], 'groups' => ['groupa'], 'lastlogin' => '-1 week', ], 'jonathan.bravo' => ['firstname' => 'Jonathan', 'lastname' => 'Bravo', 'enrolments' => [['role' => 'student', 'method' => 'manual', 'status' => ENROL_USER_ACTIVE, ], ], 'groups' => [ ], 'lastlogin' => '', ], ], 'expect' => ['ANY: No filters in filterset' => (object) ['filterdata' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 7, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', 'morgan.crikeyson', 'jonathan.bravo', ], ], 'ANY: Filterset containing a single filter type' => (object) ['filterdata' => ['enrolmethods' => ['values' => ['self'], 'jointype' => filter::JOINTYPE_ANY, ], ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'ANY: Filterset matching all filter types on different users' => (object) ['filterdata' => ['keywords' => ['values' => ['adam'], 'jointype' => filter::JOINTYPE_ALL, ], 'enrolmethods' => ['values' => ['manual', 'self'], 'jointype' => filter::JOINTYPE_ALL, ], 'courseroles' => ['values' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_ALL, ], 'status' => ['values' => [ENROL_USER_ACTIVE, ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ALL, ], 'groups' => ['values' => ['groupa', 'groupb'], 'jointype' => filter::JOINTYPE_ALL, ], 'accesssince' => ['values' => ['-1 year'], 'jointype' => filter::JOINTYPE_ALL, ], ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'sarah.rester', 'jonathan.bravo', ], ], 'ALL: No filters in filterset' => (object) ['filterdata' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 7, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', 'morgan.crikeyson', 'jonathan.bravo', ], ], 'ALL: Filterset containing a single filter type' => (object) ['filterdata' => ['enrolmethods' => ['values' => ['self'], 'jointype' => filter::JOINTYPE_ANY, ], ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'ALL: Filterset combining all filter types' => (object) ['filterdata' => ['keywords' => ['values' => ['ar'], 'jointype' => filter::JOINTYPE_ANY, ], 'enrolmethods' => ['values' => ['manual'], 'jointype' => filter::JOINTYPE_ANY, ], 'courseroles' => ['values' => ['student'], 'jointype' => filter::JOINTYPE_NONE, ], 'status' => ['values' => [ENROL_USER_ACTIVE], 'jointype' => filter::JOINTYPE_ALL, ], 'groups' => ['values' => ['groupa', 'nogroups'], 'jointype' => filter::JOINTYPE_ANY, ], 'accesssince' => ['values' => ['-6 months'], 'jointype' => filter::JOINTYPE_ALL, ], ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['sarah.rester', ], ], 'NONE: No filters in filterset' => (object) ['filterdata' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 7, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', 'morgan.crikeyson', 'jonathan.bravo', ], ], 'NONE: Filterset containing a single filter type' => (object) ['filterdata' => ['enrolmethods' => ['values' => ['self'], 'jointype' => filter::JOINTYPE_ANY, ], ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'morgan.crikeyson', 'jonathan.bravo', ], ], 'NONE: Filterset combining all filter types' => (object) ['filterdata' => ['keywords' => ['values' => ['adam'], 'jointype' => filter::JOINTYPE_ANY, ], 'enrolmethods' => ['values' => ['self'], 'jointype' => filter::JOINTYPE_ANY, ], 'courseroles' => ['values' => ['student'], 'jointype' => filter::JOINTYPE_NONE, ], 'status' => ['values' => [ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ALL, ], 'groups' => ['values' => ['groupa', 'nogroups'], 'jointype' => filter::JOINTYPE_ANY, ], 'accesssince' => ['values' => ['-6 months'], 'jointype' => filter::JOINTYPE_ALL, ], ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'NONE: Filterset combining several filter types and a double-negative on keyword' => (object) ['jointype' => filter::JOINTYPE_NONE, 'filterdata' => ['keywords' => ['values' => ['ant'], 'jointype' => filter::JOINTYPE_NONE, ], 'status' => ['values' => [ENROL_USER_SUSPENDED], 'jointype' => filter::JOINTYPE_ALL, ], ], 'count' => 1, 'expectedusers' => ['adam.ant', ], ], ], ], ]
/user/profile/index.php:1251$outputfields[] = ['id' => $field->id, 'shortname' => $field->shortname, 'datatype' => $field->datatype, 'name' => $fieldname, 'isfirst' => !count($outputfields), 'islast' => count($outputfields) == count($fields) - 1, ]
/user/tests/external/update_user_device_public_key_test.php:372$device = (object) ['appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'apushdkasdfj4835', 'uuid' => 'ABCDE3723ksdfhasfaasef859', 'userid' => $USER->id, 'timecreated' => time( ), 'timemodified' => time( ), ]
/user/profile/field/social/upgradelib.php:981$newfield = (object) ['shortname' => $social, 'name' => $social, 'datatype' => 'social', 'description' => '', 'descriptionformat' => 1, 'categoryid' => $categoryid, 'required' => 0, 'locked' => 0, 'visible' => $visible, 'forceunique' => 0, 'signup' => 0, 'defaultdata' => '', 'defaultdataformat' => 0, 'param1' => $social]
/user/profile/index.php:1481$outputcategories[] = ['id' => $category->id, 'name' => format_string($category->name), 'fields' => $outputfields, 'hasfields' => count($outputfields), 'isfirst' => !count($outputcategories), 'islast' => count($outputcategories) == count($categories) - 1, 'candelete' => count($categories) > 1, 'addfieldmenu' => $menu->export_for_template($OUTPUT), ]
/favourites/classes/privacy/provider.php:1611return ['starred' => transform::yesno(true), 'ordering' => $favourited->ordering, 'timecreated' => transform::datetime($favourited->timecreated), 'timemodified' => transform::datetime($favourited->timemodified)]
/user/profile/field/social/classes/helper.php:411return ['icq' => get_string('icqnumber', 'profilefield_social'), 'msn' => get_string('msnid', 'profilefield_social'), 'aim' => get_string('aimid', 'profilefield_social'), 'yahoo' => get_string('yahooid', 'profilefield_social'), 'skype' => get_string('skypeid', 'profilefield_social'), 'url' => get_string('webpage', 'profilefield_social'), ]
/user/tests/externallib_test.php:7771$user1 = array('id' => $user1->id, 'username' => 'usernametest1', 'password' => 'Moodle2012!', 'idnumber' => 'idnumbertest1', 'firstname' => 'First Name User Test 1', 'lastname' => 'Last Name User Test 1', 'middlename' => 'Middle Name User Test 1', 'lastnamephonetic' => '最後のお名前のテスト一号', 'firstnamephonetic' => 'お名前のテスト一号', 'alternatename' => 'Alternate Name User Test 1', 'email' => 'usertest1@example.com', 'description' => 'This is a description for user 1', 'city' => 'Perth', 'userpicture' => $draftid, 'country' => 'AU', 'preferences' => [['type' => 'htmleditor', 'value' => 'atto'], ['type' => 'invialidpreference', 'value' => 'abcd']], 'department' => 'College of Science', 'institution' => 'National Institute of Physics', 'phone1' => '01 2345 6789', 'maildisplay' => 1, 'interests' => 'badminton, basketball, cooking, ')
/user/tests/externallib_test.php:16271$user1 = self::getDataGenerator( )->create_user(['firstname' => 'Firstone', 'lastname' => 'Lastone', 'username' => 'usernameone', 'idnumber' => 'idnumberone', 'email' => 'userone@example.com', 'phone1' => 'tel1', 'phone2' => 'tel2', 'department' => 'Department Foo', 'institution' => 'Institution Foo', 'city' => 'City One', 'country' => 'AU', ])
/user/tests/externallib_test.php:2011$user1 = array('username' => 'usernametest1', 'idnumber' => 'idnumbertest1', 'firstname' => 'First Name User Test 1', 'lastname' => 'Last Name User Test 1', 'email' => 'usertest1@example.com', 'address' => '2 Test Street Perth 6000 WA', 'phone1' => '01010101010', 'phone2' => '02020203', 'department' => 'Department of user 1', 'institution' => 'Institution of user 1', 'description' => 'This is a description for user 1', 'descriptionformat' => FORMAT_MOODLE, 'city' => 'Perth', 'country' => 'AU', 'profile_field_jobposition' => 'Manager', 'profile_field_employmentstatus' => explode('\n', $statuses)[2], )
/user/tests/externallib_test.php:6111$users = [['username' => 's1', 'firstname' => 'Johnny', 'lastname' => 'Bravo', 'email' => 's1@example.com', 'password' => 'Passw0rd!'], ['username' => 's2', 'firstname' => 'John', 'lastname' => 'Doe', 'email' => $differentcase ? 'S1@EXAMPLE.COM' : 's1@example.com', 'password' => 'Passw0rd!'], ]
/user/tests/userlib_test.php:8871$user = self::getDataGenerator( )->create_user(['auth' => 'email', 'confirmed' => '0', 'idnumber' => 'someidnumber', 'lang' => 'en', 'theme' => $CFG->theme, 'timezone' => '5', 'mailformat' => '0', 'trackforums' => '1', ])
/user/tests/devicekey_test.php:362$device = (object) ['appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'apushdkasdfj4835', 'uuid' => 'ABCDE3723ksdfhasfaasef859', 'userid' => $USER->id, 'timecreated' => time( ), 'timemodified' => time( ), ]
/user/classes/external/search_identity.php:1191return new external_single_structure(['list' => new external_multiple_structure(new external_single_structure(['id' => new external_value(\core_user::get_property_type('id'), 'ID of the user'), 'fullname' => new external_value(PARAM_RAW, 'The fullname of the user'), 'extrafields' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_TEXT, 'Name of the extrafield.'), 'value' => new external_value(PARAM_TEXT, 'Value of the extrafield.'), ]), 'List of extra fields', VALUE_OPTIONAL)])), 'maxusersperpage' => new external_value(PARAM_INT, 'Configured maximum users per page.'), 'overflow' => new external_value(PARAM_BOOL, 'Were there more records than maxusersperpage found?'), ])
/user/classes/external/user_summary_exporter.php:951return array('id' => array('type' => \core_user::get_property_type('id'), ), 'email' => array('type' => \core_user::get_property_type('email'), 'default' => ''), 'idnumber' => array('type' => \core_user::get_property_type('idnumber'), 'default' => ''), 'phone1' => array('type' => \core_user::get_property_type('phone1'), 'default' => ''), 'phone2' => array('type' => \core_user::get_property_type('phone2'), 'default' => ''), 'department' => array('type' => \core_user::get_property_type('department'), 'default' => ''), 'institution' => array('type' => \core_user::get_property_type('institution'), 'default' => ''))
/user/tests/table/participants_search_test.php:8081$tests = ['users' => ['user1' => 'DE', 'user2' => 'ES', 'user3' => 'ES', 'user4' => 'GB', ], 'expects' => ['ANY: No filter' => (object) ['countries' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'expectedusers' => ['user1', 'user2', 'user3', 'user4', ], ], 'ANY: Matching filters' => (object) ['countries' => ['DE', 'GB', ], 'jointype' => filter::JOINTYPE_ANY, 'expectedusers' => ['user1', 'user4', ], ], 'ANY: Non-matching filters' => (object) ['countries' => ['RU', ], 'jointype' => filter::JOINTYPE_ANY, 'expectedusers' => [ ], ], 'ALL: No filter' => (object) ['countries' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'expectedusers' => ['user1', 'user2', 'user3', 'user4', ], ], 'ALL: Matching filters' => (object) ['countries' => ['DE', 'GB', ], 'jointype' => filter::JOINTYPE_ALL, 'expectedusers' => ['user1', 'user4', ], ], 'ALL: Non-matching filters' => (object) ['countries' => ['RU', ], 'jointype' => filter::JOINTYPE_ALL, 'expectedusers' => [ ], ], 'NONE: No filter' => (object) ['countries' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'expectedusers' => ['user1', 'user2', 'user3', 'user4', ], ], 'NONE: Matching filters' => (object) ['countries' => ['DE', 'GB', ], 'jointype' => filter::JOINTYPE_NONE, 'expectedusers' => ['user2', 'user3', ], ], 'NONE: Non-matching filters' => (object) ['countries' => ['RU', ], 'jointype' => filter::JOINTYPE_NONE, 'expectedusers' => ['user1', 'user2', 'user3', 'user4', ], ], ], ]
/user/tests/table/participants_search_test.php:10031$tests = ['Users with basic names' => (object) ['users' => ['adam.ant' => ['firstname' => 'Adam', 'lastname' => 'Ant', ], 'barbara.bennett' => ['firstname' => 'Barbara', 'lastname' => 'Bennett', 'alternatename' => 'Babs', 'firstnamephonetic' => 'Barbra', 'lastnamephonetic' => 'Benit', 'profile_field_frog' => 'Kermit', ], 'colin.carnforth' => ['firstname' => 'Colin', 'lastname' => 'Carnforth', 'middlename' => 'Jeffery', ], 'tony.rogers' => ['firstname' => 'Anthony', 'lastname' => 'Rogers', 'lastnamephonetic' => 'Rowjours', 'profile_field_frog' => 'Mr Toad', ], 'sarah.rester' => ['firstname' => 'Sarah', 'lastname' => 'Rester', 'email' => 'zazu@example.com', 'firstnamephonetic' => 'Sera', ], ], 'expect' => ['ANY: No filter' => (object) ['keywords' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'ANY: Filter on first name only' => (object) ['keywords' => ['adam'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['adam.ant', ], ], 'ANY: Filter on last name only' => (object) ['keywords' => ['BeNNeTt'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ANY: Filter on first/Last name' => (object) ['keywords' => ['ant'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['adam.ant', 'tony.rogers', ], ], 'ANY: Filter on fullname only' => (object) ['keywords' => ['Barbara Bennett'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ANY: Filter on middlename only' => (object) ['keywords' => ['Jeff'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['colin.carnforth', ], ], 'ANY: Filter on username (no match)' => (object) ['keywords' => ['sara.rester'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 0, 'expectedusers' => [ ], ], 'ANY: Filter on email only' => (object) ['keywords' => ['zazu'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['sarah.rester', ], ], 'ANY: Filter on first name phonetic only' => (object) ['keywords' => ['Sera'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['sarah.rester', ], ], 'ANY: Filter on last name phonetic only' => (object) ['keywords' => ['jour'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['tony.rogers', ], ], 'ANY: Filter on alternate name only' => (object) ['keywords' => ['Babs'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ANY: Filter on multiple keywords (first/middle/last name)' => (object) ['keywords' => ['ant', 'Jeff', 'rog'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'tony.rogers', ], ], 'ANY: Filter on multiple keywords (phonetic/alternate names)' => (object) ['keywords' => ['era', 'Bab', 'ours'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['barbara.bennett', 'sarah.rester', 'tony.rogers', ], ], 'ANY: Filter on custom profile field' => (object) ['keywords' => ['Kermit', 'Mr Toad'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['barbara.bennett', 'tony.rogers', ], 'asuser' => 'admin'], 'ANY: Filter on custom profile field (no permissions)' => (object) ['keywords' => ['Kermit', 'Mr Toad'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 0, 'expectedusers' => [ ], 'asuser' => 'barbara.bennett'], 'ALL: No filter' => (object) ['keywords' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'ALL: Filter on first name only' => (object) ['keywords' => ['adam'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['adam.ant', ], ], 'ALL: Filter on last name only' => (object) ['keywords' => ['BeNNeTt'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ALL: Filter on first/Last name' => (object) ['keywords' => ['ant'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['adam.ant', 'tony.rogers', ], ], 'ALL: Filter on middlename only' => (object) ['keywords' => ['Jeff'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['colin.carnforth', ], ], 'ALL: Filter on username (no match)' => (object) ['keywords' => ['sara.rester'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on email only' => (object) ['keywords' => ['zazu'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['sarah.rester', ], ], 'ALL: Filter on first name phonetic only' => (object) ['keywords' => ['Sera'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['sarah.rester', ], ], 'ALL: Filter on last name phonetic only' => (object) ['keywords' => ['jour'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['tony.rogers', ], ], 'ALL: Filter on alternate name only' => (object) ['keywords' => ['Babs'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ALL: Filter on multiple keywords (first/last name)' => (object) ['keywords' => ['ant', 'rog'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['tony.rogers', ], ], 'ALL: Filter on multiple keywords (first/middle/last name)' => (object) ['keywords' => ['ant', 'Jeff', 'rog'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on multiple keywords (phonetic/alternate names)' => (object) ['keywords' => ['Bab', 'bra', 'nit'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], ], 'ALL: Filter on custom profile field' => (object) ['keywords' => ['Kermit', 'Kermi'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['barbara.bennett', ], 'asuser' => 'admin', ], 'ALL: Filter on custom profile field (no permissions)' => (object) ['keywords' => ['Kermit', 'Kermi'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], 'asuser' => 'barbara.bennett', ], 'NONE: No filter' => (object) ['keywords' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on first name only' => (object) ['keywords' => ['ara'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'tony.rogers', ], ], 'NONE: Filter on last name only' => (object) ['keywords' => ['BeNNeTt'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on first/Last name' => (object) ['keywords' => ['ar'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['adam.ant', 'tony.rogers', ], ], 'NONE: Filter on middlename only' => (object) ['keywords' => ['Jeff'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on username (no match)' => (object) ['keywords' => ['sara.rester'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on email' => (object) ['keywords' => ['zazu'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', ], ], 'NONE: Filter on first name phonetic only' => (object) ['keywords' => ['Sera'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', ], ], 'NONE: Filter on last name phonetic only' => (object) ['keywords' => ['jour'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'sarah.rester', ], ], 'NONE: Filter on alternate name only' => (object) ['keywords' => ['Babs'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on multiple keywords (first/last name)' => (object) ['keywords' => ['ara', 'rog'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['adam.ant', 'colin.carnforth', ], ], 'NONE: Filter on multiple keywords (first/middle/last name)' => (object) ['keywords' => ['ant', 'Jeff', 'rog'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 2, 'expectedusers' => ['barbara.bennett', 'sarah.rester', ], ], 'NONE: Filter on multiple keywords (phonetic/alternate names)' => (object) ['keywords' => ['Bab', 'bra', 'nit'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], ], 'NONE: Filter on custom profile field' => (object) ['keywords' => ['Kermit', 'Mr Toad'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['adam.ant', 'colin.carnforth', 'sarah.rester', ], 'asuser' => 'admin', ], 'NONE: Filter on custom profile field (no permissions)' => (object) ['keywords' => ['Kermit', 'Mr Toad'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['adam.ant', 'barbara.bennett', 'colin.carnforth', 'tony.rogers', 'sarah.rester', ], 'asuser' => 'barbara.bennett', ], ], ], ]
/user/tests/reportbuilder/datasource/users_test.php:4731$user = $this->getDataGenerator( )->create_user(['username' => 'zoe1', 'email' => 'zoe1@example.com', 'firstname' => 'Zoe', 'middlename' => 'Zebediah', 'lastname' => 'Zebra', 'firstnamephonetic' => 'Eoz', 'lastnamephonetic' => 'Arbez', 'alternatename' => 'Zee', 'idnumber' => 'Z0001', 'institution' => 'Farm', 'department' => 'Stable', 'phone1' => '111', 'phone2' => '222', 'address' => 'Big Farm', 'city' => 'Barcelona', 'country' => 'ES', 'theme' => 'boost', 'description' => 'Hello there', 'moodlenetprofile' => '@zoe1@example.com', 'interests' => ['Horses'], 'lastip' => '0.0.0.0', ])
/user/tests/table/participants_search_test.php:1941$tests = ['Users in each role' => (object) ['users' => ['a' => ['courseroles' => ['student', ], ], 'b' => ['courseroles' => ['student', ], ], 'c' => ['courseroles' => ['editingteacher', ], ], 'd' => ['courseroles' => ['editingteacher', ], ], 'e' => ['courseroles' => ['teacher', ], ], 'f' => ['courseroles' => ['teacher', ], ], 'g' => ['courseroles' => [ ], ], 'h' => ['courseroles' => [ ], 'categoryroles' => ['manager', ], ], 'i' => ['categoryroles' => ['manager', ], ], ], 'expect' => ['ANY: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'ANY: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ANY: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 4, 'expectedusers' => ['a', 'b', 'e', 'f', ], ], 'ANY: Filter on student, manager (category level role)' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'h', ], ], 'ANY: Filter on student, coursecreator (not assigned)' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ALL: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'ALL: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ALL: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on student, manager (category level role))' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on student, coursecreator (not assigned))' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'NONE: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 6, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', 'h', ], ], 'NONE: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 4, 'expectedusers' => ['c', 'd', 'g', 'h', ], ], 'NONE: Filter on student, manager (category level role))' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', ], ], 'NONE: Filter on student, coursecreator (not assigned))' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 6, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', 'h', ], ], ], ], 'Users with multiple roles' => (object) ['users' => ['a' => ['courseroles' => ['student', ], ], 'b' => ['courseroles' => ['student', 'teacher', ], ], 'c' => ['courseroles' => ['editingteacher', ], ], 'd' => ['courseroles' => ['editingteacher', ], ], 'e' => ['courseroles' => ['teacher', 'editingteacher', ], ], 'f' => ['courseroles' => ['teacher', ], ], 'g' => ['courseroles' => [ ], ], 'h' => ['courseroles' => [ ], 'categoryroles' => ['manager', ], ], 'i' => ['categoryroles' => ['manager', ], ], ], 'expect' => ['ANY: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_ANY, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'ANY: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ANY: Filter on teacher' => (object) ['roles' => ['teacher'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['b', 'e', 'f', ], ], 'ANY: Filter on editingteacher' => (object) ['roles' => ['editingteacher'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ANY: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 4, 'expectedusers' => ['a', 'b', 'e', 'f', ], ], 'ANY: Filter on teacher, editingteacher' => (object) ['roles' => ['teacher', 'editingteacher'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 5, 'expectedusers' => ['b', 'c', 'd', 'e', 'f', ], ], 'ANY: Filter on student, manager (category level role)' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 3, 'expectedusers' => ['a', 'b', 'h', ], ], 'ANY: Filter on student, coursecreator (not assigned)' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_ANY, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ALL: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_ALL, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'ALL: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 2, 'expectedusers' => ['a', 'b', ], ], 'ALL: Filter on teacher' => (object) ['roles' => ['teacher'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['b', 'e', 'f', ], ], 'ALL: Filter on editingteacher' => (object) ['roles' => ['editingteacher'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 3, 'expectedusers' => ['c', 'd', 'e', ], ], 'ALL: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['b', ], ], 'ALL: Filter on teacher, editingteacher' => (object) ['roles' => ['teacher', 'editingteacher'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 1, 'expectedusers' => ['e', ], ], 'ALL: Filter on student, manager (category level role)' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'ALL: Filter on student, coursecreator (not assigned)' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_ALL, 'count' => 0, 'expectedusers' => [ ], ], 'NONE: No role filter' => (object) ['roles' => [ ], 'jointype' => filter::JOINTYPE_NONE, 'count' => 8, 'expectedusers' => ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', ], ], 'NONE: Filter on student' => (object) ['roles' => ['student'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 6, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', 'h', ], ], 'NONE: Filter on teacher' => (object) ['roles' => ['teacher'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['a', 'c', 'd', 'g', 'h', ], ], 'NONE: Filter on editingteacher' => (object) ['roles' => ['editingteacher'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['a', 'b', 'f', 'g', 'h', ], ], 'NONE: Filter on student, teacher' => (object) ['roles' => ['student', 'teacher'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['c', 'd', 'e', 'g', 'h', ], ], 'NONE: Filter on student, teacher' => (object) ['roles' => ['teacher', 'editingteacher'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 3, 'expectedusers' => ['a', 'g', 'h', ], ], 'NONE: Filter on student, manager (category level role)' => (object) ['roles' => ['student', 'manager'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 5, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', ], ], 'NONE: Filter on student, coursecreator (not assigned)' => (object) ['roles' => ['student', 'coursecreator'], 'jointype' => filter::JOINTYPE_NONE, 'count' => 6, 'expectedusers' => ['c', 'd', 'e', 'f', 'g', 'h', ], ], ], ], ]
/user/tests/privacy/provider_test.php:4401$userdevices = (object) ['userid' => $user->id, 'appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'kishUhd', 'uuid' => 'KIhud7s', 'timecreated' => time( ), 'timemodified' => time( )]
/user/tests/privacy/provider_test.php:4681$usersessions = (object) ['state' => 0, 'sid' => $this->generate_random_string( ), 'userid' => $user->id, 'sessdata' => 'Nothing', 'timecreated' => time( ), 'timemodified' => time( ), 'firstip' => '0.0.0.0', 'lastip' => '0.0.0.0']
/user/tests/externallib_test.php:16411$user2 = self::getDataGenerator( )->create_user(['firstname' => 'Firsttwo', 'lastname' => 'Lasttwo', 'username' => 'usernametwo', 'idnumber' => 'idnumbertwo', 'email' => 'usertwo@example.com', 'phone1' => 'tel1', 'phone2' => 'tel2', 'department' => 'Department Foo', 'institution' => 'Institution Foo', 'city' => 'City One', 'country' => 'AU', ])
/user/tests/externallib_test.php:16551$user3 = self::getDataGenerator( )->create_user(['firstname' => 'Firstthree', 'lastname' => 'Lastthree', 'username' => 'usernamethree', 'idnumber' => 'idnumberthree', 'email' => 'userthree@example.com', 'phone1' => 'tel1', 'phone2' => 'tel2', 'department' => 'Department Foo', 'institution' => 'Institution Foo', 'city' => 'City One', 'country' => 'AU', ])
/user/filters/cohort.php:592return array(0 => get_string('contains', 'filters'), 1 => get_string('doesnotcontain', 'filters'), 2 => get_string('isequalto', 'filters'), 3 => get_string('startswith', 'filters'), 4 => get_string('endswith', 'filters'), 5 => get_string('isempty', 'filters'))
/user/filters/profilefield.php:611return array(0 => get_string('contains', 'filters'), 1 => get_string('doesnotcontain', 'filters'), 2 => get_string('isequalto', 'filters'), 3 => get_string('startswith', 'filters'), 4 => get_string('endswith', 'filters'), 5 => get_string('isempty', 'filters'), 6 => get_string('isnotdefined', 'filters'), 7 => get_string('isdefined', 'filters'))
/user/externallib.php:20611return new external_single_structure(array('filecount' => new external_value(PARAM_INT, 'Number of files in the area.'), 'foldercount' => new external_value(PARAM_INT, 'Number of folders in the area.'), 'filesize' => new external_value(PARAM_INT, 'Total size of the files in the area.'), 'filesizewithoutreferences' => new external_value(PARAM_INT, 'Total size of the area excluding file references'), 'warnings' => new external_warnings( )))
/user/externallib.php:19091return new external_single_structure(array('saved' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the preference'), 'userid' => new external_value(PARAM_INT, 'The user the preference was set for'), )), 'Preferences saved'), 'warnings' => new external_warnings( )))
/user/externallib.php:18021return new external_function_parameters(array('preferences' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the preference'), 'value' => new external_value(PARAM_RAW, 'The value of the preference'), 'userid' => new external_value(PARAM_INT, 'Id of the user to set the preference (default to current user)', VALUE_DEFAULT, 0), )))))
/user/externallib.php:16761return new external_single_structure(array('preferences' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the preference'), 'value' => new external_value(PARAM_RAW, 'The value of the preference'), )), 'User custom fields (also known as user profile fields)'), 'warnings' => new external_warnings( )))
/user/externallib.php:12891$params = self::validate_parameters(self::add_user_device_parameters( ), array('appid' => $appid, 'name' => $name, 'model' => $model, 'platform' => $platform, 'version' => $version, 'pushid' => $pushid, 'uuid' => $uuid, 'publickey' => $publickey, ))
/user/externallib.php:12561return new external_function_parameters(array('appid' => new external_value(PARAM_NOTAGS, 'the app id, usually something like com.moodle.moodlemobile'), 'name' => new external_value(PARAM_NOTAGS, 'the device name, \'occam\' or \'iPhone\' etc.'), 'model' => new external_value(PARAM_NOTAGS, 'the device model \'Nexus4\' or \'iPad1,1\' etc.'), 'platform' => new external_value(PARAM_NOTAGS, 'the device platform \'iOS\' or \'Android\' etc.'), 'version' => new external_value(PARAM_NOTAGS, 'the device version \'6.1.2\' or \'4.2.2\' etc.'), 'pushid' => new external_value(PARAM_RAW, 'the device PUSH token/key/identifier/registration id'), 'uuid' => new external_value(PARAM_RAW, 'the device UUID'), 'publickey' => new external_value(PARAM_RAW, 'the app generated public key', VALUE_DEFAULT, null), ))
/user/classes/table/participants.php:2331$checkbox = new \core\output\checkbox_toggleall('participants-table', false, ['classes' => 'usercheckbox m-1', 'id' => 'user' . $data->id, 'name' => 'user' . $data->id, 'checked' => false, 'label' => get_string('selectitem', 'moodle', fullname($data)), 'labelclasses' => 'accesshide', ])
/user/classes/output/participants_filter.php:851return $this->get_filter_object('status', get_string('participationstatus', 'core_enrol'), false, true, null, [(object) ['value' => ENROL_USER_ACTIVE, 'title' => get_string('active'), ], (object) ['value' => ENROL_USER_SUSPENDED, 'title' => get_string('inactive'), ], ])
/user/classes/privacy/provider.php:5341return ['state' => $record->state, 'sessdata' => ($record->sessdata !== null) ? base64_decode($record->sessdata) : '', 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => transform::datetime($record->timemodified), 'firstip' => $record->firstip, 'lastip' => $record->lastip]
/user/classes/privacy/provider.php:4721return ['appid' => $record->appid, 'name' => $record->name, 'model' => $record->model, 'platform' => $record->platform, 'version' => $record->version, 'timecreated' => transform::datetime($record->timecreated), 'timemodified' => transform::datetime($record->timemodified)]
/user/classes/privacy/provider.php:3551$data = (object) ['auth' => $user->auth, 'confirmed' => transform::yesno($user->confirmed), 'policyagreed' => transform::yesno($user->policyagreed), 'deleted' => transform::yesno($user->deleted), 'suspended' => transform::yesno($user->suspended), 'username' => $user->username, 'idnumber' => $user->idnumber, 'firstname' => format_string($user->firstname, true, ['context' => $context]), 'lastname' => format_string($user->lastname, true, ['context' => $context]), 'email' => $user->email, 'emailstop' => transform::yesno($user->emailstop), 'phone1' => format_string($user->phone1, true, ['context' => $context]), 'phone2' => format_string($user->phone2, true, ['context' => $context]), 'institution' => format_string($user->institution, true, ['context' => $context]), 'department' => format_string($user->department, true, ['context' => $context]), 'address' => format_string($user->address, true, ['context' => $context]), 'city' => format_string($user->city, true, ['context' => $context]), 'country' => format_string($user->country, true, ['context' => $context]), 'lang' => $user->lang, 'calendartype' => $user->calendartype, 'theme' => $user->theme, 'timezone' => $user->timezone, 'firstaccess' => $user->firstaccess ? transform::datetime($user->firstaccess) : null, 'lastaccess' => $user->lastaccess ? transform::datetime($user->lastaccess) : null, 'lastlogin' => $user->lastlogin ? transform::datetime($user->lastlogin) : null, 'currentlogin' => $user->currentlogin ? transform::datetime($user->currentlogin) : null, 'lastip' => $user->lastip, 'secret' => $user->secret, 'picture' => $user->picture, 'description' => format_text(writer::with_context($context)->rewrite_pluginfile_urls([ ], 'user', 'profile', '', $user->description), $user->descriptionformat, ['context' => $context]), 'maildigest' => transform::yesno($user->maildigest), 'maildisplay' => $user->maildisplay, 'autosubscribe' => transform::yesno($user->autosubscribe), 'trackforums' => transform::yesno($user->trackforums), 'timecreated' => transform::datetime($user->timecreated), 'timemodified' => transform::datetime($user->timemodified), 'imagealt' => format_string($user->imagealt, true, ['context' => $context]), 'lastnamephonetic' => format_string($user->lastnamephonetic, true, ['context' => $context]), 'firstnamephonetic' => format_string($user->firstnamephonetic, true, ['context' => $context]), 'middlename' => format_string($user->middlename, true, ['context' => $context]), 'alternatename' => format_string($user->alternatename, true, ['context' => $context])]
/user/classes/form/calendar_form.php:1031$options = array(365 => new \lang_string('numyear', '', 1), 270 => get_string('nummonths', '', 9), 180 => get_string('nummonths', '', 6), 150 => get_string('nummonths', '', 5), 120 => get_string('nummonths', '', 4), 90 => get_string('nummonths', '', 3), 60 => get_string('nummonths', '', 2), 30 => get_string('nummonth', '', 1), 21 => get_string('numweeks', '', 3), 14 => get_string('numweeks', '', 2), 7 => get_string('numweek', '', 1), 6 => get_string('numdays', '', 6), 5 => get_string('numdays', '', 5), 4 => get_string('numdays', '', 4), 3 => get_string('numdays', '', 3), 2 => get_string('numdays', '', 2), 1 => get_string('numday', '', 1))
/user/classes/form/calendar_form.php:821$options = array(0 => get_string('sunday', 'calendar'), 1 => get_string('monday', 'calendar'), 2 => get_string('tuesday', 'calendar'), 3 => get_string('wednesday', 'calendar'), 4 => get_string('thursday', 'calendar'), 5 => get_string('friday', 'calendar'), 6 => get_string('saturday', 'calendar'))
/user/filters/text.php:642return array(0 => get_string('contains', 'filters'), 1 => get_string('doesnotcontain', 'filters'), 2 => get_string('isequalto', 'filters'), 3 => get_string('startswith', 'filters'), 4 => get_string('endswith', 'filters'), 5 => get_string('isempty', 'filters'))
/message/output/email/tests/task/send_email_test.php:711$conversation2 = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id], 'Group 2', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group2->id, \context_course::instance($course->id)->id)
/user/portfoliologs.php:951$table->data[] = array($e->get('caller')->display_name( ), (($e->get('instance')) ? $e->get('instance')->get('name') : get_string('noinstanceyet', 'portfolio')), $e->get('caller')->heading_summary( ), userdate($q->expirytime), $iconstr, )
/user/lib.php:4101$userdetails['customfields'][] = ['name' => $formfield->field->name, 'value' => $formfield->data, 'displayvalue' => $formfield->display_data( ), 'type' => $formfield->field->datatype, 'shortname' => $formfield->field->shortname]
/user/lib.php:5771$userdetails['groups'][] = ['id' => $group->id, 'name' => format_string($group->name), 'description' => format_text($group->description, $group->descriptionformat, ['context' => $context]), 'descriptionformat' => $group->descriptionformat]
/message/output/airnotifier/tests/externallib_test.php:1771$device = array('appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => 'apushdkasdfj4835', 'uuid' => 'asdnfl348qlksfaasef859', 'userid' => $USER->id, 'timecreated' => time( ), 'timemodified' => time( ), )
/message/output/airnotifier/tests/privacy/provider_test.php:551$device = array('appid' => 'com.moodle.moodlemobile', 'name' => 'occam', 'model' => 'Nexus 4', 'platform' => 'Android', 'version' => '4.2.2', 'pushid' => $pushid, 'uuid' => 'asdnfl348qlksfaasef859', 'userid' => $user->id, 'timecreated' => time( ), 'timemodified' => time( ), )
/message/output/email/tests/event_observers_test.php:501$conversation = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id], 'Group 1', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/message/output/email/tests/task/send_email_test.php:611$conversation1 = \core_message\api::create_conversation(\core_message\api::MESSAGE_CONVERSATION_TYPE_GROUP, [$user1->id, $user2->id], 'Group 1', \core_message\api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/user/externallib.php:4671$userfields = ['id' => new external_value(core_user::get_property_type('id'), 'ID of the user'), 'username' => new external_value(core_user::get_property_type('username'), 'Username policy is defined in Moodle security config.', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'auth' => new external_value(core_user::get_property_type('auth'), 'Auth plugins include manual, ldap, etc', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'suspended' => new external_value(core_user::get_property_type('suspended'), 'Suspend user account, either false to enable user login or true to disable it', VALUE_OPTIONAL), 'password' => new external_value(core_user::get_property_type('password'), 'Plain text password consisting of any characters', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user', VALUE_OPTIONAL), 'email' => new external_value(core_user::get_property_type('email'), 'A valid and unique email address', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'maildisplay' => new external_value(core_user::get_property_type('maildisplay'), 'Email visibility', VALUE_OPTIONAL), 'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(core_user::get_property_type('country'), 'Home country code of the user, such as AU or CZ', VALUE_OPTIONAL), 'timezone' => new external_value(core_user::get_property_type('timezone'), 'Timezone code such as Australia/Perth, or 99 for default', VALUE_OPTIONAL), 'description' => new external_value(core_user::get_property_type('description'), 'User profile description, no HTML', VALUE_OPTIONAL), 'userpicture' => new external_value(PARAM_INT, 'The itemid where the new user picture has been uploaded to, 0 to delete', VALUE_OPTIONAL), 'firstnamephonetic' => new external_value(core_user::get_property_type('firstnamephonetic'), 'The first name(s) phonetically of the user', VALUE_OPTIONAL), 'lastnamephonetic' => new external_value(core_user::get_property_type('lastnamephonetic'), 'The family name phonetically of the user', VALUE_OPTIONAL), 'middlename' => new external_value(core_user::get_property_type('middlename'), 'The middle name of the user', VALUE_OPTIONAL), 'alternatename' => new external_value(core_user::get_property_type('alternatename'), 'The alternate name of the user', VALUE_OPTIONAL), 'interests' => new external_value(PARAM_TEXT, 'User interests (separated by commas)', VALUE_OPTIONAL), 'idnumber' => new external_value(core_user::get_property_type('idnumber'), 'An arbitrary ID code number perhaps from the institution', VALUE_OPTIONAL), 'institution' => new external_value(core_user::get_property_type('institution'), 'Institution', VALUE_OPTIONAL), 'department' => new external_value(core_user::get_property_type('department'), 'Department', VALUE_OPTIONAL), 'phone1' => new external_value(core_user::get_property_type('phone1'), 'Phone', VALUE_OPTIONAL), 'phone2' => new external_value(core_user::get_property_type('phone2'), 'Mobile phone', VALUE_OPTIONAL), 'address' => new external_value(core_user::get_property_type('address'), 'Postal address', VALUE_OPTIONAL), 'lang' => new external_value(core_user::get_property_type('lang'), 'Language code such as "en", must exist on server', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'calendartype' => new external_value(core_user::get_property_type('calendartype'), 'Calendar type such as "gregorian", must exist on server', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'theme' => new external_value(core_user::get_property_type('theme'), 'Theme name such as "standard", must exist on server', VALUE_OPTIONAL), 'mailformat' => new external_value(core_user::get_property_type('mailformat'), 'Mail format code is 0 for plain text, 1 for HTML etc', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(['type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field')]), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL), 'preferences' => new external_multiple_structure(new external_single_structure(['type' => new external_value(PARAM_RAW, 'The name of the preference'), 'value' => new external_value(PARAM_RAW, 'The value of the preference')]), 'User preferences', VALUE_OPTIONAL), ]
/user/externallib.php:9941return new external_function_parameters(array('userlist' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(core_user::get_property_type('id'), 'userid'), 'courseid' => new external_value(PARAM_INT, 'courseid'), )))))
/user/externallib.php:10791$additionalfields = array('groups' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group id'), 'name' => new external_value(PARAM_RAW, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description'), 'descriptionformat' => new external_format_value('description'), )), 'user groups', VALUE_OPTIONAL), 'roles' => new external_multiple_structure(new external_single_structure(array('roleid' => new external_value(PARAM_INT, 'role id'), 'name' => new external_value(PARAM_RAW, 'role name'), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'role shortname'), 'sortorder' => new external_value(PARAM_INT, 'role sortorder'))), 'user roles', VALUE_OPTIONAL), 'enrolledcourses' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Id of the course'), 'fullname' => new external_value(PARAM_RAW, 'Fullname of the course'), 'shortname' => new external_value(PARAM_RAW, 'Shortname of the course'))), 'Courses where the user is enrolled - limited by which courses the user is able to see', VALUE_OPTIONAL))
/user/externallib.php:11181$userfields = array('id' => new external_value(core_user::get_property_type('id'), 'ID of the user'), 'username' => new external_value(core_user::get_property_type('username'), 'The username', VALUE_OPTIONAL), 'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user', VALUE_OPTIONAL), 'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user', VALUE_OPTIONAL), 'fullname' => new external_value(core_user::get_property_type('firstname'), 'The fullname of the user'), 'email' => new external_value(core_user::get_property_type('email'), 'An email address - allow email as root@localhost', VALUE_OPTIONAL), 'address' => new external_value(core_user::get_property_type('address'), 'Postal address', VALUE_OPTIONAL), 'phone1' => new external_value(core_user::get_property_type('phone1'), 'Phone 1', VALUE_OPTIONAL), 'phone2' => new external_value(core_user::get_property_type('phone2'), 'Phone 2', VALUE_OPTIONAL), 'department' => new external_value(core_user::get_property_type('department'), 'department', VALUE_OPTIONAL), 'institution' => new external_value(core_user::get_property_type('institution'), 'institution', VALUE_OPTIONAL), 'idnumber' => new external_value(core_user::get_property_type('idnumber'), 'An arbitrary ID code number perhaps from the institution', VALUE_OPTIONAL), 'interests' => new external_value(PARAM_TEXT, 'user interests (separated by commas)', VALUE_OPTIONAL), 'firstaccess' => new external_value(core_user::get_property_type('firstaccess'), 'first access to the site (0 if never)', VALUE_OPTIONAL), 'lastaccess' => new external_value(core_user::get_property_type('lastaccess'), 'last access to the site (0 if never)', VALUE_OPTIONAL), 'auth' => new external_value(core_user::get_property_type('auth'), 'Auth plugins include manual, ldap, etc', VALUE_OPTIONAL), 'suspended' => new external_value(core_user::get_property_type('suspended'), 'Suspend user account, either false to enable user login or true to disable it', VALUE_OPTIONAL), 'confirmed' => new external_value(core_user::get_property_type('confirmed'), 'Active user: 1 if confirmed, 0 otherwise', VALUE_OPTIONAL), 'lang' => new external_value(core_user::get_property_type('lang'), 'Language code such as "en", must exist on server', VALUE_OPTIONAL), 'calendartype' => new external_value(core_user::get_property_type('calendartype'), 'Calendar type such as "gregorian", must exist on server', VALUE_OPTIONAL), 'theme' => new external_value(core_user::get_property_type('theme'), 'Theme name such as "standard", must exist on server', VALUE_OPTIONAL), 'timezone' => new external_value(core_user::get_property_type('timezone'), 'Timezone code such as Australia/Perth, or 99 for default', VALUE_OPTIONAL), 'mailformat' => new external_value(core_user::get_property_type('mailformat'), 'Mail format code is 0 for plain text, 1 for HTML etc', VALUE_OPTIONAL), 'trackforums' => new external_value(core_user::get_property_type('trackforums'), 'Whether the user is tracking forums.', VALUE_OPTIONAL), 'description' => new external_value(core_user::get_property_type('description'), 'User profile description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value(core_user::get_property_type('descriptionformat'), VALUE_OPTIONAL), 'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(core_user::get_property_type('country'), 'Home country code of the user, such as AU or CZ', VALUE_OPTIONAL), 'profileimageurlsmall' => new external_value(PARAM_URL, 'User image profile URL - small version'), 'profileimageurl' => new external_value(PARAM_URL, 'User image profile URL - big version'), 'customfields' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field - text field, checkbox...'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field (as stored in the database)'), 'displayvalue' => new external_value(PARAM_RAW, 'The value of the custom field for display', VALUE_OPTIONAL), 'name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field - to be able to build the field class in the code'), )), 'User custom fields (also known as user profile fields)', VALUE_OPTIONAL), 'preferences' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the preferences'), 'value' => new external_value(PARAM_RAW, 'The value of the preference'), )), 'Users preferences', VALUE_OPTIONAL))
/user/lib.php:11311$event = \core\event\user_list_viewed::create(array('objectid' => $course->id, 'courseid' => $course->id, 'context' => $context, 'other' => array('courseshortname' => $course->shortname, 'coursefullname' => $course->fullname)))
/user/calendar.php:611$usernew = ['id' => $USER->id, 'preference_calendar_timeformat' => $data->timeformat, 'preference_calendar_startwday' => $data->startwday, 'preference_calendar_maxevents' => $data->maxevents, 'preference_calendar_lookahead' => $data->lookahead, 'preference_calendar_persistflt' => $data->persistflt]
/user/externallib.php:441$userfields = ['createpassword' => new external_value(PARAM_BOOL, 'True if password should be created and mailed to user.', VALUE_OPTIONAL), 'username' => new external_value(core_user::get_property_type('username'), 'Username policy is defined in Moodle security config.'), 'auth' => new external_value(core_user::get_property_type('auth'), 'Auth plugins include manual, ldap, etc', VALUE_DEFAULT, 'manual', core_user::get_property_null('auth')), 'password' => new external_value(core_user::get_property_type('password'), 'Plain text password consisting of any characters', VALUE_OPTIONAL), 'firstname' => new external_value(core_user::get_property_type('firstname'), 'The first name(s) of the user'), 'lastname' => new external_value(core_user::get_property_type('lastname'), 'The family name of the user'), 'email' => new external_value(core_user::get_property_type('email'), 'A valid and unique email address'), 'maildisplay' => new external_value(core_user::get_property_type('maildisplay'), 'Email visibility', VALUE_OPTIONAL), 'city' => new external_value(core_user::get_property_type('city'), 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(core_user::get_property_type('country'), 'Home country code of the user, such as AU or CZ', VALUE_OPTIONAL), 'timezone' => new external_value(core_user::get_property_type('timezone'), 'Timezone code such as Australia/Perth, or 99 for default', VALUE_OPTIONAL), 'description' => new external_value(core_user::get_property_type('description'), 'User profile description, no HTML', VALUE_OPTIONAL), 'firstnamephonetic' => new external_value(core_user::get_property_type('firstnamephonetic'), 'The first name(s) phonetically of the user', VALUE_OPTIONAL), 'lastnamephonetic' => new external_value(core_user::get_property_type('lastnamephonetic'), 'The family name phonetically of the user', VALUE_OPTIONAL), 'middlename' => new external_value(core_user::get_property_type('middlename'), 'The middle name of the user', VALUE_OPTIONAL), 'alternatename' => new external_value(core_user::get_property_type('alternatename'), 'The alternate name of the user', VALUE_OPTIONAL), 'interests' => new external_value(PARAM_TEXT, 'User interests (separated by commas)', VALUE_OPTIONAL), 'idnumber' => new external_value(core_user::get_property_type('idnumber'), 'An arbitrary ID code number perhaps from the institution', VALUE_DEFAULT, ''), 'institution' => new external_value(core_user::get_property_type('institution'), 'institution', VALUE_OPTIONAL), 'department' => new external_value(core_user::get_property_type('department'), 'department', VALUE_OPTIONAL), 'phone1' => new external_value(core_user::get_property_type('phone1'), 'Phone 1', VALUE_OPTIONAL), 'phone2' => new external_value(core_user::get_property_type('phone2'), 'Phone 2', VALUE_OPTIONAL), 'address' => new external_value(core_user::get_property_type('address'), 'Postal address', VALUE_OPTIONAL), 'lang' => new external_value(core_user::get_property_type('lang'), 'Language code such as "en", must exist on server', VALUE_DEFAULT, core_user::get_property_default('lang'), core_user::get_property_null('lang')), 'calendartype' => new external_value(core_user::get_property_type('calendartype'), 'Calendar type such as "gregorian", must exist on server', VALUE_DEFAULT, $CFG->calendartype, VALUE_OPTIONAL), 'theme' => new external_value(core_user::get_property_type('theme'), 'Theme name such as "standard", must exist on server', VALUE_OPTIONAL), 'mailformat' => new external_value(core_user::get_property_type('mailformat'), 'Mail format code is 0 for plain text, 1 for HTML etc', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(['type' => new external_value(PARAM_ALPHANUMEXT, 'The name of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field')]), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL), 'preferences' => new external_multiple_structure(new external_single_structure(['type' => new external_value(PARAM_RAW, 'The name of the preference'), 'value' => new external_value(PARAM_RAW, 'The value of the preference')]), 'User preferences', VALUE_OPTIONAL), ]
/user/externallib.php:3611return new external_function_parameters(array('userid' => new external_value(PARAM_INT, 'id of the user, default to current user', VALUE_DEFAULT, 0), 'emailstop' => new external_value(core_user::get_property_type('emailstop'), 'Enable or disable notifications for this user', VALUE_DEFAULT, null), 'preferences' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_RAW, 'The name of the preference'), 'value' => new external_value(PARAM_RAW, 'The value of the preference, do not set this field if you want to remove (unset) the current value.', VALUE_DEFAULT, null), )), 'User preferences', VALUE_DEFAULT, array( ))))
/message/tests/api_test.php:62421$convgroup = api::create_conversation(api::MESSAGE_CONVERSATION_TYPE_GROUP, [$teacher->id, $student1->id, $student2->id], 'Group test delete for everyone', api::MESSAGE_CONVERSATION_ENABLED, 'core_group', 'groups', $group1->id, \context_course::instance($course->id)->id)
/message/tests/api_test.php:58784$users = [$generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( )]
/message/tests/external/get_unread_notification_count_test.php:761$notificationids = [testhelper::send_fake_unread_notification($sender1, $recipient, 'Notification', 1), testhelper::send_fake_unread_notification($sender1, $recipient, 'Notification', 2), testhelper::send_fake_unread_notification($sender2, $recipient, 'Notification', 3), testhelper::send_fake_unread_notification($sender2, $recipient, 'Notification', 4), testhelper::send_fake_unread_notification($sender3, $recipient, 'Notification', 5), testhelper::send_fake_unread_notification($sender3, $recipient, 'Notification', 6), ]
/message/tests/behat/behat_message.php:461return [new behat_component_named_selector('Message', [".//*[@data-conversation-id]//img[%altMatch%]/.."]), new behat_component_named_selector('Message conversation', [<<<XPATH .//*[@data-region='message-drawer' and contains(., %locator%)]//div[@data-region='content-message-container'] XPATH], false), new behat_component_named_selector('Message header', [<<<XPATH .//*[@data-region='message-drawer']//div[@data-region='header-content' and contains(., %locator%)] XPATH]), new behat_component_named_selector('Message member', [<<<XPATH .//*[@data-region='message-drawer']//div[@data-region='group-info-content-container'] //div[@class='list-group' and not(contains(@class, 'hidden'))]//*[%core_message/textMatch%] XPATH, <<<XPATH .//*[@data-region='message-drawer']//div[@data-region='group-info-content-container'] //div[@data-region='empty-message-container' and not(contains(@class, 'hidden')) and contains(., %locator%)] XPATH], false), new behat_component_named_selector('Message tab', [<<<XPATH .//*[@data-region='message-drawer']//button[@data-toggle='collapse' and contains(string(), %locator%)] XPATH], false), new behat_component_named_selector('Message list area', [<<<XPATH .//*[@data-region='message-drawer']//*[contains(@data-region, concat('view-overview-', %locator%))] XPATH], false), new behat_component_named_selector('Message content', [<<<XPATH .//*[@data-region='message-drawer']//*[@data-region='message' and @data-message-id and contains(., %locator%)] XPATH], false), ]
/message/tests/api_test.php:53772$conversations = [['type' => $typeindividual, 'users' => [$user1, $user2], 'messages' => [$user1, $user2, $user2], 'favourites' => [$user1], 'enabled' => null], ['type' => $typeindividual, 'users' => [$user1, $user3], 'messages' => [$user1, $user3, $user1], 'favourites' => [ ], 'enabled' => null], ['type' => $typegroup, 'users' => [$user1, $user2, $user3, $user4], 'messages' => [$user1, $user2, $user3, $user4], 'favourites' => [ ], 'enabled' => true], ['type' => $typegroup, 'users' => [$user2, $user3, $user4], 'messages' => [$user2, $user3, $user4], 'favourites' => [ ], 'enabled' => true], ['type' => $typegroup, 'users' => [$user6, $user7], 'messages' => [$user6, $user7, $user7], 'favourites' => [$user6], 'enabled' => false], ['type' => $typeself, 'users' => [$user8], 'messages' => [$user8], 'favourites' => [ ], 'enabled' => null], ]
/message/tests/api_test.php:2491$gc1 = api::create_conversation(api::MESSAGE_CONVERSATION_TYPE_GROUP, [$users[1]->id, $users[2]->id, $users[4]->id, $users[7]->id, $users[8]->id], 'Project chat')
/message/tests/api_test.php:57544$users = [$generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( ), $generator->create_user( )]
/message/tests/api_test.php:54221return ['No conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user5], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'No individual conversations, 2 group conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user4], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '2 individual conversations (one favourited), 1 group conversation' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '1 individual conversation, 2 group conversations' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user2], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], '2 group conversations only' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user4], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete a message from individual favourited, messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete a message from individual non-favourited, messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual favourited, no messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0, 1, 2], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual non-favourited, no messages remaining' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3, 4, 5], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual favourited, no messages remaining, different user' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [0, 1, 2], 'arguments' => [$user2], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from individual non-favourited, no messages remaining, different user' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [3, 4, 5], 'arguments' => [$user3], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 2, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete some messages from group non-favourited, messages remaining,' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [6, 7], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, delete all messages from group non-favourited, no messages remaining,' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => $user1, 'deletemessages' => [6, 7, 8, 9], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'All conversation types, another user soft deleted' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [$user2]], 'All conversation types, all group users soft deleted' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user1], 'expectedcounts' => ['favourites' => 2, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 1, api::MESSAGE_CONVERSATION_TYPE_GROUP => 1, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [$user2, $user3, $user4]], 'Group conversation which is disabled, favourited' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user6], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'Group conversation which is disabled, non-favourited' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user7], 'expectedcounts' => ['favourites' => 1, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], 'Conversation with self' => ['conversationConfigs' => $conversations, 'deletemessagesuser' => null, 'deletemessages' => [ ], 'arguments' => [$user8], 'expectedcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 1]], 'expectedunreadcounts' => ['favourites' => 0, 'types' => [api::MESSAGE_CONVERSATION_TYPE_INDIVIDUAL => 0, api::MESSAGE_CONVERSATION_TYPE_GROUP => 0, api::MESSAGE_CONVERSATION_TYPE_SELF => 0]], 'deletedusers' => [ ]], ]
/message/output/airnotifier/externallib.php:1881return new external_single_structure(array('users' => new external_multiple_structure(new external_single_structure(array('userid' => new external_value(PARAM_INT, 'userid id'), 'configured' => new external_value(PARAM_INT, '1 if the user preferences have been configured and 0 if not'))), 'list of preferences by user'), 'warnings' => new external_warnings( )))
/message/output/popup/tests/externallib_test.php:1861$notificationids = array($this->send_fake_unread_popup_notification($sender1, $recipient, 'Notification', 1), $this->send_fake_unread_popup_notification($sender1, $recipient, 'Notification', 2), $this->send_fake_unread_popup_notification($sender2, $recipient, 'Notification', 3), $this->send_fake_unread_popup_notification($sender2, $recipient, 'Notification', 4), $this->send_fake_unread_popup_notification($sender3, $recipient, 'Notification', 5), $this->send_fake_unread_popup_notification($sender3, $recipient, 'Notification', 6), )
/message/output/airnotifier/classes/privacy/provider.php:1251$data = (object) ['appid' => $result->appid, 'pushid' => $result->pushid, 'name' => $result->name, 'model' => $result->model, 'platform' => $result->platform, 'version' => $result->version, 'timecreated' => transform::datetime($result->timecreated), 'timemodified' => transform::datetime($result->timemodified), 'enabled' => transform::yesno($result->enable)]
/message/output/airnotifier/externallib.php:2901return new external_single_structure(array('devices' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Device id (in the message_airnotifier table)'), 'appid' => new external_value(PARAM_NOTAGS, 'The app id, something like com.moodle.moodlemobile'), 'name' => new external_value(PARAM_NOTAGS, 'The device name, \'occam\' or \'iPhone\' etc.'), 'model' => new external_value(PARAM_NOTAGS, 'The device model \'Nexus4\' or \'iPad1,1\' etc.'), 'platform' => new external_value(PARAM_NOTAGS, 'The device platform \'iOS\' or \'Android\' etc.'), 'version' => new external_value(PARAM_NOTAGS, 'The device version \'6.1.2\' or \'4.2.2\' etc.'), 'pushid' => new external_value(PARAM_RAW, 'The device PUSH token/key/identifier/registration id'), 'uuid' => new external_value(PARAM_RAW, 'The device UUID'), 'enable' => new external_value(PARAM_INT, 'Whether the device is enabled or not'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timemodified' => new external_value(PARAM_INT, 'Time modified'), )), 'List of devices'), 'warnings' => new external_warnings( )))
/message/output/popup/externallib.php:541return new external_function_parameters(array('useridto' => new external_value(PARAM_INT, 'the user id who received the message, 0 for current user'), 'newestfirst' => new external_value(PARAM_BOOL, 'true for ordering by newest first, false for oldest first', VALUE_DEFAULT, true), 'limit' => new external_value(PARAM_INT, 'the number of results to return', VALUE_DEFAULT, 0), 'offset' => new external_value(PARAM_INT, 'offset the result set by a given amount', VALUE_DEFAULT, 0)))
/message/output/popup/lib.php:491$context = ['userid' => $USER->id, 'unreadcount' => $unreadcount, 'urls' => ['seeall' => (new moodle_url('/message/output/popup/notifications.php'))->out( ), 'preferences' => $preferencesurl ? $preferencesurl->out( ) : null, ], ]
/message/output/popup/tests/externallib_test.php:1261$notificationids = array($this->send_fake_unread_popup_notification($sender, $recipient, 'Notification 1', 1), $this->send_fake_unread_popup_notification($sender, $recipient, 'Notification 2', 2), $this->send_fake_unread_popup_notification($sender, $recipient, 'Notification 3', 3), $this->send_fake_unread_popup_notification($sender, $recipient, 'Notification 4', 4), $this->send_fake_read_popup_notification($sender, $recipient, 'Notification 5', 5), $this->send_fake_read_popup_notification($sender, $recipient, 'Notification 6', 6), $this->send_fake_read_popup_notification($sender, $recipient, 'Notification 7', 7), $this->send_fake_read_popup_notification($sender, $recipient, 'Notification 8', 8), )
/message/output/popup/externallib.php:1461return new external_single_structure(array('notifications' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Notification id (this is not guaranteed to be unique within this result set)'), 'useridfrom' => new external_value(PARAM_INT, 'User from id'), 'useridto' => new external_value(PARAM_INT, 'User to id'), 'subject' => new external_value(PARAM_TEXT, 'The notification subject'), 'shortenedsubject' => new external_value(PARAM_TEXT, 'The notification subject shortened with ellipsis'), 'text' => new external_value(PARAM_RAW, 'The message text formated'), 'fullmessage' => new external_value(PARAM_RAW, 'The message'), 'fullmessageformat' => new external_format_value('fullmessage'), 'fullmessagehtml' => new external_value(PARAM_RAW, 'The message in html'), 'smallmessage' => new external_value(PARAM_RAW, 'The shorten message'), 'contexturl' => new external_value(PARAM_RAW, 'Context URL'), 'contexturlname' => new external_value(PARAM_TEXT, 'Context URL link name'), 'timecreated' => new external_value(PARAM_INT, 'Time created'), 'timecreatedpretty' => new external_value(PARAM_TEXT, 'Time created in a pretty format'), 'timeread' => new external_value(PARAM_INT, 'Time read'), 'read' => new external_value(PARAM_BOOL, 'notification read status'), 'deleted' => new external_value(PARAM_BOOL, 'notification deletion status'), 'iconurl' => new external_value(PARAM_URL, 'URL for notification icon'), 'component' => new external_value(PARAM_TEXT, 'The component that generated the notification', VALUE_OPTIONAL), 'eventtype' => new external_value(PARAM_TEXT, 'The type of notification', VALUE_OPTIONAL), 'customdata' => new external_value(PARAM_RAW, 'Custom data to be passed to the message processor. The data here is serialised using json_encode().', VALUE_OPTIONAL), ), 'message')), 'unreadcount' => new external_value(PARAM_INT, 'the number of unread message for the given user'), ))
/admin/tool/lpmigrate/tests/processor_test.php:1181$cmcs = array($cms[$c1->id]['F1']->cmid => array($f1comps['A1']->get('id') => $lpg->create_course_module_competency(array('cmid' => $cms[$c1->id]['F1']->cmid, 'competencyid' => $f1comps['A1']->get('id'))), $f1comps['X1']->get('id') => $lpg->create_course_module_competency(array('cmid' => $cms[$c1->id]['F1']->cmid, 'competencyid' => $f1comps['X1']->get('id'))), ), $cms[$c1->id]['P1']->cmid => array($f1comps['A3']->get('id') => $lpg->create_course_module_competency(array('cmid' => $cms[$c1->id]['P1']->cmid, 'competencyid' => $f1comps['A3']->get('id'))), ), $cms[$c2->id]['F1']->cmid => array($f1comps['A2']->get('id') => $lpg->create_course_module_competency(array('cmid' => $cms[$c2->id]['F1']->cmid, 'competencyid' => $f1comps['A2']->get('id'))), $f1comps['A3']->get('id') => $lpg->create_course_module_competency(array('cmid' => $cms[$c2->id]['F1']->cmid, 'competencyid' => $f1comps['A3']->get('id'))), ), )
/admin/tool/mobile/settings.php:1511$options = [60 => new lang_string('numminutes', '', 1), 180 => new lang_string('numminutes', '', 3), 360 => new lang_string('numminutes', '', 6), 900 => new lang_string('numminutes', '', 15), 1800 => new lang_string('numminutes', '', 30), 3600 => new lang_string('numminutes', '', 60)]
/admin/tool/mobile/classes/external.php:821return new external_single_structure(array('plugins' => new external_multiple_structure(new external_single_structure(array('component' => new external_value(PARAM_COMPONENT, 'The plugin component name.'), 'version' => new external_value(PARAM_NOTAGS, 'The plugin version number.'), 'addon' => new external_value(PARAM_COMPONENT, 'The Mobile addon (package) name.'), 'dependencies' => new external_multiple_structure(new external_value(PARAM_COMPONENT, 'Mobile addon name.'), 'The list of Mobile addons this addon depends on.'), 'fileurl' => new external_value(PARAM_URL, 'The addon package url for download or empty if it doesn\'t exist.'), 'filehash' => new external_value(PARAM_RAW, 'The addon package hash or empty if it doesn\'t exist.'), 'filesize' => new external_value(PARAM_INT, 'The addon package size or empty if it doesn\'t exist.'), 'handlers' => new external_value(PARAM_RAW, 'Handlers definition (JSON)', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_RAW, 'Language strings used by the handlers (JSON)', VALUE_OPTIONAL), ))), 'warnings' => new external_warnings( ), ))
/admin/tool/mobile/classes/external.php:1371return new external_single_structure(array('wwwroot' => new external_value(PARAM_RAW, 'Site URL.'), 'httpswwwroot' => new external_value(PARAM_RAW, 'Site https URL (if httpslogin is enabled).'), 'sitename' => new external_value(PARAM_RAW, 'Site name.'), 'guestlogin' => new external_value(PARAM_INT, 'Whether guest login is enabled.'), 'rememberusername' => new external_value(PARAM_INT, 'Values: 0 for No, 1 for Yes, 2 for optional.'), 'authloginviaemail' => new external_value(PARAM_INT, 'Whether log in via email is enabled.'), 'registerauth' => new external_value(PARAM_PLUGIN, 'Authentication method for user registration.'), 'forgottenpasswordurl' => new external_value(PARAM_URL, 'Forgotten password URL.'), 'authinstructions' => new external_value(PARAM_RAW, 'Authentication instructions.'), 'authnoneenabled' => new external_value(PARAM_INT, 'Whether auth none is enabled.'), 'enablewebservices' => new external_value(PARAM_INT, 'Whether Web Services are enabled.'), 'enablemobilewebservice' => new external_value(PARAM_INT, 'Whether the Mobile service is enabled.'), 'maintenanceenabled' => new external_value(PARAM_INT, 'Whether site maintenance is enabled.'), 'maintenancemessage' => new external_value(PARAM_RAW, 'Maintenance message.'), 'logourl' => new external_value(PARAM_URL, 'The site logo URL', VALUE_OPTIONAL), 'compactlogourl' => new external_value(PARAM_URL, 'The site compact logo URL', VALUE_OPTIONAL), 'typeoflogin' => new external_value(PARAM_INT, 'The type of login. 1 for app, 2 for browser, 3 for embedded.'), 'launchurl' => new external_value(PARAM_URL, 'SSO login launch URL.', VALUE_OPTIONAL), 'mobilecssurl' => new external_value(PARAM_URL, 'Mobile custom CSS theme', VALUE_OPTIONAL), 'tool_mobile_disabledfeatures' => new external_value(PARAM_RAW, 'Disabled features in the app', VALUE_OPTIONAL), 'identityproviders' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_TEXT, 'The identity provider name.'), 'iconurl' => new external_value(PARAM_URL, 'The icon URL for the provider.'), 'url' => new external_value(PARAM_URL, 'The URL of the provider.'), )), 'Identity providers', VALUE_OPTIONAL), 'country' => new external_value(PARAM_NOTAGS, 'Default site country', VALUE_OPTIONAL), 'agedigitalconsentverification' => new external_value(PARAM_BOOL, 'Whether age digital consent verification is enabled.', VALUE_OPTIONAL), 'supportname' => new external_value(PARAM_NOTAGS, 'Site support contact name (only if age verification is enabled).', VALUE_OPTIONAL), 'supportemail' => new external_value(PARAM_EMAIL, 'Site support contact email (only if age verification is enabled).', VALUE_OPTIONAL), 'supportpage' => new external_value(PARAM_URL, 'Site support page link.', VALUE_OPTIONAL), 'supportavailability' => new external_value(PARAM_INT, 'Determines who has access to contact site support.', VALUE_OPTIONAL), 'autolang' => new external_value(PARAM_INT, 'Whether to detect default language from browser setting.', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_LANG, 'Default language for the site.', VALUE_OPTIONAL), 'langmenu' => new external_value(PARAM_INT, 'Whether the language menu should be displayed.', VALUE_OPTIONAL), 'langlist' => new external_value(PARAM_RAW, 'Languages on language menu.', VALUE_OPTIONAL), 'locale' => new external_value(PARAM_RAW, 'Sitewide locale.', VALUE_OPTIONAL), 'tool_mobile_minimumversion' => new external_value(PARAM_NOTAGS, 'Minimum required version to access.', VALUE_OPTIONAL), 'tool_mobile_iosappid' => new external_value(PARAM_ALPHANUM, 'iOS app\'s unique identifier.', VALUE_OPTIONAL), 'tool_mobile_androidappid' => new external_value(PARAM_NOTAGS, 'Android app\'s unique identifier.', VALUE_OPTIONAL), 'tool_mobile_setuplink' => new external_value(PARAM_URL, 'App download page.', VALUE_OPTIONAL), 'tool_mobile_qrcodetype' => new external_value(PARAM_INT, 'QR login configuration.', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ))
/admin/tool/mobile/classes/external.php:2431return new external_single_structure(array('settings' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the setting'), 'value' => new external_value(PARAM_RAW, 'The value of the setting'), )), 'Settings'), 'warnings' => new external_warnings( ), ))
/admin/tool/mobile/classes/external.php:3681return new external_function_parameters(array('component' => new external_value(PARAM_COMPONENT, 'Component where the class is e.g. mod_assign.'), 'method' => new external_value(PARAM_ALPHANUMEXT, 'Method to execute in class \$component\output\mobile.'), 'args' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'Param name.'), 'value' => new external_value(PARAM_RAW, 'Param value.'))), 'Args for the method are optional.', VALUE_OPTIONAL)))
/admin/tool/mobile/classes/external.php:4341return array('templates' => !empty($result['templates']) ? $result['templates'] : array( ), 'javascript' => !empty($result['javascript']) ? $result['javascript'] : '', 'otherdata' => $otherdata, 'files' => !empty($result['files']) ? $result['files'] : array( ), 'restrict' => !empty($result['restrict']) ? $result['restrict'] : array( ), 'disabled' => !empty($result['disabled']) ? true : false, )
/admin/tool/mobile/classes/external.php:4511return new external_single_structure(array('templates' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_TEXT, 'ID of the template.'), 'html' => new external_value(PARAM_RAW, 'HTML code.'), )), 'Templates required by the generated content.'), 'javascript' => new external_value(PARAM_RAW, 'JavaScript code.'), 'otherdata' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'Field name.'), 'value' => new external_value(PARAM_RAW, 'Field value.'))), 'Other data that can be used or manipulated by the template via 2-way data-binding.'), 'files' => new external_files('Files in the content.'), 'restrict' => new external_single_structure(array('users' => new external_multiple_structure(new external_value(PARAM_INT, 'user id'), 'List of allowed users.', VALUE_OPTIONAL), 'courses' => new external_multiple_structure(new external_value(PARAM_INT, 'course id'), 'List of allowed courses.', VALUE_OPTIONAL), ), 'Restrict this content to certain users or courses.'), 'disabled' => new external_value(PARAM_BOOL, 'Whether we consider this disabled or not.', VALUE_OPTIONAL), ))
/admin/tool/moodlenet/options.php:1151$context = ['resourcename' => $importinfo->get_resource( )->get_name( ), 'resourcetype' => $importinfo->get_config( )->type, 'resourceurl' => urlencode($importinfo->get_resource( )->get_url( )->get_value( )), 'course' => $course->id, 'section' => $config->section, 'sesskey' => sesskey( ), 'handlers' => $handlercontext, 'oneoption' => sizeof($handlercontext) === 1]
/admin/tool/moodlenet/classes/external.php:1771return new external_single_structure(['courses' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'course id'), 'fullname' => new external_value(PARAM_TEXT, 'course full name'), 'hidden' => new external_value(PARAM_INT, 'is the course visible'), 'viewurl' => new external_value(PARAM_URL, 'Next step of import'), 'coursecategory' => new external_value(PARAM_TEXT, 'Category name'), 'courseimage' => new external_value(PARAM_RAW, 'course image'), ]))])
/admin/tool/moodlenet/classes/profile_manager.php:2791$data = (object) ['shortname' => self::set_profile_field_name('mnetprofile'), 'name' => get_string('mnetprofile', 'tool_moodlenet'), 'datatype' => 'text', 'description' => get_string('mnetprofiledesc', 'tool_moodlenet'), 'descriptionformat' => 1, 'categoryid' => $categoryid, 'signup' => 1, 'forceunique' => 1, 'visible' => 2, 'param1' => 30, 'param2' => 2048]
/admin/tool/moodlenet/classes/output/select_page.php:701return (object) ['name' => $this->importinfo->get_resource( )->get_name( ), 'type' => $this->importinfo->get_config( )->type, 'cancellink' => new \moodle_url('/'), ]
/admin/tool/moodlenet/tests/lib_test.php:571return [['@name@domain.name', 1, 2, 'https://domain.name/' . MOODLENET_DEFAULT_ENDPOINT . '?site=' . urlencode($CFG->wwwroot) . '&course=1&section=2'], ['@profile@name@domain.name', 1, 2, 'https://domain.name/' . MOODLENET_DEFAULT_ENDPOINT . '?site=' . urlencode($CFG->wwwroot) . '&course=1&section=2'], ['https://domain.name', 1, 2, 'https://domain.name/' . MOODLENET_DEFAULT_ENDPOINT . '?site=' . urlencode($CFG->wwwroot) . '&course=1&section=2']]
/admin/tool/moodlenet/tests/local/remote_resource_test.php:571return ['With filename and extension' => [$this->getExternalTestFileUrl('/test.html'), (object) ['name' => 'Test html file', 'description' => 'Full description of the html file'], 'html'], 'With filename only' => ['http://example.com/path/file', (object) ['name' => 'Test html file', 'description' => 'Full description of the html file'], '']]
/admin/tool/lpmigrate/tests/processor_test.php:871$cms = array($c1->id => array('F1' => $dg->create_module('forum', (object) array('course' => $c1->id)), 'P1' => $dg->create_module('page', (object) array('course' => $c1->id)), 'EmptyA' => $dg->create_module('page', (object) array('course' => $c1->id)), ), $c2->id => array('F1' => $dg->create_module('forum', (object) array('course' => $c2->id)), 'EmptyB' => $dg->create_module('page', (object) array('course' => $c2->id)), ), )
/admin/tool/lpmigrate/tests/processor_test.php:1001$ccs = array($c1->id => array($f1comps['A1']->get('id') => $lpg->create_course_competency(array('courseid' => $c1->id, 'competencyid' => $f1comps['A1']->get('id'))), $f1comps['A3']->get('id') => $lpg->create_course_competency(array('courseid' => $c1->id, 'competencyid' => $f1comps['A3']->get('id'))), $f1comps['X1']->get('id') => $lpg->create_course_competency(array('courseid' => $c1->id, 'competencyid' => $f1comps['X1']->get('id'))), ), $c2->id => array($f1comps['A2']->get('id') => $lpg->create_course_competency(array('courseid' => $c2->id, 'competencyid' => $f1comps['A2']->get('id'))), $f1comps['A3']->get('id') => $lpg->create_course_competency(array('courseid' => $c2->id, 'competencyid' => $f1comps['A3']->get('id'))), ))
/admin/tool/mobile/tests/fixtures/output/mobile.php:461return array('templates' => array(array('id' => 'main', 'html' => 'The HTML code', ), ), 'javascript' => 'alert();', 'otherdata' => array('otherdata1' => $args->param1), 'restrict' => array('users' => array(1, 2), 'courses' => array(3, 4)), 'files' => array( ))
/admin/tool/mobile/tests/externallib_test.php:6171$requests = [['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'id', 'value' => $course->id]), ], ['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'id', 'value' => $course->id]), 'settingraw' => '1'], ['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'id', 'value' => $course->id]), 'settingraw' => '1', 'settingfileurl' => '0'], ['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'id', 'value' => $course->id]), 'settingfilter' => '1', 'settinglang' => 'en'], ]
/admin/tool/recyclebin/tests/category_bin_test.php:1792return ['backup/backup_auto_storage moodle' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 0], ]], 'backup/backup_auto_storage external' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 1], (object) ['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true], ]], 'backup/backup_auto_storage mixed' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 2], (object) ['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true], ]], 'restore/restore_general_users moodle' => [[(object) ['plugin' => 'restore', 'name' => 'restore_general_users', 'value' => 0], (object) ['plugin' => 'restore', 'name' => 'restore_general_groups', 'value' => 0], ]], ]
/admin/tool/mobile/tests/fixtures/output/mobile.php:681return array('templates' => array(array('id' => 'main', 'html' => 'The HTML code', ), ), 'javascript' => 'alert();', 'otherdata' => array('otherdata1' => $args->param1), 'restrict' => array('users' => array(1, 2), 'courses' => array(3, 4)), 'files' => array( ), 'disabled' => true, )
/admin/tool/uploaduser/locallib.php:731$this->headers = ['status' => get_string('status'), 'line' => get_string('uucsvline', 'tool_uploaduser'), 'id' => 'ID', 'username' => get_string('username'), 'firstname' => get_string('firstname'), 'lastname' => get_string('lastname'), 'email' => get_string('email'), 'password' => get_string('password'), 'auth' => get_string('authentication'), 'enrolments' => get_string('enrolments', 'enrol'), 'suspended' => get_string('suspended', 'auth'), 'theme' => get_string('theme'), 'deleted' => get_string('delete'), ]
/admin/tool/recyclebin/tests/course_bin_test.php:1792return ['backup/backup_auto_storage moodle' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 0], ]], 'backup/backup_auto_storage external' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 1], (object) ['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true], ]], 'backup/backup_auto_storage mixed' => [[(object) ['plugin' => 'backup', 'name' => 'backup_auto_storage', 'value' => 2], (object) ['plugin' => 'backup', 'name' => 'backup_auto_destination', 'value' => true], ]], 'restore/restore_general_users moodle' => [[(object) ['plugin' => 'restore', 'name' => 'restore_general_users', 'value' => 0], (object) ['plugin' => 'restore', 'name' => 'restore_general_groups', 'value' => 0], ]], ]
/admin/tool/uploaduser/classes/process.php:2691return !empty($this->formdata->uupasswordold) and $this->get_operation_type( ) != UU_USER_ADDNEW and $this->get_operation_type( ) != UU_USER_ADDINC and ($this->get_update_type( ) == UU_UPDATE_FILEOVERRIDE or $this->get_update_type( ) == UU_UPDATE_ALLOVERRIDE)
/admin/tool/uploaduser/classes/cli_helper.php:901$options = ['help' => ['hasvalue' => false, 'description' => get_string('clihelp', 'tool_uploaduser'), 'default' => 0, 'alias' => 'h', ], 'file' => ['hasvalue' => 'PATH', 'description' => get_string('clifile', 'tool_uploaduser'), 'default' => null, 'validation' => function ($file) { /**/ } ], ]
/admin/tool/mobile/classes/external.php:5931return new external_function_parameters(['responses' => new external_multiple_structure(new external_single_structure(['error' => new external_value(PARAM_BOOL, 'Whether an exception was thrown.'), 'data' => new external_value(PARAM_RAW, 'JSON-encoded response data', VALUE_OPTIONAL), 'exception' => new external_value(PARAM_RAW, 'JSON-encoed exception info', VALUE_OPTIONAL), ]))])
/admin/tool/mobile/classes/external.php:4961return new external_function_parameters(['requests' => new external_multiple_structure(new external_single_structure(['function' => new external_value(PARAM_ALPHANUMEXT, 'Function name'), 'arguments' => new external_value(PARAM_RAW, 'JSON-encoded object with named arguments', VALUE_DEFAULT, '{}'), 'settingraw' => new external_value(PARAM_BOOL, 'Return raw text', VALUE_DEFAULT, false), 'settingfilter' => new external_value(PARAM_BOOL, 'Filter text', VALUE_DEFAULT, false), 'settingfileurl' => new external_value(PARAM_BOOL, 'Rewrite plugin file URLs', VALUE_DEFAULT, true), 'settinglang' => new external_value(PARAM_LANG, 'Session language', VALUE_DEFAULT, ''), ]))])
/admin/tool/mobile/classes/api.php:1851$settings = array('wwwroot' => $CFG->wwwroot, 'httpswwwroot' => $CFG->wwwroot, 'sitename' => \core_external\util::format_string($SITE->fullname, $context->id, true), 'guestlogin' => $CFG->guestloginbutton, 'rememberusername' => $CFG->rememberusername, 'authloginviaemail' => $CFG->authloginviaemail, 'registerauth' => $CFG->registerauth, 'forgottenpasswordurl' => clean_param($CFG->forgottenpasswordurl, PARAM_URL), 'authinstructions' => $authinstructions, 'authnoneenabled' => (int) is_enabled_auth('none'), 'enablewebservices' => $CFG->enablewebservices, 'enablemobilewebservice' => $CFG->enablemobilewebservice, 'maintenanceenabled' => $CFG->maintenance_enabled, 'maintenancemessage' => $maintenancemessage, 'mobilecssurl' => !empty($CFG->mobilecssurl) ? $CFG->mobilecssurl : '', 'tool_mobile_disabledfeatures' => get_config('tool_mobile', 'disabledfeatures'), 'country' => clean_param($CFG->country, PARAM_NOTAGS), 'agedigitalconsentverification' => \core_auth\digital_consent::is_age_digital_consent_verification_enabled( ), 'autolang' => $CFG->autolang, 'lang' => clean_param($CFG->lang, PARAM_LANG), 'langmenu' => $CFG->langmenu, 'langlist' => $CFG->langlist, 'locale' => $CFG->locale, 'tool_mobile_minimumversion' => get_config('tool_mobile', 'minimumversion'), 'tool_mobile_iosappid' => get_config('tool_mobile', 'iosappid'), 'tool_mobile_androidappid' => get_config('tool_mobile', 'androidappid'), 'tool_mobile_setuplink' => clean_param(get_config('tool_mobile', 'setuplink'), PARAM_URL), 'tool_mobile_qrcodetype' => clean_param(get_config('tool_mobile', 'qrcodetype'), PARAM_INT), 'supportpage' => $sitesupportavailable ? clean_param($CFG->supportpage, PARAM_URL) : '', 'supportavailability' => clean_param($CFG->supportavailability, PARAM_INT), )
/admin/tool/mobile/classes/api.php:1381$plugininfo = array('component' => $component, 'version' => $version, 'addon' => $addonname, 'dependencies' => !empty($addoninfo['dependencies']) ? $addoninfo['dependencies'] : array( ), 'fileurl' => '', 'filehash' => '', 'filesize' => 0, 'handlers' => $handlers, 'lang' => $lang, )
/admin/tool/mobile/tests/externallib_test.php:721$expected = array('wwwroot' => $CFG->wwwroot, 'httpswwwroot' => $CFG->wwwroot, 'sitename' => \core_external\util::format_string($SITE->fullname, $context->id, true), 'guestlogin' => $CFG->guestloginbutton, 'rememberusername' => $CFG->rememberusername, 'authloginviaemail' => $CFG->authloginviaemail, 'registerauth' => $CFG->registerauth, 'forgottenpasswordurl' => $CFG->forgottenpasswordurl, 'authinstructions' => $authinstructions, 'authnoneenabled' => (int) is_enabled_auth('none'), 'enablewebservices' => $CFG->enablewebservices, 'enablemobilewebservice' => $CFG->enablemobilewebservice, 'maintenanceenabled' => $CFG->maintenance_enabled, 'maintenancemessage' => $maintenancemessage, 'typeoflogin' => api::LOGIN_VIA_APP, 'mobilecssurl' => '', 'tool_mobile_disabledfeatures' => '', 'launchurl' => "$CFG->wwwroot/$CFG->admin/tool/mobile/launch.php", 'country' => $CFG->country, 'agedigitalconsentverification' => \core_auth\digital_consent::is_age_digital_consent_verification_enabled( ), 'autolang' => $CFG->autolang, 'lang' => $CFG->lang, 'langmenu' => $CFG->langmenu, 'langlist' => $CFG->langlist, 'locale' => $CFG->locale, 'tool_mobile_minimumversion' => '', 'tool_mobile_iosappid' => get_config('tool_mobile', 'iosappid'), 'tool_mobile_androidappid' => get_config('tool_mobile', 'androidappid'), 'tool_mobile_setuplink' => get_config('tool_mobile', 'setuplink'), 'tool_mobile_qrcodetype' => get_config('tool_mobile', 'qrcodetype'), 'supportpage' => $CFG->supportpage, 'supportavailability' => $CFG->supportavailability, 'warnings' => array( ))
/admin/tool/mobile/classes/api.php:5591$features = array("$general" => array('NoDelegate_CoreOffline' => new lang_string('offlineuse', 'tool_mobile'), 'NoDelegate_SiteBlocks' => new lang_string('blocks'), 'NoDelegate_CoreComments' => new lang_string('comments'), 'NoDelegate_CoreRating' => new lang_string('ratings', 'rating'), 'NoDelegate_CoreTag' => new lang_string('tags'), '$mmLoginEmailSignup' => new lang_string('startsignup'), 'NoDelegate_ForgottenPassword' => new lang_string('forgotten'), 'NoDelegate_ResponsiveMainMenuItems' => new lang_string('responsivemainmenuitems', 'tool_mobile'), 'NoDelegate_H5POffline' => new lang_string('h5poffline', 'tool_mobile'), 'NoDelegate_DarkMode' => new lang_string('darkmode', 'tool_mobile'), 'CoreFilterDelegate' => new lang_string('type_filter_plural', 'plugin'), 'CoreReportBuilderDelegate' => new lang_string('reportbuilder', 'core_reportbuilder'), 'NoDelegate_CoreUserSupport' => new lang_string('contactsitesupport', 'admin'), 'NoDelegate_GlobalSearch' => new lang_string('globalsearch', 'search'), ), "$mainmenu" => array('$mmSideMenuDelegate_mmaFrontpage' => new lang_string('sitehome'), 'CoreMainMenuDelegate_CoreCoursesDashboard' => new lang_string('myhome'), '$mmSideMenuDelegate_mmCourses' => new lang_string('mycourses'), '$mmSideMenuDelegate_mmaMessages' => new lang_string('messages', 'message'), '$mmSideMenuDelegate_mmaNotifications' => new lang_string('notifications', 'message'), '$mmSideMenuDelegate_mmaCalendar' => new lang_string('calendar', 'calendar'), 'CoreMainMenuDelegate_AddonBlog' => new lang_string('blog', 'blog'), 'CoreMainMenuDelegate_CoreTag' => new lang_string('tags'), 'CoreMainMenuDelegate_QrReader' => new lang_string('scanqrcode', 'tool_mobile'), ), "$useraccount" => array('$mmSideMenuDelegate_mmaGrades' => new lang_string('grades', 'grades'), '$mmSideMenuDelegate_mmaFiles' => new lang_string('files'), 'CoreUserDelegate_AddonBadges:account' => new lang_string('badges', 'badges'), 'CoreUserDelegate_AddonBlog:account' => new lang_string('blog', 'blog'), '$mmSideMenuDelegate_mmaCompetency' => new lang_string('myplans', 'tool_lp'), 'CoreUserDelegate_CorePolicy' => new lang_string('policiesagreements', 'tool_policy'), 'CoreUserDelegate_CoreDataPrivacy' => new lang_string('pluginname', 'tool_dataprivacy'), 'NoDelegate_SwitchAccount' => new lang_string('switchaccount', 'tool_mobile'), ), "$course" => array('$mmCoursesDelegate_mmaParticipants' => new lang_string('participants'), '$mmCoursesDelegate_mmaGrades' => new lang_string('grades', 'grades'), '$mmCoursesDelegate_mmaCompetency' => new lang_string('competencies', 'competency'), '$mmCoursesDelegate_mmaNotes' => new lang_string('notes', 'notes'), '$mmCoursesDelegate_mmaCourseCompletion' => new lang_string('coursecompletion', 'completion'), 'NoDelegate_CourseBlocks' => new lang_string('blocks'), 'CoreCourseOptionsDelegate_AddonBlog' => new lang_string('blog', 'blog'), '$mmCoursesDelegate_search' => new lang_string('search'), 'NoDelegate_CoreCourseDownload' => new lang_string('downloadcourse', 'tool_mobile'), 'NoDelegate_CoreCoursesDownload' => new lang_string('downloadcourses', 'tool_mobile'), ), "$participants" => array('$mmUserDelegate_mmaGrades:viewGrades' => new lang_string('grades', 'grades'), '$mmUserDelegate_mmaCourseCompletion:viewCompletion' => new lang_string('coursecompletion', 'completion'), '$mmUserDelegate_mmaBadges' => new lang_string('badges', 'badges'), '$mmUserDelegate_mmaNotes:addNote' => new lang_string('notes', 'notes'), 'CoreUserDelegate_AddonBlog:blogs' => new lang_string('blog', 'blog'), '$mmUserDelegate_mmaCompetency:learningPlan' => new lang_string('competencies', 'competency'), '$mmUserDelegate_mmaMessages:sendMessage' => new lang_string('sendmessage', 'message'), '$mmUserDelegate_picture' => new lang_string('userpic'), ), "$files" => array('files_privatefiles' => new lang_string('privatefiles'), 'files_sitefiles' => new lang_string('sitefiles'), 'files_upload' => new lang_string('upload'), ), "$modules" => $coursemodules, "$blocks" => $courseblocks, )
/admin/tool/mobile/tests/externallib_test.php:5581$requests = [['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'id', 'value' => $course->id])], ['function' => 'core_user_get_users_by_field', 'arguments' => json_encode(['field' => 'id', 'values' => [$user1->id]])], ['function' => 'core_user_get_user_preferences', 'arguments' => json_encode(['name' => 'some_setting', 'userid' => $user2->id])], ['function' => 'core_course_get_courses_by_field', 'arguments' => json_encode(['field' => 'shortname', 'value' => $course->shortname])], ]
/admin/tool/mobile/tests/externallib_test.php:2101$expected = array(array('name' => 'fullname', 'value' => $SITE->fullname), array('name' => 'shortname', 'value' => $SITE->shortname), array('name' => 'summary', 'value' => $sitesummary), array('name' => 'summaryformat', 'value' => $summaryformat), array('name' => 'frontpage', 'value' => $CFG->frontpage), array('name' => 'frontpageloggedin', 'value' => $CFG->frontpageloggedin), array('name' => 'maxcategorydepth', 'value' => $CFG->maxcategorydepth), array('name' => 'frontpagecourselimit', 'value' => $CFG->frontpagecourselimit), array('name' => 'numsections', 'value' => course_get_format($SITE)->get_last_section_number( )), array('name' => 'newsitems', 'value' => $SITE->newsitems), array('name' => 'commentsperpage', 'value' => $CFG->commentsperpage), array('name' => 'sitepolicy', 'value' => $mysitepolicy), array('name' => 'sitepolicyhandler', 'value' => ''), array('name' => 'disableuserimages', 'value' => $CFG->disableuserimages), array('name' => 'mygradesurl', 'value' => user_mygrades_url( )->out(false)), array('name' => 'tool_mobile_forcelogout', 'value' => 0), array('name' => 'tool_mobile_customlangstrings', 'value' => ''), array('name' => 'tool_mobile_disabledfeatures', 'value' => ''), array('name' => 'tool_mobile_filetypeexclusionlist', 'value' => ''), array('name' => 'tool_mobile_custommenuitems', 'value' => ''), array('name' => 'tool_mobile_apppolicy', 'value' => ''), array('name' => 'tool_mobile_autologinmintimebetweenreq', 'value' => 6 * MINSECS), array('name' => 'tool_mobile_autologout', 'value' => get_config('tool_mobile', 'autologout')), array('name' => 'tool_mobile_autologouttime', 'value' => get_config('tool_mobile', 'autologouttime')), array('name' => 'calendartype', 'value' => $CFG->calendartype), array('name' => 'calendar_site_timeformat', 'value' => $CFG->calendar_site_timeformat), array('name' => 'calendar_startwday', 'value' => $CFG->calendar_startwday), array('name' => 'calendar_adminseesall', 'value' => $CFG->calendar_adminseesall), array('name' => 'calendar_lookahead', 'value' => $CFG->calendar_lookahead), array('name' => 'calendar_maxevents', 'value' => $CFG->calendar_maxevents), )
/admin/tool/dataprivacy/classes/form/purpose.php:1331$fields = [$this->get_role_override_id('roleoverride_'), $this->get_role_field('roleoverride_'), $this->get_retention_period_fields('roleoverride_'), $this->get_protected_field('roleoverride_'), $this->get_lawful_base_field('roleoverride_'), $this->get_sensitive_base_field('roleoverride_'), ]
/admin/tool/dataprivacy/classes/output/expired_contexts_table.php:801$columnheaders = ['name' => get_string('name'), 'info' => get_string('info'), 'purpose' => get_string('purpose', 'tool_dataprivacy'), 'category' => get_string('category', 'tool_dataprivacy'), 'retentionperiod' => get_string('retentionperiod', 'tool_dataprivacy'), 'tobedeleted' => get_string('tobedeleted', 'tool_dataprivacy'), 'timecreated' => get_string('expiry', 'tool_dataprivacy'), ]
/admin/tool/dataprivacy/classes/api.php:7621$messagetextdata = ['requestedby' => $requestedby->fullname, 'requesttype' => $typetext, 'requestdate' => userdate($requestdata->timecreated), 'requestorigin' => format_string($SITE->fullname, true, ['context' => context_system::instance( )]), 'requestoriginurl' => new moodle_url('/'), 'requestcomments' => $requestdata->messagehtml, 'datarequestsurl' => $datarequestsurl]
/admin/tool/dataprivacy/classes/output/data_requests_table.php:1011$columnheaders = ['select' => html_writer::checkbox('selectall', 1, false, null, $checkboxattrs), 'type' => get_string('requesttype', 'tool_dataprivacy'), 'userid' => get_string('user', 'tool_dataprivacy'), 'timecreated' => get_string('daterequested', 'tool_dataprivacy'), 'requestedby' => get_string('requestby', 'tool_dataprivacy'), 'status' => get_string('requeststatus', 'tool_dataprivacy'), 'comments' => get_string('message', 'tool_dataprivacy'), 'actions' => '', ]
/admin/tool/dataprivacy/classes/output/data_requests_table.php:3941$data->options = [['value' => 0, 'name' => ''], ['value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_APPROVE, 'name' => get_string('approve', 'tool_dataprivacy')], ['value' => \tool_dataprivacy\api::DATAREQUEST_ACTION_REJECT, 'name' => get_string('deny', 'tool_dataprivacy')]]
/admin/tool/dataprivacy/classes/output/data_registry_page.php:1281$elements = ['text' => get_string('contextlevelname' . CONTEXT_SYSTEM, 'tool_dataprivacy'), 'contextlevel' => CONTEXT_SYSTEM, 'branches' => [['text' => get_string('user'), 'contextlevel' => CONTEXT_USER, ], ['text' => get_string('categories'), 'branches' => $categorybranches, 'expandelement' => 'category', ], ['text' => get_string('frontpagecourse', 'tool_dataprivacy'), 'contextid' => $frontpage->id, 'branches' => [['text' => get_string('activitiesandresources', 'tool_dataprivacy'), 'expandcontextid' => $frontpage->id, 'expandelement' => 'module', 'expanded' => 0, ], ['text' => get_string('blocks'), 'expandcontextid' => $frontpage->id, 'expandelement' => 'block', 'expanded' => 0, ], ]]]]
/admin/tool/dataprivacy/classes/output/data_registry_page.php:2361$coursenode = ['text' => shorten_text(format_string($course->shortname, true, ['context' => $coursecontext])), 'contextid' => $coursecontext->id, 'branches' => [['text' => get_string('activitiesandresources', 'tool_dataprivacy'), 'expandcontextid' => $coursecontext->id, 'expandelement' => 'module', 'expanded' => 0, ], ['text' => get_string('blocks'), 'expandcontextid' => $coursecontext->id, 'expandelement' => 'block', 'expanded' => 0, ], ]]
/admin/tool/moodlenet/index.php:851$url = new \moodle_url('/backup/restorefile.php', ['component' => $storedfile->get_component( ), 'filearea' => $storedfile->get_filearea( ), 'itemid' => $storedfile->get_itemid( ), 'filepath' => $storedfile->get_filepath( ), 'filename' => $storedfile->get_filename( ), 'filecontextid' => $storedfile->get_contextid( ), 'contextid' => $context->id, 'action' => 'choosebackupfile'])
/admin/tool/dataprivacy/db/access.php:271$capabilities = ['tool/dataprivacy:managedatarequests' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ]], 'tool/dataprivacy:requestdeleteforotheruser' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ], 'clonepermissionsfrom' => 'tool/dataprivacy:managedatarequests'], 'tool/dataprivacy:managedataregistry' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS | RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => [ ]], 'tool/dataprivacy:makedatarequestsforchildren' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => [ ]], 'tool/dataprivacy:makedatadeletionrequestsforchildren' => ['riskbitmask' => RISK_SPAM | RISK_PERSONAL, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => [ ], 'clonepermissionsfrom' => 'tool/dataprivacy:makedatarequestsforchildren'], 'tool/dataprivacy:downloadownrequest' => ['riskbitmask' => 0, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => ['user' => CAP_ALLOW]], 'tool/dataprivacy:downloadallrequests' => ['riskbitmask' => RISK_PERSONAL, 'captype' => 'read', 'contextlevel' => CONTEXT_USER, 'archetypes' => [ ]], 'tool/dataprivacy:requestdelete' => ['riskbitmask' => RISK_DATALOSS, 'captype' => 'write', 'contextlevel' => CONTEXT_USER, 'archetypes' => ['user' => CAP_ALLOW]]]
/admin/tool/dataprivacy/tests/api_test.php:12581$update = (object) ['id' => $contextinstance2->get('id'), 'contextid' => $coursecontext2->id, 'purposeid' => $purposes[0]->get('id'), 'categoryid' => $categories[0]->get('id')]
/admin/tool/dataprivacy/tests/expired_contexts_test.php:19951return ['Fully expired' => [['status' => expired_context::STATUS_APPROVED, 'defaultexpired' => 1, ], true, ], 'Unexpired roles present' => [['status' => expired_context::STATUS_APPROVED, 'defaultexpired' => 1, 'unexpiredroles' => json_encode([1]), ], false, ], 'Only some expired roles present' => [['status' => expired_context::STATUS_APPROVED, 'defaultexpired' => 0, 'expiredroles' => json_encode([1]), ], false, ], ]
/admin/tool/moodlenet/lib.php:921$renderedcarousel = $OUTPUT->render_from_template('tool_moodlenet/chooser_moodlenet', (object) ['buttonName' => get_config('tool_moodlenet', 'defaultmoodlenetname'), 'generic' => $defaultlink, 'courseID' => $courseid, 'sectionID' => $sectionid, 'img' => $OUTPUT->image_url('MoodleNet', 'tool_moodlenet')->out(false), ])
/admin/tool/moodlenet/lib.php:831$renderedfooter = $OUTPUT->render_from_template('tool_moodlenet/chooser_footer', (object) ['enabled' => (bool) $enabled, 'generic' => $defaultlink, 'advanced' => $advanced, 'courseID' => $courseid, 'sectionID' => $sectionid, 'img' => $OUTPUT->image_url('MoodleNet', 'tool_moodlenet')->out(false), ])
/admin/tool/moodlenet/index.php:1191$context = ['resourceurl' => $importinfo->get_resource( )->get_url( )->get_value( ), 'resourcename' => $importinfo->get_resource( )->get_name( ), 'resourcetype' => $importinfo->get_config( )->type, 'sesskey' => sesskey( )]
/admin/tool/moodlenet/index.php:1191$context = $context = ['resourceurl' => $importinfo->get_resource( )->get_url( )->get_value( ), 'resourcename' => $importinfo->get_resource( )->get_name( ), 'resourcetype' => $importinfo->get_config( )->type, 'sesskey' => sesskey( )]
/admin/tool/dataprivacy/classes/external/get_data_requests.php:991$params = self::validate_parameters(self::execute_parameters( ), ['userid' => $userid, 'statuses' => $statuses, 'types' => $types, 'creationmethods' => $creationmethods, 'sort' => $sort, 'limitfrom' => $limitfrom, 'limitnum' => $limitnum, ])
/admin/tool/dataprivacy/classes/external/get_data_requests.php:461return new external_function_parameters(['userid' => new external_value(PARAM_INT, 'The id of the user to get the data requests for. Empty for all users.', VALUE_DEFAULT, 0), 'statuses' => new external_multiple_structure(new external_value(PARAM_INT, 'The status of the data requests to get.'), 'The statuses of the data requests to get. 0 for pending 1 preprocessing, 2 awaiting approval, 3 approved, 4 processed, 5 completed, 6 cancelled, 7 rejected.', VALUE_DEFAULT, [ ]), 'types' => new external_multiple_structure(new external_value(PARAM_INT, 'The type of the data requests to get.'), 'The types of the data requests to get. 1 for export, 2 for data deletion.', VALUE_DEFAULT, [ ]), 'creationmethods' => new external_multiple_structure(new external_value(PARAM_INT, 'The creation method of the data requests to get.'), 'The creation methods of the data requests to get. 0 for manual, 1 for automatic.', VALUE_DEFAULT, [ ]), 'sort' => new external_value(PARAM_NOTAGS, 'The field to sort the data requests by.', VALUE_DEFAULT, ''), 'limitfrom' => new external_value(PARAM_INT, 'The number to start getting the data requests from.', VALUE_DEFAULT, 0), 'limitnum' => new external_value(PARAM_INT, 'The number of data requests to get.', VALUE_DEFAULT, 0), ])
/admin/tool/dataprivacy/classes/local/helper.php:2261$filters = [self::FILTER_TYPE => (object) ['name' => get_string('requesttype', 'tool_dataprivacy'), 'options' => self::get_request_types_short( )], self::FILTER_STATUS => (object) ['name' => get_string('requeststatus', 'tool_dataprivacy'), 'options' => self::get_request_statuses( )], self::FILTER_CREATION => (object) ['name' => get_string('requestcreation', 'tool_dataprivacy'), 'options' => self::get_request_creation_methods( )], ]
/admin/tool/dataprivacy/classes/local/helper.php:1371return [api::DATAREQUEST_STATUS_PENDING => get_string('statuspending', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_PREPROCESSING => get_string('statuspreprocessing', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_AWAITING_APPROVAL => get_string('statusawaitingapproval', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_APPROVED => get_string('statusapproved', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_PROCESSING => get_string('statusprocessing', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_COMPLETE => get_string('statuscomplete', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_DOWNLOAD_READY => get_string('statusready', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_EXPIRED => get_string('statusexpired', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_CANCELLED => get_string('statuscancelled', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_REJECTED => get_string('statusrejected', 'tool_dataprivacy'), api::DATAREQUEST_STATUS_DELETED => get_string('statusdeleted', 'tool_dataprivacy'), ]
/admin/tool/dataprivacy/classes/external/get_access_information.php:731return new external_single_structure(['cancontactdpo' => new external_value(PARAM_BOOL, 'Can contact dpo.'), 'canmanagedatarequests' => new external_value(PARAM_BOOL, 'Can manage data requests.'), 'cancreatedatadownloadrequest' => new external_value(PARAM_BOOL, 'Can create data download request for self.'), 'cancreatedatadeletionrequest' => new external_value(PARAM_BOOL, 'Can create data deletion request for self.'), 'hasongoingdatadownloadrequest' => new external_value(PARAM_BOOL, 'Has ongoing data download request.'), 'hasongoingdatadeletionrequest' => new external_value(PARAM_BOOL, 'Has ongoing data deletion request.'), 'warnings' => new external_warnings( ), ])
/admin/tool/dataprivacy/classes/external/get_access_information.php:561return ['cancontactdpo' => api::can_contact_dpo( ), 'canmanagedatarequests' => api::can_manage_data_requests($USER->id), 'cancreatedatadownloadrequest' => api::can_create_data_download_request_for_self($USER->id), 'cancreatedatadeletionrequest' => api::can_create_data_deletion_request_for_self($USER->id), 'hasongoingdatadownloadrequest' => api::has_ongoing_request($USER->id, api::DATAREQUEST_TYPE_EXPORT), 'hasongoingdatadeletionrequest' => api::has_ongoing_request($USER->id, api::DATAREQUEST_TYPE_DELETE), 'warnings' => [ ], ]
/admin/tool/dataprivacy/classes/external/data_request_exporter.php:691return ['foruser' => ['type' => user_summary_exporter::read_properties_definition( ), ], 'requestedbyuser' => ['type' => user_summary_exporter::read_properties_definition( ), 'optional' => true], 'dpouser' => ['type' => user_summary_exporter::read_properties_definition( ), 'optional' => true], 'messagehtml' => ['type' => PARAM_RAW, 'optional' => true], 'typename' => ['type' => PARAM_TEXT, ], 'typenameshort' => ['type' => PARAM_TEXT, ], 'statuslabel' => ['type' => PARAM_TEXT, ], 'statuslabelclass' => ['type' => PARAM_TEXT, ], 'canreview' => ['type' => PARAM_BOOL, 'optional' => true, 'default' => false], 'approvedeny' => ['type' => PARAM_BOOL, 'optional' => true, 'default' => false], 'allowfiltering' => ['type' => PARAM_BOOL, 'optional' => true, 'default' => false, ], 'canmarkcomplete' => ['type' => PARAM_BOOL, 'optional' => true, 'default' => false], 'downloadlink' => ['type' => PARAM_URL, 'optional' => true, ], ]
/admin/tool/dataprivacy/classes/external/purpose_exporter.php:661return ['formattedretentionperiod' => ['type' => PARAM_TEXT], 'formattedlawfulbases' => ['type' => name_description_exporter::read_properties_definition( ), 'multiple' => true], 'formattedsensitivedatareasons' => ['type' => name_description_exporter::read_properties_definition( ), 'multiple' => true, 'optional' => true], 'roleoverrides' => ['type' => PARAM_TEXT], ]
/admin/tool/generator/maketestplan.php:701$usersfileurl = moodle_url::make_pluginfile_url($usersfile->get_contextid( ), $usersfile->get_component( ), $usersfile->get_filearea( ), $usersfile->get_itemid( ), $usersfile->get_filepath( ), $usersfile->get_filename( ))
/admin/tool/generator/classes/testplan_backend.php:1371$replacements = array($CFG->version, self::$users[$size], self::$loops[$size], self::$rampups[$size], $urlcomponents['host'], $urlcomponents['path'], get_string('shortsize_' . $size, 'tool_generator'), $targetcourseid, $coursedata->pageid, $coursedata->forumid, $coursedata->forumdiscussionid, $coursedata->forumreplyid)
/admin/tool/generator/classes/output/parsingresult.php:681$scenariodata['steps'][] = ['text' => $step->get_text( ), 'arguments' => $step->get_arguments_string( ), 'hasarguments' => !empty($step->get_arguments_string( )), 'isvalid' => $step->is_valid( ), 'error' => $step->get_error( ), 'isexecuted' => $step->is_executed( ), ]
/admin/tool/generator/classes/local/testscenario/runner.php:1611$keywords = new ArrayKeywords(['en' => ['feature' => 'Feature', 'background' => 'Background', 'scenario' => 'Scenario', 'scenario_outline' => 'Scenario Outline|Scenario Template', 'examples' => 'Examples|Scenarios', 'given' => 'Given', 'when' => 'When', 'then' => 'Then', 'and' => 'And', 'but' => 'But', ], ])
/admin/tool/usertours/tests/manager_test.php:1311return ['Move up' => [$alltours, 'Tour 2', \tool_usertours\helper::MOVE_UP, 0, ], 'Move down' => [$alltours, 'Tour 2', \tool_usertours\helper::MOVE_DOWN, 2, ], 'Move up (first)' => [$alltours, 'Tour 1', \tool_usertours\helper::MOVE_UP, 0, ], 'Move down (last)' => [$alltours, 'Tour 3', \tool_usertours\helper::MOVE_DOWN, 2, ], ]
/admin/tool/usertours/tests/manager_test.php:2761return ['No matches found' => [$alltours, $CFG->wwwroot . '/some/invalid/value', [ ], ], 'Never return a disabled tour' => [$alltours, $CFG->wwwroot . '/my/index.php', ['My tour enabled', 'My tour enabled 2'], ], 'My not course' => [$alltours, $CFG->wwwroot . '/my/index.php', ['My tour enabled', 'My tour enabled 2'], ], 'My with params' => [$alltours, $CFG->wwwroot . '/my/index.php?id=42', ['My tour enabled', 'My tour enabled 2'], ], 'Course with params' => [$alltours, $CFG->wwwroot . '/course/?id=42', ['course tour enabled'], ], 'Course with params and trailing content' => [$alltours, $CFG->wwwroot . '/course/?id=42&foo=bar', ['course tour with additional params enabled', 'course tour enabled'], ], ]
/admin/tool/dbtransfer/cli/migrate.php:591list($options, $unrecognized) = cli_get_params(array('dbtype' => null, 'dblibrary' => 'native', 'dbhost' => null, 'dbname' => null, 'dbuser' => null, 'dbpass' => null, 'dbport' => null, 'prefix' => null, 'dbsocket' => null, 'maintenance' => null, 'list' => false, 'help' => false, ), array('m' => 'maintenance', 'l' => 'list', 'h' => 'help', ))
/admin/tool/generator/maketestplan.php:571$testplanurl = moodle_url::make_pluginfile_url($testplanfile->get_contextid( ), $testplanfile->get_component( ), $testplanfile->get_filearea( ), $testplanfile->get_itemid( ), $testplanfile->get_filepath( ), $testplanfile->get_filename( ))
/admin/tool/usertours/tests/cache_test.php:1301$tourconfigs = [(object) ['name' => 'my_exact_1', 'pathmatch' => '/my/view.php', ], (object) ['name' => 'my_failed_regex', 'pathmatch' => '/my/*.php', ], (object) ['name' => 'my_glob_1', 'pathmatch' => '/my/%', ], (object) ['name' => 'my_glob_2', 'pathmatch' => '/my/%', ], (object) ['name' => 'frontpage_only', 'pathmatch' => 'FRONTPAGE', ], (object) ['name' => 'frontpage_match', 'pathmatch' => '/?%', ], ]
/admin/tool/usertours/tests/cache_test.php:1571return ['Matches expected glob' => [$tourconfigs, '/my/index.php', ['my_glob_1', 'my_glob_2'], ], 'Matches expected glob and exact' => [$tourconfigs, '/my/view.php', ['my_exact_1', 'my_glob_1', 'my_glob_2'], ], 'Special constant FRONTPAGE must match front page only' => [$tourconfigs, '/', ['frontpage_only'], ], 'Standard frontpage URL matches both the special constant, and a correctly formed pathmatch' => [$tourconfigs, '/?redirect=0', ['frontpage_only', 'frontpage_match'], ], ]
/admin/tool/usertours/tests/step_test.php:2591return ['No initial config' => [null, null, null, $tourconfig, false, $forcedconfig, (object) [ ], ], 'All values' => [$allvalues, null, null, $tourconfig, false, $forcedconfig, $allvalues, ], 'Valid string value' => [$allvalues, 'some', null, $tourconfig, false, $forcedconfig, 'value', ], 'Valid array value' => [$allvalues, 'key', null, $tourconfig, false, $forcedconfig, ['somethingelse'], ], 'Invalid value' => [$allvalues, 'notavalue', null, $tourconfig, false, $forcedconfig, $tourconfig, ], 'Configuration value' => [$allvalues, 'placement', null, $tourconfig, false, $forcedconfig, $tourconfig, ], 'Invalid value with default' => [$allvalues, 'notavalue', 'somedefault', $tourconfig, false, $forcedconfig, 'somedefault', ], 'Value forced at target' => [$allvalues, 'somevalue', 'somedefault', $tourconfig, true, $forcedconfig, $forcedconfig, ], ]
/admin/tool/usertours/tests/step_test.php:7071return ['id' => ['id', rand(1, 100), ], 'tourid' => ['tourid', rand(1, 100), ], 'title' => ['title', 'Lorem', ], 'content' => ['content', 'Lorem', ], 'targettype' => ['targettype', 'Lorem', ], 'targetvalue' => ['targetvalue', 'Lorem', ], 'sortorder' => ['sortorder', rand(1, 100), ], ]
/admin/tool/usertours/tests/tour_test.php:8521return ['Only tour => first + last' => [0, true, 1, true, ], 'First tour of many' => [0, true, $topcount, false, ], 'Last tour of many' => [$topcount - 1, false, $topcount, true, ], 'Middle tour of many' => [5, false, $topcount, false, ], ]
/admin/tool/usertours/tests/tour_test.php:9561return ['No config' => [[ ], 'cheese', [ ], ], 'Some config for another filter' => [['horses' => $horses, ], 'cheese', [ ], ], 'Some config for this filter' => [['horses' => $horses, ], 'horses', $horses, ], 'Some config for several filters' => [['horses' => $horses, 'cheese' => $cheese, ], 'horses', $horses, ], ]
/admin/tool/usertours/tests/tour_test.php:10161return ['No initial value' => [[ ], 'cheese', $cheese, ['cheese' => $cheese], ], 'Existing filter merged' => [['horses' => $horses], 'cheese', $cheese, ['horses' => $horses, 'cheese' => $cheese], ], 'Existing filter updated' => [['cheese' => $cheese], 'cheese', ['cheddar'], ['cheese' => ['cheddar']], ], 'Existing filter updated with merge' => [['horses' => $horses, 'cheese' => $cheese], 'cheese', ['cheddar'], ['horses' => $horses, 'cheese' => ['cheddar']], ], ]
/admin/tool/usertours/tests/accessdate_filter_test.php:401return ['No config set; Matches' => [[ ], [ ], true, ], 'Filter is not enabled; Match' => [['filter_accessdate' => accessdate::FILTER_ACCOUNT_CREATION, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 0, ], ['timecreated' => time( ) - (89 * DAYSECS)], true, ], 'Filter is not enabled (tour would not be displayed if it was); Match' => [['filter_accessdate' => accessdate::FILTER_ACCOUNT_CREATION, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 0, ], ['timecreated' => time( ) - (91 * DAYSECS)], true, ], 'Inside range of account creation date; Match' => [['filter_accessdate' => accessdate::FILTER_ACCOUNT_CREATION, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['timecreated' => time( ) - (89 * DAYSECS)], true, ], 'Outside range of account creation date; No match' => [['filter_accessdate' => accessdate::FILTER_ACCOUNT_CREATION, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['timecreated' => time( ) - (91 * DAYSECS)], false, ], 'Inside range of first login date; Match' => [['filter_accessdate' => accessdate::FILTER_FIRST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['firstaccess' => time( ) - (89 * DAYSECS)], true, ], 'Outside range of first login date; No match' => [['filter_accessdate' => accessdate::FILTER_FIRST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['firstaccess' => time( ) - (91 * DAYSECS)], false, ], 'Inside range of last login date; Match' => [['filter_accessdate' => accessdate::FILTER_LAST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['lastlogin' => time( ) - (89 * DAYSECS)], true, ], 'Outside range of last login date; No match' => [['filter_accessdate' => accessdate::FILTER_LAST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['lastlogin' => time( ) - (91 * DAYSECS)], false, ], 'User has never logged in, but tour should be visible; Match' => [['filter_accessdate' => accessdate::FILTER_LAST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['lastlogin' => 0, 'timecreated' => time( ) - (89 * DAYSECS)], true, ], 'User has never logged in, and tour should not be visible; No match' => [['filter_accessdate' => accessdate::FILTER_LAST_LOGIN, 'filter_accessdate_range' => 90 * DAYSECS, 'filter_accessdate_enabled' => 1, ], ['lastlogin' => 0, 'timecreated' => time( ) - (91 * DAYSECS)], false, ], ]
/admin/tool/dataprivacy/classes/external.php:16121$fields = ['text' => new external_value(PARAM_RAW, 'The node text', VALUE_REQUIRED), 'expandcontextid' => new external_value(PARAM_INT, 'The contextid this node expands', VALUE_REQUIRED), 'expandelement' => new external_value(PARAM_ALPHA, 'What element is this node expanded to', VALUE_REQUIRED), 'contextid' => new external_value(PARAM_INT, 'The node contextid', VALUE_REQUIRED), 'contextlevel' => new external_value(PARAM_INT, 'The node contextlevel', VALUE_REQUIRED), 'expanded' => new external_value(PARAM_INT, 'Is it expanded', VALUE_REQUIRED), ]
/admin/tool/dataprivacy/classes/data_request.php:551return ['type' => ['choices' => [api::DATAREQUEST_TYPE_EXPORT, api::DATAREQUEST_TYPE_DELETE, api::DATAREQUEST_TYPE_OTHERS, ], 'type' => PARAM_INT], 'comments' => ['type' => PARAM_TEXT, 'message' => new lang_string('errorinvalidrequestcomments', 'tool_dataprivacy'), 'default' => ''], 'commentsformat' => ['choices' => [FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN], 'type' => PARAM_INT, 'default' => FORMAT_PLAIN], 'userid' => ['default' => function ( ) { /**/ } , 'type' => PARAM_INT], 'requestedby' => ['default' => 0, 'type' => PARAM_INT], 'status' => ['default' => api::DATAREQUEST_STATUS_AWAITING_APPROVAL, 'choices' => [api::DATAREQUEST_STATUS_PENDING, api::DATAREQUEST_STATUS_PREPROCESSING, api::DATAREQUEST_STATUS_AWAITING_APPROVAL, api::DATAREQUEST_STATUS_APPROVED, api::DATAREQUEST_STATUS_PROCESSING, api::DATAREQUEST_STATUS_COMPLETE, api::DATAREQUEST_STATUS_CANCELLED, api::DATAREQUEST_STATUS_REJECTED, api::DATAREQUEST_STATUS_DOWNLOAD_READY, api::DATAREQUEST_STATUS_EXPIRED, api::DATAREQUEST_STATUS_DELETED, ], 'type' => PARAM_INT], 'dpo' => ['default' => 0, 'type' => PARAM_INT, 'null' => NULL_ALLOWED], 'dpocomment' => ['default' => '', 'type' => PARAM_TEXT, 'null' => NULL_ALLOWED], 'dpocommentformat' => ['choices' => [FORMAT_HTML, FORMAT_MOODLE, FORMAT_PLAIN, FORMAT_MARKDOWN], 'type' => PARAM_INT, 'default' => FORMAT_PLAIN], 'systemapproved' => ['default' => false, 'type' => PARAM_BOOL, ], 'creationmethod' => ['default' => self::DATAREQUEST_CREATION_MANUAL, 'choices' => [self::DATAREQUEST_CREATION_MANUAL, self::DATAREQUEST_CREATION_AUTO], 'type' => PARAM_INT], ]
/admin/tool/generator/cli/maketestcourse.php:321list($options, $unrecognized) = cli_get_params(array('help' => false, 'shortname' => false, 'fullname' => false, 'summary' => false, 'size' => false, 'fixeddataset' => false, 'filesizelimit' => false, 'bypasscheck' => false, 'additionalmodules' => "", 'quiet' => false), array('h' => 'help'))
/admin/tool/dataprivacy/classes/external.php:13271return new external_function_parameters(['contextlevel' => new external_value(PARAM_INT, 'The context level', VALUE_REQUIRED), 'category' => new external_value(PARAM_INT, 'The default category for the given context level', VALUE_REQUIRED), 'purpose' => new external_value(PARAM_INT, 'The default purpose for the given context level', VALUE_REQUIRED), 'activity' => new external_value(PARAM_PLUGIN, 'The plugin name of the activity', VALUE_DEFAULT, null), 'override' => new external_value(PARAM_BOOL, 'Whether to override existing instances with the defaults', VALUE_DEFAULT, false), ])
/admin/tool/dataprivacy/classes/external.php:7411return new external_multiple_structure(new external_single_structure(['id' => new external_value(core_user::get_property_type('id'), 'ID of the user'), 'fullname' => new external_value(core_user::get_property_type('firstname'), 'The fullname of the user'), 'extrafields' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_TEXT, 'Name of the extrafield.'), 'value' => new external_value(PARAM_TEXT, 'Value of the extrafield.')]), 'List of extra fields', VALUE_OPTIONAL)]))
/admin/tool/mfa/factor/email/classes/factor.php:1961$instanceid = $DB->insert_record('tool_mfa', ['userid' => $USER->id, 'factor' => 'email', 'secret' => $newcode, 'label' => $_SERVER['HTTP_USER_AGENT'], 'timecreated' => time( ), 'createdfromip' => $USER->lastip, 'timemodified' => time( ), 'lastverified' => time( ), 'revoked' => 0, ], true)
/admin/tool/mfa/factor/email/classes/output/renderer.php:481$templateinfo = ['logo' => $this->get_compact_logo_url(100, 100), 'name' => $USER->firstname, 'sitename' => $site->fullname, 'siteurl' => $CFG->wwwroot, 'code' => $instance->secret, 'validity' => format_time($validity), 'authlink' => get_string('email:loginlink', 'factor_email', $authurlstring), 'revokelink' => get_string('email:revokelink', 'factor_email', $blockurlstring), 'ip' => $instance->createdfromip, 'geocity' => $geoinfo['city'], 'geocountry' => $geoinfo['country'], 'ua' => $instance->label, ]
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:4111$dest .= static::$method(($b0 >> 3) & 31) . static::$method((($b0 << 2) | ($b1 >> 6)) & 31) . static::$method((($b1 >> 1)) & 31) . static::$method((($b1 << 4)) & 31)
/admin/tool/mfa/factor/totp/classes/factor.php:1941$togglelink = \html_writer::tag('btn', get_string('setupfactor:scanfail', 'factor_totp'), ['class' => 'btn btn-secondary', 'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '#collapseManualAttributes', 'aria-expanded' => 'false', 'aria-controls' => 'collapseManualAttributes', 'style' => 'font-size: 14px;', ])
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:3861$dest .= static::$method(($b0 >> 3) & 31) . static::$method((($b0 << 2) | ($b1 >> 6)) & 31) . static::$method((($b1 >> 1)) & 31) . static::$method((($b1 << 4) | ($b2 >> 4)) & 31) . static::$method((($b2 << 1) | ($b3 >> 7)) & 31) . static::$method((($b3 >> 2)) & 31) . static::$method((($b3 << 3)) & 31)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:4001$dest .= static::$method(($b0 >> 3) & 31) . static::$method((($b0 << 2) | ($b1 >> 6)) & 31) . static::$method((($b1 >> 1)) & 31) . static::$method((($b1 << 4) | ($b2 >> 4)) & 31) . static::$method((($b2 << 1)) & 31)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:3021$dest .= \pack('CC', (($c0 << 3) | ($c1 >> 2)) & 0xff, (($c1 << 6) | ($c2 << 1) | ($c3 >> 4)) & 0xff)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:3681$dest .= static::$method(($b0 >> 3) & 31) . static::$method((($b0 << 2) | ($b1 >> 6)) & 31) . static::$method((($b1 >> 1)) & 31) . static::$method((($b1 << 4) | ($b2 >> 4)) & 31) . static::$method((($b2 << 1) | ($b3 >> 7)) & 31) . static::$method((($b3 >> 2)) & 31) . static::$method((($b3 << 3) | ($b4 >> 5)) & 31) . static::$method($b4 & 31)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:2761$dest .= \pack('CCCC', (($c0 << 3) | ($c1 >> 2)) & 0xff, (($c1 << 6) | ($c2 << 1) | ($c3 >> 4)) & 0xff, (($c3 << 4) | ($c4 >> 1)) & 0xff, (($c4 << 7) | ($c5 << 2)) & 0xff)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:2901$dest .= \pack('CCC', (($c0 << 3) | ($c1 >> 2)) & 0xff, (($c1 << 6) | ($c2 << 1) | ($c3 >> 4)) & 0xff, (($c3 << 4) | ($c4 >> 1)) & 0xff)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:2381$dest .= \pack('CCCCC', (($c0 << 3) | ($c1 >> 2)) & 0xff, (($c1 << 6) | ($c2 << 1) | ($c3 >> 4)) & 0xff, (($c3 << 4) | ($c4 >> 1)) & 0xff, (($c4 << 7) | ($c5 << 2) | ($c6 >> 3)) & 0xff, (($c6 << 5) | ($c7)) & 0xff)
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:2611$dest .= \pack('CCCC', (($c0 << 3) | ($c1 >> 2)) & 0xff, (($c1 << 6) | ($c2 << 1) | ($c3 >> 4)) & 0xff, (($c3 << 4) | ($c4 >> 1)) & 0xff, (($c4 << 7) | ($c5 << 2) | ($c6 >> 3)) & 0xff)
/admin/tool/mfa/factor/webauthn/classes/factor.php:1751$getargs = $this->webauthn->getGetArgs($ids, 20, in_array('usb', $types), in_array('nfc', $types), in_array('ble', $types), in_array('hybrid', $types), in_array('internal', $types), $this->userverification)
/admin/tool/mfa/factor/totp/extlib/OTPHP/OTP.php:601$code = ($hmac[$offset + 0] & 0x7F) << 24 | ($hmac[$offset + 1] & 0xFF) << 16 | ($hmac[$offset + 2] & 0xFF) << 8 | ($hmac[$offset + 3] & 0xFF)
/admin/tool/mfa/factor/sms/classes/local/smsgateway/aws_sns.php:991$data = ['relateduserid' => null, 'context' => \context_user::instance($USER->id), 'other' => ['userid' => $USER->id, 'debug' => ['messageid' => $result->get('MessageId'), ], ], ]
/admin/tool/mfa/factor/webauthn/settings.php:401$authenticators = ['usb' => get_string('authenticator:usb', 'factor_webauthn'), 'nfc' => get_string('authenticator:nfc', 'factor_webauthn'), 'ble' => get_string('authenticator:ble', 'factor_webauthn'), 'hybrid' => get_string('authenticator:hybrid', 'factor_webauthn'), 'internal' => get_string('authenticator:internal', 'factor_webauthn'), ]
/admin/tool/usertours/tests/tour_test.php:6981return ['No initial values' => [$id, [null, $time], static::logicalOr(new \PHPUnit\Framework\Constraint\IsEqual($time), new \PHPUnit\Framework\Constraint\GreaterThan($time), ), true, null, sprintf('tool_usertours_\d_%d_%s', $id, $time), ], 'Initial tour time, no user pref' => [$id, [$time], null, false, null, sprintf('tool_usertours_\d_%d_%s', $id, $time), ], 'Initial tour time, with user reset lower' => [$id, [$time], null, false, $time - DAYSECS, sprintf('tool_usertours_\d_%d_%s', $id, $time), ], 'Initial tour time, with user reset higher' => [$id, [$time], null, false, $time + DAYSECS, sprintf('tool_usertours_\d_%d_%s', $id, $time + DAYSECS), ], ]
/admin/tool/usertours/tests/tour_test.php:5871return ['Not seen by user at all' => [null, null, null, [ ], true, ], 'Completed by user before majorupdatetime' => [$time - DAYSECS, null, $time, [ ], true, ], 'Completed by user since majorupdatetime' => [$time, null, $time - DAYSECS, [ ], false, ], 'Requested by user before current completion' => [$time, $time - DAYSECS, $time - MINSECS, [ ], false, ], 'Requested by user since completion' => [$time - DAYSECS, $time, 'null', [ ], true, ], 'Tour will show on each load' => [$time, $time - DAYSECS, null, ['showtourwhen' => tour::SHOW_TOUR_ON_EACH_PAGE_VISIT, ], true, ], ]
/admin/tool/usertours/tests/tour_test.php:4121return ['No nitial config' => [null, null, null, (object) [ ], ], 'All values' => [$allvalues, null, null, $allvalues, ], 'Valid string value' => [$allvalues, 'some', null, 'value', ], 'Valid array value' => [$allvalues, 'key', null, ['somethingelse'], ], 'Invalid value' => [$allvalues, 'notavalue', null, null, ], 'Configuration value' => [$allvalues, 'placement', null, \tool_usertours\configuration::get_default_value('placement'), ], 'Invalid value with default' => [$allvalues, 'notavalue', 'somedefault', 'somedefault', ], ]
/admin/tool/usertours/tests/tour_test.php:1321return ['id' => ['id', rand(1, 100), ], 'name' => ['name', 'Lorem', ], 'description' => ['description', 'Lorem', ], 'pathmatch' => ['pathmatch', 'Lorem', ], 'enabled' => ['enabled', 'Lorem', ], 'sortorder' => ['sortorder', rand(1, 100), ], 'config' => ['config', ['key', 'value'], ], ]
/admin/tool/usertours/classes/event/step_shown.php:1211return "The user with id '{$this->userid}' has viewed the tour with id " . "'{$this->other['tourid']}' at step index " . "'{$this->other['stepindex']}' (id '{$this->objectid}') on the page with URL " . "'{$this->other['pageurl']}'."
/admin/tool/usertours/classes/event/tour_ended.php:1201return "The user with id '{$this->userid}' has ended the tour with id " . "'{$this->objectid}' at step index " . "'{$this->other['stepindex']}' (id '{$this->other['stepid']}') on the page with URL " . "'{$this->other['pageurl']}'."
/admin/tool/usertours/classes/external/tour.php:3031return new external_single_structure(['title' => new external_value(PARAM_RAW, 'Step Title'), 'content' => new external_value(PARAM_RAW, 'Step Content'), 'element' => new external_value(PARAM_TEXT, 'Step Target'), 'placement' => new external_value(PARAM_TEXT, 'Step Placement'), 'delay' => new external_value(PARAM_INT, 'Delay before showing the step (ms)', VALUE_OPTIONAL), 'backdrop' => new external_value(PARAM_BOOL, 'Whether a backdrop should be used', VALUE_OPTIONAL), 'reflex' => new external_value(PARAM_BOOL, 'Whether to move to the next step when the target element is clicked', VALUE_OPTIONAL), 'orphan' => new external_value(PARAM_BOOL, 'Whether to display the step even if it could not be found', VALUE_OPTIONAL), 'stepid' => new external_value(PARAM_INT, 'The actual ID of the step', VALUE_OPTIONAL), ])
/admin/tool/usertours/classes/external/tour.php:2791return new external_function_parameters(['tourid' => new external_value(PARAM_INT, 'Tour ID'), 'context' => new external_value(PARAM_INT, 'Context ID'), 'pageurl' => new external_value(PARAM_URL, 'Page URL'), 'stepid' => new external_value(PARAM_INT, 'Step ID'), 'stepindex' => new external_value(PARAM_INT, 'Step Number'), ])
/admin/tool/usertours/classes/external/tour.php:2141return new external_function_parameters(['tourid' => new external_value(PARAM_INT, 'Tour ID'), 'context' => new external_value(PARAM_INT, 'Context ID'), 'pageurl' => new external_value(PARAM_LOCALURL, 'Page URL'), 'stepid' => new external_value(PARAM_INT, 'Step ID'), 'stepindex' => new external_value(PARAM_INT, 'Step Number'), ])
/admin/tool/usertours/classes/external/tour.php:931return new external_single_structure(['tourconfig' => new external_single_structure(['name' => new external_value(PARAM_RAW, 'Tour Name'), 'steps' => new external_multiple_structure(self::step_structure_returns( )), 'endtourlabel' => new external_value(PARAM_RAW, 'Label of the end tour button'), 'displaystepnumbers' => new external_value(PARAM_BOOL, 'display step number'), ], 'Tour config', VALUE_OPTIONAL), ])
/admin/tool/usertours/classes/output/step.php:791$result = (object) ['stepid' => $step->get_id( ), 'title' => \core_external\util::format_text(helper::get_string_from_input($step->get_title( )), FORMAT_HTML, $PAGE->context->id, 'tool_usertours')[0], 'content' => \core_external\util::format_text($content, $step->get_contentformat( ), $PAGE->context->id, 'tool_usertours')[0], 'element' => $step->get_target( )->convert_to_css( ), ]
/admin/tool/usertours/classes/output/tour.php:501$result = (object) ['name' => $this->tour->get_tour_key( ), 'steps' => [ ], 'endtourlabel' => $this->tour->get_endtourlabel( ), 'displaystepnumbers' => $this->tour->get_display_step_numbers( ), ]
/admin/tool/usertours/classes/manager.php:2621$actions = [(object) ['link' => helper::get_edit_tour_link( ), 'linkproperties' => [ ], 'img' => 'b/tour-new', 'title' => get_string('newtour', 'tool_usertours'), ], (object) ['link' => helper::get_import_tour_link( ), 'linkproperties' => [ ], 'img' => 'b/tour-import', 'title' => get_string('importtour', 'tool_usertours'), ], (object) ['link' => new \moodle_url('https://archive.moodle.net/tours'), 'linkproperties' => ['target' => '_blank', ], 'img' => 'b/tour-shared', 'title' => get_string('sharedtourslink', 'tool_usertours'), ], ]
/admin/tool/usertours/classes/step.php:5281$record = ['id' => $this->id, 'tourid' => $this->tourid, 'title' => $this->title, 'content' => $this->content, 'contentformat' => $this->contentformat, 'targettype' => $this->targettype, 'targetvalue' => $this->targetvalue, 'sortorder' => $this->sortorder, 'configdata' => json_encode($this->config), ]
/admin/tool/usertours/classes/tour.php:4211return (object) ['id' => $this->id, 'name' => $this->name, 'description' => $this->description, 'pathmatch' => $this->pathmatch, 'enabled' => $this->enabled, 'sortorder' => $this->sortorder, 'endtourlabel' => $this->endtourlabel, 'configdata' => json_encode($this->config), 'displaystepnumbers' => $this->displaystepnumbers, ]
/admin/tool/mfa/factor/email/tests/factor_test.php:501$instanceid = $DB->insert_record('tool_mfa', ['userid' => $USER->id, 'factor' => 'email', 'secret' => $newcode, 'label' => 'unittest', 'timecreated' => time( ), 'timemodified' => time( ), 'lastverified' => time( ), 'revoked' => 0, ])
/enrol/externallib.php:4191$courseresult = ['id' => $course->id, 'shortname' => $course->shortname, 'fullname' => $course->fullname, 'displayname' => $displayname, 'idnumber' => $course->idnumber, 'visible' => $course->visible, 'summary' => $course->summary, 'summaryformat' => $course->summaryformat, 'format' => $course->format, 'courseimage' => $courseimage, 'showgrades' => $course->showgrades, 'lang' => clean_param($course->lang, PARAM_LANG), 'enablecompletion' => $course->enablecompletion, 'completionhascriteria' => $completionhascriteria, 'completionusertracked' => $completionusertracked, 'category' => $course->category, 'progress' => $progress, 'completed' => $completed, 'startdate' => $course->startdate, 'enddate' => $course->enddate, 'marker' => $course->marker, 'lastaccess' => $lastaccess, 'isfavourite' => isset($favouritecourseids[$course->id]), 'hidden' => $hidden, 'overviewfiles' => $overviewfiles, 'showactivitydates' => $course->showactivitydates, 'showcompletionconditions' => $course->showcompletionconditions, 'timemodified' => $course->timemodified, ]
/enrol/externallib.php:4041$overviewfiles[] = array('filename' => $file->get_filename( ), 'fileurl' => $fileurl, 'filesize' => $file->get_filesize( ), 'filepath' => $file->get_filepath( ), 'mimetype' => $file->get_mimetype( ), 'timemodified' => $file->get_timemodified( ), )
/enrol/externallib.php:5101return new external_function_parameters(array('courseid' => new external_value(PARAM_INT, 'course id'), 'enrolid' => new external_value(PARAM_INT, 'enrolment id'), 'search' => new external_value(PARAM_RAW, 'query'), 'searchanywhere' => new external_value(PARAM_BOOL, 'find a match anywhere, or only at the beginning'), 'page' => new external_value(PARAM_INT, 'Page number'), 'perpage' => new external_value(PARAM_INT, 'Number per page'), ))
/enrol/externallib.php:4641return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'id of course'), 'shortname' => new external_value(PARAM_RAW, 'short name of course'), 'fullname' => new external_value(PARAM_RAW, 'long name of course'), 'displayname' => new external_value(PARAM_RAW, 'course display name for lists.', VALUE_OPTIONAL), 'enrolledusercount' => new external_value(PARAM_INT, 'Number of enrolled users in this course', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'id number of course'), 'visible' => new external_value(PARAM_INT, '1 means visible, 0 means not yet visible course'), 'summary' => new external_value(PARAM_RAW, 'summary', VALUE_OPTIONAL), 'summaryformat' => new external_format_value('summary', VALUE_OPTIONAL), 'format' => new external_value(PARAM_PLUGIN, 'course format: weeks, topics, social, site', VALUE_OPTIONAL), 'courseimage' => new external_value(PARAM_URL, 'The course image URL', VALUE_OPTIONAL), 'showgrades' => new external_value(PARAM_BOOL, 'true if grades are shown, otherwise false', VALUE_OPTIONAL), 'lang' => new external_value(PARAM_LANG, 'forced course language', VALUE_OPTIONAL), 'enablecompletion' => new external_value(PARAM_BOOL, 'true if completion is enabled, otherwise false', VALUE_OPTIONAL), 'completionhascriteria' => new external_value(PARAM_BOOL, 'If completion criteria is set.', VALUE_OPTIONAL), 'completionusertracked' => new external_value(PARAM_BOOL, 'If the user is completion tracked.', VALUE_OPTIONAL), 'category' => new external_value(PARAM_INT, 'course category id', VALUE_OPTIONAL), 'progress' => new external_value(PARAM_FLOAT, 'Progress percentage', VALUE_OPTIONAL), 'completed' => new external_value(PARAM_BOOL, 'Whether the course is completed.', VALUE_OPTIONAL), 'startdate' => new external_value(PARAM_INT, 'Timestamp when the course start', VALUE_OPTIONAL), 'enddate' => new external_value(PARAM_INT, 'Timestamp when the course end', VALUE_OPTIONAL), 'marker' => new external_value(PARAM_INT, 'Course section marker.', VALUE_OPTIONAL), 'lastaccess' => new external_value(PARAM_INT, 'Last access to the course (timestamp).', VALUE_OPTIONAL), 'isfavourite' => new external_value(PARAM_BOOL, 'If the user marked this course a favourite.', VALUE_OPTIONAL), 'hidden' => new external_value(PARAM_BOOL, 'If the user hide the course from the dashboard.', VALUE_OPTIONAL), 'overviewfiles' => new external_files('Overview files attached to this course.', VALUE_OPTIONAL), 'showactivitydates' => new external_value(PARAM_BOOL, 'Whether the activity dates are shown or not'), 'showcompletionconditions' => new external_value(PARAM_BOOL, 'Whether the activity completion conditions are shown or not'), 'timemodified' => new external_value(PARAM_INT, 'Last time course settings were updated (timestamp).', VALUE_OPTIONAL), )))
/enrol/externallib.php:7251return new external_function_parameters(['courseid' => new external_value(PARAM_INT, 'course id'), 'options' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_ALPHANUMEXT, 'option name'), 'value' => new external_value(PARAM_RAW, 'option value')]), 'Option names: * withcapability (string) return only users with this capability. This option requires \'moodle/role:review\' on the course context. * groupid (integer) return only users in this group id. If the course has groups enabled and this param isn\'t defined, returns all the viewable users. This option requires \'moodle/site:accessallgroups\' on the course context if the user doesn\'t belong to the group. * onlyactive (integer) return only users with active enrolments and matching time restrictions. This option requires \'moodle/course:enrolreview\' on the course context. Please note that this option can\'t be used together with onlysuspended (only one can be active). * onlysuspended (integer) return only suspended users. This option requires \'moodle/course:enrolreview\' on the course context. Please note that this option can\'t be used together with onlyactive (only one can be active). * userfields (\'string, string, ...\') return only the values of these user fields. * limitfrom (integer) sql limit from. * limitnumber (integer) maximum number of returned users. * sortby (string) sort by id, firstname or lastname. For ordering like the site does, use siteorder. * sortdirection (string) ASC or DESC', VALUE_DEFAULT, [ ]), ])
/enrol/externallib.php:6251return new external_function_parameters(['courseid' => new external_value(PARAM_INT, 'course id'), 'search' => new external_value(PARAM_RAW, 'query'), 'searchanywhere' => new external_value(PARAM_BOOL, 'find a match anywhere, or only at the beginning'), 'page' => new external_value(PARAM_INT, 'Page number'), 'perpage' => new external_value(PARAM_INT, 'Number per page'), 'contextid' => new external_value(PARAM_INT, 'Context ID', VALUE_DEFAULT, null), ])
/enrol/externallib.php:10421return new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'id of course enrolment instance'), 'courseid' => new external_value(PARAM_INT, 'id of course'), 'type' => new external_value(PARAM_PLUGIN, 'type of enrolment plugin'), 'name' => new external_value(PARAM_RAW, 'name of enrolment plugin'), 'status' => new external_value(PARAM_RAW, 'status of enrolment plugin'), 'wsfunction' => new external_value(PARAM_ALPHANUMEXT, 'webservice function to get more information', VALUE_OPTIONAL), )))
/enrol/externallib.php:9211return new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'ID of the user'), 'username' => new external_value(PARAM_RAW, 'Username policy is defined in Moodle security config', VALUE_OPTIONAL), 'firstname' => new external_value(PARAM_NOTAGS, 'The first name(s) of the user', VALUE_OPTIONAL), 'lastname' => new external_value(PARAM_NOTAGS, 'The family name of the user', VALUE_OPTIONAL), 'fullname' => new external_value(PARAM_NOTAGS, 'The fullname of the user'), 'email' => new external_value(PARAM_TEXT, 'An email address - allow email as root@localhost', VALUE_OPTIONAL), 'address' => new external_value(PARAM_TEXT, 'Postal address', VALUE_OPTIONAL), 'phone1' => new external_value(PARAM_NOTAGS, 'Phone 1', VALUE_OPTIONAL), 'phone2' => new external_value(PARAM_NOTAGS, 'Phone 2', VALUE_OPTIONAL), 'department' => new external_value(PARAM_TEXT, 'department', VALUE_OPTIONAL), 'institution' => new external_value(PARAM_TEXT, 'institution', VALUE_OPTIONAL), 'idnumber' => new external_value(PARAM_RAW, 'An arbitrary ID code number perhaps from the institution', VALUE_OPTIONAL), 'interests' => new external_value(PARAM_TEXT, 'user interests (separated by commas)', VALUE_OPTIONAL), 'firstaccess' => new external_value(PARAM_INT, 'first access to the site (0 if never)', VALUE_OPTIONAL), 'lastaccess' => new external_value(PARAM_INT, 'last access to the site (0 if never)', VALUE_OPTIONAL), 'lastcourseaccess' => new external_value(PARAM_INT, 'last access to the course (0 if never)', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'User profile description', VALUE_OPTIONAL), 'descriptionformat' => new external_format_value('description', VALUE_OPTIONAL), 'city' => new external_value(PARAM_NOTAGS, 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(PARAM_ALPHA, 'Home country code of the user, such as AU or CZ', VALUE_OPTIONAL), 'profileimageurlsmall' => new external_value(PARAM_URL, 'User image profile URL - small version', VALUE_OPTIONAL), 'profileimageurl' => new external_value(PARAM_URL, 'User image profile URL - big version', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(['type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field - text field, checkbox...'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), 'name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field - to be able to build the field class in the code'), ]), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL), 'groups' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'group id'), 'name' => new external_value(PARAM_RAW, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description'), 'descriptionformat' => new external_format_value('description'), ]), 'user groups', VALUE_OPTIONAL), 'roles' => new external_multiple_structure(new external_single_structure(['roleid' => new external_value(PARAM_INT, 'role id'), 'name' => new external_value(PARAM_RAW, 'role name'), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'role shortname'), 'sortorder' => new external_value(PARAM_INT, 'role sortorder')]), 'user roles', VALUE_OPTIONAL), 'preferences' => new external_multiple_structure(new external_single_structure(['name' => new external_value(PARAM_RAW, 'The name of the preferences'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), ]), 'User preferences', VALUE_OPTIONAL), 'enrolledcourses' => new external_multiple_structure(new external_single_structure(['id' => new external_value(PARAM_INT, 'Id of the course'), 'fullname' => new external_value(PARAM_RAW, 'Fullname of the course'), 'shortname' => new external_value(PARAM_RAW, 'Shortname of the course')]), 'Courses where the user is enrolled - limited by which courses the user is able to see', VALUE_OPTIONAL)]))
/enrol/externallib.php:12241return new external_function_parameters(array('assignments' => new external_multiple_structure(new external_single_structure(array('roleid' => new external_value(PARAM_INT, 'Role to assign to the user'), 'userid' => new external_value(PARAM_INT, 'The user that is going to be assigned'), 'contextid' => new external_value(PARAM_INT, 'The context to assign the user role in', VALUE_OPTIONAL), 'contextlevel' => new external_value(PARAM_ALPHA, 'The context level to assign the user role in (block, course, coursecat, system, user, module)', VALUE_OPTIONAL), 'instanceid' => new external_value(PARAM_INT, 'The Instance id of item where the role needs to be assigned', VALUE_OPTIONAL), )))))
/enrol/externallib.php:11911return new external_single_structure(array('result' => new external_value(PARAM_BOOL, 'True if the user\'s enrolment was successfully updated'), 'errors' => new external_multiple_structure(new external_single_structure(array('key' => new external_value(PARAM_TEXT, 'The data that failed the validation'), 'message' => new external_value(PARAM_TEXT, 'The error message'), )), 'List of validation errors'), ))
/enrol/fee/classes/plugin.php:2211$data = ['isguestuser' => isguestuser( ) || !isloggedin( ), 'cost' => \core_payment\helper::get_cost_as_string($cost, $instance->currency), 'instanceid' => $instance->id, 'description' => get_string('purchasedescription', 'enrol_fee', format_string($course->fullname, true, ['context' => $context])), 'successurl' => \enrol_fee\payment\service_provider::get_success_url('fee', $instance->id)->out(false), ]
/enrol/externallib.php:12931return new external_function_parameters(array('unassignments' => new external_multiple_structure(new external_single_structure(array('roleid' => new external_value(PARAM_INT, 'Role to assign to the user'), 'userid' => new external_value(PARAM_INT, 'The user that is going to be assigned'), 'contextid' => new external_value(PARAM_INT, 'The context to unassign the user role from', VALUE_OPTIONAL), 'contextlevel' => new external_value(PARAM_ALPHA, 'The context level to unassign the user role in + (block, course, coursecat, system, user, module)', VALUE_OPTIONAL), 'instanceid' => new external_value(PARAM_INT, 'The Instance id of item where the role needs to be unassigned', VALUE_OPTIONAL), )))))
/enrol/classes/reportbuilder/local/entities/enrol.php:891$columns[] = (new column('plugin', new lang_string('plugin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$enrolalias}.enrol")->set_is_sortable(true)->set_callback(static function (?string $enrol) : string { /**/ } )
/enrol/classes/privacy/provider.php:1701$data[] = (object) ['status' => $userenrolment->status, 'timecreated' => transform::datetime($userenrolment->timecreated), 'timemodified' => transform::datetime($userenrolment->timemodified), 'timestart' => transform::datetime($userenrolment->timestart), 'timeend' => transform::datetime($userenrolment->timeend)]
/enrol/classes/reportbuilder/local/entities/enrol.php:1261$columns[] = (new column('enabled', new lang_string('enabled', 'core_admin'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_BOOLEAN)->add_field($DB->sql_bitxor("{$enrolalias}.status", 1), 'status')->set_is_sortable(true)->set_callback([format::class, 'boolean_as_text'])
/enrol/classes/reportbuilder/local/entities/enrol.php:1071$columns[] = (new column('name', new lang_string('name'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TEXT)->add_fields("{$enrolalias}.enrol, {$enrolalias}.name, {$enrolalias}.courseid, " . "{$enrolalias}.roleid, {$enrolalias}.customint1")->set_is_sortable(true)->set_callback(static function (?string $enrol, stdClass $instance) : string { /**/ } )
/enrol/classes/reportbuilder/local/entities/enrol.php:1391$columns[] = (new column('period', new lang_string('enrolperiod', 'core_enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$enrolalias}.enrolperiod")->set_is_sortable(true)->set_callback(static function (?int $enrolperiod) : string { /**/ } )
/enrol/classes/reportbuilder/local/entities/enrol.php:1571$columns[] = (new column('startdate', new lang_string('enroltimestart', 'core_enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$enrolalias}.enrolstartdate")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/enrol/classes/reportbuilder/local/entities/enrol.php:1691$columns[] = (new column('enddate', new lang_string('enroltimeend', 'core_enrol'), $this->get_entity_name( )))->add_joins($this->get_joins( ))->set_type(column::TYPE_TIMESTAMP)->add_fields("{$enrolalias}.enrolenddate")->set_is_sortable(true)->set_callback([format::class, 'userdate'])
/enrol/classes/reportbuilder/local/entities/enrol.php:2191$filters[] = (new filter(boolean_select::class, 'enabled', new lang_string('enabled', 'core_admin'), $this->get_entity_name( ), $DB->sql_bitxor("{$enrolalias}.status", 1)))->add_joins($this->get_joins( ))
/enrol/ldap/lib.php:6731$ldapconnection = ldap_connect_moodle($this->get_config('host_url'), $this->get_config('ldap_version'), $this->get_config('user_type'), $this->get_config('bind_dn'), $this->get_config('bind_pw'), $this->get_config('opt_deref'), $debuginfo, $this->get_config('start_tls'))
/enrol/tests/enrollib_test.php:10301return ['No start or end time' => [null, null, true], 'Start time now, no end time' => [0, null, true], 'Start time now, end time in the future' => [0, MINSECS, true], 'Start time in the past, no end time' => [-MINSECS, null, true], 'Start time in the past, end time in the future' => [-MINSECS, MINSECS, true], 'Start time in the past, end time in the past' => [-DAYSECS, -HOURSECS, false], 'Start time in the future' => [MINSECS, null, false], ]
/enrol/tests/enrollib_test.php:11941$enrolledcoursesdata = [['shortname' => 'a', 'lastaccess' => $now - 2], ['shortname' => 'b', 'lastaccess' => $now - 1], ['shortname' => 'c', 'lastaccess' => $now], ['shortname' => 'd', 'lastaccess' => $now - 1], ['shortname' => 'e']]
/enrol/tests/enrollib_test.php:12071return ['empty set' => ['enrolledcoursesdata' => [ ], 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => [ ]], 'ul.timeaccess asc, shortname asc no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc, shortname asc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['e', 'a', 'b', 'd', 'c']], 'ul.timeaccess asc, shortname asc with limit no offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc, shortname asc', 'limit' => 2, 'offset' => 0, 'expectedcourses' => ['e', 'a']], 'ul.timeaccess asc, shortname asc with limit and offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc, shortname asc', 'limit' => 2, 'offset' => 2, 'expectedcourses' => ['b', 'd']], 'ul.timeaccess asc, shortname asc with limit and offset beyond end of data set' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc, shortname asc', 'limit' => 2, 'offset' => 4, 'expectedcourses' => ['c']], 'ul.timeaccess desc, shortname asc no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess desc, shortname asc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['c', 'b', 'd', 'a', 'e']], 'ul.timeaccess desc, shortname desc, no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess desc, shortname desc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['c', 'd', 'b', 'a', 'e']], 'ul.timeaccess asc, shortname desc, no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'ul.timeaccess asc, shortname desc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['e', 'a', 'd', 'b', 'c']], 'shortname asc, no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'shortname asc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['a', 'b', 'c', 'd', 'e']], 'shortname desc, no limit or offset' => ['enrolledcoursesdata' => $enrolledcoursesdata, 'unenrolledcoursesdata' => $unenrolledcoursesdata, 'sort' => 'shortname desc', 'limit' => 0, 'offset' => 0, 'expectedcourses' => ['e', 'd', 'c', 'b', 'a']], ]
/enrol/tests/externallib_test.php:3441$options = array(array('name' => 'withcapability', 'value' => $settings['withcapability']), array('name' => 'groupid', 'value' => $groupid), array('name' => 'onlyactive', 'value' => $settings['onlyactive']), array('name' => 'userfields', 'value' => 'id'))
/enrol/tests/externallib_test.php:4661$coursedata1 = array('fullname' => '<b>Course 1</b>', 'shortname' => '<b>Course 1</b>', 'summary' => 'Lightwork Course 1 description', 'summaryformat' => FORMAT_MOODLE, 'lang' => 'en', 'enablecompletion' => true, 'showgrades' => true, 'startdate' => $timenow, 'enddate' => $timenow + WEEKSECS, 'marker' => 1)
/enrol/tests/externallib_test.php:9031$enrolledusers = core_enrol_external::get_enrolled_users($data->course->id, array(array('name' => 'limitfrom', 'value' => 2), array('name' => 'limitnumber', 'value' => 1), array('name' => 'userfields', 'value' => 'id')))
/enrol/tests/externallib_test.php:10481$result = core_enrol_external::get_enrolled_users_with_capability(array('coursecapabilities' => array('courseid' => $data->course->id, 'capabilities' => array($capability, ), ), ), array(array('name' => 'limitfrom', 'value' => 1), array('name' => 'limitnumber', 'value' => 1), array('name' => 'userfields', 'value' => 'id')))
/enrol/tests/externallib_test.php:11331return ['Invalid data' => ['customdata' => ['status' => ENROL_USER_ACTIVE, 'timestart' => ['day' => $now->format('j'), 'month' => $now->format('n'), 'year' => $now->format('Y'), 'hour' => $now->format('G'), 'minute' => 0, 'enabled' => 1, ], 'timeend' => ['day' => $now->format('j'), 'month' => $now->format('n'), 'year' => $now->format('Y'), 'hour' => $now->format('G'), 'minute' => 0, 'enabled' => 1, ], ], 'expectedresult' => false, 'validationerror' => true, ], 'Valid data' => ['customdata' => ['status' => ENROL_USER_ACTIVE, 'timestart' => ['day' => $now->format('j'), 'month' => $now->format('n'), 'year' => $now->format('Y'), 'hour' => $now->format('G'), 'minute' => 0, 'enabled' => 1, ], 'timeend' => ['day' => $nextmonth->format('j'), 'month' => $nextmonth->format('n'), 'year' => $nextmonth->format('Y'), 'hour' => $nextmonth->format('G'), 'minute' => 0, 'enabled' => 1, ], ], 'expectedresult' => true, 'validationerror' => false], 'Suspend user' => ['customdata' => ['status' => ENROL_USER_SUSPENDED, ], 'expectedresult' => true, 'validationerror' => false], ]
/enrol/meta/classes/external/delete_instances.php:431return new external_function_parameters(['instances' => new external_multiple_structure(new external_single_structure(['metacourseid' => new external_value(PARAM_INT, 'ID of the course with meta enrolment.'), 'courseid' => new external_value(PARAM_RAW, 'ID of the course where meta enrolment is linked to.'), ]), 'List of course meta enrolment instances to delete.', VALUE_DEFAULT, [ ]), ])
/enrol/meta/classes/external/delete_instances.php:1271return new external_multiple_structure(new external_single_structure(['metacourseid' => new external_value(PARAM_INT, 'ID of the course where meta enrolment is deleted.'), 'courseid' => new external_value(PARAM_RAW, 'ID of the course that was meta linked.'), 'status' => new external_value(PARAM_BOOL, 'True on success, false if meta link did not exist.'), ]), 'List of course meta enrolment instances that were deleted.', VALUE_DEFAULT, [ ])
/enrol/meta/classes/external/add_instances.php:431return new external_function_parameters(['instances' => new external_multiple_structure(new external_single_structure(['metacourseid' => new external_value(PARAM_INT, 'ID of the course where meta enrolment is added.'), 'courseid' => new external_value(PARAM_RAW, 'ID of the course where meta enrolment is linked to.'), 'creategroup' => new external_value(PARAM_BOOL, 'Creates group in meta course named after linked course and ' . 'puts all enrolled users in this group', VALUE_DEFAULT, false), ]), 'List of course meta enrolment instances to create.', VALUE_DEFAULT, [ ]), ])
/admin/tool/uploadcourse/tests/course_test.php:5941$data = array('shortname' => 'c1', 'fullname' => 'Fullname 2', 'category' => $cat->id, 'visible' => '1', 'downloadcontent' => DOWNLOAD_COURSE_CONTENT_ENABLED, 'idnumber' => 'changeidn', 'summary' => 'Summary 2', 'format' => 'topics', 'theme' => 'classic', 'lang' => '', 'newsitems' => '2', 'showgrades' => '1', 'showreports' => '0', 'legacyfiles' => '0', 'maxbytes' => '4321', 'groupmode' => '1', 'groupmodeforce' => '0', 'enablecompletion' => '0', 'showactivitydates' => '0', 'role_teacher' => 'Teacher', 'role_manager' => 'Manager', 'enrolment_1' => 'guest', 'enrolment_1_disable' => '1', 'enrolment_2' => 'self', 'enrolment_2_roleid' => '5', 'enrolment_3' => 'manual', 'enrolment_3_delete' => '1', )
/admin/tool/uploadcourse/classes/tracker.php:1511$message = array($line, $outcome ? 'OK' : 'NOK', isset($data['id']) ? $data['id'] : '', isset($data['shortname']) ? $data['shortname'] : '', isset($data['fullname']) ? $data['fullname'] : '', isset($data['idnumber']) ? $data['idnumber'] : '')
/admin/tool/uploadcourse/classes/processor.php:2431$importoptions = array('candelete' => $this->allowdeletes, 'canrename' => $this->allowrenames, 'canreset' => $this->allowresets, 'reset' => $this->reset, 'restoredir' => $this->get_restore_content_dir( ), 'shortnametemplate' => $this->shortnametemplate)
/admin/tool/uploadcourse/classes/base_form.php:661$choices = array(tool_uploadcourse_processor::UPDATE_NOTHING => get_string('nochanges', 'tool_uploadcourse'), tool_uploadcourse_processor::UPDATE_ALL_WITH_DATA_ONLY => get_string('updatewithdataonly', 'tool_uploadcourse'), tool_uploadcourse_processor::UPDATE_ALL_WITH_DATA_OR_DEFAUTLS => get_string('updatewithdataordefaults', 'tool_uploadcourse'), tool_uploadcourse_processor::UPDATE_MISSING_WITH_DATA_OR_DEFAUTLS => get_string('updatemissing', 'tool_uploadcourse'))
/admin/tool/admin_presets/classes/output/presets_list.php:781$data = ['name' => format_text($preset->name, FORMAT_PLAIN), 'description' => format_text($preset->comments, FORMAT_HTML), 'release' => format_text($preset->moodlerelease, FORMAT_PLAIN), 'author' => format_text($preset->author, FORMAT_PLAIN), 'site' => format_text(clean_text($preset->site, PARAM_URL), FORMAT_PLAIN), 'timecreated' => userdate($preset->timecreated), 'timeimported' => $timeimportedstring]
/admin/tool/uploadcourse/cli/uploadcourse.php:341list($options, $unrecognized) = cli_get_params(array('help' => false, 'mode' => '', 'updatemode' => 'nothing', 'file' => '', 'delimiter' => 'comma', 'encoding' => 'UTF-8', 'shortnametemplate' => '', 'templatecourse' => false, 'restorefile' => false, 'allowdeletes' => false, 'allowrenames' => false, 'allowresets' => false, 'reset' => false, 'category' => core_course_category::get_default( )->id, ), array('h' => 'help', 'm' => 'mode', 'u' => 'updatemode', 'f' => 'file', 'd' => 'delimiter', 'e' => 'encoding', 't' => 'templatecourse', 'r' => 'restorefile', 'g' => 'format', ))
/admin/tool/uploadcourse/tests/helper_test.php:2311$expected = array('role_' . $roleids['student'] => 'Padawan', 'role_' . $roleids['teacher'] => 'Guardian', 'role_' . $roleids['editingteacher'] => 'Knight', 'role_' . $roleids['manager'] => 'Master', 'role_' . $roleids['villain'] => 'Jabba the Hutt', )
/admin/tool/uploadcourse/tests/course_test.php:7671$defaultdata = array('fullname' => 'Fullname 2', 'category' => $cat->id, 'visible' => '1', 'downloadcontent' => DOWNLOAD_COURSE_CONTENT_ENABLED, 'startdate' => 455760000, 'enddate' => 457488000, 'idnumber' => 'changedid', 'summary' => 'Summary 2', 'format' => 'topics', 'theme' => 'classic', 'lang' => '', 'newsitems' => '2', 'showgrades' => '1', 'showreports' => '0', 'legacyfiles' => '0', 'maxbytes' => '1111', 'groupmode' => '1', 'groupmodeforce' => '0', 'enablecompletion' => '0', 'showactivitydates' => '0', )
/admin/tool/customlang/cli/import.php:1751$record = (object) ['filearea' => 'draft', 'component' => 'user', 'filepath' => '/', 'itemid' => file_get_unused_draft_itemid( ), 'license' => $CFG->sitedefaultlicense, 'author' => '', 'filename' => clean_param(basename($file), PARAM_FILE), 'contextid' => \context_user::instance($USER->id)->id, 'userid' => $USER->id, ]
/admin/tool/analytics/model.php:1261$customdata = array('id' => $model->get_id( ), 'trainedmodel' => $model->is_trained( ), 'staticmodel' => $model->is_static( ), 'invalidcurrenttimesplitting' => (!empty($invalidcurrenttimesplitting)), 'targetclass' => $model->get_target( )->get_id( ), 'targetname' => $model->get_target( )->get_name( ), 'indicators' => $model->get_potential_indicators( ), 'timesplittings' => $potentialtimesplittings, 'predictionprocessors' => \core_analytics\manager::get_all_prediction_processors( ), 'supportscontexts' => ($model->get_analyser(['notimesplitting' => true]))::context_restriction_support( ), 'contexts' => $model->get_contexts( ), )
/admin/tool/analytics/createmodel.php:501$customdata = array('trainedmodel' => false, 'staticmodel' => false, 'targets' => $targets, 'indicators' => \core_analytics\manager::get_all_indicators( ), 'timesplittings' => \core_analytics\manager::get_all_time_splittings( ), 'predictionprocessors' => \core_analytics\manager::get_all_prediction_processors( ), 'supportscontexts' => true, )
/admin/tool/admin_presets/tests/local/action/import_test.php:1961return ['Import settings from an empty file' => ['filecontents' => '', 'expectedpreset' => false, ], 'Import settings and plugins from a valid XML file' => ['filecontents' => file_get_contents($fixturesfolder . 'import_settings_plugins.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => true, ], 'Import only settings from a valid XML file' => ['filecontents' => file_get_contents($fixturesfolder . 'import_settings.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => false, ], 'Import settings and plugins from a valid XML file with Starter name, which will be marked as non-core' => ['filecontents' => file_get_contents($fixturesfolder . 'import_starter_name.xml'), 'expectedpreset' => true, 'expectedsettings' => true, 'expectedplugins' => true, 'expecteddebugging' => false, 'expectedexception' => null, 'expectedpresetname' => 'Starter', ], 'Import settings from an invalid XML file' => ['filecontents' => file_get_contents($fixturesfolder . 'invalid_xml_file.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => false, 'expectedexception' => \Exception::class, ], 'Import unexisting settings category' => ['filecontents' => file_get_contents($fixturesfolder . 'unexisting_category.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, ], 'Import unexisting setting' => ['filecontents' => file_get_contents($fixturesfolder . 'unexisting_setting.xml'), 'expectedpreset' => false, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => true, ], 'Import valid settings with one unexisting setting too' => ['filecontents' => file_get_contents($fixturesfolder . 'import_settings_with_unexisting_setting.xml'), 'expectedpreset' => true, 'expectedsettings' => false, 'expectedplugins' => false, 'expecteddebugging' => true, ], ]
/completion/classes/external.php:1911return new external_single_structure(array('cmid' => new external_value(PARAM_INT, 'The course module id'), 'userid' => new external_value(PARAM_INT, 'The user id to which the completion info belongs'), 'state' => new external_value(PARAM_INT, 'The current completion state.'), 'timecompleted' => new external_value(PARAM_INT, 'time of completion'), 'overrideby' => new external_value(PARAM_INT, 'The user id who has overriden the status, or null'), 'tracking' => new external_value(PARAM_INT, 'type of tracking: 0 means none, 1 manual, 2 automatic'), ))
/completion/classes/external.php:1731return ['cmid' => $completiondata->coursemoduleid, 'userid' => $completiondata->userid, 'state' => $completiondata->completionstate, 'timecompleted' => $completiondata->timemodified, 'overrideby' => $completiondata->overrideby, 'tracking' => $completion->is_enabled($cm)]
/admin/tool/customlang/db/access.php:281$capabilities = array('tool/customlang:view' => array('riskbitmask' => RISK_CONFIG, 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), 'tool/customlang:edit' => array('riskbitmask' => RISK_CONFIG | RISK_XSS, 'captype' => 'write', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), 'tool/customlang:export' => array('riskbitmask' => RISK_CONFIG, 'captype' => 'read', 'contextlevel' => CONTEXT_SYSTEM, 'archetypes' => array('manager' => CAP_ALLOW), ), )
/admin/tool/customlang/cli/export.php:561list($options, $unrecognized) = cli_get_params(['lang' => '', 'components' => '', 'target' => $dafaulttarget, 'overwrite' => false, 'help' => false, ], ['h' => 'help', 'c' => 'components', 't' => 'target', 'o' => 'overwrite'])
/completion/classes/privacy/provider.php:1011$join = "JOIN {course_completion_criteria} {$cccalias} ON {$joinfield} = {$cccalias}.course LEFT JOIN {course_modules_completion} {$cmcalias} ON {$cccalias}.moduleinstance = {$cmcalias}.coursemoduleid AND {$cmcalias}.userid = :{$prefix}_moduleuserid LEFT JOIN {course_modules_viewed} {$cmvalias} ON {$cccalias}.moduleinstance = {$cmvalias}.coursemoduleid AND {$cmvalias}.userid = :{$prefix}_moduleuserid2 LEFT JOIN {course_completion_crit_compl} {$ccccalias} ON {$ccccalias}.criteriaid = {$cccalias}.id AND {$ccccalias}.userid = :{$prefix}_courseuserid"
/completion/classes/external/completion_info_exporter.php:781return ['state' => $cmcompletion->get_overall_completion( ), 'timecompleted' => $cmcompletion->get_timemodified( ), 'overrideby' => $cmcompletion->overridden_by( ), 'valueused' => \core_availability\info::completion_value_used($this->course, $this->cminfo->id), 'hascompletion' => $cmcompletion->has_completion( ), 'isautomatic' => $cmcompletion->is_automatic( ), 'istrackeduser' => $cmcompletion->is_tracked_user( ), 'uservisible' => $this->cminfo->uservisible, 'details' => $details, 'isoverallcomplete' => $cmcompletion->is_overall_complete( ), ]
/completion/classes/external.php:2961return new external_single_structure(array('statuses' => new external_multiple_structure(new external_single_structure(['cmid' => new external_value(PARAM_INT, 'course module ID'), 'modname' => new external_value(PARAM_PLUGIN, 'activity module name'), 'instance' => new external_value(PARAM_INT, 'instance ID'), 'state' => new external_value(PARAM_INT, "Completion state value: 0 means incomplete, 1 complete, 2 complete pass, 3 complete fail"), 'timecompleted' => new external_value(PARAM_INT, 'timestamp for completed activity'), 'tracking' => new external_value(PARAM_INT, "type of tracking: 0 means none, 1 manual, 2 automatic"), 'overrideby' => new external_value(PARAM_INT, 'The user id who has overriden the status, or null', VALUE_OPTIONAL), 'valueused' => new external_value(PARAM_BOOL, 'Whether the completion status affects the availability of another activity.', VALUE_OPTIONAL), 'hascompletion' => new external_value(PARAM_BOOL, 'Whether this activity module has completion enabled', VALUE_OPTIONAL), 'isautomatic' => new external_value(PARAM_BOOL, 'Whether this activity module instance tracks completion automatically.', VALUE_OPTIONAL), 'istrackeduser' => new external_value(PARAM_BOOL, 'Whether completion is being tracked for this user.', VALUE_OPTIONAL), 'uservisible' => new external_value(PARAM_BOOL, 'Whether this activity is visible to the user.', VALUE_OPTIONAL), 'details' => new external_multiple_structure(new external_single_structure(['rulename' => new external_value(PARAM_TEXT, 'Rule name'), 'rulevalue' => new external_single_structure(['status' => new external_value(PARAM_INT, 'Completion status'), 'description' => new external_value(PARAM_TEXT, 'Completion description'), ])]), 'Completion status details', VALUE_DEFAULT, [ ]), 'isoverallcomplete' => new external_value(PARAM_BOOL, 'Whether the overall completion state of this course module should be marked as complete or not.', VALUE_OPTIONAL), ], 'Activity'), 'List of activities status'), 'warnings' => new external_warnings( )))
/completion/classes/external.php:4761return new external_single_structure(array('completionstatus' => new external_single_structure(array('completed' => new external_value(PARAM_BOOL, 'true if the course is complete, false otherwise'), 'aggregation' => new external_value(PARAM_INT, 'aggregation method 1 means all, 2 means any'), 'completions' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_INT, 'Completion criteria type'), 'title' => new external_value(PARAM_TEXT, 'Completion criteria Title'), 'status' => new external_value(PARAM_NOTAGS, 'Completion status (Yes/No) a % or number'), 'complete' => new external_value(PARAM_BOOL, 'Completion status (true/false)'), 'timecompleted' => new external_value(PARAM_INT, 'Timestamp for criteria completetion'), 'details' => new external_single_structure(array('type' => new external_value(PARAM_TEXT, 'Type description'), 'criteria' => new external_value(PARAM_RAW, 'Criteria description'), 'requirement' => new external_value(PARAM_TEXT, 'Requirement description'), 'status' => new external_value(PARAM_RAW, 'Status description, can be anything'), ), 'details'), ), 'Completions'), '')), 'Course status'), 'warnings' => new external_warnings( )), 'Course completion status')
/completion/tests/externallib_test.php:1221$assignautocompletion = $this->getDataGenerator( )->create_module('assign', ['course' => $course->id], ['showdescription' => true, 'completionview' => 1, 'completion' => COMPLETION_TRACKING_AUTOMATIC, 'completiongradeitemnumber' => 1, 'completionpassgrade' => 1, ], )
/completion/criteria/completion_criteria_duration.php:651$thresholdmenu = array(86400 => get_string('secondstotime86400', 'core'), 172800 => get_string('secondstotime172800', 'core'), 259200 => get_string('secondstotime259200', 'core'), 345600 => get_string('secondstotime345600', 'core'), 432000 => get_string('secondstotime432000', 'core'), 518400 => get_string('secondstotime518400', 'core'), 518400 => get_string('secondstotime518400', 'core'), )
/completion/tests/cm_completion_details_test.php:3661return ['No completion tracking' => [COMPLETION_TRACKING_NONE, null, null, null, [ ]], 'Manual completion tracking' => [COMPLETION_TRACKING_MANUAL, null, null, null, [ ]], 'Automatic, require view, not viewed' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_INCOMPLETE, null, null, ['completionview' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ]]], 'Automatic, require view, viewed' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_COMPLETE, null, null, ['completionview' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ]]], 'Automatic, require grade, incomplete' => [COMPLETION_TRACKING_AUTOMATIC, null, COMPLETION_INCOMPLETE, null, ['completionusegrade' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ]]], 'Automatic, require grade, complete' => [COMPLETION_TRACKING_AUTOMATIC, null, COMPLETION_COMPLETE, null, ['completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ]]], 'Automatic, require view (complete) and grade (incomplete)' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_COMPLETE, COMPLETION_INCOMPLETE, null, ['completionview' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ], 'completionusegrade' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ]]], 'Automatic, require view (incomplete) and grade (complete)' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_INCOMPLETE, COMPLETION_COMPLETE, null, ['completionview' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ], 'completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ]]], 'Automatic, require grade, require pass grade, complete' => [COMPLETION_TRACKING_AUTOMATIC, null, COMPLETION_COMPLETE, COMPLETION_COMPLETE, ['completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ], 'completionpassgrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivepassgrade', 'completion'), ], ]], 'Automatic, require grade, require pass grade, incomplete' => [COMPLETION_TRACKING_AUTOMATIC, null, COMPLETION_COMPLETE, COMPLETION_INCOMPLETE, ['completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ], 'completionpassgrade' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:receivepassgrade', 'completion'), ], ]], 'Automatic, require view (complete), require grade(complete), require pass grade(complete)' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_COMPLETE, COMPLETION_COMPLETE, COMPLETION_COMPLETE, ['completionview' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ], 'completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ], 'completionpassgrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivepassgrade', 'completion'), ], ]], 'Automatic, require view (incomplete), require grade(complete), require pass grade(complete)' => [COMPLETION_TRACKING_AUTOMATIC, COMPLETION_INCOMPLETE, COMPLETION_COMPLETE, COMPLETION_COMPLETE, ['completionview' => (object) ['status' => COMPLETION_INCOMPLETE, 'description' => get_string('detail_desc:view', 'completion'), ], 'completionusegrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivegrade', 'completion'), ], 'completionpassgrade' => (object) ['status' => COMPLETION_COMPLETE, 'description' => get_string('detail_desc:receivepassgrade', 'completion'), ], ]], ]
/completion/tests/generator_test.php:861return ['Null course' => ['course' => null, 'module' => null, 'exception' => true, 'count' => 0, ], 'Empty course' => ['course' => '', 'module' => null, 'exception' => true, 'count' => 0, ], 'Invalid course' => ['course' => 0, 'module' => null, 'exception' => true, 'count' => 0, ], 'Null module' => ['course' => $SITE->id, 'module' => null, 'exception' => true, 'count' => 0, ], 'Empty module' => ['course' => $SITE->id, 'module' => null, 'exception' => true, 'count' => 0, ], 'Invalid module' => ['course' => $SITE->id, 'module' => 0, 'exception' => true, 'count' => 0, ], 'Default activity completion: NONE' => ['course' => $SITE->id, 'module' => 1, 'exception' => false, 'count' => 1, ], 'Default activity completion: AUTOMATIC' => ['course' => $SITE->id, 'module' => 1, 'exception' => false, 'count' => 1, 'completion' => 2, ], ]
/enrol/locallib.php:12371$details['enrolments'][$ue->id] = array('text' => $ue->enrolmentinstancename, 'period' => $period, 'dimmed' => ($periodoutside or $ue->status != ENROL_USER_ACTIVE or $ue->enrolmentinstance->status != ENROL_INSTANCE_ENABLED), 'actions' => $ue->enrolmentplugin->get_user_enrolment_actions($manager, $ue))
/enrol/locallib.php:12651$details = array('userid' => $user->id, 'courseid' => $this->get_course( )->id, 'picture' => new user_picture($user), 'userfullnamedisplay' => fullname($user, has_capability('moodle/site:viewfullnames', $this->get_context( ))), 'lastaccess' => get_string('never'), 'lastcourseaccess' => get_string('never'), )
/enrol/renderer.php:421$attributes = ['type' => 'submit', 'value' => $buttoninfo->label, 'disabled' => $buttoninfo->disabled ? 'disabled' : null, 'title' => $buttoninfo->tooltip, 'class' => 'btn ' . "btn-{$buttoninfo->type}", ]
/enrol/renderer.php:1271$rolesoutput .= html_writer::tag('div', $role['text'] . html_writer::link($url, $icon, array('class' => 'unassignrolelink', 'rel' => $roleid, 'title' => $strunassign)), array('class' => 'role role_' . $roleid))
/enrol/externallib.php:2011return new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'Course ID number in the Moodle course table'), 'capability' => new external_value(PARAM_CAPABILITY, 'Capability name'), 'users' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'ID of the user'), 'username' => new external_value(PARAM_RAW, 'Username', VALUE_OPTIONAL), 'firstname' => new external_value(PARAM_NOTAGS, 'The first name(s) of the user', VALUE_OPTIONAL), 'lastname' => new external_value(PARAM_NOTAGS, 'The family name of the user', VALUE_OPTIONAL), 'fullname' => new external_value(PARAM_NOTAGS, 'The fullname of the user'), 'email' => new external_value(PARAM_TEXT, 'Email address', VALUE_OPTIONAL), 'address' => new external_value(PARAM_TEXT, 'Postal address', VALUE_OPTIONAL), 'phone1' => new external_value(PARAM_NOTAGS, 'Phone 1', VALUE_OPTIONAL), 'phone2' => new external_value(PARAM_NOTAGS, 'Phone 2', VALUE_OPTIONAL), 'department' => new external_value(PARAM_TEXT, 'department', VALUE_OPTIONAL), 'institution' => new external_value(PARAM_TEXT, 'institution', VALUE_OPTIONAL), 'interests' => new external_value(PARAM_TEXT, 'user interests (separated by commas)', VALUE_OPTIONAL), 'firstaccess' => new external_value(PARAM_INT, 'first access to the site (0 if never)', VALUE_OPTIONAL), 'lastaccess' => new external_value(PARAM_INT, 'last access to the site (0 if never)', VALUE_OPTIONAL), 'lastcourseaccess' => new external_value(PARAM_INT, 'last access to the course (0 if never)', VALUE_OPTIONAL), 'description' => new external_value(PARAM_RAW, 'User profile description', VALUE_OPTIONAL), 'descriptionformat' => new external_value(PARAM_INT, 'User profile description format', VALUE_OPTIONAL), 'city' => new external_value(PARAM_NOTAGS, 'Home city of the user', VALUE_OPTIONAL), 'country' => new external_value(PARAM_ALPHA, 'Country code of the user, such as AU or CZ', VALUE_OPTIONAL), 'profileimageurlsmall' => new external_value(PARAM_URL, 'User image profile URL - small', VALUE_OPTIONAL), 'profileimageurl' => new external_value(PARAM_URL, 'User image profile URL - big', VALUE_OPTIONAL), 'customfields' => new external_multiple_structure(new external_single_structure(array('type' => new external_value(PARAM_ALPHANUMEXT, 'The type of the custom field'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), 'name' => new external_value(PARAM_RAW, 'The name of the custom field'), 'shortname' => new external_value(PARAM_RAW, 'The shortname of the custom field'), )), 'User custom fields (also known as user profil fields)', VALUE_OPTIONAL), 'groups' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'group id'), 'name' => new external_value(PARAM_RAW, 'group name'), 'description' => new external_value(PARAM_RAW, 'group description'), )), 'user groups', VALUE_OPTIONAL), 'roles' => new external_multiple_structure(new external_single_structure(array('roleid' => new external_value(PARAM_INT, 'role id'), 'name' => new external_value(PARAM_RAW, 'role name'), 'shortname' => new external_value(PARAM_ALPHANUMEXT, 'role shortname'), 'sortorder' => new external_value(PARAM_INT, 'role sortorder'))), 'user roles', VALUE_OPTIONAL), 'preferences' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_RAW, 'The name of the preferences'), 'value' => new external_value(PARAM_RAW, 'The value of the custom field'), )), 'User preferences', VALUE_OPTIONAL), 'enrolledcourses' => new external_multiple_structure(new external_single_structure(array('id' => new external_value(PARAM_INT, 'Id of the course'), 'fullname' => new external_value(PARAM_RAW, 'Fullname of the course'), 'shortname' => new external_value(PARAM_RAW, 'Shortname of the course'))), 'Courses where the user is enrolled - limited by which courses the user is able to see', VALUE_OPTIONAL))), 'List of users that are enrolled in the course and have the specified capability'), )))
/enrol/externallib.php:4012$fileurl = moodle_url::make_webservice_pluginfile_url($file->get_contextid( ), $file->get_component( ), $file->get_filearea( ), null, $file->get_filepath( ), $file->get_filename( ))->out(false)
/enrol/bulkchange_forms.php:821$table->data[] = array(fullname($user) . $input, $statusoptions[$enrolment->status], (!empty($enrolment->timestart)) ? userdate($enrolment->timestart) : '', (!empty($enrolment->timeend)) ? userdate($enrolment->timeend) : '', )
/enrol/externallib.php:551return new external_function_parameters(array('coursecapabilities' => new external_multiple_structure(new external_single_structure(array('courseid' => new external_value(PARAM_INT, 'Course ID number in the Moodle course table'), 'capabilities' => new external_multiple_structure(new external_value(PARAM_CAPABILITY, 'Capability name, such as mod/forum:viewdiscussion')), )), 'course id and associated capability name'), 'options' => new external_multiple_structure(new external_single_structure(array('name' => new external_value(PARAM_ALPHANUMEXT, 'option name'), 'value' => new external_value(PARAM_RAW, 'option value'))), 'Option names: * groupid (integer) return only users in this group id. Requires \'moodle/site:accessallgroups\' . * onlyactive (integer) only users with active enrolments. Requires \'moodle/course:enrolreview\' . * userfields (\'string, string, ...\') return only the values of these user fields. * limitfrom (integer) sql limit from. * limitnumber (integer) max number of users per course and capability.', VALUE_DEFAULT, array( ))))
/admin/tool/cohortroles/classes/output/cohort_role_assignments_table.php:981$record = (object) array('id' => $data->cohortid, 'idnumber' => $data->cohortidnumber, 'description' => $data->cohortdescription, 'visible' => $data->cohortvisible, 'name' => $data->cohortname, 'theme' => $data->cohorttheme)
/admin/tool/cohortroles/classes/privacy/provider.php:1961$data = (object) ['cohortname' => $cohortrole->cohortname, 'cohortidnumber' => $cohortrole->cohortidnumber, 'cohortdescription' => $cohortrole->cohortdescription, 'roleshortname' => $cohortrole->roleshortname, 'userid' => transform::user($cohortrole->userid), 'timecreated' => transform::datetime($cohortrole->timecreated), 'timemodified' => transform::datetime($cohortrole->timemodified)]
/admin/tool/messageinbound/classes/edit_handler_form.php:701$options = array(HOURSECS => get_string('onehour', 'tool_messageinbound'), DAYSECS => get_string('oneday', 'tool_messageinbound'), WEEKSECS => get_string('oneweek', 'tool_messageinbound'), YEARSECS => get_string('oneyear', 'tool_messageinbound'), 0 => get_string('noexpiry', 'tool_messageinbound'), )
/admin/tool/messageinbound/settings.php:581$options = array('' => get_string('noencryption', 'tool_messageinbound'), 'ssl' => get_string('ssl', 'tool_messageinbound'), 'sslv2' => get_string('sslv2', 'tool_messageinbound'), 'sslv3' => get_string('sslv3', 'tool_messageinbound'), 'tls' => get_string('tls', 'tool_messageinbound'), 'tlsv1' => get_string('tlsv1', 'tool_messageinbound'), )
/admin/tool/log/store/standard/settings.php:371$options = array(0 => new lang_string('neverdeletelogs'), 1000 => new lang_string('numdays', '', 1000), 365 => new lang_string('numdays', '', 365), 180 => new lang_string('numdays', '', 180), 150 => new lang_string('numdays', '', 150), 120 => new lang_string('numdays', '', 120), 90 => new lang_string('numdays', '', 90), 60 => new lang_string('numdays', '', 60), 35 => new lang_string('numdays', '', 35), 10 => new lang_string('numdays', '', 10), 5 => new lang_string('numdays', '', 5), 2 => new lang_string('numdays', '', 2))
/admin/tool/log/store/database/classes/helper.php:411return array('' => get_string('choosedots'), 'native/mysqli' => \moodle_database::get_driver_instance('mysqli', 'native')->get_name( ), 'native/mariadb' => \moodle_database::get_driver_instance('mariadb', 'native')->get_name( ), 'native/pgsql' => \moodle_database::get_driver_instance('pgsql', 'native')->get_name( ), 'native/oci' => \moodle_database::get_driver_instance('oci', 'native')->get_name( ), 'native/sqlsrv' => \moodle_database::get_driver_instance('sqlsrv', 'native')->get_name( ))
/admin/tool/httpsreplace/tests/httpsreplace_test.php:1691return ["Test image from an available site so shouldn't be reported" => ["content" => '<img src="' . $this->getExternalTestFileUrl('/test.jpg', false) . '">', "domain" => $testdomain, "expectedcount" => 0, ], "Link that is from this site shouldn't be reported" => ["content" => '<img src="' . $wwwroothttp . '/logo.png">', "domain" => $wwwrootdomain, "expectedcount" => 0, ], "Unavailable, but https shouldn't be reported" => ["content" => '<img src="https://intentionally.unavailable/logo.png">', "domain" => 'intentionally.unavailable', "expectedcount" => 0, ], "Unavailable image should be reported" => ["content" => '<img src="http://intentionally.unavailable/link1.jpg">', "domain" => 'intentionally.unavailable', "expectedcount" => 1, ], "Unavailable object should be reported" => ["content" => '<object data="http://intentionally.unavailable/file.swf">', "domain" => 'intentionally.unavailable', "expectedcount" => 1, ], "Link should not be reported" => ["content" => '<a href="http://intentionally.unavailable/page.php">Link</a>', "domain" => 'intentionally.unavailable', "expectedcount" => 0, ], "Text should not be reported" => ["content" => 'http://intentionally.unavailable/page.php', "domain" => 'intentionally.unavailable', "expectedcount" => 0, ], ]
/admin/tool/httpsreplace/tests/httpsreplace_test.php:451return ["Test image from another site should be replaced" => ["content" => '<img src="' . $this->getExternalTestFileUrl('/test.jpg', false) . '">', "outputregex" => '/UPDATE/', "expectedcontent" => '<img src="' . $this->get_converted_http_link('/test.jpg') . '">', ], "Test object from another site should be replaced" => ["content" => '<object data="' . $this->getExternalTestFileUrl('/test.swf', false) . '">', "outputregex" => '/UPDATE/', "expectedcontent" => '<object data="' . $this->get_converted_http_link('/test.swf') . '">', ], "Test image from a site with international name should be replaced" => ["content" => '<img src="http://中国互联网络信息中心.中国/logosy/201706/W01.png">', "outputregex" => '/UPDATE/', "expectedcontent" => '<img src="https://中国互联网络信息中心.中国/logosy/201706/W01.png">', ], "Link that is from this site should be replaced" => ["content" => '<img src="' . $wwwroothttp . '/logo.png">', "outputregex" => '/UPDATE/', "expectedcontent" => '<img src="' . $CFG->wwwroot . '/logo.png">', ], "Link that is from this site, https new so doesn't need replacing" => ["content" => '<img src="' . $CFG->wwwroot . '/logo.png">', "outputregex" => '/^$/', "expectedcontent" => '<img src="' . $CFG->wwwroot . '/logo.png">', ], "Unavailable image should be replaced" => ["content" => '<img src="http://intentionally.unavailable/link1.jpg">', "outputregex" => '/UPDATE/', "expectedcontent" => '<img src="https://intentionally.unavailable/link1.jpg">', ], "Https content that has an http url as a param should not be replaced" => ["content" => '<img src="https://anothersite.com?param=http://asdf.com">', "outputregex" => '/^$/', "expectedcontent" => '<img src="https://anothersite.com?param=http://asdf.com">', ], "Search for params should be case insensitive" => ["content" => '<object DATA="' . $this->getExternalTestFileUrl('/test.swf', false) . '">', "outputregex" => '/UPDATE/', "expectedcontent" => '<object DATA="' . $this->get_converted_http_link('/test.swf') . '">', ], "URL should be case insensitive" => ["content" => '<object data="HTTP://some.site/path?query">', "outputregex" => '/UPDATE/', "expectedcontent" => '<object data="https://some.site/path?query">', ], "More params should not interfere" => ["content" => '<img alt="A picture" src="' . $this->getExternalTestFileUrl('/test.png', false) . '" width="1”><p style="font-size: \'20px\'"></p>', "outputregex" => '/UPDATE/', "expectedcontent" => '<img alt="A picture" src="' . $this->get_converted_http_link('/test.png') . '" width="1”><p style="font-size: \'20px\'"></p>', ], "Broken URL should not be changed" => ["content" => '<img src="broken.' . $this->getExternalTestFileUrl('/test.png', false) . '">', "outputregex" => '/^$/', "expectedcontent" => '<img src="broken.' . $this->getExternalTestFileUrl('/test.png', false) . '">', ], "Link URL should not be changed" => ["content" => '<a href="' . $this->getExternalTestFileUrl('/test.png', false) . '">' . $this->getExternalTestFileUrl('/test.png', false) . '</a>', "outputregex" => '/^$/', "expectedcontent" => '<a href="' . $this->getExternalTestFileUrl('/test.png', false) . '">' . $this->getExternalTestFileUrl('/test.png', false) . '</a>', ], "Test image from another site should be replaced but link should not" => ["content" => '<a href="' . $this->getExternalTestFileUrl('/test.png', false) . '"><img src="' . $this->getExternalTestFileUrl('/test.jpg', false) . '"></a>', "outputregex" => '/UPDATE/', "expectedcontent" => '<a href="' . $this->getExternalTestFileUrl('/test.png', false) . '"><img src="' . $this->get_converted_http_link('/test.jpg') . '"></a>', ], ]
/admin/tool/policy/classes/form/policydoc.php:1011$statusgrp = [$mform->createElement('radio', 'status', '', get_string('status' . policy_version::STATUS_ACTIVE, 'tool_policy'), policy_version::STATUS_ACTIVE), $mform->createElement('radio', 'status', '', get_string('status' . policy_version::STATUS_DRAFT, 'tool_policy'), policy_version::STATUS_DRAFT), $mform->createElement('static', 'statusinfo', '', html_writer::div(get_string('statusinfo', 'tool_policy'), 'muted text-muted')), ]
/admin/tool/policy/classes/api.php:11041$acceptances[] = array('policyversionid' => $policyversion->id, 'userid' => $userid, 'status' => 1, 'lang' => $lang, 'usermodified' => isset($USER->id) ? $USER->id : 0, 'timecreated' => $now, 'timemodified' => $now, )
/admin/tool/policy/classes/privacy/provider.php:3261$versioncontent = (object) ['name' => $version->name, 'revision' => $version->revision, 'summary' => writer::with_context($context)->rewrite_pluginfile_urls($subcontext, 'tool_policy', 'policydocumentsummary', $version->id, $version->summary), 'content' => writer::with_context($context)->rewrite_pluginfile_urls($subcontext, 'tool_policy', 'policydocumentcontent', $version->id, $version->content), 'isactive' => transform::yesno($version->id == $version->currentversionid), 'isarchived' => transform::yesno($version->archived), 'createdbyme' => transform::yesno($version->usermodified == $user->id), 'timecreated' => transform::datetime($version->timecreated), 'timemodified' => transform::datetime($version->timemodified), ]
/admin/tool/policy/classes/privacy/provider.php:2691$agreementcontent = (object) ['name' => $agreement->name, 'revision' => $agreement->revision, 'isactive' => transform::yesno($agreement->versionid == $agreement->currentversionid), 'isagreed' => transform::yesno($agreement->status), 'agreedby' => transform::user($agreement->usermodified), 'timecreated' => transform::datetime($agreement->timecreated), 'timemodified' => transform::datetime($agreement->timemodified), 'note' => $agreement->note, 'summary' => format_text($summary, $agreement->summaryformat), 'content' => format_text($content, $agreement->contentformat), ]
/admin/tool/policy/classes/external.php:1291return new external_single_structure(['result' => new external_single_structure(['policy' => new external_single_structure(['name' => new external_value(PARAM_RAW, 'The policy version name', VALUE_OPTIONAL), 'versionid' => new external_value(PARAM_INT, 'The policy version id', VALUE_OPTIONAL), 'content' => new external_value(PARAM_RAW, 'The policy version content', VALUE_OPTIONAL)], 'Policy information', VALUE_OPTIONAL)]), 'warnings' => new external_warnings( )])
/admin/tool/messageinbound/roundcube/rcube_result_thread.php:2961$idx = substr_count($this->raw_data, self::SEPARATOR_ELEMENT, 0, $m[0][1] + 1) + substr_count($this->raw_data, self::SEPARATOR_ITEM, 0, $m[0][1] + 1)
/admin/tool/policy/classes/acceptances_table.php:4781$row->select = \html_writer::empty_tag('input', ['type' => 'checkbox', 'name' => 'userids[]', 'value' => $row->id, 'class' => 'usercheckbox', 'id' => 'selectuser' . $row->id]) . \html_writer::tag('label', get_string('selectuser', 'tool_policy', $this->username($row->user, false)), ['for' => 'selectuser' . $row->id, 'class' => 'accesshide'])
/admin/tool/policy/classes/policy_exporter.php:781return ['currentversion' => ['type' => policy_version_exporter::read_properties_definition( ), 'null' => NULL_ALLOWED, ], 'draftversions' => ['type' => policy_version_exporter::read_properties_definition( ), 'multiple' => true, ], 'archivedversions' => ['type' => policy_version_exporter::read_properties_definition( ), 'multiple' => true, ], ]
/admin/tool/policy/classes/output/page_viewdoc.php:1861$data->declineurl = (new moodle_url('/admin/tool/policy/index.php', ['listdoc[]' => $this->policy->id, 'status' . $this->policy->id => 0, 'submit' => 'decline', 'sesskey' => sesskey( ), ]))->out(false)
/admin/tool/policy/classes/output/acceptances_filter.php:4081$statuses = [self::FILTER_STATUS . ':2' => get_string('filterstatusdeclined', 'tool_policy'), self::FILTER_STATUS . ':1' => get_string('filterstatusyes', 'tool_policy'), self::FILTER_STATUS . ':0' => get_string('filterstatuspending', 'tool_policy'), ]
/admin/tool/policy/classes/output/user_agreement.php:1251$actionaccept = (object) ['text' => get_string('useracceptanceactionaccept', 'tool_policy'), 'title' => get_string('useracceptanceactionacceptone', 'tool_policy', $versionname), 'data' => 'acceptmodal', 'url' => (new \moodle_url('/admin/tool/policy/accept.php', ['userids[]' => $this->userid, 'versionids[]' => $versionid, 'action' => 'accept', 'returnurl' => $this->pageurl->out_as_local_url(false), ]))->out(false), ]
/admin/tool/policy/classes/output/user_agreement.php:1371$actionrevoke = (object) ['text' => get_string('useracceptanceactionrevoke', 'tool_policy'), 'title' => get_string('useracceptanceactionrevokeone', 'tool_policy', $versionname), 'data' => 'acceptmodal', 'url' => (new \moodle_url('/admin/tool/policy/accept.php', ['userids[]' => $this->userid, 'versionids[]' => $versionid, 'action' => 'revoke', 'returnurl' => $this->pageurl->out_as_local_url(false), ]))->out(false), ]
/admin/tool/policy/classes/test/helper.php:512$defaults = ['name' => 'Policy ' . $counter, 'summary_editor' => ['text' => "P$counter summary", 'format' => FORMAT_HTML, 'itemid' => 0], 'content_editor' => ['text' => "P$counter content", 'format' => FORMAT_HTML, 'itemid' => 0], ]
/admin/tool/policy/classes/output/page_viewdoc.php:1211$myurl = new moodle_url('/admin/tool/policy/view.php', ['policyid' => $this->policy->policyid, 'versionid' => $this->policy->id, 'returnurl' => $this->returnurl, 'behalfid' => $this->behalfid, 'manage' => $this->manage, 'numpolicy' => $this->numpolicy, 'totalpolicies' => $this->totalpolicies, ])
/admin/tool/policy/classes/output/page_viewdoc.php:1651$data = (object) ['pluginbaseurl' => (new moodle_url('/admin/tool/policy'))->out(false), 'returnurl' => $this->returnurl ? (new moodle_url($this->returnurl))->out(false) : null, 'numpolicy' => $this->numpolicy ?: null, 'totalpolicies' => $this->totalpolicies ?: null, ]
/admin/tool/policy/classes/output/page_viewdoc.php:1791$data->accepturl = (new moodle_url('/admin/tool/policy/index.php', ['listdoc[]' => $this->policy->id, 'status' . $this->policy->id => 1, 'submit' => 'accept', 'sesskey' => sesskey( ), ]))->out(false)
/admin/tool/policy/classes/event/acceptance_base.php:551$event = static::create(['objectid' => $record->id, 'relateduserid' => $record->userid, 'context' => \context_user::instance($record->userid), 'other' => ['policyversionid' => $record->policyversionid, 'note' => $record->note, 'status' => $record->status, ], ])
/admin/tool/policy/tests/api_test.php:5601$versions = [(object) ['id' => 80, 'timecreated' => mktime(1, 1, 1, 12, 28, 2018), 'revision' => '', 'e' => '28 December 2018'], (object) ['id' => 70, 'timecreated' => mktime(1, 1, 1, 12, 27, 2018), 'revision' => '', 'e' => '27 December 2018 - v2'], (object) ['id' => 60, 'timecreated' => mktime(1, 1, 1, 12, 27, 2018), 'revision' => '', 'e' => '27 December 2018 - v1'], (object) ['id' => 50, 'timecreated' => mktime(0, 0, 0, 12, 26, 2018), 'revision' => '0', 'e' => '0'], (object) ['id' => 40, 'timecreated' => mktime(0, 0, 0, 12, 26, 2018), 'revision' => '1.1', 'e' => '1.1 - v2'], (object) ['id' => 30, 'timecreated' => mktime(0, 0, 0, 12, 26, 2018), 'revision' => '1.1', 'e' => '1.1 - v1'], (object) ['id' => 20, 'timecreated' => mktime(0, 0, 0, 12, 26, 2018), 'revision' => '', 'e' => '26 December 2018'], (object) ['id' => 10, 'timecreated' => mktime(17, 57, 00, 12, 25, 2018), 'revision' => '1.0', 'e' => '1.0'], ]
/admin/tool/policy/tests/privacy/provider_test.php:3822$defaults = ['name' => 'Policy ' . $counter, 'summary_editor' => ['text' => "P$counter summary", 'format' => FORMAT_HTML, 'itemid' => 0], 'content_editor' => ['text' => "P$counter content", 'format' => FORMAT_HTML, 'itemid' => 0], ]
/admin/tool/uploadcourse/classes/base_form.php:571$choices = array(tool_uploadcourse_processor::MODE_CREATE_NEW => get_string('createnew', 'tool_uploadcourse'), tool_uploadcourse_processor::MODE_CREATE_ALL => get_string('createall', 'tool_uploadcourse'), tool_uploadcourse_processor::MODE_CREATE_OR_UPDATE => get_string('createorupdate', 'tool_uploadcourse'), tool_uploadcourse_processor::MODE_UPDATE_ONLY => get_string('updateonly', 'tool_uploadcourse'))
/admin/tool/policy/classes/output/user_agreement.php:1491$actiondecline = (object) ['text' => get_string('useracceptanceactiondecline', 'tool_policy'), 'title' => get_string('useracceptanceactiondeclineone', 'tool_policy', $versionname), 'data' => 'acceptmodal', 'url' => (new \moodle_url('/admin/tool/policy/accept.php', ['userids[]' => $this->userid, 'versionids[]' => $versionid, 'action' => 'decline', 'returnurl' => $this->pageurl->out_as_local_url(false), ]))->out(false), ]
/admin/tool/policy/classes/output/user_agreement.php:2001$data->actions[] = (object) ['text' => get_string('useracceptanceactiondetails', 'tool_policy'), 'url' => (new \moodle_url('/admin/tool/policy/user.php', ['userid' => $this->userid, 'returnurl' => $this->pageurl->out_as_local_url(false), ]))->out(false), ]
/admin/tool/policy/classes/external/get_user_acceptances.php:1431return new external_single_structure(['policies' => new external_multiple_structure(new external_single_structure(['policyid' => new external_value(PARAM_INT, 'The policy id.'), 'versionid' => new external_value(PARAM_INT, 'The policy version id.'), 'agreementstyle' => new external_value(PARAM_INT, 'The policy agreement style. 0: consent page, 1: own page.'), 'optional' => new external_value(PARAM_INT, 'Whether the policy is optional. 0: compulsory, 1: optional'), 'revision' => new external_value(PARAM_TEXT, 'The policy revision.'), 'status' => new external_value(PARAM_INT, 'The policy status. 0: draft, 1: active, 2: archived.'), 'name' => new external_value(PARAM_TEXT, 'The policy name'), 'summary' => new external_value(PARAM_RAW, 'The policy summary.', VALUE_OPTIONAL), 'summaryformat' => new external_format_value('summary'), 'content' => new external_value(PARAM_RAW, 'The policy content.', VALUE_OPTIONAL), 'contentformat' => new external_format_value('content'), 'acceptance' => new external_single_structure(['status' => new external_value(PARAM_INT, 'The acceptance status. 0: declined, 1: accepted.'), 'lang' => new external_value(PARAM_LANG, 'The policy lang.'), 'timemodified' => new external_value(PARAM_INT, 'The time the acceptance was set.'), 'usermodified' => new external_value(PARAM_INT, 'The user who accepted.'), 'note' => new external_value(PARAM_TEXT, 'The policy note/remarks.', VALUE_OPTIONAL), 'modfullname' => new external_value(PARAM_NOTAGS, 'The fullname who accepted on behalf.', VALUE_OPTIONAL), ], 'Acceptance status for the given user.', VALUE_OPTIONAL), 'canaccept' => new external_value(PARAM_BOOL, 'Whether the policy can be accepted.'), 'candecline' => new external_value(PARAM_BOOL, 'Whether the policy can be declined.'), 'canrevoke' => new external_value(PARAM_BOOL, 'Whether the policy can be revoked.'), ]), 'Policies and acceptance status for the given user.', VALUE_OPTIONAL), 'warnings' => new external_warnings( ), ])
/admin/tool/policy/classes/external/set_acceptances_status.php:451return new external_function_parameters(['policies' => new external_multiple_structure(new external_single_structure(['versionid' => new external_value(PARAM_INT, 'The policy version id.'), 'status' => new external_value(PARAM_INT, 'The policy acceptance status. 0: decline, 1: accept.'), 'note' => new external_value(PARAM_NOTAGS, 'Any comments added by a user when giving consent on behalf of another user.', VALUE_OPTIONAL, null), ]), 'Policies acceptances for the given user.'), 'userid' => new external_value(PARAM_INT, 'The user id we want to set the acceptances. Default is the current user.', VALUE_DEFAULT, 0), ])
/admin/tool/brickfield/classes/manager.php:6461$final[$countrecord->courseid] = array_pad(array( ), 8, [self::SUMMARY_ERROR => 0, self::SUMMARY_FAILED => 0, self::SUMMARY_PERCENT => 100]) + ["activitiespassed" => $countrecord->activities, "activitiesfailed" => 0, "activities" => $countrecord->activities]
/admin/tool/task/classes/running_tasks_table.php:481$columnheaders = ['classname' => get_string('classname', 'tool_task'), 'type' => get_string('tasktype', 'admin'), 'time' => get_string('taskage', 'tool_task'), 'timestarted' => get_string('started', 'tool_task'), 'hostname' => get_string('hostname', 'tool_task'), 'pid' => get_string('pid', 'tool_task'), ]
/admin/tool/task/renderer.php:4141$row = new html_table_row([$namecell, new html_table_cell($this->component_name($task->get_component( ))), new html_table_cell($editlink), new html_table_cell($loglink), new html_table_cell($this->last_run_time($task) . $runnow), new html_table_cell($this->next_run_time($task)), $this->time_cell($task->get_minute( ), $defaulttask->get_minute( )), $this->time_cell($task->get_hour( ), $defaulttask->get_hour( )), $this->time_cell($task->get_day( ), $defaulttask->get_day( )), $this->time_cell($task->get_day_of_week( ), $defaulttask->get_day_of_week( )), $this->time_cell($task->get_month( ), $defaulttask->get_month( )), $faildelaycell, new html_table_cell($customised)])
/admin/tool/task/renderer.php:3311$table->head = [get_string('name'), get_string('component', 'tool_task'), get_string('edit'), get_string('logs'), get_string('lastruntime', 'tool_task'), get_string('nextruntime', 'tool_task'), get_string('taskscheduleminute', 'tool_task'), get_string('taskschedulehour', 'tool_task'), get_string('taskscheduleday', 'tool_task'), get_string('taskscheduledayofweek', 'tool_task'), get_string('taskschedulemonth', 'tool_task'), get_string('faildelay', 'tool_task'), get_string('default', 'tool_task'), ]
/admin/tool/task/renderer.php:1931return html_writer::table($table) . html_writer::div(html_writer::link(new moodle_url($adhocrunurl, array_merge($params, ['classname' => $classname])), get_string('runclassname', 'tool_task')), 'task-runnow') . html_writer::div(html_writer::link(new moodle_url($adhocurl), get_string('showsummary', 'tool_task')), 'task-show-summary')
/admin/tool/task/renderer.php:1301$data[] = new html_table_row([$classcell, new html_table_cell($stats['running']), new html_table_cell($duecontent), new html_table_cell($stats['count'] - $stats['running'] - $stats['due']), $failedcell, new html_table_cell($nextrun), ])
/admin/tool/task/renderer.php:521$table->head = [get_string('component', 'tool_task') . ' / ' . get_string('classname', 'tool_task'), get_string('adhoctasksrunning', 'tool_task'), get_string('adhoctasksdue', 'tool_task'), get_string('adhoctasksfuture', 'tool_task'), get_string('adhoctasksfailed', 'tool_task'), get_string('nextruntime', 'tool_task'), ]
/admin/tool/uploaduser/tests/field_value_validators_test.php:341return ['User themes disabled' => [false, 'boost', 'warning', get_string('userthemesnotallowed', 'tool_uploaduser')], 'User themes enabled, empty theme' => [true, '', 'warning', get_string('notheme', 'tool_uploaduser')], 'User themes enabled, invalid theme' => [true, 'badtheme', 'warning', get_string('invalidtheme', 'tool_uploaduser', 'badtheme')], 'User themes enabled, valid theme' => [true, 'boost', 'normal', ''], ]
/admin/tool/brickfield/classes/local/areas/module_area_base.php:841$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' t.id AS itemid, cm.id AS cmid, cm.course AS courseid, t.' . $this->get_fieldname( ) . ' AS content FROM {' . $this->get_tablename( ) . '} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :ptablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'ptablename2' => $this->get_tablename( ), ] + $params)
/admin/tool/brickfield/classes/output/printable/renderer.php:3841$icons = [area_base::CHECKGROUP_IMAGE => $this->image_path( ) . 'image-regular.svg', area_base::CHECKGROUP_LAYOUT => $this->image_path( ) . 'th-large-solid.svg', area_base::CHECKGROUP_LINK => $this->image_path( ) . 'link.png', area_base::CHECKGROUP_MEDIA => $this->image_path( ) . 'play-circle-regular.svg', area_base::CHECKGROUP_TABLE => $this->image_path( ) . 'table-solid.svg', area_base::CHECKGROUP_TEXT => $this->image_path( ) . 'font-solid.svg', ]
/admin/tool/brickfield/classes/output/printable/renderer.php:2491$html = ' <h1>' . get_string('accessibilityreport', manager::PLUGINNAME) . '</h1> <h2>' . accessibility::get_title($filter, $data->countdata) . '</h2> <p>' . userdate($date->getTimestamp( )) . '</p> <table cellspacing="0" cellpadding="1"> <tr> <td> <img src="' . $this->image_path( ) . 'tachometer-alt-solid.svg" width="15" height="15">' . get_string('totalactivitiescount', manager::PLUGINNAME, $data->combodata['total']) . '</td> <td> <img src="' . $this->image_path( ) . 'check-square-regular.svg" width="15" height="15">' . get_string('passedcount', manager::PLUGINNAME, $data->combodata['passed']) . '</td> <td> <img src="' . $this->image_path( ) . 'times-circle-regular.svg" width="15" height="15">' . get_string('failedcount', manager::PLUGINNAME, $data->combodata['failed']) . '</td> </tr> </table>'
/admin/tool/brickfield/classes/output/printable/renderer.php:791$div3 = \html_writer::div($this->pix_icon('f/error', get_string('failed', manager::PLUGINNAME), manager::PLUGINNAME) . get_string('failedcount', manager::PLUGINNAME, $data->combodata['failed']), '', ['class' => 'col-sm-3' . $css])
/admin/tool/brickfield/classes/output/printable/renderer.php:751$div2 = \html_writer::div($this->pix_icon('f/done2', get_string('passed', manager::PLUGINNAME), manager::PLUGINNAME) . get_string('passedcount', manager::PLUGINNAME, $data->combodata['passed']), '', ['class' => 'col-sm-3' . $css])
/admin/tool/brickfield/classes/output/printable/renderer.php:711$div1 = \html_writer::div($this->pix_icon('f/award', get_string('totalactivities', manager::PLUGINNAME), manager::PLUGINNAME) . get_string('totalactivitiescount', manager::PLUGINNAME, $data->combodata['total']), '', ['class' => 'col-sm-3' . $css])
/admin/tool/brickfield/classes/sitedata.php:1011$sql = $this->get_select_string( ) . ' ' . 'FROM ' . $this->sqlparts['FROM'] . ' ' . (!empty($this->sqlparts['WHERE']) ? 'WHERE ' . $this->sqlparts['WHERE'] . ' ' : '') . (!empty($this->sqlparts['GROUPBY']) ? 'GROUP BY ' . $this->sqlparts['GROUPBY'] . ' ' : '') . (!empty($this->sqlparts['ORDERBY']) ? 'ORDER BY ' . $this->sqlparts['ORDERBY'] . ' ' : '')
/admin/tool/brickfield/classes/manager.php:6721$element = ['courseid' => $course->courseid, 'status' => self::STATUS_CHECKED, 'activities' => $final[$course->courseid]["activities"], 'activitiespassed' => $final[$course->courseid]["activitiespassed"], 'activitiesfailed' => $final[$course->courseid]["activitiesfailed"], 'errorschecktype1' => $final[$course->courseid][area_base::CHECKGROUP_FORM][self::SUMMARY_ERROR], 'errorschecktype2' => $final[$course->courseid][area_base::CHECKGROUP_IMAGE][self::SUMMARY_ERROR], 'errorschecktype3' => $final[$course->courseid][area_base::CHECKGROUP_LAYOUT][self::SUMMARY_ERROR], 'errorschecktype4' => $final[$course->courseid][area_base::CHECKGROUP_LINK][self::SUMMARY_ERROR], 'errorschecktype5' => $final[$course->courseid][area_base::CHECKGROUP_MEDIA][self::SUMMARY_ERROR], 'errorschecktype6' => $final[$course->courseid][area_base::CHECKGROUP_TABLE][self::SUMMARY_ERROR], 'errorschecktype7' => $final[$course->courseid][area_base::CHECKGROUP_TEXT][self::SUMMARY_ERROR], 'failedchecktype1' => $final[$course->courseid][area_base::CHECKGROUP_FORM][self::SUMMARY_FAILED], 'failedchecktype2' => $final[$course->courseid][area_base::CHECKGROUP_IMAGE][self::SUMMARY_FAILED], 'failedchecktype3' => $final[$course->courseid][area_base::CHECKGROUP_LAYOUT][self::SUMMARY_FAILED], 'failedchecktype4' => $final[$course->courseid][area_base::CHECKGROUP_LINK][self::SUMMARY_FAILED], 'failedchecktype5' => $final[$course->courseid][area_base::CHECKGROUP_MEDIA][self::SUMMARY_FAILED], 'failedchecktype6' => $final[$course->courseid][area_base::CHECKGROUP_TABLE][self::SUMMARY_FAILED], 'failedchecktype7' => $final[$course->courseid][area_base::CHECKGROUP_TEXT][self::SUMMARY_FAILED], 'percentchecktype1' => $final[$course->courseid][area_base::CHECKGROUP_FORM][self::SUMMARY_PERCENT], 'percentchecktype2' => $final[$course->courseid][area_base::CHECKGROUP_IMAGE][self::SUMMARY_PERCENT], 'percentchecktype3' => $final[$course->courseid][area_base::CHECKGROUP_LAYOUT][self::SUMMARY_PERCENT], 'percentchecktype4' => $final[$course->courseid][area_base::CHECKGROUP_LINK][self::SUMMARY_PERCENT], 'percentchecktype5' => $final[$course->courseid][area_base::CHECKGROUP_MEDIA][self::SUMMARY_PERCENT], 'percentchecktype6' => $final[$course->courseid][area_base::CHECKGROUP_TABLE][self::SUMMARY_PERCENT], 'percentchecktype7' => $final[$course->courseid][area_base::CHECKGROUP_TEXT][self::SUMMARY_PERCENT]]
/admin/tool/brickfield/classes/local/areas/mod_book/chaptertitle.php:1052$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' co.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.id AS refid, cm.id AS cmid, cm.course AS courseid, co.' . $this->get_fieldname( ) . ' AS content FROM {book} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :preftablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule JOIN {' . $this->get_tablename( ) . '} co ON co.bookid = t.id ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id, co.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'preftablename2' => $this->get_ref_tablename( ), ] + $params)
/admin/tool/brickfield/classes/local/areas/core_question/answerbase.php:511$sql = "SELECT {$this->get_type( )} AS type, ctx.id AS contextid, {$this->get_standard_area_fields_sql( )} a.id AS itemid, {$this->get_reftable_field_sql( )} q.id AS refid, {$this->get_course_and_cat_sql($event)} a.{$this->get_fieldname( )} AS content FROM {question} q INNER JOIN {question_answers} a ON a.question = q.id INNER JOIN {question_versions} qv ON qv.questionid = q.id INNER JOIN {question_bank_entries} qbe ON qbe.id = qv.questionbankentryid INNER JOIN {question_categories} qc ON qc.id = qbe.questioncategoryid INNER JOIN {context} ctx ON ctx.id = qc.contextid WHERE (q.id = :refid) ORDER BY a.id"
/admin/tool/brickfield/classes/local/areas/core_course/sectionsummary.php:1081$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' t.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.course AS refid, t.course AS courseid, t.' . $this->get_fieldname( ) . ' AS content FROM {' . $this->get_tablename( ) . '} t JOIN {course} co ON co.id = t.course JOIN {context} ctx ON ctx.instanceid = co.id AND ctx.contextlevel = :pctxlevelcourse ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.section', ['pctxlevelcourse' => CONTEXT_COURSE] + $params)
/admin/tool/brickfield/classes/local/areas/mod_book/chaptercontent.php:1052$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' co.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.id AS refid, cm.id AS cmid, cm.course AS courseid, co.' . $this->get_fieldname( ) . ' AS content FROM {book} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :preftablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule JOIN {' . $this->get_tablename( ) . '} co ON co.bookid = t.id ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id, co.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'preftablename2' => $this->get_ref_tablename( ), ] + $params)
/admin/tool/brickfield/classes/local/areas/core_course/base.php:881$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' t.id AS itemid, t.id AS courseid, t.' . $this->get_fieldname( ) . ' AS content FROM {' . $this->get_tablename( ) . '} t JOIN {context} ctx ON ctx.instanceid = t.id AND ctx.contextlevel = :pctxlevelcourse ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . ' ORDER BY t.id', ['pctxlevelcourse' => CONTEXT_COURSE] + $params)
/admin/tool/brickfield/classes/local/areas/core_course/category_base.php:771$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' t.id AS itemid, t.id AS categoryid, t.' . $this->get_fieldname( ) . ' AS content FROM {' . $this->get_tablename( ) . '} t JOIN {context} ctx ON ctx.instanceid = t.id AND ctx.contextlevel = :pctxlevelcategory ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . ' ORDER BY t.id', ['pctxlevelcategory' => CONTEXT_COURSECAT] + $params)
/admin/tool/brickfield/classes/local/areas/mod_choice/option.php:1081$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' co.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.id AS refid, cm.id AS cmid, cm.course AS courseid, co.' . $this->get_fieldname( ) . ' AS content FROM {choice} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :preftablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule JOIN {' . $this->get_tablename( ) . '} co ON co.choiceid = t.id ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id, co.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'preftablename2' => $this->get_ref_tablename( ), ] + $params)
/admin/tool/brickfield/classes/local/areas/core_course/sectionname.php:1081$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' t.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.course AS refid, t.course AS courseid, t.' . $this->get_fieldname( ) . ' AS content FROM {' . $this->get_tablename( ) . '} t JOIN {course} co ON co.id = t.course JOIN {context} ctx ON ctx.instanceid = co.id AND ctx.contextlevel = :pctxlevelcourse ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.course', ['pctxlevelcourse' => CONTEXT_COURSE] + $params)
/admin/tool/brickfield/tests/tool_test.php:1231return ['Image tag alone (base64)' => [$this->base64img, true, ], 'Image tag alone (link)' => [$img, false, ], 'Image tag in string (base64)' => ["This is my image {$this->base64img}.", true, ], 'Image tag in string (link)' => ["This is my image {$img}.", false, ], 'Image tag with string base64 in alt' => ["<img src='myimage.jpg' alt='base64'/>", false, ], 'base64 string in text' => ["An example base 64 format string is 'data:image/gif;base64'./>", false, ], ]
/admin/tool/log/classes/local/privacy/helper.php:991$data = ['name' => $name, 'description' => $description, 'timecreated' => transform::datetime($record->timecreated), 'origin' => static::transform_origin($record->origin), 'ip' => $isauthor ? $record->ip : '', 'other' => $other ? $other : [ ]]
/admin/tool/brickfield/classes/local/tool/advanced.php:641return ["icon" => "pix/i/$icon.png", "iconalt" => get_string("icon:$icon", manager::PLUGINNAME), "heading" => get_string($heading, manager::PLUGINNAME), "content" => get_string($content, manager::PLUGINNAME)]
/admin/tool/brickfield/classes/local/tool/advanced.php:771$data = (object) ['griditems' => [$this->get_grid_item_context("analytics-custom", "headingone", "contentone"), $this->get_grid_item_context("tools-custom", "headingtwo", "contenttwo"), $this->get_grid_item_context("file-edit-custom", "headingthree", "contentthree"), $this->get_grid_item_context("search-plus-custom", "headingfour", "contentfour"), $this->get_grid_item_context("wand-magic-custom", "headingfive", "contentfive"), $this->get_grid_item_context("hands-helping-custom", "headingsix", "contentsix"), ], 'valid' => true, 'error' => '', ]
/admin/tool/brickfield/classes/local/areas/mod_lesson/answer_base.php:901$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' co.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' pa.id AS refid, cm.id AS cmid, cm.course AS courseid, co.' . $this->get_fieldname( ) . ' AS content FROM {lesson} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :preftablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule JOIN {lesson_pages} pa ON pa.lessonid = t.id JOIN {' . $this->get_tablename( ) . '} co ON co.lessonid = t.id AND co.pageid = pa.id ' . ($where ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id, co.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'preftablename2' => 'lesson', ] + $params)
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_color_test.php:2861return substr($color, 1, 1) . substr($color, 1, 1) . substr($color, 2, 1) . substr($color, 2, 1) . substr($color, 3, 1) . substr($color, 3, 1)
/admin/tool/brickfield/classes/local/areas/core_question/answerbase.php:1411$sql = "SELECT {$this->get_type( )} AS type, ctx.id AS contextid, {$this->get_standard_area_fields_sql( )} a.id AS itemid, {$this->get_reftable_field_sql( )} q.id AS refid, {$courseid} AS courseid, a.{$this->get_fieldname( )} AS content FROM {question} q INNER JOIN {question_answers} a ON a.question = q.id INNER JOIN {question_versions} qv ON qv.questionid = q.id INNER JOIN {question_bank_entries} qbe ON qbe.id = qv.questionbankentryid INNER JOIN {question_categories} qc ON qc.id = qbe.questioncategoryid INNER JOIN {context} ctx ON ctx.id = qc.contextid WHERE (ctx.contextlevel = :ctxcourse AND ctx.id = qc.contextid AND ctx.instanceid = :courseid) OR (ctx.contextlevel = :module AND {$DB->sql_like('ctx.path', ':coursecontextpath')}) ORDER BY a.id ASC"
/admin/tool/brickfield/classes/local/areas/mod_lesson/page_base.php:901$rs = $DB->get_recordset_sql('SELECT ' . $this->get_type( ) . ' AS type, ctx.id AS contextid, ' . $this->get_standard_area_fields_sql( ) . ' co.id AS itemid, ' . $this->get_reftable_field_sql( ) . ' t.id AS refid, cm.id AS cmid, cm.course AS courseid, co.' . $this->get_fieldname( ) . ' AS content FROM {lesson} t JOIN {course_modules} cm ON cm.instance = t.id JOIN {modules} m ON m.id = cm.module AND m.name = :preftablename2 JOIN {context} ctx ON ctx.instanceid = cm.id AND ctx.contextlevel = :pctxlevelmodule JOIN {' . $this->get_tablename( ) . '} co ON co.lessonid = t.id ' . (!empty($where) ? 'WHERE ' . join(' AND ', $where) : '') . $this->filter . ' ORDER BY t.id, co.id', ['pctxlevelmodule' => CONTEXT_MODULE, 'preftablename2' => $this->get_ref_tablename( ), ] + $params)
/mod/forum/locallib.php:3421if(is_array($this->keyedfiles) && array_key_exists($post->id, $this->keyedfiles) && is_array($this->keyedfiles[$post->id]) && count($this->keyedfiles[$post->id]) > 0) { /**/ }
/mod/scorm/report/graphs/classes/report.php:951if(empty($usergrades[$attempt->userid]) || !isset($usergrades[$attempt->userid]) || ($percent > $usergrades[$attempt->userid]) || ($usergrades[$attempt->userid] === '*')) { /**/ }
/mod/scorm/lib.php:4711if(($nextsco !== false) && ($sco->parent != $nextsco->parent) && (($level == 0) || (($level > 0) && ($nextsco->parent == $sco->identifier)))) { /**/ } else { /**/ }
/mod/scorm/lib.php:4141if($orgs = $DB->get_records_select('scorm_scoes', 'scorm = ? AND ' . $DB->sql_isempty('scorm_scoes', 'launch', false, true) . ' AND ' . $DB->sql_isempty('scorm_scoes', 'organization', false, false), array($scorm->id), 'sortorder, id', 'id, identifier, title')) { /**/ }
/mod/scorm/locallib.php:9541if($orgs = $DB->get_records_select_menu('scorm_scoes', 'scorm = ? AND ' . $DB->sql_isempty('scorm_scoes', 'launch', false, true) . ' AND ' . $DB->sql_isempty('scorm_scoes', 'organization', false, false), array($scorm->id), 'sortorder, id', 'id,title')) { /**/ }
/mod/feedback/classes/completion.php:6461if(!empty($CFG->feedback_allowfullanonymous) AND $this->feedback->course == SITEID AND $this->feedback->anonymous == FEEDBACK_ANONYMOUS_YES AND ((!isloggedin( ) && $USER->id == $this->userid) || isguestuser($this->userid))) { /**/ }
/mod/feedback/classes/completion.php:5811if((isloggedin( ) || $USER->id != $this->userid) && $completion->is_enabled($this->cm) && $this->cm->completion == COMPLETION_TRACKING_AUTOMATIC && $this->feedback->completionsubmit) { /**/ }
/mod/feedback/classes/complete_form.php:5531if(($mform->_required || $this->hasrequired) && ($this->mode == self::MODE_COMPLETE || $this->mode == self::MODE_PRINT || $this->mode == self::MODE_VIEW_TEMPLATE)) { /**/ }
/mod/feedback/classes/complete_form.php:941if(isloggedin( ) && !isguestuser( ) && $this->mode != self::MODE_EDIT && $this->mode != self::MODE_VIEW_TEMPLATE && $this->mode != self::MODE_VIEW_RESPONSE) { /**/ }
/mod/choice/mod_form.php:1151if(!empty($this->_instance) && ($options = $DB->get_records_menu('choice_options', array('choiceid' => $this->_instance), 'id', 'id,text')) && ($options2 = $DB->get_records_menu('choice_options', array('choiceid' => $this->_instance), 'id', 'id,maxanswers'))) { /**/ }
/mod/wiki/pagelib.php:18611if((empty($expansionlimit) || $item->type != $expansionlimit) && ($item->children->count( ) > 0 || ($item->nodetype == navigation_node::NODETYPE_BRANCH && $item->children->count( ) == 0 && isloggedin( )))) { /**/ } else { /**/ }
/mod/quiz/accessrule/offlineattempts/rule.php:1231if(!empty($data['allowofflineattempts']) && (!empty($data['timelimit']) || !empty($data['subnet']) || $data['navmethod'] === 'sequential' || ($data['preferredbehaviour'] != 'deferredfeedback' && $data['preferredbehaviour'] != 'deferredcbm'))) { /**/ }
/mod/quiz/report/overview/report.php:1841if(!$table->is_downloading( ) && has_capability('mod/quiz:regrade', $this->context) && $this->has_regraded_questions($table->sql->from, $table->sql->where, $table->sql->params)) { /**/ }
/mod/quiz/classes/output/renderer.php:11981if($viewobj->overallstats && !$attemptobj->is_preview( ) && $viewobj->numattempts > 1 && !is_null($viewobj->mygrade) && $attemptobj->get_state( ) == quiz_attempt::FINISHED && $attemptgrade == $viewobj->mygrade && $quiz->grademethod == QUIZ_GRADEHIGHEST) { /**/ }
/mod/chat/chatd.php:1721if(!empty($this->sets_info[$sessionid]) && isset($this->sets_info[$sessionid]['chatuser']) && ($this->sets_info[$sessionid]['chatuser']->lastmessageping < $this->_last_idle_poll)) { /**/ }
/login/lib.php:3411if(isset($SESSION->wantsurl) and (strpos($SESSION->wantsurl, $CFG->wwwroot) === 0 or strpos($SESSION->wantsurl, str_replace('http://', 'https://', $CFG->wwwroot)) === 0)) { /**/ } else { /**/ }
/h5p/h5plib/v126/joubel/core/h5p.classes.php:22501if(!empty($content['filtered']) && (!$this->exportEnabled || ($content['slug'] && $this->fs->hasExport($content['slug'] . '-' . $content['id'] . '.h5p')))) { /**/ }
/login/index.php:3101if($referer && $referer != $CFG->wwwroot && $referer != $CFG->wwwroot . '/' && $referer != $CFG->wwwroot . '/login/' && strpos($referer, $CFG->wwwroot . '/login/?') !== 0 && strpos($referer, $CFG->wwwroot . '/login/index.php') !== 0) { /**/ }
/h5p/classes/core.php:3941if(($coreapi->major > H5PCore::$coreApi['majorVersion']) || (($coreapi->major == H5PCore::$coreApi['majorVersion']) && ($coreapi->minor > H5PCore::$coreApi['minorVersion']))) { /**/ }
/h5p/h5plib/v126/joubel/core/h5p.classes.php:13171if(($h5pData['coreApi']['majorVersion'] > H5PCore::$coreApi['majorVersion']) || (($h5pData['coreApi']['majorVersion'] == H5PCore::$coreApi['majorVersion']) && ($h5pData['coreApi']['minorVersion'] > H5PCore::$coreApi['minorVersion']))) { /**/ }
/backup/util/dbops/backup_structure_dbops.class.php:451if($element->get_source_array( ) === null && $element->get_source_table( ) === null && $element->get_source_sql( ) === null && count($element->get_final_elements( )) == 0) { /**/ } else /**//*B*/ ?>
/backup/util/helper/backup_cron_helper.class.php:5941if($active === self::AUTO_BACKUP_DISABLED || ($rundirective == self::RUN_ON_SCHEDULE && $active === self::AUTO_BACKUP_MANUAL) || ($rundirective == self::RUN_ON_SCHEDULE && strpos($weekdays, '1') === false)) { /**/ }
/backup/moodle2/backup_stepslib.php:23141if($items = grade_item::fetch_all(array('itemtype' => 'mod', 'itemmodule' => $this->task->get_modulename( ), 'iteminstance' => $this->task->get_activityid( ), 'courseid' => $this->task->get_courseid( )))) { /**/ }
/backup/util/ui/backup_ui_stage.class.php:1191if(!isset($data->$name) && $setting->get_value( ) && $setting->get_ui_type( ) == backup_setting::UI_HTML_CHECKBOX && $setting->get_status( ) !== backup_setting::LOCKED_BY_HIERARCHY) { /**/ }
/filter/tex/filter.php:1201if((!preg_match('/<tex/i', $text)) && (strpos($text, '$$') === false) && (strpos($text, '\\[') === false) && (strpos($text, '\\(') === false) && (!preg_match('/\[tex/i', $text))) { /**/ }
/filter/mathjaxloader/filter.php:2071if(($text[$i - 1] === '\\' && $text[$i] === ']' && $displaybracket) || ($text[$i - 1] === '$' && $text[$i] === '$' && $displaydollar)) { /**/ }
/report/stats/locallib.php:2732if(empty($CFG->loglifetime) || ($stat->timeend - (60 * 60 * 24)) >= (time( ) - 60 * 60 * 24 * $CFG->loglifetime)) { /**/ }
/report/stats/locallib.php:3282if(empty($CFG->loglifetime) || ($stat->timeend - (60 * 60 * 24)) >= (time( ) - 60 * 60 * 24 * $CFG->loglifetime)) { /**/ }
/lib/zipstream/src/File.php:1431if(!(str_contains(stream_get_meta_data($this->stream)['mode'], 'r') || str_contains(stream_get_meta_data($this->stream)['mode'], 'w+') || str_contains(stream_get_meta_data($this->stream)['mode'], 'a+') || str_contains(stream_get_meta_data($this->stream)['mode'], 'x+') || str_contains(stream_get_meta_data($this->stream)['mode'], 'c+'))) { /**/ }
/lib/zipstream/src/File.php:3211while (!feof($this->unpackStream( )) && ($this->maxSize === null || $this->uncompressedSize < $this->maxSize) && ($this->exactSize === null || $this->uncompressedSize < $this->exactSize)) { /**/ }
/lib/php-css-parser/Value/Value.php:1271if(is_numeric($oParserState->peek( )) || ($oParserState->comes('-.') && is_numeric($oParserState->peek(1, 2))) || (($oParserState->comes('-') || $oParserState->comes('.')) && is_numeric($oParserState->peek(1, 1)))) { /**/ } elseif($oParserState->comes('#') || $oParserState->comes('rgb', true) || $oParserState->comes('hsl', true)) { /**/ } elseif($oParserState->comes('url', true)) { /**/ } elseif($oParserState->comes('calc', true) || $oParserState->comes('-webkit-calc', true) || $oParserState->comes('-moz-calc', true)) { /**/ } elseif($oParserState->comes("'") || $oParserState->comes('"')) { /**/ } elseif($oParserState->comes("progid:") && $oParserState->getSettings( )->bLenientParsing) { /**/ } elseif($oParserState->comes("[")) { /**/ } elseif($oParserState->comes("U+")) { /**/ } else { /**/ }
/lib/php-css-parser/Parsing/ParserState.php:1831if(($peek >= 97 && $peek <= 122) || ($peek >= 65 && $peek <= 90) || ($peek >= 48 && $peek <= 57) || ($peek === 45) || ($peek === 95) || ($peek > 0xa1)) { /**/ }
/mod/assign/feedback/offline/locallib.php:1721if(($this->assignment->get_instance( )->grade > -1) && (($record->grade < 0) || ($record->grade > $this->assignment->get_instance( )->grade))) { /**/ }
/mod/assign/gradingtable.php:7161if($this->quickgrading && has_capability('mod/assign:manageallocations', $this->assignment->get_context( )) && (empty($row->workflowstate) || $row->workflowstate == ASSIGN_MARKING_WORKFLOW_STATE_INMARKING || $row->workflowstate == ASSIGN_MARKING_WORKFLOW_STATE_NOTMARKED)) { /**/ } else /**//*B*/ ?>
/mod/assign/externallib.php:8101if(($assign->get_instance( )->teamsubmission && $assign->can_view_group_submission($submissionrecord->groupid)) || (!$assign->get_instance( )->teamsubmission && $assign->can_view_submission($submissionrecord->userid))) { /**/ }
/mod/assign/classes/output/renderer.php:4361if($plugin->is_enabled( ) && $plugin->is_visible( ) && $plugin->has_user_summary( ) && !empty($status->grade) && !$plugin->is_empty($status->grade)) { /**/ }
/mod/assign/feedback/editpdf/fpdi/PdfParser/Type/PdfString.php:901if(\strpos($s, '\\') !== false || \strpos($s, ')') !== false || \strpos($s, '(') !== false || \strpos($s, "\x0D") !== false || \strpos($s, "\x0A") !== false || \strpos($s, "\x09") !== false || \strpos($s, "\x08") !== false || \strpos($s, "\x0C") !== false) { /**/ }
/mod/lti/service/gradebookservices/classes/local/service/gradebookservices.php:3411if(($lineitem->itemtype == 'mod' && $lineitem->itemmodule == 'lti' && !isset($resourceid) && !isset($tag) && (!isset($ltilinkid) || (isset($ltilinkid) && $lineitem->iteminstance == $ltilinkid)))) { /**/ }
/mod/lti/service/toolsettings/classes/local/service/toolsettings.php:822if($ok && isset($this->get_typeconfig( )[$this->get_component_id( )]) && ($this->get_typeconfig( )[$this->get_component_id( )] == parent::SERVICE_ENABLED)) { /**/ }
/mod/assign/assignmentplugin.php:6131if(!($storedfile = $fs->get_file($assignment->get_context( )->id, $this->get_subtype( ) . '_' . $this->get_type( ), $filearea, $itemid, $filepath, $filename))) { /**/ }
/mod/assign/gradingtable.php:6551if($this->assignment->get_instance( )->markingworkflow && $this->assignment->get_instance( )->markingallocation && !has_capability('mod/assign:manageallocations', $this->assignment->get_context( ))) { /**/ }
/mod/lti/locallib.php:8431if(!empty($instance->id) && !empty($instance->servicesalt) && ($islti2 || $typeconfig['acceptgrades'] == LTI_SETTING_ALWAYS || ($typeconfig['acceptgrades'] == LTI_SETTING_DELEGATE && $instance->instructorchoiceacceptgrades == LTI_SETTING_ALWAYS))) { /**/ }
/mod/lti/service/memberships/classes/local/service/memberships.php:962if($ok && isset($this->get_typeconfig( )[$this->get_component_id( )]) && ($this->get_typeconfig( )[$this->get_component_id( )] == parent::SERVICE_ENABLED)) { /**/ }
/mod/lti/service/gradebookservices/classes/local/resources/scores.php:1741if(empty($score) || !isset($score->userId) || !isset($score->timestamp) || !isset($score->gradingProgress) || !isset($score->activityProgress) || !isset($score->timestamp) || isset($score->timestamp) && !gradebookservices::validate_iso8601_date($score->timestamp) || (isset($score->scoreGiven) && !is_numeric($score->scoreGiven)) || (isset($score->scoreGiven) && !isset($score->scoreMaximum)) || (isset($score->scoreMaximum) && !is_numeric($score->scoreMaximum)) || (!gradebookservices::is_user_gradable_in_course($contextid, $score->userId))) { /**/ }
/mod/lti/service/gradebookservices/classes/local/service/gradebookservices.php:3291if($gbs && (!isset($tag) || (isset($tag) && $gbs->tag == $tag)) && (!isset($ltilinkid) || (isset($ltilinkid) && $gbs->ltilinkid == $ltilinkid)) && (!isset($resourceid) || (isset($resourceid) && $gbs->resourceid == $resourceid))) { /**/ } else /**//*B*/ ?>
/mod/forum/lib.php:39541if(!empty($CFG->forum_enabletimedposts) and $USER->id != $post->duserid and (($post->timestart > 0 and $post->timestart > time( )) or ($post->timeend > 0 and $post->timeend < time( )))) { /**/ }
/mod/forum/lib.php:60561if($PAGE->cm && $PAGE->cm->modname === 'forum' && $PAGE->cm->instance == $forumid && $PAGE->context->contextlevel == CONTEXT_MODULE && $PAGE->context->instanceid == $PAGE->cm->id) { /**/ } else { /**/ }
/mod/forum/report/summary/classes/summary_table.php:4771if(!isset($values['from']['enabled']) || !isset($values['to']['enabled']) || ($values['from']['enabled'] && !isset($values['from']['timestamp'])) || ($values['to']['enabled'] && !isset($values['to']['timestamp']))) { /**/ } else { /**/ }
/mod/lti/services.php:541if(($isget && !empty($accept) && (strpos($accept, '*/*') === false) && !in_array($accept, $resource->get_formats( ))) || ((!$isget && !$isdelete) && !in_array($contenttype, $resource->get_formats( )))) { /**/ }
/mod/lesson/pagetypes/truefalse.php:3284if(($answer->score > 0 && $this->lesson->custom) || ($this->lesson->jumpto_is_correct($this->properties->id, $answer->jumpto) && !$this->lesson->custom)) { /**/ } else { /**/ }
/mod/lesson/pagetypes/multichoice.php:3824if(($answer->score > 0 && $this->lesson->custom) || ($this->lesson->jumpto_is_correct($this->properties->id, $answer->jumpto) && !$this->lesson->custom)) { /**/ } else { /**/ }
/mod/glossary/lib.php:31811if(!empty($CFG->enablerssfeeds) && !empty($CFG->glossary_enablerssfeeds) && $glossary->rsstype && $glossary->rssarticles && has_capability('mod/glossary:view', $settings->get_page( )->cm->context)) { /**/ }
/mod/lesson/pagetypes/truefalse.php:2984if(($answer->score > 0 && $this->lesson->custom) || ($this->lesson->jumpto_is_correct($this->properties->id, $answer->jumpto) && !$this->lesson->custom)) { /**/ } else { /**/ }
/mod/survey/download.php:2941if(($question->type == "0" || $question->type == "1" || $question->type == "3" || $question->type == "-1") && array_key_exists($qid, $results[$user])) { /**/ }
/mod/lesson/pagetypes/multichoice.php:4124if(($answer->score > 0 && $this->lesson->custom) || ($this->lesson->jumpto_is_correct($this->properties->id, $answer->jumpto) && !$this->lesson->custom)) { /**/ } else { /**/ }
/mod/lesson/pagetypes/shortanswer.php:1491if((!$this->lesson->custom && $this->lesson->jumpto_is_correct($this->properties->id, $answer->jumpto)) or ($this->lesson->custom && $answer->score > 0)) { /**/ } else { /**/ }
/mod/glossary/sql.php:921if($entry && ($entry->glossaryid == $glossary->id || $entry->sourceglossaryid != $glossary->id) && (!empty($entry->approved) || $entry->userid == $USER->id || $canapprove)) { /**/ } else { /**/ }
/mod/glossary/lib.php:13091if($files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'attachment', $entry->id, "timemodified", false) || $files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'entry', $entry->id, "timemodified", false)) { /**/ } else { /**/ }
/mod/book/lib.php:3181if($settingsnav->get_page( )->cm->modname === 'book' and !empty($params['id']) and !empty($params['chapterid']) and has_capability('mod/book:edit', $settingsnav->get_page( )->cm->context)) { /**/ }
/lib/simplepie/src/Locator.php:2241if(!in_array($href, $done) && in_array('feed', $rel) || (in_array('alternate', $rel) && !in_array('stylesheet', $rel) && $link->hasAttribute('type') && in_array(strtolower($this->registry->call(Misc::class, 'parse_mime', [$link->getAttribute('type')])), ['text/html', 'application/rss+xml', 'application/atom+xml'])) && !isset($feeds[$href])) { /**/ }
/lib/simplepie/moodle_simplepie.php:1621if(($this->status_code == 300 || $this->status_code == 301 || $this->status_code == 302 || $this->status_code == 303 || $this->status_code == 307 || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects) { /**/ }
/lib/guzzlehttp/guzzle/src/Cookie/CookieJar.php:1831if($c->getPath( ) != $cookie->getPath( ) || $c->getDomain( ) != $cookie->getDomain( ) || $c->getName( ) != $cookie->getName( )) { /**/ }
/lib/adodb/adodb-datadict.inc.php:6611if(($f1['INDEX'][0] == '"' || $f1['INDEX'][0] == "'" || $f1['INDEX'][0] == "`") && ($f1['INDEX'][0] == substr($f1['INDEX'], -1))) { /**/ } else /**//*B*/ ?>
/lib/phpmailer/src/PHPMailer.php:16431if(!empty($this->DKIM_domain) && !empty($this->DKIM_selector) && (!empty($this->DKIM_private_string) || (!empty($this->DKIM_private) && static::isPermittedPath($this->DKIM_private) && file_exists($this->DKIM_private)))) { /**/ }
/lib/phpmailer/src/PHPMailer.php:15561if('mail' === $this->Mailer && ((\PHP_VERSION_ID >= 70000 && \PHP_VERSION_ID < 70017) || (\PHP_VERSION_ID >= 70100 && \PHP_VERSION_ID < 70103)) && ini_get('mail.add_x_header') === '1' && stripos(PHP_OS, 'WIN') === 0) { /**/ }
/lib/phpmailer/src/PHPMailer.php:13181if((false === $pos) || ((!$this->has8bitChars(substr($address, ++$pos)) || !static::idnSupported( )) && !static::validateAddress($address))) { /**/ }
/lib/evalmath/evalmath.class.php:2501while ($stack->count > 0 and ($o2 = $stack->last( )) and in_array($o2, $ops) and ($ops_r[$op] ? $ops_p[$op] < $ops_p[$o2] : $ops_p[$op] <= $ops_p[$o2])) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:7531if($conditional->getConditionType( ) === Conditional::CONDITION_CONTAINSTEXT || $conditional->getConditionType( ) === Conditional::CONDITION_NOTCONTAINSTEXT || $conditional->getConditionType( ) === Conditional::CONDITION_BEGINSWITH || $conditional->getConditionType( ) === Conditional::CONDITION_ENDSWITH) { /**/ } elseif($conditional->getConditionType( ) === Conditional::CONDITION_TIMEPERIOD) { /**/ } else { /**/ }
/lib/simplepie/src/File.php:1992if((in_array($this->status_code, [300, 301, 302, 303, 307]) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects) { /**/ }
/lib/simplepie/src/File.php:1342if((in_array($this->status_code, [300, 301, 302, 303, 307]) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects) { /**/ }
/lib/simplepie/src/Sanitize.php:4311if($file->success && ($file->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300))) { /**/ }
/lib/simplepie/src/Parser.php:3321if(end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_XHTML && !in_array(end($this->element), ['area', 'base', 'basefont', 'br', 'col', 'frame', 'hr', 'img', 'input', 'isindex', 'link', 'meta', 'param'])) { /**/ }
/lib/simplepie/src/Parser.php:3091if((end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_ATOM_03 && in_array(end($this->element), ['title', 'tagline', 'copyright', 'info', 'summary', 'content']) && isset($attribs['']['mode']) && $attribs['']['mode'] === 'xml') || (end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_ATOM_10 && in_array(end($this->element), ['rights', 'subtitle', 'summary', 'info', 'title', 'content']) && isset($attribs['']['type']) && $attribs['']['type'] === 'xhtml') || (end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_RSS_20 && in_array(end($this->element), ['title'])) || (end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_RSS_090 && in_array(end($this->element), ['title'])) || (end($this->namespace) === \SimplePie\SimplePie::NAMESPACE_RSS_10 && in_array(end($this->element), ['title']))) { /**/ }
/lib/simplepie/src/SimplePie.php:20301if(isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_090]['channel']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_090]['image']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_090]['item']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_090]['textinput'])) { /**/ }
/lib/simplepie/src/SimplePie.php:20241if(isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_10]['channel']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_10]['image']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_10]['item']) || isset($this->data['child'][self::NAMESPACE_RDF]['RDF'][0]['child'][self::NAMESPACE_RSS_10]['textinput'])) { /**/ }
/lib/simplepie/src/SimplePie.php:18251if(!$file->success && !($file->method & self::FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300))) { /**/ }
/lib/simplepie/src/Misc.php:2541if($integer >= 0x41 && $integer <= 0x5A || $integer >= 0x61 && $integer <= 0x7A || $integer >= 0x30 && $integer <= 0x39 || $integer === 0x2D || $integer === 0x2E || $integer === 0x5F || $integer === 0x7E) { /**/ }
/lib/simplepie/src/Content/Type/Sniffer.php:891if(!isset($this->file->headers['content-encoding']) && ($this->file->headers['content-type'] === 'text/plain' || $this->file->headers['content-type'] === 'text/plain; charset=ISO-8859-1' || $this->file->headers['content-type'] === 'text/plain; charset=iso-8859-1' || $this->file->headers['content-type'] === 'text/plain; charset=UTF-8')) { /**/ }
/lib/simplepie/src/Content/Type/Sniffer.php:1341if(substr($this->file->body, 0, 2) === "\xFE\xFF" || substr($this->file->body, 0, 2) === "\xFF\xFE" || substr($this->file->body, 0, 4) === "\x00\x00\xFE\xFF" || substr($this->file->body, 0, 3) === "\xEF\xBB\xBF") { /**/ } elseif(preg_match('/[\x00-\x08\x0E-\x1A\x1C-\x1F]/', $this->file->body)) { /**/ }
/lib/simplepie/src/Content/Type/Sniffer.php:1541if(strtolower(substr($this->file->body, $ws, 14)) === '<!doctype html' || strtolower(substr($this->file->body, $ws, 5)) === '<html' || strtolower(substr($this->file->body, $ws, 7)) === '<script') { /**/ } elseif(substr($this->file->body, 0, 5) === '%PDF-') { /**/ } elseif(substr($this->file->body, 0, 11) === '%!PS-Adobe-') { /**/ } elseif(substr($this->file->body, 0, 6) === 'GIF87a' || substr($this->file->body, 0, 6) === 'GIF89a') { /**/ } elseif(substr($this->file->body, 0, 8) === "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A") { /**/ } elseif(substr($this->file->body, 0, 3) === "\xFF\xD8\xFF") { /**/ } elseif(substr($this->file->body, 0, 2) === "\x42\x4D") { /**/ } elseif(substr($this->file->body, 0, 4) === "\x00\x00\x01\x00") { /**/ }
/lib/simplepie/src/Item.php:22821if(sizeof($this->data['enclosures']) === 0 && ($url || $type || $length || $bitrate || $captions_parent || $categories_parent || $channels || $copyrights_parent || $credits_parent || $description_parent || $duration_parent || $expression || $framerate || $hashes_parent || $height || $keywords_parent || $lang || $medium || $player_parent || $ratings_parent || $restrictions_parent || $samplingrate || $thumbnails_parent || $title_parent || $width)) { /**/ }
/lib/simplepie/src/IRI.php:4821if(!$valid || $length > 1 && $character <= 0x7F || $length > 2 && $character <= 0x7FF || $length > 3 && $character <= 0xFFFF || ($character & 0xFFFE) === 0xFFFE || $character >= 0xFDD0 && $character <= 0xFDEF || ($character > 0xD7FF && $character < 0xF900 || $character < 0xA0 || $character > 0xEFFFD) && (!$iprivate || $character < 0xE000 || $character > 0x10FFFD)) { /**/ }
/lib/simplepie/src/IRI.php:6091if(!$valid || $length > 1 && $character <= 0x7F || $length > 2 && $character <= 0x7FF || $length > 3 && $character <= 0xFFFF || $character < 0x2D || $character > 0xEFFFD || ($character & 0xFFFE) === 0xFFFE || $character >= 0xFDD0 && $character <= 0xFDEF || $character === 0x2F || $character > 0x39 && $character < 0x41 || $character > 0x5A && $character < 0x61 || $character > 0x7A && $character < 0x7E || $character > 0x7E && $character < 0xA0 || $character > 0xD7FF && $character < 0xF900) { /**/ } else { /**/ }
/lib/simplepie/src/IRI.php:6981if(!$this->scheme && !$isauthority && strpos($this->ipath, ':') !== false && strpos($this->ipath, '/', 1) !== false && strpos($this->ipath, ':') < strpos($this->ipath, '/', 1)) { /**/ }
/lib/ddl/mssql_sql_generator.php:3613if(($xmldb_field->getType( ) == XMLDB_TYPE_INTEGER && $oldmetatype == 'I') || ($xmldb_field->getType( ) == XMLDB_TYPE_NUMBER && $oldmetatype == 'N') || ($xmldb_field->getType( ) == XMLDB_TYPE_FLOAT && $oldmetatype == 'F') || ($xmldb_field->getType( ) == XMLDB_TYPE_CHAR && $oldmetatype == 'C') || ($xmldb_field->getType( ) == XMLDB_TYPE_TEXT && $oldmetatype == 'X') || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY && $oldmetatype == 'B')) { /**/ }
/lib/ddl/postgres_sql_generator.php:2763if(($xmldb_field->getType( ) == XMLDB_TYPE_INTEGER && $oldmetatype == 'I') || ($xmldb_field->getType( ) == XMLDB_TYPE_NUMBER && $oldmetatype == 'N') || ($xmldb_field->getType( ) == XMLDB_TYPE_FLOAT && $oldmetatype == 'F') || ($xmldb_field->getType( ) == XMLDB_TYPE_CHAR && $oldmetatype == 'C') || ($xmldb_field->getType( ) == XMLDB_TYPE_TEXT && $oldmetatype == 'X') || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY && $oldmetatype == 'B')) { /**/ }
/lib/ddl/postgres_sql_generator.php:2852if(($xmldb_field->getType( ) == XMLDB_TYPE_TEXT) || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY) || ($oldlength == -1) || ($xmldb_field->getLength( ) == $oldlength)) { /**/ }
/lib/ddl/postgres_sql_generator.php:2922if(($xmldb_field->getType( ) == XMLDB_TYPE_INTEGER) || ($xmldb_field->getType( ) == XMLDB_TYPE_CHAR) || ($xmldb_field->getType( ) == XMLDB_TYPE_TEXT) || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY) || (!$xmldb_field->getDecimals( )) || (!$olddecimals) || ($xmldb_field->getDecimals( ) == $olddecimals)) { /**/ }
/lib/classes/update/validator.php:4321if(!isset($this->extractfiles[$this->rootdir . '/lang/en/']) or $this->extractfiles[$this->rootdir . '/lang/en/'] !== true or !is_dir($this->extractdir . '/' . $this->rootdir . '/lang/en')) { /**/ }
/lib/classes/update/validator.php:4631if(!isset($this->extractfiles[$this->rootdir . '/lang/en/' . $expected]) or $this->extractfiles[$this->rootdir . '/lang/en/' . $expected] !== true or !is_file($this->extractdir . '/' . $this->rootdir . '/lang/en/' . $expected)) { /**/ }
/lib/classes/update/api.php:2331if($response->info['http_code'] == 200 and isset($response->data->status) and $response->data->status === 'OK' and $response->data->apiver == self::APIVER and isset($response->data->pluginfo)) { /**/ } else { /**/ }
/lib/dml/oci_native_moodle_database.php:5281if($rawcolumn->COLTYPE === 'VARCHAR2' or $rawcolumn->COLTYPE === 'VARCHAR' or $rawcolumn->COLTYPE === 'NVARCHAR2' or $rawcolumn->COLTYPE === 'NVARCHAR' or $rawcolumn->COLTYPE === 'CHAR' or $rawcolumn->COLTYPE === 'NCHAR') { /**/ } else /**//*B*/ ?>
/lib/simplepie/src/Locator.php:2301if($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed, true)) { /**/ }
/lib/simplepie/src/Locator.php:3592if($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed)) { /**/ } else { /**/ }
/lib/simplepie/src/Locator.php:3372if($feed->success && ($feed->method & \SimplePie\SimplePie::FILE_SOURCE_REMOTE === 0 || ($feed->status_code === 200 || $feed->status_code > 206 && $feed->status_code < 300)) && $this->is_feed($feed)) { /**/ } else { /**/ }
/lib/simplepie/src/Item.php:3451if(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_10, 'content')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_10_content_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'content')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10_MODULES_CONTENT, 'encoded')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(!$content_only) { /**/ }
/lib/simplepie/src/Item.php:3131elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'summary')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'subtitle')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML))) { /**/ } elseif(!$description_only) { /**/ }
/lib/simplepie/src/Item.php:3511elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10_MODULES_CONTENT, 'encoded')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(!$content_only) { /**/ }
/lib/simplepie/src/Item.php:3481elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'content')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10_MODULES_CONTENT, 'encoded')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(!$content_only) { /**/ }
/lib/simplepie/src/Item.php:2981elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'summary')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_11, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'summary')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'subtitle')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML))) { /**/ } elseif(!$description_only) { /**/ }
/lib/simplepie/src/Item.php:2951if(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_10, 'summary')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ATOM_03, 'summary')) && ($return = $this->sanitize($tags[0]['data'], $this->registry->call(Misc::class, 'atom_03_construct_type', [$tags[0]['attribs']]), $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_11, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'summary')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'subtitle')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML))) { /**/ } elseif(!$description_only) { /**/ }
/lib/simplepie/src/Item.php:3041elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_11, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'summary')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'subtitle')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML))) { /**/ } elseif(!$description_only) { /**/ }
/lib/simplepie/src/Item.php:3011elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_MAYBE_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_20, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_11, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_DC_10, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'summary')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML, $this->get_base($tags[0])))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_ITUNES, 'subtitle')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_TEXT))) { /**/ } elseif(($tags = $this->get_item_tags(\SimplePie\SimplePie::NAMESPACE_RSS_090, 'description')) && ($return = $this->sanitize($tags[0]['data'], \SimplePie\SimplePie::CONSTRUCT_HTML))) { /**/ } elseif(!$description_only) { /**/ }
/lib/phpxmlrpc/Wrapper.php:9162if($pType == 'i4' || $pType == 'i8' || $pType == 'int' || $pType == 'boolean' || $pType == 'double' || $pType == 'string' || $pType == 'dateTime.iso8601' || $pType == 'base64' || $pType == 'null') { /**/ } else { /**/ }
/lib/phpxmlrpc/Wrapper.php:10152if($pType == 'i4' || $pType == 'i8' || $pType == 'int' || $pType == 'boolean' || $pType == 'double' || $pType == 'string' || $pType == 'dateTime.iso8601' || $pType == 'base64' || $pType == 'null') { /**/ } else { /**/ }
/lib/phpxmlrpc/Wrapper.php:6501if(!$func->isPrivate( ) && !$func->isProtected( ) && !$func->isConstructor( ) && !$func->isDestructor( ) && !$func->isAbstract( )) { /**/ }
/lib/phpxmlrpc/Wrapper.php:6511if(($func->isStatic( ) && ($methodType == 'all' || $methodType == 'static' || ($methodType == 'auto' && is_string($className)))) || (!$func->isStatic( ) && ($methodType == 'all' || $methodType == 'nonstatic' || ($methodType == 'auto' && is_object($className))))) { /**/ }
/lib/phpxmlrpc/Helper/XMLParser.php:3291if(($name == 'METHODCALL' && ($accept & self::ACCEPT_REQUEST)) || ($name == 'METHODRESPONSE' && ($accept & self::ACCEPT_RESPONSE)) || ($name == 'VALUE' && ($accept & self::ACCEPT_VALUE)) || ($name == 'FAULT' && ($accept & self::ACCEPT_FAULT))) { /**/ } else { /**/ }
/lib/filebrowser/file_info_stored.php:4831if($file = $fs->create_directory($this->lf->get_contextid( ), $this->lf->get_component( ), $this->lf->get_filearea( ), $this->lf->get_itemid( ), $filepath, $userid)) { /**/ }
/lib/phpxmlrpc/Client.php:3611if(function_exists('gzinflate') || (function_exists('curl_version') && (($info = curl_version( )) && ((is_string($info) && strpos($info, 'zlib') !== null) || isset($info['libz_version']))))) { /**/ }
/lib/phpxmlrpc/Client.php:7621if($this->port == 0 || ($this->port == 80 && in_array($this->method, array('http', 'http10', 'http11', 'h2c'))) || ($this->port == 443 && in_array($this->method, array('https', 'h2')))) { /**/ } else { /**/ }
/lib/scssphp/Parser.php:6481if($this->literal('@each', 5) && $this->genericList($varNames, 'variable', ',', false) && $this->literal('in', 2) && $this->valueList($list) && $this->matchChar('{', false)) { /**/ }
/lib/scssphp/Parser.php:6961if($this->literal('@for', 4) && $this->variable($varName) && $this->literal('from', 4) && $this->expression($start) && ($this->literal('through', 7) || ($forUntil = true && $this->literal('to', 2))) && $this->expression($end) && $this->matchChar('{', false)) { /**/ }
/lib/scssphp/Parser.php:4571if($this->literal('@at-root', 8) && ($this->selectors($selector) || true) && ($this->map($with) || true) && (($this->matchChar('(') && $this->interpolation($with) && $this->matchChar(')')) || true) && $this->matchChar('{', false)) { /**/ }
/lib/scssphp/Parser.php:5101if(($this->literal('@include', 8) && $this->keyword($mixinName) && ($this->matchChar('(') && ($this->argValues($argValues) || true) && $this->matchChar(')') || true) && ($this->end( )) || ($this->literal('using', 5) && $this->argumentDef($argUsing) && ($this->end( ) || $this->matchChar('{') && $hasBlock = true)) || $this->matchChar('{') && $hasBlock = true)) { /**/ }
/lib/scssphp/Parser.php:13031if(\in_array($parsed[0], [Type::T_FUNCTION, Type::T_FUNCTION_CALL]) && !\in_array($parsed[1], ['alpha', 'attr', 'calc', 'cubic-bezier', 'env', 'grayscale', 'hsl', 'hsla', 'hwb', 'invert', 'linear-gradient', 'min', 'max', 'radial-gradient', 'repeating-linear-gradient', 'repeating-radial-gradient', 'rgb', 'rgba', 'rotate', 'saturate', 'var', ]) && Compiler::isNativeFunction($parsed[1])) { /**/ }
/lib/scssphp/Parser.php:17791if(($this->literal('only', 4) && ($only = true) || $this->literal('not', 3) && ($not = true) || true) && $this->mixedKeyword($mediaType)) { /**/ }
/lib/scssphp/Parser.php:7851if($this->literal('@content', 8) && ($this->end( ) || $this->matchChar('(') && $this->argValues($argContent) && $this->matchChar(')') && $this->end( ))) { /**/ }
/lib/scssphp/Parser.php:8861if($this->matchChar('@', false) && $this->mixedKeyword($dirName) && !$this->isKnownGenericDirective($dirName) && ($this->end(false) || ($this->directiveValue($dirValue, '') && $this->end(false)))) { /**/ }
/lib/ddl/oracle_sql_generator.php:4851if(($xmldb_field->getDefault( ) === null && $olddefault === null) || ($xmldb_field->getDefault( ) === $olddefault) || ("'" . $xmldb_field->getDefault( ) . "'" === $olddefault)) { /**/ }
/lib/ddl/oracle_sql_generator.php:4752if(($xmldb_field->getType( ) == XMLDB_TYPE_INTEGER) || ($xmldb_field->getType( ) == XMLDB_TYPE_CHAR) || ($xmldb_field->getType( ) == XMLDB_TYPE_TEXT) || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY) || (!$xmldb_field->getDecimals( )) || (!$olddecimals) || ($xmldb_field->getDecimals( ) == $olddecimals)) { /**/ }
/lib/ddl/oracle_sql_generator.php:4682if(($xmldb_field->getType( ) == XMLDB_TYPE_TEXT) || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY) || ($oldlength == -1) || ($xmldb_field->getLength( ) == $oldlength)) { /**/ }
/lib/ddl/oracle_sql_generator.php:4593if(($xmldb_field->getType( ) == XMLDB_TYPE_INTEGER && $oldmetatype == 'I') || ($xmldb_field->getType( ) == XMLDB_TYPE_NUMBER && $oldmetatype == 'N') || ($xmldb_field->getType( ) == XMLDB_TYPE_FLOAT && $oldmetatype == 'F') || ($xmldb_field->getType( ) == XMLDB_TYPE_CHAR && $oldmetatype == 'C') || ($xmldb_field->getType( ) == XMLDB_TYPE_TEXT && $oldmetatype == 'X') || ($xmldb_field->getType( ) == XMLDB_TYPE_BINARY && $oldmetatype == 'B')) { /**/ }
/lib/aws-sdk/src/S3Control/EndpointArnMiddleware.php:1361elseif(!is_null($accesspointNameMember) && !empty($cmd[$accesspointNameMember]) && !in_array($cmd->getName( ), self::$selectiveNonArnableCmds['AccessPointName']) && ArnParser::isArn($cmd[$accesspointNameMember])) { /**/ }
/lib/aws-sdk/src/S3Control/EndpointArnMiddleware.php:1291if(!is_null($bucketNameMember) && !empty($cmd[$bucketNameMember]) && !in_array($cmd->getName( ), self::$selectiveNonArnableCmds['BucketName']) && ArnParser::isArn($cmd[$bucketNameMember])) { /**/ } elseif(!is_null($accesspointNameMember) && !empty($cmd[$accesspointNameMember]) && !in_array($cmd->getName( ), self::$selectiveNonArnableCmds['AccessPointName']) && ArnParser::isArn($cmd[$accesspointNameMember])) { /**/ }
/lib/aws-sdk/src/S3/BucketEndpointArnMiddleware.php:2901if($this->isGlobal($this->region) && $this->config['use_arn_region']->isUseArnRegion( ) == false && $arn->getRegion( ) != $this->region && !$arn instanceof MultiRegionAccessPointArn) { /**/ }
/lib/ddl/sql_generator.php:9801if(($xmldb_key->getType( ) == XMLDB_KEY_PRIMARY && !$this->primary_keys) || ($xmldb_key->getType( ) == XMLDB_KEY_UNIQUE && !$this->unique_keys) || ($xmldb_key->getType( ) == XMLDB_KEY_FOREIGN && !$this->foreign_keys) || ($xmldb_key->getType( ) == XMLDB_KEY_FOREIGN_UNIQUE && !$this->unique_keys && !$this->foreign_keys)) { /**/ }
/lib/behat/classes/behat_config_util.php:12211if((is_string($this->themesuitewithallfeatures) && ($this->themesuitewithallfeatures === self::ALL_THEMES_TO_RUN)) || in_array($theme, $this->themesuitewithallfeatures) || ($this->get_default_theme( ) === $theme)) { /**/ } else { /**/ }
/lib/bennu/iCalendar_rfc2445.php:4571if($vars['FREQ'] != 'SECONDLY' && $vars['FREQ'] != 'MINUTELY' && $vars['FREQ'] != 'HOURLY' && $vars['FREQ'] != 'DAILY' && $vars['FREQ'] != 'WEEKLY' && $vars['FREQ'] != 'MONTHLY' && $vars['FREQ'] != 'YEARLY') { /**/ }
/lib/bennu/iCalendar_rfc2445.php:1661if(!($ch >= 'a' && $ch <= 'z' || $ch >= 'A' && $ch <= 'Z' || $ch >= '0' && $ch <= '9' || $ch == '-' || $ch == '+')) { /**/ }
/lib/aws-sdk/src/Credentials/InstanceProfileProvider.php:911if(!method_exists($e, 'getResponse') || empty($e->getResponse( )) || !in_array($e->getResponse( )->getStatusCode( ), [400, 500, 502, 503, 504])) { /**/ } else { /**/ }
/lib/grade/grade_grade.php:8881if($grade_items[$do]->is_calculated( ) or (!$grade_items[$do]->is_category_item( ) and !$grade_items[$do]->is_course_item( )) or ($grade_items[$do]->is_category_item( ) and $grade_items[$do]->is_locked( ))) { /**/ } else { /**/ }
/lib/grade/grade_item.php:21101if($gradechanged === false and $grade->feedback === $oldgrade->feedback and $grade->feedbackformat == $oldgrade->feedbackformat and $grade->timecreated == $oldgrade->timecreated and $grade->timemodified == $oldgrade->timemodified) { /**/ }
/lib/grade/grade_item.php:21011if(grade_floats_different($grade->finalgrade, $oldgrade->finalgrade) or grade_floats_different($grade->rawgrade, $oldgrade->rawgrade) or grade_floats_different($grade->rawgrademin, $oldgrade->rawgrademin) or grade_floats_different($grade->rawgrademax, $oldgrade->rawgrademax) or $grade->rawscaleid != $oldgrade->rawscaleid) { /**/ }
/lib/grade/grade_item.php:19101if(grade_floats_different($grade->finalgrade, $oldgrade->finalgrade) or grade_floats_different($grade->rawgrademin, $oldgrade->rawgrademin) or grade_floats_different($grade->rawgrademax, $oldgrade->rawgrademax) or ($oldgrade->overridden == 0 and $grade->overridden > 0)) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Encoder.php:2531elseif(0xFEFF != $mUcs4 && (0x9 == $mUcs4 || 0xA == $mUcs4 || 0xD == $mUcs4 || (0x20 <= $mUcs4 && 0x7E >= $mUcs4) || (0xA0 <= $mUcs4 && 0xD7FF >= $mUcs4) || (0xE000 <= $mUcs4 && 0xFFFD >= $mUcs4) || (0x10000 <= $mUcs4 && 0x10FFFF >= $mUcs4))) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:5241if(($this->content_model === self::RCDATA || $this->content_model === self::CDATA) && $this->escape === false && $this->char >= 3 && $this->character($this->char - 4, 4) === '<!--') { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:5411elseif($char === '<' && ($this->content_model === self::PCDATA || (($this->content_model === self::RCDATA || $this->content_model === self::CDATA) && $this->escape === false))) { /**/ } elseif($char === '>') { /**/ } elseif($this->char === $this->EOF) { /**/ } elseif($this->content_model === self::PLAINTEXT) { /**/ } else { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:5621if(($this->content_model === self::RCDATA || $this->content_model === self::CDATA) && $this->escape === true && $this->character($this->char, 3) === '-->') { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:7321if(($this->content_model === self::RCDATA || $this->content_model === self::CDATA) && (!$the_same || ($the_same && (!preg_match('/[\t\n\x0b\x0c >\/]/', $this->character($this->char + 1 + strlen($next_node))) || $this->EOF === $this->char)))) { /**/ } else { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:17441if((isset($token['error']) && $token['error']) || $token['type'] === HTML5::COMMENT || $token['type'] === HTML5::STARTTAG || $token['type'] === HTML5::ENDTAG || $token['type'] === HTML5::EOF || ($token['type'] === HTML5::CHARACTR && isset($token['data']) && !preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']))) { /**/ } elseif(isset($token['error']) && !$token['error']) { /**/ } elseif(isset($token['data']) && preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:18181elseif(($token['type'] === HTML5::CHARACTR && !preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || $token['type'] === HTML5::STARTTAG || $token['type'] === HTML5::ENDTAG || $token['type'] === HTML5::EOF) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:19531elseif($token['type'] === HTML5::STARTTAG || ($token['type'] === HTML5::ENDTAG && $token['name'] === 'html') || ($token['type'] === HTML5::CHARACTR && !preg_match('/^[\t\n\x0b\x0c ]$/', $token['data']))) { /**/ } elseif($token['type'] === HTML5::ENDTAG) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:19891if(($token['type'] === HTML5::CHARACTR && preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || ($token['type'] === HTML5::CHARACTR && in_array(end($this->stack)->nodeName, array('title', 'style', 'script')))) { /**/ } elseif($token['type'] === HTML5::COMMENT) { /**/ } elseif($token['type'] === HTML5::ENDTAG && in_array($token['name'], array('title', 'style', 'script'))) { /**/ } elseif($token['type'] === HTML5::STARTTAG && $token['name'] === 'title') { /**/ } elseif($token['type'] === HTML5::STARTTAG && $token['name'] === 'style') { /**/ } elseif($token['type'] === HTML5::STARTTAG && $token['name'] === 'script') { /**/ } elseif($token['type'] === HTML5::STARTTAG && in_array($token['name'], array('base', 'link', 'meta'))) { /**/ } elseif($token['type'] === HTML5::ENDTAG && $token['name'] === 'head') { /**/ } elseif(($token['type'] === HTML5::STARTTAG && $token['name'] === 'head') || ($token['type'] === HTML5::ENDTAG && $token['name'] !== 'html')) { /**/ } else { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:35691elseif(($token['type'] === HTML5::STARTTAG && in_array($token['name'], array('caption', 'col', 'colgroup', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr'))) || ($token['type'] === HTML5::ENDTAG && $token['name'] === 'table')) { /**/ } elseif($token['type'] === HTML5::ENDTAG && in_array($token['name'], array('body', 'col', 'colgroup', 'html', 'tbody', 'tfoot', 'th', 'thead', 'tr'))) { /**/ } else { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:37381elseif(($token['type'] === HTML5::STARTTAG && in_array($token['name'], array('caption', 'col', 'colgroup', 'tbody', 'tfoor', 'thead'))) || ($token['type'] === HTML5::STARTTAG && $token['name'] === 'table')) { /**/ } elseif($token['type'] === HTML5::ENDTAG && in_array($token['name'], array('body', 'caption', 'col', 'colgroup', 'html', 'td', 'th', 'tr'))) { /**/ } else { /**/ }
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:43791elseif(($token['type'] === HTML5::CHARACTR && preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || $token['type'] === HTML5::STARTTAG || $token['type'] === HTML5::ENDTAG) { /**/ } elseif($token['type'] === HTML5::EOF) { /**/ }
/lib/editor/atto/plugins/managefiles/manage.php:991if($file->get_component( ) == 'user' && $file->get_filearea( ) == 'draft' && $file->get_itemid( ) == $itemid && $file->get_contextid( ) == $usercontext->id) { /**/ }
/lib/php-css-parser/RuleSet/RuleSet.php:1552if(!$mRule || $sName === $mRule || (strrpos($mRule, '-') === strlen($mRule) - strlen('-') && (strpos($sName, $mRule) === 0 || $sName === substr($mRule, 0, -1)))) { /**/ }
/lib/php-css-parser/RuleSet/RuleSet.php:2472if(!$mRule || $sName === $mRule || (strrpos($mRule, '-') === strlen($mRule) - strlen('-') && (strpos($sName, $mRule) === 0 || $sName === substr($mRule, 0, -1)))) { /**/ }
/lib/php-css-parser/Value/Value.php:401while (!($oParserState->comes('}') || $oParserState->comes(';') || $oParserState->comes('!') || $oParserState->comes(')') || $oParserState->comes('\\'))) { /**/ }
/lib/scssphp/Parser.php:19661if($this->matchChar('(') && $this->expression($feature) && ($this->matchChar(':') && $this->expression($value) || true) && $this->matchChar(')')) { /**/ }
/lib/scssphp/Parser.php:18371if(($this->literal('not', 3) && ($not = true) || true) && $this->matchChar('(') && ($this->expression($property)) && $this->literal(': ', 2) && $this->valueList($value) && $this->matchChar(')')) { /**/ } else { /**/ }
/lib/scssphp/Parser.php:24311if($this->valueList($out) && $this->matchChar($closingParen) && !($closingParen === ')' && \in_array($out[0], [Type::T_EXPRESSION, Type::T_UNARY])) && \in_array(Type::T_LIST, $allowedTypes)) { /**/ }
/lib/scssphp/Parser.php:21901if($this->matchChar('(') && $this->valueList($out) && $this->matchChar(')') && ($charAfter ? $this->matchChar($charAfter, $eatWhiteSp) : $this->end( ))) { /**/ }
/lib/scssphp/ValueConverter.php:651if(is_array($value) && isset($value[0]) && \in_array($value[0], [Type::T_NULL, Type::T_COLOR, Type::T_KEYWORD, Type::T_LIST, Type::T_MAP, Type::T_STRING])) { /**/ }
/lib/scssphp/Parser.php:37371if($nameParts === ['not'] || $nameParts === ['is'] || $nameParts === ['has'] || $nameParts === ['where'] || $nameParts === ['slotted'] || $nameParts === ['nth-child'] || $nameParts === ['nth-last-child'] || $nameParts === ['nth-of-type'] || $nameParts === ['nth-last-of-type']) { /**/ } elseif($this->matchChar('(', true) && ($this->openString(')', $str, '(') || true) && $this->matchChar(')')) { /**/ } else { /**/ }
/lib/scssphp/Compiler.php:20881elseif(\is_string($p) && \strlen($p) >= 2 && ($p[0] === '"' || $p[0] === "'") && substr($p, -1) === $p[0]) { /**/ }
/lib/scssphp/Compiler.php:8801if(\count($new) && \is_string($new[\count($new) - 1]) && \strlen($part) && substr($part, -1) === ')' && strpos($part, '(') === false) { /**/ } else { /**/ }
/lib/scssphp/Compiler.php:35571if($opName == 'div' && !$inParens && !$inExp && (($right[0] !== Type::T_NUMBER && isset($right[2]) && $right[2] != '') || ($right[0] === Type::T_NUMBER && !$right->unitless( )))) { /**/ }
/lib/scssphp/Compiler.php:24451if($q[0] == Type::T_MEDIA_TYPE && (strpos($value, '(') !== false || strpos($value, ')') !== false || strpos($value, ':') !== false || strpos($value, ',') !== false)) { /**/ }
/lib/scssphp/Compiler.php:82981if($k >= 2 && count($args) === 4 && in_array($arg[0], [Type::T_FUNCTION_CALL, Type::T_FUNCTION]) && in_array($arg[1], ['calc', 'env'])) { /**/ }
/lib/scssphp/Compiler.php:78261if($list[0] === Type::T_MAP || $list[0] === Type::T_STRING || $list[0] === Type::T_KEYWORD || $list[0] === Type::T_INTERPOLATE) { /**/ }
/lib/scssphp/Node/Number.php:6731if($this->unitless( ) || (\count($numeratorUnits) === 0 && \count($denominatorUnits) === 0) || ($this->numeratorUnits === $numeratorUnits && $this->denominatorUnits === $denominatorUnits)) { /**/ }
/lib/scssphp/Formatter/Nested.php:1081if(!$this->depth && ($block->depth <= 1 || (!$this->indentLevel && $block->type === Type::T_COMMENT)) && (($block->selectors && !$isMediaOrDirective) || $previousHasSelector)) { /**/ }
/lib/htmlpurifier/HTMLPurifier/Encoder.php:2431if(((2 == $mBytes) && ($mUcs4 < 0x0080)) || ((3 == $mBytes) && ($mUcs4 < 0x0800)) || ((4 == $mBytes) && ($mUcs4 < 0x10000)) || (4 < $mBytes) || (($mUcs4 & 0xFFFFF800) == 0xD800) || ($mUcs4 > 0x10FFFF)) { /**/ } elseif(0xFEFF != $mUcs4 && (0x9 == $mUcs4 || 0xA == $mUcs4 || 0xD == $mUcs4 || (0x20 <= $mUcs4 && 0x7E >= $mUcs4) || (0xA0 <= $mUcs4 && 0xD7FF >= $mUcs4) || (0xE000 <= $mUcs4 && 0xFFFD >= $mUcs4) || (0x10000 <= $mUcs4 && 0x10FFFF >= $mUcs4))) { /**/ }
/lib/htmlpurifier/HTMLPurifier/URIScheme.php:701if(!$this->may_omit_host && (!is_null($uri->scheme) && ($uri->host === '' || is_null($uri->host))) || (is_null($uri->scheme) && $uri->host === '')) { /**/ }
/lib/tcpdf/tcpdf.php:22191if(((($format['trans']['Di'] == 90) OR ($format['trans']['Di'] == 180)) AND ($format['trans']['S'] == 'Wipe')) OR (($format['trans']['Di'] == 315) AND ($format['trans']['S'] == 'Glitter')) OR (($format['trans']['Di'] == 0) OR ($format['trans']['Di'] == 270))) { /**/ }
/lib/tcpdf/tcpdf.php:23041if((abs($this->pagedim[$this->page]['MediaBox']['urx'] - $this->hPt) < $this->feps) AND (abs($this->pagedim[$this->page]['MediaBox']['ury'] - $this->wPt) < $this->feps)) { /**/ }
/lib/tcpdf/tcpdf_barcodes_1d.php:12151if(($seq[2] == 1) AND ($key > 0) AND ($sequence[($key - 1)][0] == 'A') AND (!isset($sequence[($key - 1)][3]))) { /**/ } elseif(!isset($sequence[($key - 1)][3])) { /**/ }
/lib/tcpdf/tcpdf.php:166371if(($dom[$key]['value'] === 'tr') && !empty($dom[($dom[$key]['parent'])]['thead']) && ($dom[($dom[$key]['parent'])]['thead'] === true)) { /**/ }
/lib/tcpdf/tcpdf.php:171231if(isset($dom[$key]['attribute']['align']) AND (!TCPDF_STATIC::empty_string($dom[$key]['attribute']['align'])) AND ($dom[$key]['value'] !== 'img')) { /**/ }
/lib/tcpdf/tcpdf.php:173881if(($dom[$key]['attribute']['pagebreak'] == 'true') OR ($dom[$key]['attribute']['pagebreak'] == 'left') OR ($dom[$key]['attribute']['pagebreak'] == 'right')) { /**/ }
/lib/tcpdf/tcpdf.php:170181if((($dom[$key]['value'] == 'ul') OR ($dom[$key]['value'] == 'ol') OR ($dom[$key]['value'] == 'dl')) AND (!isset($dom[$key]['align']) OR TCPDF_STATIC::empty_string($dom[$key]['align']) OR ($dom[$key]['align'] != 'J'))) { /**/ }
/lib/tcpdf/tcpdf.php:170491if(!empty($dom[$key]['value']) AND ($dom[$key]['value'][0] == 'h') AND (intval($dom[$key]['value'][1]) > 0) AND (intval($dom[$key]['value'][1]) < 7)) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3341elseif(($v[0] == '/') AND ($v[1] == 'Info') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Encrypt') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'ID') AND (isset($sarr[($k + 1)]))) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3361elseif(($v[0] == '/') AND ($v[1] == 'Encrypt') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'ID') AND (isset($sarr[($k + 1)]))) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3301if(($v[0] == '/') AND ($v[1] == 'Size') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'numeric'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Root') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Info') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Encrypt') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'ID') AND (isset($sarr[($k + 1)]))) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3321elseif(($v[0] == '/') AND ($v[1] == 'Root') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Info') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Encrypt') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'objref'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'ID') AND (isset($sarr[($k + 1)]))) { /**/ }
/lib/tcpdf/tcpdf_barcodes_1d.php:11721if(($seq[2] == 1) AND ($key > 0) AND ($sequence[($key - 1)][0] == 'B') AND (!isset($sequence[($key - 1)][3]))) { /**/ } elseif(!isset($sequence[($key - 1)][3])) { /**/ }
/lib/tcpdf/tcpdf_barcodes_1d.php:11951if(($seq[2] == 1) AND ($tmpchr >= 241) AND ($tmpchr <= 244) AND isset($sequence[($key + 1)]) AND ($sequence[($key + 1)][0] != 'B')) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf_parser.php:7011if($decoding AND ($element[0] == 'stream') AND (isset($objdata[($i - 1)][0])) AND ($objdata[($i - 1)][0] == '<<')) { /**/ }
/lib/tcpdf/tcpdf_barcodes_2d.php:2771if(isset($mode[3]) AND ($mode[3] !== '') AND isset($mode[4]) AND ($mode[4] !== '') AND isset($mode[5]) AND ($mode[5] !== '')) { /**/ }
/lib/tcpdf/tcpdf.php:177591if((((($plalign == 'C') OR ($plalign == 'J') OR (($plalign == 'R') AND (!$this->rtl)) OR (($plalign == 'L') AND ($this->rtl)))))) { /**/ }
/lib/tcpdf/tcpdf.php:177111if($this->newline AND (strlen($dom[$key]['value']) > 0) AND ($dom[$key]['value'] != 'td') AND ($dom[$key]['value'] != 'th')) { /**/ }
/lib/tcpdf/tcpdf.php:176521if(isset($line_align_data) AND (($line_align_data[0] == ($key - 1)) OR (($line_align_data[0] == ($key - 2)) AND (isset($dom[($key - 1)])) AND (preg_match('/^([\s]+)$/', $dom[($key - 1)]['value']) > 0)))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:176471if(!(isset($dom[($key + 1)]) AND $dom[($key + 1)]['tag'] AND (!$dom[($key + 1)]['opening']) AND ($dom[($key + 1)]['value'] != 'li') AND $dom[$key]['tag'] AND (!$dom[$key]['opening']))) { /**/ }
/lib/tcpdf/tcpdf.php:181571if(!($dom[$key]['tag'] AND !$dom[$key]['opening'] AND ($dom[$key]['value'] == 'table') AND (isset($this->emptypagemrk[$this->page])) AND ($this->emptypagemrk[$this->page] == $this->pagelen[$this->page]))) { /**/ }
/lib/tcpdf/tcpdf.php:180262if(($pac['y'] >= $minstartliney) AND (($pac['x'] * $this->k) >= ($currentxpos - $this->feps)) AND (($pac['x'] * $this->k) <= ($currentxpos + $this->feps))) { /**/ }
/lib/tcpdf/tcpdf.php:180142if(($pac['y'] >= $minstartliney) AND (($pac['x'] * $this->k) >= ($currentxpos - $this->feps)) AND (($pac['x'] * $this->k) <= ($currentxpos + $this->feps))) { /**/ }
/lib/tcpdf/tcpdf.php:179971if(preg_match('/(' . $xmatches[1] . ')[\s](' . $xmatches[2] . ')[\s](' . $xmatches[3] . ')[\s](' . $xmatches[4] . ')[\s](' . $xmatches[5] . ')[\s](' . $strpiece[1][0] . ')[\s](c)([\s]*)/x', $pmid, $pmatch) == 1) { /**/ }
/lib/tcpdf/tcpdf.php:174971while (($key < $maxel) AND (!(($dom[$key]['tag'] AND $dom[$key]['opening'] AND ($dom[$key]['value'] == 'tr') AND (!isset($dom[$key]['thead']) OR !$dom[$key]['thead'])) OR ($dom[$key]['tag'] AND (!$dom[$key]['opening']) AND ($dom[$key]['value'] == 'table'))))) { /**/ }
/lib/tcpdf/tcpdf.php:174521if(isset($dom[$key]['parent']) AND isset($dom[$dom[$key]['parent']]['thead']) AND !TCPDF_STATIC::empty_string($dom[$dom[$key]['parent']]['thead'])) { /**/ }
/lib/tcpdf/tcpdf.php:174001if($dom[$key]['tag'] AND $dom[$key]['opening'] AND isset($dom[$key]['attribute']['nobr']) AND ($dom[$key]['attribute']['nobr'] == 'true')) { /**/ }
/lib/tcpdf/tcpdf.php:173931if((($dom[$key]['attribute']['pagebreak'] == 'left') AND (((!$this->rtl) AND (($this->page % 2) == 0)) OR (($this->rtl) AND (($this->page % 2) != 0)))) OR (($dom[$key]['attribute']['pagebreak'] == 'right') AND (((!$this->rtl) AND (($this->page % 2) != 0)) OR (($this->rtl) AND (($this->page % 2) == 0))))) { /**/ }
/lib/tcpdf/tcpdf.php:175961if(($key < ($maxel - 1)) AND (($dom[$key]['tag'] AND $dom[$key]['opening'] AND ($dom[$key]['value'] == 'li')) OR ($this->cell_height_ratio != $dom[$key]['line-height']) OR (!$this->newline AND is_numeric($fontsize) AND is_numeric($curfontsize) AND ($fontsize >= 0) AND ($curfontsize >= 0) AND (($fontsize != $curfontsize) OR ($fontstyle != $curfontstyle) OR ($fontname != $curfontname))))) { /**/ }
/lib/tcpdf/tcpdf.php:175931if(($fontname != $curfontname) OR ($fontstyle != $curfontstyle) OR ($fontsize != $curfontsize) OR ($this->cell_height_ratio != $dom[$key]['line-height']) OR ($dom[$key]['tag'] AND $dom[$key]['opening'] AND ($dom[$key]['value'] == 'li'))) { /**/ }
/lib/tcpdf/tcpdf.php:175141if(($imgw <= ($this->w - $this->lMargin - $this->rMargin - $this->cell_padding['L'] - $this->cell_padding['R'])) AND ((($this->rtl) AND (($this->x - $imgw) < ($this->lMargin + $this->cell_padding['L']))) OR ((!$this->rtl) AND (($this->x + $imgw) > ($this->w - $this->rMargin - $this->cell_padding['R']))))) { /**/ }
/lib/tcpdf/tcpdf.php:175081if((!$this->newline) AND ($dom[$key]['value'] == 'img') AND (isset($dom[$key]['height'])) AND ($dom[$key]['height'] > 0)) { /**/ } elseif(isset($dom[$key]['fontname']) OR isset($dom[$key]['fontstyle']) OR isset($dom[$key]['fontsize']) OR isset($dom[$key]['line-height'])) { /**/ }
/lib/filelib.php:20901if(($group === '.' . $extension || $group === $value['type'] || (!empty($value['groups']) && in_array($group, $value['groups']))) && !in_array($value[$element], $cached[$element][$group])) { /**/ }
/lib/adminlib.php:5871if(extension_loaded('curl') and !(stripos(ini_get('disable_functions'), 'curl_init') !== FALSE) and !(stripos(ini_get('disable_functions'), 'curl_setop') !== FALSE) and ($ch = @curl_init($testurl)) !== false) { /**/ }
/lib/blocklib.php:2251if($block->visible && !in_array($block->name, $undeletableblocks) && !in_array($block->name, $requiredbythemeblocks) && !in_array($block->name, $unaddablebythemeblocks) && $bi->can_block_be_added($this->page) && ($bi->instance_allow_multiple( ) || !$this->is_block_present($block->name)) && blocks_name_allowed_in_format($block->name, $pageformat) && $bi->user_can_addto($this->page)) { /**/ }
/lib/blocklib.php:9651if($bi->weight == $bi->defaultweight && $bi->region == $bi->defaultregion && !$bi->showinsubcontexts && strpos($bi->pagetypepattern, '*') === false && (!$this->page->subpage || $bi->subpagepattern)) { /**/ } else { /**/ }
/lib/navigationlib.php:4181if(($type == self::TYPE_CATEGORY) || (isloggedin( ) && ($type == self::TYPE_COURSE)) || ($type == self::TYPE_MY_CATEGORY) || ($type === self::TYPE_SITE_ADMIN)) { /**/ }
/lib/navigationlib.php:61231if(!array_key_exists($key, $this->session) || !is_array($this->session[$key]) || $this->session[$key][self::CACHEUSERID] != $USER->id || $this->session[$key][self::CACHETIME] < $this->timeout) { /**/ }
/lib/moodlelib.php:29761if(isset($USER->id) && isset($user->id) && $USER->id === $user->id && isset($SESSION->fullysetupstrict) && (time( ) - $SESSION->fullysetupstrict) < HOURSECS) { /**/ }
/lib/moodlelib.php:59731if(\core\ip_utils::is_domain_in_allowed_list(substr($from->email, strpos($from->email, '@') + 1), $alloweddomains) && ($from->maildisplay == core_user::MAILDISPLAY_EVERYONE || ($from->maildisplay == core_user::MAILDISPLAY_COURSE_MEMBERS_ONLY && enrol_get_shared_courses($user, $from, false, true)))) { /**/ }
/lib/modinfolib.php:5071if(self::$instancecache[$course->id]->userid == $userid && (!isset($course->cacherev) || $course->cacherev == self::$instancecache[$course->id]->get_course( )->cacherev)) { /**/ } else { /**/ }
/lib/modinfolib.php:25571if((!$this->visible && !has_capability('moodle/course:viewhiddenactivities', $this->get_context( ), $userid)) || (!$this->get_available( ) && !has_capability('moodle/course:ignoreavailabilityrestrictions', $this->get_context( ), $userid))) { /**/ }
/lib/tablelib.php:9081if(isset($row->$column) && ($column === 'email' || $column === 'idnumber') && (!$this->is_downloading( ) || $this->export_class_instance( )->supports_html( ))) { /**/ }
/lib/outputrenderers.php:14401if((!isset($this->page->theme->settings->version) || $this->page->theme->settings->version < 2012101500) && $this->page->pagelayout === 'course' && $this->page->url->compare(new moodle_url('/course/view.php'), URL_MATCH_BASE)) { /**/ }
/lib/outputrenderers.php:34731if(!$item->forceopen || (!$item->forceopen && $item->collapse) || ($item->children->count( ) == 0 && $item->nodetype == navigation_node::NODETYPE_BRANCH)) { /**/ }
/lib/outputrenderers.php:52631if(isset($this->page->theme->addblockposition) && $this->page->user_is_editing( ) && $this->page->user_can_edit_blocks( ) && $this->page->pagelayout !== 'mycourses') { /**/ }
/lib/setuplib.php:9501if(($rurl['host'] !== $wwwroot['host']) or (!empty($wwwroot['port']) and $rurl['port'] != $wwwroot['port']) or (strpos($rurl['path'], $wwwroot['path']) !== 0)) { /**/ }
/lib/filelib.php:12621if(!$oldfile->is_directory( ) && ($oldfile->get_contenthash( ) != $newfile->get_contenthash( ) || $oldfile->get_filesize( ) != $newfile->get_filesize( ) || $oldfile->get_referencefileid( ) != $newfile->get_referencefileid( ) || $oldfile->get_userid( ) != $newfile->get_userid( ))) { /**/ }
/lib/tcpdf/tcpdf.php:71341if(($ismask === false) AND ($imgmask === false) AND (strpos($file, '__tcpdf_' . $this->file_id . '_imgmask_') === FALSE) AND (($info === 'pngalpha') OR (isset($info['trns']) AND !empty($info['trns'])))) { /**/ }
/lib/tcpdf/tcpdf.php:65791if(($this->rtl AND ($this->x <= ($this->w - $this->rMargin - $this->cell_padding['R'] - $margin['R'] - $chrwidth))) OR ((!$this->rtl) AND ($this->x >= ($this->lMargin + $this->cell_padding['L'] + $margin['L'] + $chrwidth)))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:86971if(isset($pl['opt']['mk']['if']['a']) AND (is_array($pl['opt']['mk']['if']['a'])) AND !empty($pl['opt']['mk']['if']['a'])) { /**/ }
/lib/tcpdf/tcpdf.php:74551if(($this->num_columns > 1) AND ($this->y == $this->columns[$this->current_column]['y']) AND isset($this->columns[$this->current_column]['x']) AND ($this->x == $this->columns[$this->current_column]['x'])) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3111elseif(($v[0] == '/') AND ($v[1] == 'Prev') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'numeric'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'W') AND (isset($sarr[($k + 1)]))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'DecodeParms') AND (isset($sarr[($k + 1)][1]))) { /**/ } elseif($filltrailer) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3041if(($v[0] == '/') AND ($v[1] == 'Type') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == '/') AND ($sarr[($k + 1)][1] == 'XRef'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Index') AND (isset($sarr[($k + 1)]))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'Prev') AND (isset($sarr[($k + 1)]) AND ($sarr[($k + 1)][0] == 'numeric'))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'W') AND (isset($sarr[($k + 1)]))) { /**/ } elseif(($v[0] == '/') AND ($v[1] == 'DecodeParms') AND (isset($sarr[($k + 1)][1]))) { /**/ } elseif($filltrailer) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3251elseif(($vdc[0] == '/') AND ($vdc[1] == 'Predictor') AND (isset($decpar[($kdc + 1)]) AND ($decpar[($kdc + 1)][0] == 'numeric'))) { /**/ }
/lib/tcpdf/tcpdf_parser.php:3231if(($vdc[0] == '/') AND ($vdc[1] == 'Columns') AND (isset($decpar[($kdc + 1)]) AND ($decpar[($kdc + 1)][0] == 'numeric'))) { /**/ } elseif(($vdc[0] == '/') AND ($vdc[1] == 'Predictor') AND (isset($decpar[($kdc + 1)]) AND ($decpar[($kdc + 1)][0] == 'numeric'))) { /**/ }
/lib/environmentlib.php:11171if(is_array($xml['#']) && isset($xml['#']['BYPASS'][0]['@']['function']) && isset($xml['#']['BYPASS'][0]['@']['message'])) { /**/ }
/lib/formslib.php:5881if(($value = $this->get_array_value_by_keys($this->_ajaxformdata ?? [ ], $keys)) !== null || ($value = $this->get_array_value_by_keys($_POST, $keys)) !== null || ($value = $this->get_array_value_by_keys($_GET, $keys)) !== null) { /**/ }
/lib/messagelib.php:1082if(!isset($eventdata->userto->auth) or !isset($eventdata->userto->suspended) or !isset($eventdata->userto->deleted) or !isset($eventdata->userto->emailstop)) { /**/ }
/lib/environmentlib.php:11571if(is_array($xml['#']) && isset($xml['#']['RESTRICT'][0]['@']['function']) && isset($xml['#']['RESTRICT'][0]['@']['message'])) { /**/ }
/lib/tcpdf/tcpdf.php:49091if((($opt['Subtype'] == 'FileAttachment') OR ($opt['Subtype'] == 'Sound')) AND (!TCPDF_STATIC::empty_string($opt['FS'])) AND (@TCPDF_STATIC::file_exists($opt['FS']) OR TCPDF_STATIC::isValidURL($opt['FS'])) AND (!isset($this->embeddedfiles[basename($opt['FS'])]))) { /**/ }
/lib/messagelib.php:2302if(!isset($eventdata->userto->auth) or !isset($eventdata->userto->suspended) or !isset($eventdata->userto->deleted) or !isset($eventdata->userto->emailstop)) { /**/ }
/lib/tcpdf/tcpdf.php:65351if(($c != 160) AND (($c == 173) OR preg_match($this->re_spaces, TCPDF_FONTS::unichr($c, $this->isunicode)) OR (($c == 45) AND ($i < ($nb - 1)) AND @preg_match('/[\p{L}]/' . $this->re_space['m'], TCPDF_FONTS::unichr($pc, $this->isunicode)) AND @preg_match('/[\p{L}]/' . $this->re_space['m'], TCPDF_FONTS::unichr($chars[($i + 1)], $this->isunicode))))) { /**/ }
/lib/tcpdf/tcpdf.php:62681if(($c != 160) AND (($c == 173) OR preg_match($this->re_spaces, TCPDF_FONTS::unichr($c, $this->isunicode)) OR (($c == 45) AND ($i > 0) AND ($i < ($length - 1)) AND @preg_match('/[\p{L}]/' . $this->re_space['m'], TCPDF_FONTS::unichr($chars[($i - 1)], $this->isunicode)) AND @preg_match('/[\p{L}]/' . $this->re_space['m'], TCPDF_FONTS::unichr($chars[($i + 1)], $this->isunicode))))) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php:1601do { /**/ } while(($this->onlyExistingCells) && (!$this->cellCollection->has(Coordinate::stringFromColumnIndex($this->currentColumnIndex) . $this->rowIndex)) && ($this->currentColumnIndex >= $this->startColumnIndex))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:4611if((str_replace(self::$invalidCharacters, '', $sheetCodeName) !== $sheetCodeName) || (Shared\StringHelper::substring($sheetCodeName, -1, 1) == '\'') || (Shared\StringHelper::substring($sheetCodeName, 0, 1) == '\'')) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:10021if($xmlSheet !== false && isset($xmlSheet->extLst, $xmlSheet->extLst->ext, $xmlSheet->extLst->ext['uri']) && ($xmlSheet->extLst->ext['uri'] == '{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}')) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php:1501do { /**/ } while(($this->onlyExistingCells) && (!$this->cellCollection->has(Coordinate::stringFromColumnIndex($this->currentColumnIndex) . $this->rowIndex)) && ($this->currentColumnIndex <= $this->endColumnIndex))
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Spreadsheet.php:10371if(($worksheet !== null) && isset($this->definedNames[$worksheet->getTitle( ) . '!' . $name]) && $this->definedNames[$worksheet->getTitle( ) . '!' . $name]->isFormula( ) === $type) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:8501if(isset($cAttr->f) || (isset($c->f, $c->f->attributes( )['t']) && strtolower((string) $c->f->attributes( )['t']) === 'shared')) { /**/ }
/lib/tcpdf/include/barcodes/datamatrix.php:7191if(($data_length > 1) AND ($pos < ($data_length - 1)) AND ($this->isCharMode(ord($data[$pos]), ENC_ASCII_NUM) AND $this->isCharMode(ord($data[$pos + 1]), ENC_ASCII_NUM))) { /**/ } else { /**/ }
/lib/pear/HTML/QuickForm/date.php:4021if(!is_array($this->_options['addEmptyOption']) && $this->_options['addEmptyOption'] || is_array($this->_options['addEmptyOption']) && !empty($this->_options['addEmptyOption'][$sign])) { /**/ }
/lib/tcpdf/include/barcodes/pdf417.php:8911if(((($i + 1) == $codelen) OR ((($i + 1) < $codelen) AND (array_search(ord($code[($i + 1)]), $this->textsubmodes[$submode]) !== false))) AND (($s == 3) OR (($s == 0) AND ($submode == 1)))) { /**/ } else { /**/ }
/lib/tcpdf/include/barcodes/datamatrix.php:6121if((($numch[ENC_BASE256] + 1) <= $numch[ENC_ASCII]) OR (($numch[ENC_BASE256] + 1) < min($numch[ENC_C40], $numch[ENC_TXT], $numch[ENC_X12], $numch[ENC_EDF]))) { /**/ }
/lib/tcpdf/include/barcodes/qrcode.php:11111if(($this->runLength[$i - 2] == $fact) AND ($this->runLength[$i - 1] == $fact) AND ($this->runLength[$i + 1] == $fact) AND ($this->runLength[$i + 2] == $fact)) { /**/ }
/lib/tcpdf/include/barcodes/qrcode.php:26811if(($rs['pad'] != $pad) OR ($rs['nroots'] != $nroots) OR ($rs['mm'] != $symsize) OR ($rs['gfpoly'] != $gfpoly) OR ($rs['fcr'] != $fcr) OR ($rs['prim'] != $prim)) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:25561if(($i > 1) AND ($thischar['char'] == 1607) AND ($chardata[$i - 1]['char'] == 1604) AND ($chardata[$i - 2]['char'] == 1604)) { /**/ } else { /**/ }
/lib/tcpdf/include/tcpdf_images.php:2241if((ord($icc[36]) != 0x61) OR (ord($icc[37]) != 0x63) OR (ord($icc[38]) != 0x73) OR (ord($icc[39]) != 0x70)) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:25431elseif(($nextchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'NSM')) AND ($nextchar['type'] == $thischar['type']) AND ($nextchar['char'] != 1567)) { /**/ } elseif((($prevchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'NSM')) AND ($prevchar['type'] == $thischar['type'])) OR (($nextchar !== false) AND ($nextchar['char'] == 1567))) { /**/ } elseif(isset($arabicarr[$thischar['char']][0])) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:25511elseif((($prevchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'NSM')) AND ($prevchar['type'] == $thischar['type'])) OR (($nextchar !== false) AND ($nextchar['char'] == 1567))) { /**/ } elseif(isset($arabicarr[$thischar['char']][0])) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:421if(!is_object($cellValue) && ($cellValue !== null) && $cellValue !== '' && ($cell->getDataType( ) == DataType::TYPE_STRING || $cell->getDataType( ) == DataType::TYPE_STRING2 || $cell->getDataType( ) == DataType::TYPE_NULL) && !isset($aFlippedStringTable[$cellValue])) { /**/ } elseif($cellValue instanceof RichText && ($cellValue !== null) && !isset($aFlippedStringTable[$cellValue->getHashCode( )])) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/ArrayArgumentProcessor.php:441if((self::$arrayArgumentHelper->isVector($matrixPair[0]) === true && self::$arrayArgumentHelper->isVector($matrixPair[1]) === false) || (self::$arrayArgumentHelper->isVector($matrixPair[0]) === false && self::$arrayArgumentHelper->isVector($matrixPair[1]) === true)) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Indirect.php:911if((!preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $cellAddress1, $matches)) || (($cellAddress2 !== null) && (!preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/miu', $cellAddress2, $matches)))) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php:5652elseif((($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || (($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || ($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || ($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERAND)) { /**/ } else { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php:5442elseif((($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || (($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || ($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || ($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERAND)) { /**/ } else { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php:5061if(!((($nextToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_START)) || (($nextToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_START)) || ($nextToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERAND))) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php:4921if(!((($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || (($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType( ) == FormulaToken::TOKEN_SUBTYPE_STOP)) || ($previousToken->getTokenType( ) == FormulaToken::TOKEN_TYPE_OPERAND))) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:53351if((Functions::getCompatibilityMode( ) != Functions::COMPATIBILITY_OPENOFFICE) && ((is_string($operand1) && !is_numeric($operand1) && strlen($operand1) > 0) || (is_string($operand2) && !is_numeric($operand2) && strlen($operand2) > 0))) { /**/ } elseif(is_array($operand1) || is_array($operand2)) { /**/ } else { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:51651elseif((is_numeric($token)) || ($token === null) || (is_bool($token)) || ($token == '') || ($token[0] == self::FORMULA_STRING_QUOTE) || ($token[0] == '#')) { /**/ } elseif(preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '$/miu', $token, $matches)) { /**/ } else { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:45892while ($stack->count( ) > 0 && ($o2 = $stack->last( )) && isset(self::CALCULATION_OPERATORS[$o2['value']]) && @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:45751if(($expectingOperator) && array_key_exists($countOutputMinus1, $output) && is_array($output[$countOutputMinus1]) && array_key_exists('type', $output[$countOutputMinus1]) && ((preg_match('/^' . self::CALCULATION_REGEXP_CELLREF . '.*/miu', substr($formula, $index), $match)) && ($output[$countOutputMinus1]['type'] === 'Cell Reference') || (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '.*/miu', substr($formula, $index), $match)) && ($output[$countOutputMinus1]['type'] === 'Defined Name' || $output[$countOutputMinus1]['type'] === 'Value') || (preg_match('/^' . self::CALCULATION_REGEXP_STRUCTURED_REFERENCE . '.*/miu', substr($formula, $index), $match)) && ($output[$countOutputMinus1]['type'] === Operands\StructuredReference::NAME || $output[$countOutputMinus1]['type'] === 'Value'))) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:44191if(!is_numeric($val) && ((ctype_alpha($val) === false || strlen($val) > 3)) && (preg_match('/^' . self::CALCULATION_REGEXP_DEFINEDNAME . '$/mui', $val) !== false) && ($this->spreadsheet === null || $this->spreadsheet->getNamedRange($val) !== null)) { /**/ } elseif($val === Information\ExcelError::REF( )) { /**/ } else { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:41842while ($stack->count( ) > 0 && ($o2 = $stack->last( )) && isset(self::CALCULATION_OPERATORS[$o2['value']]) && @(self::$operatorAssociativity[$opCharacter] ? self::$operatorPrecedence[$opCharacter] < self::$operatorPrecedence[$o2['value']] : self::$operatorPrecedence[$opCharacter] <= self::$operatorPrecedence[$o2['value']])) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php:2551elseif(defined('PHP_OS') && @stristr(PHP_OS, 'AIX') && defined('ICONV_IMPL') && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) && defined('ICONV_VERSION') && (@strcasecmp(ICONV_VERSION, 'unknown') == 0)) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php:4541if($this->getHorizontal( ) != self::HORIZONTAL_GENERAL && $this->getHorizontal( ) != self::HORIZONTAL_LEFT && $this->getHorizontal( ) != self::HORIZONTAL_RIGHT && $this->getHorizontal( ) != self::HORIZONTAL_DISTRIBUTED) { /**/ }
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column/Rule.php:3491if(($grouping !== null) && (!in_array($grouping, self::DATE_TIME_GROUPS)) && (!in_array($grouping, self::DYNAMIC_TYPES)) && (!in_array($grouping, self::TOP_TEN_TYPE))) { /**/ }
/lib/tcpdf/tcpdf.php:219771if(($this->page > $this->maxselcol['page']) OR (($this->page == $this->maxselcol['page']) AND ($col > $this->maxselcol['column']))) { /**/ }
/lib/tcpdf/tcpdf.php:227651if(isset($region['xt']) AND isset($region['xb']) AND ($region['xt'] > 0) AND ($region['xb'] > 0) AND isset($region['yt']) AND isset($region['yb']) AND ($region['yt'] >= 0) AND ($region['yt'] < $region['yb']) AND isset($region['side']) AND (($region['side'] == 'L') OR ($region['side'] == 'R'))) { /**/ }
/lib/tcpdf/tcpdf.php:233891if(($gradient['type'] == 2) AND ($gradient['coords'][0] == $gradient['coords'][2]) AND ($gradient['coords'][1] == $gradient['coords'][3])) { /**/ }
/lib/tcpdf/tcpdf.php:237311if(($key > 0) AND ((strtoupper($paths[($key - 1)][1]) == 'C') OR (strtoupper($paths[($key - 1)][1]) == 'S'))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:195452if((($pba == 'left') AND (((!$this->rtl) AND (($this->page % 2) == 0)) OR (($this->rtl) AND (($this->page % 2) != 0)))) OR (($pba == 'right') AND (((!$this->rtl) AND (($this->page % 2) != 0)) OR (($this->rtl) AND (($this->page % 2) == 0))))) { /**/ }
/lib/tcpdf/tcpdf.php:195782if(isset($this->tagvspaces[$tag['value']][1]['h']) && !empty($this->tagvspaces[$tag['value']][1]['h']) && ($this->tagvspaces[$tag['value']][1]['h'] >= 0)) { /**/ } elseif(isset($parent['fontsize'])) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:196561if(($prev_page < $this->page) AND ((($this->current_column == 0) AND ($dom[($dom[$key]['parent'])]['endcolumn'] == ($this->num_columns - 1))) OR ($this->current_column == $dom[($dom[$key]['parent'])]['endcolumn']))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:200912if((($pba == 'left') AND (((!$this->rtl) AND (($this->page % 2) == 0)) OR (($this->rtl) AND (($this->page % 2) != 0)))) OR (($pba == 'right') AND (((!$this->rtl) AND (($this->page % 2) != 0)) OR (($this->rtl) AND (($this->page % 2) == 0))))) { /**/ }
/lib/tcpdf/tcpdf.php:186411if(isset($dom[$key]['tag']) AND $dom[$key]['tag'] AND (!isset($dom[$key]['opening']) OR !$dom[$key]['opening']) AND isset($dom[($dom[$key]['parent'])]['attribute']['nobr']) AND ($dom[($dom[$key]['parent'])]['attribute']['nobr'] == 'true')) { /**/ }
/lib/tcpdf/tcpdf.php:186431if((!$undo) AND (($this->y < $this->start_transaction_y) OR (($dom[$key]['value'] == 'tr') AND ($dom[($dom[$key]['parent'])]['endy'] < $this->start_transaction_y)))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:188501if(isset($this->tagvspaces[$tag['value']][0]['h']) && !empty($this->tagvspaces[$tag['value']][0]['h']) && ($this->tagvspaces[$tag['value']][0]['h'] >= 0)) { /**/ } elseif(isset($tag['fontsize'])) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:188822if(isset($this->tagvspaces[$tag['value']][1]['h']) && !empty($this->tagvspaces[$tag['value']][1]['h']) && ($this->tagvspaces[$tag['value']][1]['h'] >= 0)) { /**/ } elseif(isset($parent['fontsize'])) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:182591while (($key < $maxel) AND (!(($dom[$key]['tag']) AND (!$dom[$key]['opening']) AND ($dom[$key]['value'] == $tagtype) AND ($dom[$key]['parent'] == $parentid)))) { /**/ }
/lib/tcpdf/tcpdf.php:183111if(($trwsp['rowspan'] > 0) AND ($rsstartx > ($this->x - $cellspacing['H'] - $current_cell_padding['L'] - $this->feps)) AND ($rsstartx < ($this->x + $cellspacing['H'] + $current_cell_padding['R'] + $this->feps)) AND (($trwsp['starty'] < ($this->y - $this->feps)) OR ($trwsp['startpage'] < $this->page) OR ($trwsp['startcolumn'] < $this->current_column))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:183191if(($trwsp['rowspan'] == 1) AND (isset($dom[$trid]['endy'])) AND (isset($dom[$trid]['endpage'])) AND (isset($dom[$trid]['endcolumn'])) AND ($trwsp['endpage'] == $dom[$trid]['endpage']) AND ($trwsp['endcolumn'] == $dom[$trid]['endcolumn'])) { /**/ }
/lib/tcpdf/tcpdf.php:185421if(($strlinelen < $cwa) AND (isset($dom[($key + 1)])) AND ($dom[($key + 1)]['tag']) AND (!$dom[($key + 1)]['block'])) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:24101elseif(($chardata[$i]['type'] == 'N') AND (($chardata[($i - 1)]['type'] == 'R') OR ($chardata[($i - 1)]['type'] == 'EN') OR ($chardata[($i - 1)]['type'] == 'AN')) AND (($chardata[$i]['eor'] == 'R') OR ($chardata[$i]['eor'] == 'EN') OR ($chardata[$i]['eor'] == 'AN'))) { /**/ } elseif($chardata[$i]['type'] == 'N') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:24061elseif(($levcount > 0) AND ((($i + 1) == $numchars) OR (($i + 1) < $numchars) AND ($chardata[($i + 1)]['level'] != $prevlevel))) { /**/ } elseif($chardata[$i]['type'] == 'N') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:25261if(($prevchar !== false) AND ($nextchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'NSM')) AND ((TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'NSM')) AND ($prevchar['type'] == $thischar['type']) AND ($nextchar['type'] == $thischar['type']) AND ($nextchar['char'] != 1567)) { /**/ } elseif(($nextchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$nextchar['char']] == 'NSM')) AND ($nextchar['type'] == $thischar['type']) AND ($nextchar['char'] != 1567)) { /**/ } elseif((($prevchar !== false) AND ((TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'AL') OR (TCPDF_FONT_DATA::$uni_type[$prevchar['char']] == 'NSM')) AND ($prevchar['type'] == $thischar['type'])) OR (($nextchar !== false) AND ($nextchar['char'] == 1567))) { /**/ } elseif(isset($arabicarr[$thischar['char']][0])) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:24591if((($chardata[$j]['type'] == 'B') OR ($chardata[$j]['type'] == 'S')) OR (($j == ($numchars - 1)) AND ($chardata[$j]['type'] == 'WS'))) { /**/ } elseif($chardata[$j]['type'] != 'WS') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:23841if(($chardata[$i]['type'] == 'N') AND ($chardata[($i - 1)]['type'] == 'L') AND ($chardata[($i + 1)]['type'] == 'L')) { /**/ } elseif(($chardata[$i]['type'] == 'N') AND (($chardata[($i - 1)]['type'] == 'R') OR ($chardata[($i - 1)]['type'] == 'EN') OR ($chardata[($i - 1)]['type'] == 'AN')) AND (($chardata[($i + 1)]['type'] == 'R') OR ($chardata[($i + 1)]['type'] == 'EN') OR ($chardata[($i + 1)]['type'] == 'AN'))) { /**/ } elseif($chardata[$i]['type'] == 'N') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:23031elseif(($chardata[$i]['type'] == 'CS') AND ($chardata[($i - 1)]['type'] == 'AN') AND ($chardata[($i + 1)]['type'] == 'AN')) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:23981elseif(($chardata[$i]['type'] == 'N') AND (($chardata[$i]['sor'] == 'R') OR ($chardata[$i]['sor'] == 'EN') OR ($chardata[$i]['sor'] == 'AN')) AND (($chardata[($i + 1)]['type'] == 'R') OR ($chardata[($i + 1)]['type'] == 'EN') OR ($chardata[($i + 1)]['type'] == 'AN'))) { /**/ } elseif($chardata[$i]['type'] == 'N') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:23861elseif(($chardata[$i]['type'] == 'N') AND (($chardata[($i - 1)]['type'] == 'R') OR ($chardata[($i - 1)]['type'] == 'EN') OR ($chardata[($i - 1)]['type'] == 'AN')) AND (($chardata[($i + 1)]['type'] == 'R') OR ($chardata[($i + 1)]['type'] == 'EN') OR ($chardata[($i + 1)]['type'] == 'AN'))) { /**/ } elseif($chardata[$i]['type'] == 'N') { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:22161elseif(($ta[$i] != TCPDF_FONT_DATA::$uni_RLE) AND ($ta[$i] != TCPDF_FONT_DATA::$uni_LRE) AND ($ta[$i] != TCPDF_FONT_DATA::$uni_RLO) AND ($ta[$i] != TCPDF_FONT_DATA::$uni_LRO) AND ($ta[$i] != TCPDF_FONT_DATA::$uni_PDF)) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:22051if(($remember[$last]['num'] == TCPDF_FONT_DATA::$uni_RLE) OR ($remember[$last]['num'] == TCPDF_FONT_DATA::$uni_LRE) OR ($remember[$last]['num'] == TCPDF_FONT_DATA::$uni_RLO) OR ($remember[$last]['num'] == TCPDF_FONT_DATA::$uni_LRO)) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:23011elseif(($chardata[$i]['type'] == 'CS') AND ($chardata[($i - 1)]['type'] == 'EN') AND ($chardata[($i + 1)]['type'] == 'EN')) { /**/ } elseif(($chardata[$i]['type'] == 'CS') AND ($chardata[($i - 1)]['type'] == 'AN') AND ($chardata[($i + 1)]['type'] == 'AN')) { /**/ }
/lib/tcpdf/include/tcpdf_fonts.php:22991if(($chardata[$i]['type'] == 'ES') AND ($chardata[($i - 1)]['type'] == 'EN') AND ($chardata[($i + 1)]['type'] == 'EN')) { /**/ } elseif(($chardata[$i]['type'] == 'CS') AND ($chardata[($i - 1)]['type'] == 'EN') AND ($chardata[($i + 1)]['type'] == 'EN')) { /**/ } elseif(($chardata[$i]['type'] == 'CS') AND ($chardata[($i - 1)]['type'] == 'AN') AND ($chardata[($i + 1)]['type'] == 'AN')) { /**/ }
/lib/tcpdf/tcpdf.php:241461if(((!isset($attribs['x1'])) AND (!isset($attribs['y1'])) AND (!isset($attribs['x2'])) AND (!isset($attribs['y2']))) OR ((isset($attribs['x1']) AND (substr($attribs['x1'], -1) == '%')) OR (isset($attribs['y1']) AND (substr($attribs['y1'], -1) == '%')) OR (isset($attribs['x2']) AND (substr($attribs['x2'], -1) == '%')) OR (isset($attribs['y2']) AND (substr($attribs['y2'], -1) == '%')))) { /**/ } else { /**/ }
/lib/tcpdf/tcpdf.php:237851if(($key > 0) AND ((strtoupper($paths[($key - 1)][1]) == 'Q') OR (strtoupper($paths[($key - 1)][1]) == 'T'))) { /**/ } else { /**/ }
/lib/tcpdf/include/tcpdf_static.php:18971if((strlen($file) > 1) && ($file[0] === '/') && ($file[1] !== '/') && !empty($_SERVER['DOCUMENT_ROOT']) && ($_SERVER['DOCUMENT_ROOT'] !== '/')) { /**/ }
/lib/tcpdf/tcpdf.php:241861if(((!isset($attribs['cx'])) AND (!isset($attribs['cy']))) OR ((isset($attribs['cx']) AND (substr($attribs['cx'], -1) == '%')) OR (isset($attribs['cy']) AND (substr($attribs['cy'], -1) == '%')))) { /**/ } elseif(isset($attribs['r']) AND is_numeric($attribs['r']) AND ($attribs['r']) <= 1) { /**/ } else { /**/ }
/repository/s3/S3.php:17991if($rest->response->error === false && isset($rest->response->body) && is_string($rest->response->body) && substr($rest->response->body, 0, 5) == '<?xml') { /**/ }
/repository/s3/S3.php:21401if(array_key_exists('acl', $this->parameters) || array_key_exists('location', $this->parameters) || array_key_exists('torrent', $this->parameters) || array_key_exists('website', $this->parameters) || array_key_exists('logging', $this->parameters)) /**//*B*/ ?>
/repository/lib.php:27641if(!is_array($params) || !($storedfile = $fs->get_file($params['contextid'], $params['component'], $params['filearea'], $params['itemid'], $params['filepath'], $params['filename']))) { /**/ } else { /**/ }
/course/classes/analytics/target/no_teaching.php:1851if(!$course->startdate || (!empty($course->enddate) && $course->enddate < $now) || $course->startdate - WEEKSECS > $now || $course->startdate + WEEKSECS < $now) { /**/ }
/file.php:711if(empty($CFG->sitepolicyhandler) and !empty($CFG->sitepolicy) and ($CFG->sitepolicy == $CFG->wwwroot . '/file.php/' . $relativepath or $CFG->sitepolicy == $CFG->wwwroot . '/file.php?file=/' . $relativepath)) { /**/ } else { /**/ }
/course/format/singleactivity/lib.php:4901if($PAGE == $page && ($cm = $this->get_activity( )) && $cm->uservisible && ($cm->id === $page->cm->id) && ($activitynode = $page->navigation->find($cm->id, navigation_node::TYPE_ACTIVITY)) && ($node = $page->navigation->find($page->course->id, navigation_node::TYPE_COURSE))) { /**/ }
/competency/classes/api.php:19281if($before->duedate != $after->duedate || $before->shortname != $after->shortname || $before->description != $after->description || $before->descriptionformat != $after->descriptionformat) { /**/ }
/repository/s3/S3.php:22651if($this->response->error === false && isset($this->response->headers['type']) && $this->response->headers['type'] == 'application/xml' && isset($this->response->body)) { /**/ }
/blocks/moodleblock.class.php:5761if(!empty($USER->id) && $this->instance->parentcontextid == $this->page->context->id && $this->page->context->contextlevel == CONTEXT_USER && $this->page->context->instanceid == $USER->id) { /**/ }
/repository/local/lib.php:1851if(strlen($params['filearea']) && ($params['filepath'] === '/' || empty($params['filepath'])) && ($params['filename'] === '.' || empty($params['filename'])) && context::instance_by_id($params['contextid'])->contextlevel == CONTEXT_MODULE) { /**/ }
/blocks/settings/renderer.php:871if(!$item->forceopen || (!$item->forceopen && $item->collapse) || ($item->children->count( ) == 0 && $item->nodetype == navigation_node::NODETYPE_BRANCH)) { /**/ } else { /**/ }
/rating/classes/external/util.php:1661if($rating['canrate'] && !empty($item->rating->settings->scale->id) && !isset($ratinginfo['scales'][$item->rating->settings->scale->id])) { /**/ }
/blocks/navigation/renderer.php:1241if(is_string($item->action) || empty($item->action) || (($item->type === navigation_node::TYPE_CATEGORY || $item->type === navigation_node::TYPE_MY_CATEGORY) && empty($options['linkcategories']))) { /**/ } else /**//*B*/ ?>
/calendar/lib.php:3401if(isset($this->properties->userid) && $this->properties->userid > 0 && $this->properties->userid != $USER->id && !empty($this->properties->modulename) && isset($this->properties->instance) && $this->properties->instance > 0) { /**/ } else { /**/ }
/course/format/classes/output/local/content/cm.php:2801if($this->mod->has_custom_cmlist_item( ) && !$haspartials['availability'] && !$haspartials['completion'] && !$haspartials['dates'] && !$haspartials['groupmode'] && !isset($data->modhiddenfromstudents) && !isset($data->modstealth) && !$this->format->show_editor( )) { /**/ }
/rating/lib.php:12171if(($permissions[$rating->ratingarea]['view'] and $rating->userid == $USER->id) or ($permissions[$rating->ratingarea]['viewany'] or $permissions[$rating->ratingarea]['viewall'])) { /**/ }
/grade/edit/tree/lib.php:9611if(!in_array($object->itemtype, array('courseitem', 'categoryitem', 'category')) && !in_array($object->gradetype, array(GRADE_TYPE_NONE, GRADE_TYPE_TEXT)) && (!$object->is_outcome_item( ) || $object->load_parent_category( )->aggregateoutcomes) && ($object->gradetype != GRADE_TYPE_SCALE || !empty($CFG->grade_includescalesinaggregation))) { /**/ }
/grade/grading/form/guide/lib.php:8151if(!isset($elementvalue['criteria'][$id]['score']) || $criterion['maxscore'] < $elementvalue['criteria'][$id]['score'] || !is_numeric($elementvalue['criteria'][$id]['score']) || $elementvalue['criteria'][$id]['score'] < 0) { /**/ }
/grade/lib.php:25561if(!empty($USER->editing) || isset($context->gradeanalysisurl) || isset($context->gradesonlyurl) || isset($context->aggregatesonlyurl) || isset($context->fullmodeurl) || isset($context->reporturl0) || isset($context->ascendingfirstnameurl) || isset($context->ascendingurl) || isset($context->viewfeedbackurl) || ($mode == 'setup')) { /**/ }
/user/lib.php:5111if(in_array('email', $userfields) && ($currentuser or (!isset($hiddenfields['email']) and ($user->maildisplay == core_user::MAILDISPLAY_EVERYONE or ($user->maildisplay == core_user::MAILDISPLAY_COURSE_MEMBERS_ONLY and enrol_sharing_course($user, $USER)) or $canviewuseremail)) or in_array('email', $showuseridentityfields))) { /**/ }
/enrol/ldap/lib.php:10811if($this->get_config('course_' . $field . '_updateonsync') && isset($externalcourse[$this->get_config('course_' . $field)][0]) && $course->{$field} != $externalcourse[$this->get_config('course_' . $field)][0]) { /**/ }
/enrol/ldap/lib.php:6731if($ldapconnection = ldap_connect_moodle($this->get_config('host_url'), $this->get_config('ldap_version'), $this->get_config('user_type'), $this->get_config('bind_dn'), $this->get_config('bind_pw'), $this->get_config('opt_deref'), $debuginfo, $this->get_config('start_tls'))) { /**/ }
/enrol/ldap/lib.php:4741if(property_exists($this->config, 'memberattribute_role' . $role->id) && !empty($this->config->{'memberattribute_role' . $role->id}) && !empty($course[$this->config->{'memberattribute_role' . $role->id}])) { /**/ }
/enrol/ajax.php:671if(!$instance || !$plugin || !enrol_is_enabled($instance->enrol) || !$plugin->allow_unenrol_user($instance, $ue) || !has_capability("enrol/$instance->enrol:unenrol", $manager->get_context( )) || !$manager->unenrol_user($ue)) { /**/ }
/grade/report/overview/lib.php:2071if(!has_capability('moodle/user:viewuseractivitiesreport', context_user::instance($this->user->id)) && ((!has_capability('moodle/grade:view', $coursecontext) || $this->user->id != $USER->id) && !has_capability('moodle/grade:viewall', $coursecontext))) { /**/ }
/grade/report/user/classes/report/user.php:6811if(!empty($CFG->grade_hiddenasdate) && $gradegrade->get_datesubmitted( ) && !$this->canviewhidden && $gradegrade->is_hidden( ) && !$gradegrade->grade_item->is_category_item( ) && !$gradegrade->grade_item->is_course_item( )) { /**/ } else /**//*B*/ ?>
/grade/report/user/classes/report/user.php:5331if($gradegrade->is_hidden( ) && !$this->canviewhidden && ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_HIDDEN || ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_UNTIL && !$gradegrade->is_hiddenuntil( )))) { /**/ } else /**//*B*/ ?>
/grade/report/user/classes/report/user.php:5071if($type == 'category' && $gradeobject->is_hidden( ) && !$this->canviewhidden && ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_HIDDEN || ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_UNTIL && !$gradeobject->is_hiddenuntil( )))) { /**/ }
/grade/report/user/classes/report/user.php:3931if($child['type'] == 'category' && $child['object']->is_hidden( ) && !$this->canviewhidden && ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_HIDDEN || ($this->showhiddenitems == GRADE_REPORT_USER_HIDE_UNTIL && !$child['object']->is_hiddenuntil( )))) { /**/ } else { /**/ }
/grade/report/grader/classes/output/action_bar.php:1381if(!empty($SESSION->gradereport["filterfirstname-{$this->context->id}"]) || !empty($SESSION->gradereport["filterlastname-{$this->context->id}"]) || groups_get_course_group($course, true, $allowedgroups) || $this->usersearch) { /**/ }
/admin/tool/messageinbound/roundcube/rcube_mime.php:5351if($last_len && $line && !$q_level && $text[$last] != '-- ' && isset($text[$last][$last_len - 1]) && $text[$last][$last_len - 1] == ' ') { /**/ } else { /**/ }
/admin/tool/brickfield/tests/area_test_base.php:821if(($area->component == $component) && ($area->contextid == $contextid) && ((empty($courseid) ? empty($area->courseid) : ($area->courseid == $courseid))) && ((empty($categoryid) ? empty($area->categoryid) : ($area->categoryid == $categoryid))) && ($area->itemid == $itemid)) { /**/ }
/admin/tool/brickfield/classes/local/htmlchecker/common/checks/css_text_has_contrast.php:1281if($element->tagName === 'h1' || $element->tagName === 'h2' || $element->tagName === 'h3' || $element->tagName === 'h4' || $element->tagName === 'h5' || $element->tagName === 'h6' || $fontsize >= 18 || $fontsize >= 14 && $bold) { /**/ } else { /**/ }
/admin/tool/brickfield/classes/local/htmlchecker/common/checks/no_headings.php:511if(!$this->get_all_elements('h1') && !$this->get_all_elements('h2') && !$this->get_all_elements('h3') && !$this->get_all_elements('h4') && !$this->get_all_elements('h5') && !$this->get_all_elements('h6')) { /**/ } else { /**/ }
/admin/tool/uploadcourse/cli/uploadcourse.php:1271if(($processoroptions['mode'] === tool_uploadcourse_processor::MODE_CREATE_OR_UPDATE || $processoroptions['mode'] === tool_uploadcourse_processor::MODE_UPDATE_ONLY) && (!isset($options['updatemode']) || !isset($updatemodes[$options['updatemode']]))) { /**/ }
/admin/tool/uploadcourse/classes/permissions.php:2291if(core_tag_tag::is_enabled('core', 'course') && (array_key_exists('tags', $coursedata) && strval($coursedata['tags']) !== '') && ($error = self::check_capability(tool_uploadcourse_course::DO_CREATE, $coursedata, 'moodle/course:tag'))) { /**/ }
/admin/tool/uploadcourse/classes/permissions.php:1811if(core_tag_tag::is_enabled('core', 'course') && (array_key_exists('tags', $coursedata) && strval($coursedata['tags']) !== '') && ($error = self::check_capability(tool_uploadcourse_course::DO_UPDATE, $coursedata, 'moodle/course:tag'))) { /**/ }
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:16571if(strlen($mailbox) == 5 && ($mailbox[0] == 'i' || $mailbox[0] == 'I') && ($mailbox[1] == 'n' || $mailbox[1] == 'N') && ($mailbox[2] == 'b' || $mailbox[2] == 'B') && ($mailbox[3] == 'o' || $mailbox[3] == 'O') && ($mailbox[4] == 'x' || $mailbox[4] == 'X')) { /**/ }
/admin/tool/behat/cli/run.php:5151if(trim($line) && (strpos($line, '.') !== 0) && (strpos($line, 'Moodle ') !== 0) && (strpos($line, 'Server OS ') !== 0) && (strpos($line, 'Started at ') !== 0) && (strpos($line, 'Browser specific fixes ') !== 0)) { /**/ }
/admin/tool/behat/cli/run.php:1481if(!isset($CFG->behat_config[$profile]) && !isset($CFG->behat_profiles[$profile]) && !($options['replace'] && (strpos($profile, (string) $options['replace']) !== false))) { /**/ }
/admin/tool/monitor/classes/task/clean_events.php:1221if(!isset($courses[$event->courseid][$event->eventname]) && (!isset($courses[0][$event->eventname]) || $courses[0][$event->eventname] <= ($now - $event->timecreated))) { /**/ }
/admin/tool/xmldb/actions/edit_field_save/edit_field_save.class.php:1721if(!(empty($length) || (is_numeric($length) && !empty($length) && intval($length) == floatval($length) && $length > 0 && $length <= xmldb_field::FLOAT_MAX_LENGTH))) { /**/ }
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php:4731while (isset($query[$i]) && ($this->is_char($query[$i]) || in_array($query[$i], $classchars) || $query[$i] == '*' || ($spaceallowed && $query[$i] == ' '))) { /**/ }
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php:4561while (isset($query[$i]) && ($this->is_char($query[$i]) || in_array($query[$i], $classchars) || $query[$i] == '*' || ($query[$i] == ' ' && $spaceallowed))) { /**/ }
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_color_test.php:2741if(substr(trim($backgroundpart), 0, 1) == '#' || in_array(trim($backgroundpart), array_keys($this->colornames)) || strtolower(substr(trim($backgroundpart), 0, 3)) == 'rgb') { /**/ }
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:5411if(\is_resource($value) || \is_object($value) || \is_bool($value) || \is_null($value) || \is_array($value) || (\is_string($value) && '' == $value) || (\strval(\intval($value)) !== \strval($value) && \strval(\intval($value)) !== \strval(\ltrim($value, '0')) && '' !== \strval(\intval($value)) && '' !== \strval(\ltrim($value, '0')))) { /**/ }
/auth/ldap/auth.php:20271if($ldapconnection = ldap_connect_moodle($this->config->host_url, $this->config->ldap_version, $this->config->user_type, $this->config->bind_dn, $this->config->bind_pw, $this->config->opt_deref, $debuginfo, $this->config->start_tls)) { /**/ }
/admin/settings/users.php:91if($hassiteconfig or has_capability('moodle/user:create', $systemcontext) or has_capability('moodle/user:update', $systemcontext) or has_capability('moodle/user:delete', $systemcontext) or has_capability('moodle/role:manage', $systemcontext) or has_capability('moodle/role:assign', $systemcontext) or has_capability('moodle/cohort:manage', $systemcontext) or has_capability('moodle/cohort:view', $systemcontext)) { /**/ }
/auth/ldap/auth.php:16771if(($_SERVER['REQUEST_METHOD'] === 'GET' || ($_SERVER['REQUEST_METHOD'] === 'POST' && (get_local_referer( ) != strip_querystring(qualified_me( ))))) && !empty($this->config->ntlmsso_enabled) && !empty($this->config->ntlmsso_subnet) && empty($_GET['authldap_skipntlmsso']) && (isguestuser( ) || !isloggedin( )) && address_in_subnet(getremoteaddr( ), $this->config->ntlmsso_subnet)) { /**/ }
/auth/ldap/auth.php:16921if($referer && $referer != $CFG->wwwroot && $referer != $CFG->wwwroot . '/' && $referer != $CFG->wwwroot . '/login/' && $referer != $CFG->wwwroot . '/login/index.php') { /**/ }
/admin/tool/xmldb/actions/main_view/main_view.class.php:2291if($dbdir->path_exists && file_exists($key . '/install.xml') && is_readable($key . '/install.xml') && is_writeable($key) && !empty($dbdir->xml_loaded) && !empty($dbdir->xml_changed)) { /**/ } else { /**/ }
/admin/tool/xmldb/actions/main_view/main_view.class.php:2871if($dbdir->path_exists && file_exists($key . '/install.xml') && !empty($dbdir->xml_loaded) && !empty($dbdir->xml_changed) && (!is_writeable($key . '/install.xml') || !is_writeable($key))) { /**/ }
/admin/presets/classes/manager.php:9691if(!$DB->get_records('adminpresets_app_it', ['adminpresetapplyid' => $presetappid]) && !$DB->get_records('adminpresets_app_it_a', ['adminpresetapplyid' => $presetappid]) && !$DB->get_records('adminpresets_app_plug', ['adminpresetapplyid' => $presetappid])) { /**/ }
/admin/tool/xmldb/actions/main_view/main_view.class.php:1931if($dbdir->path_exists && file_exists($key . '/install.xml') && is_writeable($key . '/install.xml') && is_writeable($key) && !empty($dbdir->xml_loaded) && !empty($dbdir->xml_changed)) { /**/ } else { /**/ }
/calendar/lib.php:20661if(!($startdate['year'] * 13 + $startdate['mon'] <= $year * 13 + $month) && ($enddate['year'] * 13 + $enddate['mon'] >= $year * 13 + $month)) { /**/ }
/calendar/externallib.php:3471if((($eventobj->courseid == $SITE->id) && (empty($eventobj->categoryid))) || (!empty($eventobj->categoryid) && isset($categories[$eventobj->categoryid])) || (!empty($eventobj->groupid) && in_array($eventobj->groupid, $groups)) || (!empty($eventobj->courseid) && in_array($eventobj->courseid, $courses)) || ($USER->id == $eventobj->userid) || (calendar_edit_event_allowed($eventobj))) { /**/ } else { /**/ }
/calendar/lib.php:18691if(($datestamp['year'] == $datenow['year'] && $datestamp['yday'] == $datenow['yday'] - 1) || ($datestamp['year'] == $datenow['year'] - 1 && $datestamp['mday'] == 31 && $datestamp['mon'] == 12 && $datenow['yday'] == 1)) { /**/ } else /**//*B*/ ?>
/calendar/lib.php:18731if(($datestamp['year'] == $datenow['year'] && $datestamp['yday'] == $datenow['yday'] + 1) || ($datestamp['year'] == $datenow['year'] + 1 && $datenow['mday'] == 31 && $datenow['mon'] == 12 && $datestamp['yday'] == 1)) { /**/ } else { /**/ }
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:43331if((($this->_getNodeType($this->_rebroadcast_nodes[$i]) == self::HOSTNAME) && !empty($dns) && (stripos($this->_rebroadcast_nodes[$i], $dns) === false)) || (($this->_getNodeType($this->_rebroadcast_nodes[$i]) == self::IP) && !empty($ip) && (stripos($this->_rebroadcast_nodes[$i], $ip) === false))) { /**/ } else { /**/ }
/auth/ldap/auth.php:2211if(!$ldap_login && ($this->config->user_type == 'ad') && $this->can_change_password( ) && (!empty($this->config->expiration) and ($this->config->expiration == 1))) { /**/ }
/calendar/classes/rrule_manager.php:6761if(!empty($this->bysetpos) && empty($this->bymonth) && empty($this->bymonthday) && empty($this->bysecond) && empty($this->byday) && empty($this->byweekno) && empty($this->byhour) && empty($this->byminute) && empty($this->byyearday)) { /**/ }
/customfield/field/textarea/lib.php:491if($field->get('type') !== 'textarea' || !$handler->can_view($field, $data->get('instanceid')) || $data->get_context( )->id != $context->id) { /**/ }
/question/engine/upgrade/behaviourconverters.php:5191if(!$this->qtypeupdater->compare_answers($this->finishstate->answer, $state->answer) || $this->finishstate->grade != $state->grade || $this->finishstate->raw_grade != $state->raw_grade || $this->finishstate->penalty != $state->penalty) { /**/ } else { /**/ }
/question/engine/upgrade/behaviourconverters.php:3541if($this->finishstate->answer != $state->answer || $this->finishstate->grade != $state->grade || $this->finishstate->raw_grade != $state->raw_grade || $this->finishstate->penalty != $state->penalty) { /**/ } else { /**/ }
/search/engine/solr/classes/schema.php:2631if($results->field->type !== $expectedsolrfield || $results->field->multiValued !== false || $results->field->indexed !== $data['indexed'] || $results->field->stored !== $data['stored']) { /**/ } else { /**/ }
/search/engine/solr/classes/schema.php:2561if(empty($results->field) || !isset($results->field->type) || !isset($results->field->multiValued) || !isset($results->field->indexed) || !isset($results->field->stored)) { /**/ } else /**//*B*/ ?>
/lib/accesslib.php:4361if($SCRIPT === "/$CFG->admin/index.php" or $SCRIPT === "/$CFG->admin/cli/install.php" or $SCRIPT === "/$CFG->admin/cli/install_database.php" or (defined('BEHAT_UTIL') and BEHAT_UTIL) or (defined('PHPUNIT_UTIL') and PHPUNIT_UTIL)) { /**/ } else { /**/ }
/cohort/upload_form.php:5021if((core_text::strtolower(trim($hash['context'])) === core_text::strtolower($systemcontext->get_context_name( ))) || ('' . $hash['context'] === '' . $systemcontext->id)) { /**/ } else { /**/ }
/lib/myprofilelib.php:1491if($iscurrentuser or (!isset($hiddenfields['email']) and ($user->maildisplay == core_user::MAILDISPLAY_EVERYONE or ($user->maildisplay == core_user::MAILDISPLAY_COURSE_MEMBERS_ONLY and enrol_sharing_course($user, $USER)) or has_capability('moodle/course:useremail', $courseorusercontext))) or (isset($identityfields['email']))) { /**/ }
/lib/accesslib.php:47391if(($compsa[0] == 'gradeexport' || $compsa[0] == 'gradeimport' || $compsa[0] == 'gradereport') && ($compsb[0] == 'gradeexport' || $compsb[0] == 'gradeimport' || $compsb[0] == 'gradereport')) { /**/ }
/mnet/xmlrpc/server.php:781if((($remoteclient->request_was_encrypted == true) && ($remoteclient->signatureok == true)) || (($method == 'system.keyswap') || ($method == 'system/keyswap')) || (($remoteclient->signatureok == true) && ($remoteclient->plaintext_is_ok( ) == true))) { /**/ }
/blog/locallib.php:7301if(!empty($this->filters['user']) && has_capability('moodle/user:readuserblogs', context_user::instance((empty($this->filters['user']->id) ? 0 : $this->filters['user']->id)))) { /**/ } else { /**/ }
/question/type/multianswer/edit_multianswer_form.php:2441if(($this->negativediff > 0 || $this->usedinquiz && ($this->negativediff > 0 || $this->negativediff < 0 || $this->qtypechange)) && $this->reload) { /**/ } else { /**/ }
/question/type/multianswer/edit_multianswer_form.php:1541if(isset($this->savedquestiondisplay->options->questions[$sub]->qtype) && $this->savedquestiondisplay->options->questions[$sub]->qtype != $this->questiondisplay->options->questions[$sub]->qtype && $this->savedquestiondisplay->options->questions[$sub]->qtype != 'subquestion_replacement') { /**/ }
/question/type/ddmarker/shapes.php:3741if($this->coords[count($this->coords) - 1][0] == $this->coords[0][0] && $this->coords[count($this->coords) - 1][1] == $this->coords[0][1]) { /**/ }
/question/type/multianswer/edit_multianswer_form.php:4671if(($this->negativediff > 0 || $this->usedinquiz && ($this->negativediff > 0 || $this->negativediff < 0 || $this->qtypechange)) && !$this->confirm) { /**/ }
/question/type/calculatedsimple/edit_calculatedsimple_form.php:1901if($this->datasetdefs[$def]->calcmin != $regs[2] || $this->datasetdefs[$def]->calcmax != $regs[3] || $this->datasetdefs[$def]->calclength != $regs[4]) { /**/ }
/question/type/calculated/questiontype.php:8171if(isset($datasetdefs[$defid]) && is_numeric($form->calcmin[$key + 1]) && is_numeric($form->calcmax[$key + 1]) && is_numeric($form->calclength[$key + 1])) { /**/ }
/grade/edit/outcome/export.php:961if(strpos($value, $delimiter) !== false || strpos($value, $enclosure) !== false || strpos($value, "\n") !== false || strpos($value, "\r") !== false || strpos($value, "\t") !== false || strpos($value, ' ') !== false) { /**/ } else { /**/ }
/grade/report/lib.php:6861if(array_key_exists($course_item->id, $hiding_affected['altered']) || array_key_exists($course_item->id, $hiding_affected['alteredgrademin']) || array_key_exists($course_item->id, $hiding_affected['alteredgrademax']) || array_key_exists($course_item->id, $hiding_affected['alteredaggregationstatus']) || array_key_exists($course_item->id, $hiding_affected['alteredaggregationweight'])) { /**/ } else /**//*B*/ ?>