summaryrefslogtreecommitdiffstats
path: root/lib/fileproxy.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-08 16:39:21 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-08 21:38:10 +0200
commit7c5c257bf69f77cea599bdf641676977009ee162 (patch)
tree55d9924e0144e42b37c0449baa9411a30603de01 /lib/fileproxy.php
parent0a49bae87aecef9f6d51007fe02a5071b2f662a4 (diff)
downloadnextcloud-server-7c5c257bf69f77cea599bdf641676977009ee162.tar.gz
nextcloud-server-7c5c257bf69f77cea599bdf641676977009ee162.zip
Comment layout and spelling fixes
Diffstat (limited to 'lib/fileproxy.php')
-rw-r--r--lib/fileproxy.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/fileproxy.php b/lib/fileproxy.php
index 70db9cca23c..180284f73de 100644
--- a/lib/fileproxy.php
+++ b/lib/fileproxy.php
@@ -27,14 +27,17 @@
* Manipulation happens by using 2 kind of proxy operations, pre and post proxies
* that manipulate the filesystem call and the result of the call respectively
*
- * A pre-proxy recieves the filepath as arugments (or 2 filespaths in case of operations like copy or move) and return a boolean
- * If a pre-proxy returnes false the file operation will be canceled
+ * A pre-proxy recieves the filepath as arugments (or 2 filespaths in case of
+ * operations like copy or move) and return a boolean
+ * If a pre-proxy returns false the file operation will be canceled
* All filesystem operations have a pre-proxy
*
* A post-proxy recieves 2 arguments, the filepath and the result of the operation.
- * The return calue of the post-proxy will be used as the new result of the operation
- * The operations that have a post-proxy are
- * file_get_contents, is_file, is_dir, file_exists, stat, is_readable, is_writable, fileatime, filemtime, filectime, file_get_contents, getMimeType, hash, fopen, free_space and search
+ * The return value of the post-proxy will be used as the new result of the operation
+ * The operations that have a post-proxy are:
+ * file_get_contents, is_file, is_dir, file_exists, stat, is_readable,
+ * is_writable, fileatime, filemtime, filectime, file_get_contents,
+ * getMimeType, hash, fopen, free_space and search
*/
class OC_FileProxy{
@@ -51,7 +54,7 @@ class OC_FileProxy{
}
/**
- * fallback function when a proxy operation is not implement
+ * fallback function when a proxy operation is not implemented
* @param string $function the name of the proxy operation
* @param mixed
*