fixed some comment typos

This commit is contained in:
Petr Skoda 2010-07-22 09:43:30 +00:00
parent 8664a86f2c
commit 792881f0fe
11 changed files with 21 additions and 21 deletions

View File

@ -2647,7 +2647,7 @@ function require_user_key_login($script, $instance=null) {
define('USER_KEY_LOGIN', true);
}
/// return isntance id - it might be empty
/// return instance id - it might be empty
return $key->instance;
}

View File

@ -2754,7 +2754,7 @@ class settings_navigation extends navigation_node {
}
/**
* Adds branches and links to the settings navigaiton to add course activities
* Adds branches and links to the settings navigation to add course activities
* and resources.
*
* @param stdClass $course

View File

@ -2990,7 +2990,7 @@ function question_get_toggleflag_checksum($attemptid, $questionid, $sessionid, $
}
/**
* Adds question bank setting links to the given navigaiton node if caps are met.
* Adds question bank setting links to the given navigation node if caps are met.
*
* @param navigation_node $navigationnode The navigation node to add the question branch to
* @param stdClass $context

View File

@ -226,7 +226,7 @@ function folder_get_file_areas($course, $cm, $context) {
}
/**
* File browsing support for folder module ontent area.
* File browsing support for folder module content area.
* @param object $browser
* @param object $areas
* @param object $course
@ -278,7 +278,7 @@ function folder_get_file_info($browser, $areas, $course, $cm, $context, $fileare
* @param string $filearea
* @param array $args
* @param bool $forcedownload
* @return bool false if file not found, does not return if found - justsend the file
* @return bool false if file not found, does not return if found - just send the file
*/
function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload) {
global $CFG, $DB;
@ -309,7 +309,7 @@ function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -317,7 +317,7 @@ function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
* @param navigation_node $navigation The folder node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function folder_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -2976,7 +2976,7 @@ function hotpot_reset_course_form_defaults($course) {
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -2984,7 +2984,7 @@ function hotpot_reset_course_form_defaults($course) {
* @param navigation_node $navigation The hotpot node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function hotpot_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -374,7 +374,7 @@ function imscp_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -382,7 +382,7 @@ function imscp_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
* @param navigation_node $navigation The imscp node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function imscp_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -771,7 +771,7 @@ function lesson_supports($feature) {
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -779,7 +779,7 @@ function lesson_supports($feature) {
* @param navigation_node $navigation The lesson node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function lesson_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -1590,7 +1590,7 @@ function quiz_get_extra_capabilities() {
}
/**
* This fucntion extends the global navigaiton for the site.
* This fucntion extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -1598,7 +1598,7 @@ function quiz_get_extra_capabilities() {
* @param navigation_node $quiznode The quiz node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function quiz_extend_navigation($quiznode, $course, $module, $cm) {
global $CFG;

View File

@ -924,7 +924,7 @@ function scorm_supports($feature) {
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -932,7 +932,7 @@ function scorm_supports($feature) {
* @param navigation_node $navigation The scorm node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function scorm_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -802,7 +802,7 @@ function survey_supports($feature) {
}
/**
* This fucntion extends the global navigaiton for the site.
* This fucntion extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -810,7 +810,7 @@ function survey_supports($feature) {
* @param navigation_node $navigation The quiz node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function survey_extend_navigation($navigation, $course, $module, $cm) {
/**

View File

@ -288,7 +288,7 @@ function url_get_coursemodule_info($coursemodule) {
}
/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
@ -296,7 +296,7 @@ function url_get_coursemodule_info($coursemodule) {
* @param navigation_node $navigation The url node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function url_extend_navigation($navigation, $course, $module, $cm) {
/**