From c7e1f825a0f4a32c9987a4cae718ed800ff38244 Mon Sep 17 00:00:00 2001 From: William Knauss Date: Wed, 5 Feb 2014 18:41:21 -0500 Subject: [PATCH] save documentation --- parsecsv.lib.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/parsecsv.lib.php b/parsecsv.lib.php index cae764b..f09ab11 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -248,12 +248,15 @@ class parseCSV { } /** - * Save changes, or new file and/or data - * @param file file to save to - * @param data 2D array with data - * @param append append current data to end of target CSV if exists - * @param fields field names - * @return true or false + * Save + * Save changes, or write a new file and/or data + * + * @access public + * @param [string] $file File location to save to + * @param [array] $data 2D array of data + * @param [bool] $append Append current data to end of target CSV, if file exists + * @param [array] $fields Field names + * @return [bool] */ public function save ($file = null, $data = array(), $append = false, $fields = array()) { if (empty($file)) {