MDL-42309 typo: fix reponse -> response throughout Moodle.
This commit is contained in:
@@ -1370,7 +1370,7 @@ class CASClient
|
||||
|
||||
/**
|
||||
* This method is used to validate a ST; halt on failure, and sets $validate_url,
|
||||
* $text_reponse and $tree_response on success. These parameters are used later
|
||||
* $text_response and $tree_response on success. These parameters are used later
|
||||
* by CASClient::validatePGT() for CAS proxies.
|
||||
* Used for all CAS 1.0 validations
|
||||
* @param $validate_url the URL of the request to the CAS server.
|
||||
@@ -1500,7 +1500,7 @@ class CASClient
|
||||
|
||||
/**
|
||||
* This method is used to validate a SAML TICKET; halt on failure, and sets $validate_url,
|
||||
* $text_reponse and $tree_response on success. These parameters are used later
|
||||
* $text_response and $tree_response on success. These parameters are used later
|
||||
* by CASClient::validatePGT() for CAS proxies.
|
||||
*
|
||||
* @param $validate_url the URL of the request to the CAS server.
|
||||
|
||||
+2
-2
@@ -229,7 +229,7 @@ class webdav_client {
|
||||
*
|
||||
* Creates a new collection/directory on a webdav server
|
||||
* @param string path
|
||||
* @return int status code received as reponse from webdav server (see rfc 2518)
|
||||
* @return int status code received as response from webdav server (see rfc 2518)
|
||||
*/
|
||||
function mkcol($path) {
|
||||
$this->_path = $this->translate_uri($path);
|
||||
@@ -1444,7 +1444,7 @@ EOD;
|
||||
/**
|
||||
* Private method get_respond
|
||||
*
|
||||
* Reads the reponse from the webdav server.
|
||||
* Reads the response from the webdav server.
|
||||
*
|
||||
* Stores data into class vars _header for the header data and
|
||||
* _body for the rest of the response.
|
||||
|
||||
@@ -39,7 +39,7 @@ class quiz_responses_options extends mod_quiz_attempts_report_options {
|
||||
/** @var bool whether to show the question text columns. */
|
||||
public $showqtext = false;
|
||||
|
||||
/** @var bool whether to show the students' reponse columns. */
|
||||
/** @var bool whether to show the students' response columns. */
|
||||
public $showresponses = true;
|
||||
|
||||
/** @var bool whether to show the correct response columns. */
|
||||
|
||||
@@ -446,7 +446,7 @@ class question_display_options {
|
||||
|
||||
/**
|
||||
* For questions with a number of sub-parts (like matching, or
|
||||
* multiple-choice, multiple-reponse) display the number of sub-parts that
|
||||
* multiple-choice, multiple-response) display the number of sub-parts that
|
||||
* were correct.
|
||||
* @var integer {@link question_display_options::HIDDEN} or
|
||||
* {@link question_display_options::VISIBLE}
|
||||
|
||||
@@ -976,7 +976,7 @@ class question_attempt {
|
||||
* @param array $postdata (optional, only inteded for testing use) take the
|
||||
* data from this array, instead of from $_POST. At the moment, this
|
||||
* behaves as if there were no files.
|
||||
* @param string $text optional reponse text.
|
||||
* @param string $text optional response text.
|
||||
* @return question_file_saver that can be used to save the files later.
|
||||
*/
|
||||
protected function process_response_files($name, $draftidname, $postdata = null, $text = null) {
|
||||
|
||||
@@ -211,7 +211,7 @@ class qtype_essay_format_editor_renderer extends plugin_renderer_base {
|
||||
$formats[$fid] = $strformats[$fid];
|
||||
}
|
||||
|
||||
list($draftitemid, $reponse) = $this->prepare_response_for_editing(
|
||||
list($draftitemid, $response) = $this->prepare_response_for_editing(
|
||||
$name, $step, $context);
|
||||
|
||||
$editor->use_editor($id, $this->get_editor_options($context),
|
||||
@@ -221,7 +221,7 @@ class qtype_essay_format_editor_renderer extends plugin_renderer_base {
|
||||
$output .= html_writer::start_tag('div', array('class' =>
|
||||
$this->class_name() . ' qtype_essay_response'));
|
||||
|
||||
$output .= html_writer::tag('div', html_writer::tag('textarea', s($reponse),
|
||||
$output .= html_writer::tag('div', html_writer::tag('textarea', s($response),
|
||||
array('id' => $id, 'name' => $inputname, 'rows' => $lines, 'cols' => 60)));
|
||||
|
||||
$output .= html_writer::start_tag('div');
|
||||
|
||||
@@ -55,7 +55,7 @@ The first unit (Unit 1) has a default multiplier of 1. Thus if the correct numer
|
||||
If you add the unit kW with a multiplier of 0.001, this will add a correct response of 5.5 kW. This means that the answers 5500W or 5.5kW would be marked correct.
|
||||
|
||||
Note that the accepted error is also multiplied, so an allowed error of 100W would become an error of 0.1kW.';
|
||||
$string['manynumerical'] = 'Units are optional. If a unit is entered, it is used to convert the reponse to Unit 1 before grading.';
|
||||
$string['manynumerical'] = 'Units are optional. If a unit is entered, it is used to convert the response to Unit 1 before grading.';
|
||||
$string['nominal'] = 'Nominal';
|
||||
$string['onlynumerical'] = 'Units are not used at all. Only the numerical value is graded.';
|
||||
$string['oneunitshown'] = 'Unit 1 is automatically displayed beside the answer box.';
|
||||
|
||||
@@ -129,7 +129,7 @@ class question_type {
|
||||
* method, and the question_definition class must implement the
|
||||
* classify_response method.
|
||||
*
|
||||
* @return bool whether this report can analyse all the student reponses
|
||||
* @return bool whether this report can analyse all the student responses
|
||||
* for things like the quiz statistics report.
|
||||
*/
|
||||
public function can_analyse_responses() {
|
||||
|
||||
@@ -131,7 +131,7 @@ abstract class qtype_renderer extends plugin_renderer_base {
|
||||
|
||||
/**
|
||||
* Generate the specific feedback. This is feedback that varies according to
|
||||
* the reponse the student gave.
|
||||
* the response the student gave.
|
||||
* @param question_attempt $qa the question attempt to display.
|
||||
* @return string HTML fragment.
|
||||
*/
|
||||
@@ -158,7 +158,7 @@ abstract class qtype_renderer extends plugin_renderer_base {
|
||||
|
||||
/**
|
||||
* Gereate the specific feedback. This is feedback that varies according to
|
||||
* the reponse the student gave.
|
||||
* the response the student gave.
|
||||
* @param question_attempt $qa the question attempt to display.
|
||||
* @return string HTML fragment.
|
||||
*/
|
||||
|
||||
@@ -206,7 +206,7 @@ class Moodle_Amf_Server extends Zend_Amf_Server{
|
||||
// create a response object to place the output from the services.
|
||||
$response = $this->getResponse();
|
||||
|
||||
// set reponse encoding
|
||||
// set response encoding
|
||||
$response->setObjectEncoding($objectEncoding);
|
||||
|
||||
$responseBody = $request->getAmfBodies();
|
||||
|
||||
Reference in New Issue
Block a user