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

Class: PHPExcel_Writer_CSV

Source Location: /PHPExcel/Writer/CSV.php

Class Overview


PHPExcel_Writer_CSV


Author(s):

Copyright:

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

Implements interfaces:

Methods



Class Details

[line 36]
PHPExcel_Writer_CSV



Tags:

copyright:  Copyright (c) 2006 - 2010 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 142]

string getDelimiter( )

Get delimiter



Tags:

access:  public


[ Top ]

method getEnclosure [line 162]

string getEnclosure( )

Get enclosure



Tags:

access:  public


[ Top ]

method getLineEnding [line 185]

string getLineEnding( )

Get line ending



Tags:

access:  public


[ Top ]

method getPreCalculateFormulas [line 285]

boolean getPreCalculateFormulas( )

Get Pre-Calculate Formulas



Tags:

access:  public


[ Top ]

method getSheetIndex [line 225]

int getSheetIndex( )

Get sheet index



Tags:

access:  public


[ Top ]

method getUseBOM [line 205]

boolean getUseBOM( )

Get whether BOM should be used



Tags:

access:  public


[ Top ]

method save [line 105]

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

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

Set delimiter



Tags:

access:  public


Parameters:

string   $pValue   Delimiter, defaults to ,

[ Top ]

method setEnclosure [line 172]

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

Set enclosure



Tags:

access:  public


Parameters:

string   $pValue   Enclosure, defaults to "

[ Top ]

method setLineEnding [line 195]

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

PHPExcel_Writer_CSV setPreCalculateFormulas( [boolean $pValue = true])

Set Pre-Calculate Formulas



Tags:

access:  public


Parameters:

boolean   $pValue   Pre-Calculate Formulas?

[ Top ]

method setSheetIndex [line 235]

PHPExcel_Writer_CSV setSheetIndex( [int $pValue = 0])

Set sheet index



Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]

method setUseBOM [line 215]

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 Tue, 01 Jun 2010 17:02:40 +0200 by phpDocumentor 1.4.3