mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
fixed a few spelling problems and standardised stdClass
This commit is contained in:
parent
1c5765dd7a
commit
5924db724d
28 changed files with 151 additions and 151 deletions
|
@ -60,7 +60,7 @@ function workshop_supports($feature) {
|
|||
* will save a new instance and return the id number
|
||||
* of the new instance.
|
||||
*
|
||||
* @param stdclass $workshop An object from the form in mod_form.php
|
||||
* @param stdClass $workshop An object from the form in mod_form.php
|
||||
* @return int The id of the newly inserted workshop record
|
||||
*/
|
||||
function workshop_add_instance(stdclass $workshop) {
|
||||
|
@ -111,7 +111,7 @@ function workshop_add_instance(stdclass $workshop) {
|
|||
* (defined by the form in mod_form.php) this function
|
||||
* will update an existing instance with new data.
|
||||
*
|
||||
* @param stdclass $workshop An object from the form in mod_form.php
|
||||
* @param stdClass $workshop An object from the form in mod_form.php
|
||||
* @return bool success
|
||||
*/
|
||||
function workshop_update_instance(stdclass $workshop) {
|
||||
|
@ -311,7 +311,7 @@ function workshop_user_complete($course, $user, $mod, $workshop) {
|
|||
* that has occurred in workshop activities and print it out.
|
||||
* Return true if there was output, or false is there was none.
|
||||
*
|
||||
* @param stdclass $course
|
||||
* @param stdClass $course
|
||||
* @param bool $viewfullnames
|
||||
* @param int $timestart
|
||||
* @return boolean
|
||||
|
@ -1015,9 +1015,9 @@ function workshop_get_extra_capabilities() {
|
|||
* Needed by grade_update_mod_grades() in lib/gradelib.php. Also used by
|
||||
* {@link workshop_update_grades()}.
|
||||
*
|
||||
* @param stdclass $workshop instance object with extra cmidnumber and modname property
|
||||
* @param stdclass $submissiongrades data for the first grade item
|
||||
* @param stdclass $assessmentgrades data for the second grade item
|
||||
* @param stdClass $workshop instance object with extra cmidnumber and modname property
|
||||
* @param stdClass $submissiongrades data for the first grade item
|
||||
* @param stdClass $assessmentgrades data for the second grade item
|
||||
* @return void
|
||||
*/
|
||||
function workshop_grade_item_update(stdclass $workshop, $submissiongrades=null, $assessmentgrades=null) {
|
||||
|
@ -1047,7 +1047,7 @@ function workshop_grade_item_update(stdclass $workshop, $submissiongrades=null,
|
|||
*
|
||||
* Needed by grade_update_mod_grades() in lib/gradelib.php
|
||||
*
|
||||
* @param stdclass $workshop instance object with extra cmidnumber and modname property
|
||||
* @param stdClass $workshop instance object with extra cmidnumber and modname property
|
||||
* @param int $userid update grade of specific user only, 0 means all participants
|
||||
* @return void
|
||||
*/
|
||||
|
@ -1106,9 +1106,9 @@ function workshop_update_grades(stdclass $workshop, $userid=0) {
|
|||
* The file area workshop_intro for the activity introduction field is added automatically
|
||||
* by {@link file_browser::get_file_info_context_module()}
|
||||
*
|
||||
* @param stdclass $course
|
||||
* @param stdclass $cm
|
||||
* @param stdclass $context
|
||||
* @param stdClass $course
|
||||
* @param stdClass $cm
|
||||
* @param stdClass $context
|
||||
* @return array of [(string)filearea] => (string)description
|
||||
*/
|
||||
function workshop_get_file_areas($course, $cm, $context) {
|
||||
|
@ -1132,9 +1132,9 @@ function workshop_get_file_areas($course, $cm, $context) {
|
|||
* Besides that, areas workshop_instructauthors and mod_workshop instructreviewers contain the media
|
||||
* embedded using the mod_form.php.
|
||||
*
|
||||
* @param stdclass $course
|
||||
* @param stdclass $cm
|
||||
* @param stdclass $context
|
||||
* @param stdClass $course
|
||||
* @param stdClass $cm
|
||||
* @param stdClass $context
|
||||
* @param string $filearea
|
||||
* @param array $args
|
||||
* @param bool $forcedownload
|
||||
|
@ -1216,11 +1216,11 @@ function workshop_pluginfile($course, $cm, $context, $filearea, array $args, $fo
|
|||
/**
|
||||
* File browsing support for workshop file areas
|
||||
*
|
||||
* @param stdclass $browser
|
||||
* @param stdclass $areas
|
||||
* @param stdclass $course
|
||||
* @param stdclass $cm
|
||||
* @param stdclass $context
|
||||
* @param stdClass $browser
|
||||
* @param stdClass $areas
|
||||
* @param stdClass $course
|
||||
* @param stdClass $cm
|
||||
* @param stdClass $context
|
||||
* @param string $filearea
|
||||
* @param int $itemid
|
||||
* @param string $filepath
|
||||
|
@ -1301,9 +1301,9 @@ function workshop_get_file_info($browser, $areas, $course, $cm, $context, $filea
|
|||
* This can be called by an AJAX request so do not rely on $PAGE as it might not be set up properly.
|
||||
*
|
||||
* @param navigation_node $navref An object representing the navigation tree node of the workshop module instance
|
||||
* @param stdclass $course
|
||||
* @param stdclass $module
|
||||
* @param stdclass $cm
|
||||
* @param stdClass $course
|
||||
* @param stdClass $module
|
||||
* @param stdClass $cm
|
||||
*/
|
||||
function workshop_extend_navigation(navigation_node $navref, stdclass $course, stdclass $module, stdclass $cm) {
|
||||
global $CFG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue