PHPExcel_Writer

# Class: PHPExcel_Writer_CSV Source Location: /PHPExcel/Writer/CSV.php
### Class Overview
PHPExcel_Writer_CSV #### Author(s): #### Copyright: Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel) Implements interfaces: PHPExcel_Writer_IWriter | ### Methods __construct getDelimiter getEnclosure getLineEnding getPreCalculateFormulas getSheetIndex getUseBOM save setDelimiter setEnclosure setLineEnding setPreCalculateFormulas setSheetIndex setUseBOM
### Class Details [line 36] PHPExcel_Writer_CSV #### Tags:
copyright: | Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Methods ### constructor __construct [line 91]
`PHPExcel_Writer_CSV __construct( $phpExcel)`
Create a new PHPExcel_Writer_CSV #### Tags:
access: | public
#### Parameters:
PHPExcel | $phpExcel | PHPExcel object
[ Top ] ### method getDelimiter [line 141]
`string getDelimiter( )`
Get delimiter #### Tags:
access: | public
[ Top ] ### method getEnclosure [line 161]
`string getEnclosure( )`
Get enclosure #### Tags:
access: | public
[ Top ] ### method getLineEnding [line 184]
`string getLineEnding( )`
Get line ending #### Tags:
access: | public
[ Top ] ### method getPreCalculateFormulas [line 284]
`boolean getPreCalculateFormulas( )`
Get Pre-Calculate Formulas #### Tags:
access: | public
[ Top ] ### method getSheetIndex [line 224]
`int getSheetIndex( )`
Get sheet index #### Tags:
access: | public
[ Top ] ### method getUseBOM [line 204]
`boolean getUseBOM( )`
Get whether BOM should be used #### Tags:
access: | public
[ Top ] ### method save [line 101]
`void save( [ $pFilename = null], string $pFileName)`
Save PHPExcel to file #### Tags:
throws: | Exception
access: | public
Implementation of: PHPExcel_Writer_IWriter::save() Save PHPExcel to file #### Parameters:
string | $pFileName |
| $pFilename |
[ Top ] ### method setDelimiter [line 151]
`PHPExcel_Writer_CSV setDelimiter( [string $pValue = ','])`
Set delimiter #### Tags:
access: | public
#### Parameters:
string | $pValue | Delimiter, defaults to ,
[ Top ] ### method setEnclosure [line 171]
`PHPExcel_Writer_CSV setEnclosure( [string $pValue = '"'])`
Set enclosure #### Tags:
access: | public
#### Parameters:
string | $pValue | Enclosure, defaults to "
[ Top ] ### method setLineEnding [line 194]
`PHPExcel_Writer_CSV setLineEnding( [string $pValue = PHP_EOL])`
Set line ending #### Tags:
access: | public
#### Parameters:
string | $pValue | Line ending, defaults to OS line ending (PHP_EOL)
[ Top ] ### method setPreCalculateFormulas [line 294]
`PHPExcel_Writer_CSV setPreCalculateFormulas( [boolean $pValue = true])`
Set Pre-Calculate Formulas #### Tags:
access: | public
#### Parameters:
boolean | $pValue | Pre-Calculate Formulas?
[ Top ] ### method setSheetIndex [line 234]
`PHPExcel_Writer_CSV setSheetIndex( [int $pValue = 0])`
Set sheet index #### Tags:
access: | public
#### Parameters:
int | $pValue | Sheet index
[ Top ] ### method setUseBOM [line 214]
`PHPExcel_Writer_CSV setUseBOM( [boolean $pValue = false])`
Set whether BOM should be used #### Tags:
access: | public
#### Parameters:
boolean | $pValue | Use UTF-8 byte-order mark? Defaults to false
[ Top ] Documentation generated on Sun, 27 Feb 2011 16:29:13 -0800 by phpDocumentor 1.4.3