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 60]
PHPExcel_Reader_CSV

PHPExcel_Reader_CSV




Tags:

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


[ Top ]


Class Variables

$_delimiter =

[line 67]

Delimiter

Delimiter




Tags:

access:  private

Type:   string


[ Top ]

$_enclosure =

[line 74]

Enclosure

Enclosure




Tags:

access:  private

Type:   string


[ Top ]

$_lineEnding =

[line 81]

Line ending

Line ending




Tags:

access:  private

Type:   string


[ Top ]

$_readFilter =  null

[line 95]

PHPExcel_Reader_IReadFilter instance

PHPExcel_Reader_IReadFilter instance




Tags:

access:  private



[ Top ]

$_sheetIndex =

[line 88]

Sheet index to read

Sheet index to read




Tags:

access:  private

Type:   int


[ Top ]



Class Methods


constructor __construct [line 100]

PHPExcel_Reader_CSV __construct( )

Create a new PHPExcel_Reader_CSV

Create a new PHPExcel_Reader_CSV




Tags:

access:  public


[ Top ]

method canRead [line 114]

boolean canRead( $pFilename, string $pFileName)

Can the current PHPExcel_Reader_IReader read the file?

Can the current PHPExcel_Reader_IReader read the file?




Tags:

access:  public



Implementation of:
PHPExcel_Reader_IReader::canRead()
Can the current PHPExcel_Reader_IReader read the file?

Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

method getDelimiter [line 217]

string getDelimiter( )

Get delimiter

Get delimiter




Tags:

access:  public


[ Top ]

method getEnclosure [line 237]

string getEnclosure( )

Get enclosure

Get enclosure




Tags:

access:  public


[ Top ]

method getLineEnding [line 260]

string getLineEnding( )

Get line ending

Get line ending




Tags:

access:  public


[ Top ]

method getReadFilter [line 145]

PHPExcel_Reader_IReadFilter getReadFilter( )

Read filter

Read filter




Tags:

access:  public


[ Top ]

method getSheetIndex [line 280]

int getSheetIndex( )

Get sheet index

Get sheet index




Tags:

access:  public


[ Top ]

method load [line 131]

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 165]

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 227]

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

Set delimiter

Set delimiter




Tags:

access:  public


Parameters:

string   $pValue   Delimiter, defaults to ,

[ Top ]

method setEnclosure [line 247]

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

Set enclosure

Set enclosure




Tags:

access:  public


Parameters:

string   $pValue   Enclosure, defaults to "

[ Top ]

method setLineEnding [line 270]

PHPExcel_Reader_CSV 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 setReadFilter [line 154]

void setReadFilter( PHPExcel_Reader_IReadFilter $pValue)

Set read filter

Set read filter




Tags:

access:  public


Parameters:

PHPExcel_Reader_IReadFilter   $pValue  

[ Top ]

method setSheetIndex [line 290]

PHPExcel_Reader_CSV setSheetIndex( [int $pValue = 0])

Set sheet index

Set sheet index




Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]


Documentation generated on Mon, 10 Aug 2009 08:02:58 +0200 by phpDocumentor 1.4.1