From 39b5371c32efa919dccb7e7183b4e259e257b8ce Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Jul 2010 18:08:36 +0000 Subject: [PATCH] docs spellchecker fixes --- backup/moodle2/backup_activity_task.class.php | 2 +- backup/moodle2/backup_custom_fields.php | 4 ++-- backup/moodle2/backup_plan_builder.class.php | 8 ++++---- backup/moodle2/backup_settingslib.php | 2 +- backup/moodle2/backup_stepslib.php | 16 ++++++++-------- backup/moodle2/backup_xml_transformer.class.php | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/backup/moodle2/backup_activity_task.class.php b/backup/moodle2/backup_activity_task.class.php index 934ee108a7f..2eb3433a5e8 100644 --- a/backup/moodle2/backup_activity_task.class.php +++ b/backup/moodle2/backup_activity_task.class.php @@ -108,7 +108,7 @@ abstract class backup_activity_task extends backup_task { // Create the activity directory $this->add_step(new create_taskbasepath_directory('create_activity_directory')); - // Generate the module.xml file, contaning general information for the + // Generate the module.xml file, containing general information for the // activity and from its related course_modules record and availability $this->add_step(new backup_module_structure_step('module_info', 'module.xml')); diff --git a/backup/moodle2/backup_custom_fields.php b/backup/moodle2/backup_custom_fields.php index ada8306362e..af7e07dbe92 100644 --- a/backup/moodle2/backup_custom_fields.php +++ b/backup/moodle2/backup_custom_fields.php @@ -78,7 +78,7 @@ class mnethosturl_final_element extends backup_final_element { * * This class overwrites the standard fill_values() method, so it gets intercepted * for each file record being set to xml, in order to copy, at the same file, the - * phisical file from moodle file storage to backup file storage + * physical file from moodle file storage to backup file storage * * TODO: Finish phpdocs */ @@ -104,6 +104,6 @@ class file_nested_element extends backup_nested_element { /** * Implementation of backup_optigroup_element to be used by subplugins stuff. - * Split just for better separation and future especialitation + * Split just for better separation and future specialisation */ class backup_subplugin_element extends backup_optigroup_element { } diff --git a/backup/moodle2/backup_plan_builder.class.php b/backup/moodle2/backup_plan_builder.class.php index 5e81d80d218..f030c4250e6 100644 --- a/backup/moodle2/backup_plan_builder.class.php +++ b/backup/moodle2/backup_plan_builder.class.php @@ -83,7 +83,7 @@ abstract class backup_plan_builder { break; } - // Add the final task, responsible for outputing + // Add the final task, responsible for outputting // all the global xml files (groups, users, // gradebook, questions, roles, files...) and // the main moodle_backup.xml file @@ -108,7 +108,7 @@ abstract class backup_plan_builder { $plan = $controller->get_plan(); - // Add the activity task, responsible for outputing + // Add the activity task, responsible for outputting // all the module related information $plan->add_task(backup_factory::get_backup_activity_task($controller->get_format(), $id)); @@ -126,7 +126,7 @@ abstract class backup_plan_builder { $plan = $controller->get_plan(); - // Add the section task, responsible for outputing + // Add the section task, responsible for outputting // all the section related information $plan->add_task(backup_factory::get_backup_section_task($controller->get_format(), $id)); @@ -148,7 +148,7 @@ abstract class backup_plan_builder { $plan = $controller->get_plan(); - // Add the course task, responsible for outputing + // Add the course task, responsible for outputting // all the course related information $plan->add_task(backup_factory::get_backup_course_task($controller->get_format(), $id)); diff --git a/backup/moodle2/backup_settingslib.php b/backup/moodle2/backup_settingslib.php index d73839d8c41..6614aee4e14 100644 --- a/backup/moodle2/backup_settingslib.php +++ b/backup/moodle2/backup_settingslib.php @@ -63,7 +63,7 @@ class backup_activities_setting extends backup_generic_setting {} /** * root setting to control if backup will generate anonymized * user info or no, depends of @backup_users_setting so only is - * availabe if the former is enabled (apart from security + * available if the former is enabled (apart from security * that can change it */ class backup_anonymize_setting extends root_backup_setting {} diff --git a/backup/moodle2/backup_stepslib.php b/backup/moodle2/backup_stepslib.php index 80703d4ac69..219cdf82bd6 100644 --- a/backup/moodle2/backup_stepslib.php +++ b/backup/moodle2/backup_stepslib.php @@ -43,7 +43,7 @@ class create_and_clean_temp_stuff extends backup_execution_step { /** * delete the temp dir used by backup/restore (conditionally), * delete old directories and drop tem ids table. Note we delete - * the directory but not the correspondig log file that will be + * the directory but not the corresponding log file that will be * there for, at least, 4 hours - only delete_old_backup_dirs() * deletes log files (for easier access to them) */ @@ -74,7 +74,7 @@ class create_taskbasepath_directory extends backup_execution_step { } /** - * Abtract tructure step, parent of all the activity structure steps. Used to wrap the + * Abstract structure step, parent of all the activity structure steps. Used to wrap the * activity structure definition within the main tag. Also provides * subplugin support for activities (that must be properly declared) */ @@ -108,7 +108,7 @@ abstract class backup_activity_structure_step extends backup_structure_step { $optigroup = new backup_optigroup($optigroupname, null, $multiple); $element->add_child($optigroup); // Add optigroup to stay connected since beginning - // Get all the optigroup_elements, looking across al the subplugin dirs + // Get all the optigroup_elements, looking across all the subplugin dirs $elements = array(); $subpluginsdirs = get_plugin_list($subplugintype); foreach ($subpluginsdirs as $name => $subpluginsdir) { @@ -150,7 +150,7 @@ abstract class backup_activity_structure_step extends backup_structure_step { } /** - * Abtract structure step, parent of all the block structure steps. Used to wrap the + * Abstract structure step, parent of all the block structure steps. Used to wrap the * block structure definition within the main tag */ abstract class backup_block_structure_step extends backup_structure_step { @@ -178,7 +178,7 @@ abstract class backup_block_structure_step extends backup_structure_step { /** * structure step that will generate the module.xml file for the activity, - * acummulating various information about the activity, annotating groupings + * accumulating various information about the activity, annotating groupings * and completion/avail conf */ class backup_module_structure_step extends backup_structure_step { @@ -222,7 +222,7 @@ class backup_module_structure_step extends backup_structure_step { } /** - * structure step that will genereate the section.xml file for the section + * structure step that will generate the section.xml file for the section * annotating files */ class backup_section_structure_step extends backup_structure_step { @@ -893,7 +893,7 @@ class backup_users_structure_step extends backup_structure_step { /** * structure step in charge of constructing the block.xml file for one - * given block (intance and positions). If the block has custom DB structure + * given block (instance and positions). If the block has custom DB structure * that will go to a separate file (different step defined in block class) */ class backup_block_instance_structure_step extends backup_structure_step { @@ -1294,7 +1294,7 @@ class backup_annotate_scales_from_outcomes extends backup_execution_step { /** * This step will generate all the user annotations for the already - * annottated (final) users. Need to do this here because each user + * annotated (final) users. Need to do this here because each user * has its own context and structure tasks only are able to handle * one context. Also, this step will guarantee that every user has * its context created (req for other steps) diff --git a/backup/moodle2/backup_xml_transformer.class.php b/backup/moodle2/backup_xml_transformer.class.php index 026d00390df..edd1010c27b 100644 --- a/backup/moodle2/backup_xml_transformer.class.php +++ b/backup/moodle2/backup_xml_transformer.class.php @@ -39,7 +39,7 @@ class backup_xml_transformer extends xml_contenttransformer { $this->absolute_links_encoders = array(); $this->courseid = $courseid; // Check if we support unicode modifiers in regular expressions - $this->unicoderegexp = @preg_match('/\pL/u', 'a'); // This will fail silenty, returning false, + $this->unicoderegexp = @preg_match('/\pL/u', 'a'); // This will fail silently, returning false, // if regexp libraries don't support unicode // Register all the available content link encoders $this->absolute_links_encoders = $this->register_link_encoders();