summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-03 16:35:52 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-03 16:35:52 +0100
commita322989d6e24f381df56dea2428c29d4d185d6b5 (patch)
tree7a1452165ebb53b777a725332cd8801fc6fa49b3 /user_guide_src/source
parenteb21ac8e9b85b681bc03b935955b3fbfa9b0db1e (diff)
[ci skip] Add missing docs for CI_FTP::changedir()
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/libraries/ftp.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/ftp.rst b/user_guide_src/source/libraries/ftp.rst
index 1b1a45e36..c587869db 100644
--- a/user_guide_src/source/libraries/ftp.rst
+++ b/user_guide_src/source/libraries/ftp.rst
@@ -273,6 +273,17 @@ Class Reference
// Chmod "bar" to 777
$this->ftp->chmod('/public_html/foo/bar/', DIR_WRITE_MODE);
+ .. method:: changedir($path[, $suppress_debug = FALSE])
+
+ :param string $path: Directory path
+ :param bool $suppress_debug: Whether to turn off debug messages for this command
+ :returns: bool
+
+ Changes the current working directory to the specified path.
+
+ The ``$suppress_debug`` parameter is useful in case you want to use this method
+ as an ``is_dir()`` alternative for FTP.
+
.. method:: close()
:returns: bool