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

Variables

Methods



Class Details

[line 54]
PHPExcel_IOFactory

PHPExcel_IOFactory




Tags:

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


[ Top ]


Class Variables

static $_autoResolveClasses = array(
      'Excel2007',
      'Excel5',
      'Serialized',
      'CSV'
   )

[line 71]

Autoresolve classes

Autoresolve classes




Tags:

access:  private

Type:   array


[ Top ]

static $_searchLocations = array(
      array( 'type' => 'IWriter', 'path' => 'PHPExcel/Writer/{0}.php', 'class' => 'PHPExcel_Writer_{0}' ),array('type'=>'IReader','path'=>'PHPExcel/Reader/{0}.php','class'=>'PHPExcel_Reader_{0}'))

[line 61]

Search locations

Search locations




Tags:

access:  private

Type:   array


[ Top ]



Class Methods


static method addSearchLocation [line 113]

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

Add search location

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

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

Create PHPExcel_Reader_IReader

Create PHPExcel_Reader_IReader




Tags:

access:  public


Parameters:

string   $readerType   Example: Excel2007

[ Top ]

static method createReaderForFile [line 198]

static PHPExcel_Reader_IReader createReaderForFile( $pFilename, string $pFileName)

Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution

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

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

Create PHPExcel_Writer_IWriter

Create PHPExcel_Writer_IWriter




Tags:

access:  public


Parameters:

PHPExcel   $phpExcel  
string   $writerType   Example: Excel2007

[ Top ]

static method getSearchLocations [line 88]

static array getSearchLocations( )

Get search locations

Get search locations




Tags:

access:  public


[ Top ]

static method load [line 186]

static PHPExcel load( $pFilename, string $pFileName)

Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution

Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution




Tags:

access:  public


Parameters:

string   $pFileName  
   $pFilename  

[ Top ]

static method setSearchLocations [line 98]

static void setSearchLocations( array $value)

Set search locations

Set search locations




Tags:

throws:  Exception
access:  public


Parameters:

array   $value  

[ Top ]

constructor __construct [line 81]

PHPExcel_IOFactory __construct( )

Private constructor for PHPExcel_IOFactory

Private constructor for PHPExcel_IOFactory




Tags:

access:  private


[ Top ]


Documentation generated on Mon, 10 Aug 2009 08:06:09 +0200 by phpDocumentor 1.4.1