[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Writer/ -> CSV.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 310 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Writer_CSV:: (15 methods):
  __construct()
  save()
  getDelimiter()
  setDelimiter()
  getEnclosure()
  setEnclosure()
  getLineEnding()
  setLineEnding()
  getUseBOM()
  setUseBOM()
  getExcelCompatibility()
  setExcelCompatibility()
  getSheetIndex()
  setSheetIndex()
  _writeLine()


Class: PHPExcel_Writer_CSV  - X-Ref

PHPExcel_Writer_CSV

__construct(PHPExcel $phpExcel)   X-Ref
Create a new PHPExcel_Writer_CSV

param: PHPExcel    $phpExcel    PHPExcel object

save($pFilename = null)   X-Ref
Save PHPExcel to file

param: string        $pFilename

getDelimiter()   X-Ref
Get delimiter

return: string

setDelimiter($pValue = ',')   X-Ref
Set delimiter

param: string    $pValue        Delimiter, defaults to ,
return: PHPExcel_Writer_CSV

getEnclosure()   X-Ref
Get enclosure

return: string

setEnclosure($pValue = '"')   X-Ref
Set enclosure

param: string    $pValue        Enclosure, defaults to "
return: PHPExcel_Writer_CSV

getLineEnding()   X-Ref
Get line ending

return: string

setLineEnding($pValue = PHP_EOL)   X-Ref
Set line ending

param: string    $pValue        Line ending, defaults to OS line ending (PHP_EOL)
return: PHPExcel_Writer_CSV

getUseBOM()   X-Ref
Get whether BOM should be used

return: boolean

setUseBOM($pValue = false)   X-Ref
Set whether BOM should be used

param: boolean    $pValue        Use UTF-8 byte-order mark? Defaults to false
return: PHPExcel_Writer_CSV

getExcelCompatibility()   X-Ref
Get whether the file should be saved with full Excel Compatibility

return: boolean

setExcelCompatibility($pValue = false)   X-Ref
Set whether the file should be saved with full Excel Compatibility

param: boolean    $pValue        Set the file to be written as a fully Excel compatible csv file
return: PHPExcel_Writer_CSV

getSheetIndex()   X-Ref
Get sheet index

return: int

setSheetIndex($pValue = 0)   X-Ref
Set sheet index

param: int        $pValue        Sheet index
return: PHPExcel_Writer_CSV

_writeLine($pFileHandle = null, $pValues = null)   X-Ref
Write line to CSV file

param: mixed    $pFileHandle    PHP filehandle
param: array    $pValues        Array containing values in a row



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1