[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Reader/ -> 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: 415 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Reader_CSV:: (18 methods):
  __construct()
  _isValidFormat()
  setInputEncoding()
  getInputEncoding()
  _skipBOM()
  listWorksheetInfo()
  load()
  loadIntoExisting()
  getDelimiter()
  setDelimiter()
  getEnclosure()
  setEnclosure()
  getLineEnding()
  setLineEnding()
  getSheetIndex()
  setSheetIndex()
  setContiguous()
  getContiguous()


Class: PHPExcel_Reader_CSV  - X-Ref

PHPExcel_Reader_CSV

__construct()   X-Ref
Create a new PHPExcel_Reader_CSV


_isValidFormat()   X-Ref
Validate that the current file is a CSV file

return: boolean

setInputEncoding($pValue = 'UTF-8')   X-Ref
Set input encoding

param: string $pValue Input encoding

getInputEncoding()   X-Ref
Get input encoding

return: string

_skipBOM()   X-Ref
Move filepointer past any BOM marker


listWorksheetInfo($pFilename)   X-Ref
Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns)

param: string         $pFilename

load($pFilename)   X-Ref
Loads PHPExcel from file

param: string         $pFilename
return: PHPExcel

loadIntoExisting($pFilename, PHPExcel $objPHPExcel)   X-Ref
Loads PHPExcel from file into PHPExcel instance

param: string         $pFilename
param: PHPExcel    $objPHPExcel
return: PHPExcel

getDelimiter()   X-Ref
Get delimiter

return: string

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

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

getEnclosure()   X-Ref
Get enclosure

return: string

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

param: string    $pValue        Enclosure, defaults to "
return: PHPExcel_Reader_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_Reader_CSV

getSheetIndex()   X-Ref
Get sheet index

return: integer

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

param: integer        $pValue        Sheet index
return: PHPExcel_Reader_CSV

setContiguous($contiguous = FALSE)   X-Ref
Set Contiguous

param: boolean $contiguous

getContiguous()   X-Ref
Get Contiguous

return: boolean



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