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

Class: PHPExcel_IOFactory

Source Location: /PHPExcel/IOFactory.php

Class Overview


PHPExcel_IOFactory


Author(s):

Copyright:

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

Methods



Class Details

[line 45]
PHPExcel_IOFactory



Tags:

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


[ Top ]


Class Methods


static method addSearchLocation [line 117]

static void addSearchLocation( [string $type = ''], [string $location = ''], [string $classname = ''])

Add search location



Tags:

access:  public


Parameters:

string   $type   Example: IWriter
string   $location   Example: PHPExcel/Writer/{0}.php
string   $classname   Example: PHPExcel_Writer_{0}

[ Top ]

static method createReader [line 161]

static PHPExcel_Reader_IReader createReader( [string $readerType = ''])

Create PHPExcel_Reader_IReader



Tags:

throws:  Exception
access:  public


Parameters:

string   $readerType   Example: Excel2007

[ Top ]

static method createReaderForFile [line 222]

static PHPExcel_Reader_IReader createReaderForFile( $pFilename, string $pFileName)

Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution



Tags:

throws:  Exception
access:  public


Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

static method createWriter [line 131]

static PHPExcel_Writer_IWriter createWriter( PHPExcel $phpExcel, [string $writerType = ''])

Create PHPExcel_Writer_IWriter



Tags:

throws:  Exception
access:  public


Parameters:

PHPExcel   $phpExcel  
string   $writerType   Example: Excel2007

[ Top ]

static method getSearchLocations [line 88]

static array getSearchLocations( )

Get search locations



Tags:

access:  public


[ Top ]

static method identify [line 205]

static string identify( $pFilename, string $pFileName)

Identify file type using automatic PHPExcel_Reader_IReader resolution



Tags:

throws:  Exception
access:  public


Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

static method load [line 191]

static PHPExcel load( $pFilename, string $pFileName)

Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution



Tags:

throws:  Exception
access:  public


Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

static method setSearchLocations [line 100]

static void setSearchLocations( array $value)

Set search locations



Tags:

throws:  Exception
access:  public


Parameters:

array   $value  

[ Top ]


Documentation generated on Sat, 19 May 2012 14:37:34 +0200 by phpDocumentor 1.4.4