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 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

Methods



Class Details

[line 36]
PHPExcel_Writer_CSV



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 91]

PHPExcel_Writer_CSV __construct( PHPExcel $phpExcel)

Create a new PHPExcel_Writer_CSV



Tags:

access:  public


Parameters:

PHPExcel   $phpExcel   PHPExcel object

[ Top ]

method getDelimiter [line 145]

string getDelimiter( )

Get delimiter



Tags:

access:  public


[ Top ]

method getEnclosure [line 165]

string getEnclosure( )

Get enclosure



Tags:

access:  public


[ Top ]

method getLineEnding [line 188]

string getLineEnding( )

Get line ending



Tags:

access:  public


[ Top ]

method getPreCalculateFormulas [line 288]

boolean getPreCalculateFormulas( )

Get Pre-Calculate Formulas



Tags:

access:  public


[ Top ]

method getSheetIndex [line 228]

int getSheetIndex( )

Get sheet index



Tags:

access:  public


[ Top ]

method getUseBOM [line 208]

boolean getUseBOM( )

Get whether BOM should be used



Tags:

access:  public


[ Top ]

method save [line 101]

void save( [string $pFilename = null])

Save PHPExcel to file



Tags:

throws:  Exception
access:  public



Implementation of:
PHPExcel_Writer_IWriter::save()
Save PHPExcel to file

Parameters:

string   $pFilename  

[ Top ]

method setDelimiter [line 155]

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

Set delimiter



Tags:

access:  public


Parameters:

string   $pValue   Delimiter, defaults to ,

[ Top ]

method setEnclosure [line 175]

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

Set enclosure



Tags:

access:  public


Parameters:

string   $pValue   Enclosure, defaults to "

[ Top ]

method setLineEnding [line 198]

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

PHPExcel_Writer_CSV setPreCalculateFormulas( [boolean $pValue = true])

Set Pre-Calculate Formulas



Tags:

access:  public


Parameters:

boolean   $pValue   Pre-Calculate Formulas?

[ Top ]

method setSheetIndex [line 238]

PHPExcel_Writer_CSV setSheetIndex( [int $pValue = 0])

Set sheet index



Tags:

access:  public


Parameters:

int   $pValue   Sheet index

[ Top ]

method setUseBOM [line 218]

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 Sat, 19 May 2012 14:28:08 +0200 by phpDocumentor 1.4.4