mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
fixed small comment typos
This commit is contained in:
parent
64fa9aa723
commit
83020ca026
@ -83,7 +83,7 @@ abstract class file_archive implements Iterator {
|
||||
/**
|
||||
* Add file into archive
|
||||
* @param string $localname name of file in archive
|
||||
* @param string $pathname localtion of file
|
||||
* @param string $pathname location of file
|
||||
* @return bool success
|
||||
*/
|
||||
public abstract function add_file_from_pathname($localname, $pathname);
|
||||
@ -151,7 +151,7 @@ abstract class file_archive implements Iterator {
|
||||
* please note that it may fail really badly.
|
||||
* The resulting file name is cleaned.
|
||||
*
|
||||
* @param strin $localname in anothe encoding
|
||||
* @param strin $localname in another encoding
|
||||
* @return string in utf-8
|
||||
*/
|
||||
protected function unmangle_pathname($localname) {
|
||||
@ -186,7 +186,7 @@ abstract class file_archive implements Iterator {
|
||||
//public abstract function next();
|
||||
|
||||
/**
|
||||
* Revinds back to the first file
|
||||
* Rewinds back to the first file
|
||||
* @return void
|
||||
*/
|
||||
//public abstract function rewind();
|
||||
|
@ -190,7 +190,7 @@ class zip_archive extends file_archive {
|
||||
/**
|
||||
* Add file into archive
|
||||
* @param string $localname name of file in archive
|
||||
* @param string $pathname localtion of file
|
||||
* @param string $pathname location of file
|
||||
* @return bool success
|
||||
*/
|
||||
public function add_file_from_pathname($localname, $pathname) {
|
||||
@ -310,7 +310,7 @@ class zip_archive extends file_archive {
|
||||
}
|
||||
|
||||
/**
|
||||
* Revinds back to the first file
|
||||
* Rewinds back to the first file
|
||||
* @return void
|
||||
*/
|
||||
public function rewind() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user