diff options
author | Urban Müller | 2008-12-15 04:47:22 +0000 |
---|---|---|
committer | Urban Müller | 2008-12-15 04:47:22 +0000 |
commit | 0cd524a1dc1b89ee62aabee262e6a03c1b1c7465 (patch) | |
tree | eca0cb9ec1efda343dd818da8e68f6f48af6681a /it.class | |
parent | a1045c9a5d80adaa5a8ad58e9c630c7e6a3e1a62 (diff) | |
download | itools-0cd524a1dc1b89ee62aabee262e6a03c1b1c7465.tar.gz itools-0cd524a1dc1b89ee62aabee262e6a03c1b1c7465.tar.bz2 itools-0cd524a1dc1b89ee62aabee262e6a03c1b1c7465.zip |
docs
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -685,6 +685,7 @@ function mail($p) * Reads a file and returns it as string or in one of several formats. Two params: filename and flags * @param $filename name of file to read or - for stdin * @param $p['keyval'] each line of the file is one tab-separated key/value pair, return assoc array + * @param $p['lines'] return file as array of lines without newline */ function file_get($filename, $p = array()) { @@ -710,6 +711,7 @@ function file_get($filename, $p = array()) * @param $filename name of file to write or - for stdout * @param $data data to write * @param $p['keyval'] $data must be an assoc array and is written as tab-separated lines + * @param $p['lines'] write array of lines, appending newline */ function file_put($filename, $data, $p = array()) { |