From a322989d6e24f381df56dea2428c29d4d185d6b5 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Fri, 3 Jan 2014 17:35:52 +0200 Subject: [ci skip] Add missing docs for CI_FTP::changedir() --- user_guide_src/source/libraries/ftp.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- cgit v1.2.3-24-g4f1b