PHPExcel_Reader
[ class tree: PHPExcel_Reader ] [ index: PHPExcel_Reader ] [ all elements ]

Class: PHPExcel_Reader_CSV

Source Location: /PHPExcel/Reader/CSV.php

Class Overview


PHPExcel_Reader_CSV


Author(s):

Copyright:

  • Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

Variables

Methods



Class Details

[line 49]
PHPExcel_Reader_CSV

PHPExcel_Reader_CSV




Tags:

copyright:  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)


[ Top ]


Class Variables

$_delimiter =

[line 56]

Delimiter

Delimiter




Tags:

access:  private

Type:   string


[ Top ]

$_enclosure =

[line 63]

Enclosure

Enclosure




Tags:

access:  private

Type:   string


[ Top ]

$_lineEnding =

[line 70]

Line ending

Line ending




Tags:

access:  private

Type:   string


[ Top ]

$_sheetIndex =

[line 77]

Sheet index to read

Sheet index to read




Tags:

access:  private

Type:   int


[ Top ]



Class Methods


constructor __construct [line 82]

PHPExcel_Reader_CSV __construct( )

Create a new PHPExcel_Reader_CSV

Create a new PHPExcel_Reader_CSV




Tags:

access:  public


[ Top ]

method getDelimiter [line 162]

string getDelimiter( )

Get delimiter

Get delimiter




Tags:

access:  public


[ Top ]

method getEnclosure [line 180]

string getEnclosure( )

Get enclosure

Get enclosure




Tags:

access:  public


[ Top ]

method getLineEnding [line 201]

string getLineEnding( )

Get line ending

Get line ending




Tags:

access:  public


[ Top ]

method getSheetIndex [line 219]

int getSheetIndex( )

Get sheet index

Get sheet index




Tags:

access:  public


[ Top ]

method load [line 95]

void load( string $pFilename)

Loads PHPExcel from file

Loads PHPExcel from file




Tags:

throws:  Exception
access:  public



Implementation of:
PHPExcel_Reader_IReader::load()
Loads PHPExcel from file

Parameters:

string   $pFilename  

[ Top ]

method loadIntoExisting [line 111]

void loadIntoExisting( string $pFilename, $objPHPExcel)

Loads PHPExcel from file into PHPExcel instance

Loads PHPExcel from file into PHPExcel instance




Tags:

throws:  Exception
access:  public


Parameters:

string   $pFilename  
PHPExcel   $objPHPExcel  

[ Top ]

method setDelimiter [line 171]

void setDelimiter( [string $pValue = ','])

Set delimiter

Set delimiter




Tags:

access:  public


Parameters:

string   $pValue   Delimiter, defaults to ,

[ Top ]

method setEnclosure [line 189]

void setEnclosure( [string $pValue = '"'])

Set enclosure

Set enclosure




Tags:

access:  public


Parameters:

string   $pValue   Enclosure, defaults to "

[ Top ]

method setLineEnding [line 210]

void setLineEnding( [string $pValue = PHP_EOL])

Set line ending

Set line ending




Tags:

access:  public


Parameters:

string   $pValue   Line ending, defaults to OS line ending (PHP_EOL)

[ Top ]

method setSheetIndex [line 228]

void setSheetIndex( [int $pValue = 0])

Set sheet index

Set sheet index




Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]


Documentation generated on Mon, 05 Jan 2009 20:36:44 +0100 by phpDocumentor 1.4.1