mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
save documentation
This commit is contained in:
@@ -248,12 +248,15 @@ class parseCSV {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save changes, or new file and/or data
|
* Save
|
||||||
* @param file file to save to
|
* Save changes, or write a new file and/or data
|
||||||
* @param data 2D array with data
|
*
|
||||||
* @param append append current data to end of target CSV if exists
|
* @access public
|
||||||
* @param fields field names
|
* @param [string] $file File location to save to
|
||||||
* @return true or false
|
* @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()) {
|
public function save ($file = null, $data = array(), $append = false, $fields = array()) {
|
||||||
if (empty($file)) {
|
if (empty($file)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user