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 46]
PHPExcel_IOFactory

PHPExcel_IOFactory




Tags:

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


[ Top ]


Class Variables

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

Search locations

Search locations




Tags:

access:  private

Type:   array


[ Top ]



Class Methods


static method addSearchLocation [line 93]

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

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 createWriter [line 104]

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

static array getSearchLocations( )

Get search locations

Get search locations




Tags:

access:  public


[ Top ]

static method requireFile [line 165]

static void requireFile( string $filename)

Require_once file

Require_once file




Tags:

access:  private


Parameters:

string   $filename  

[ Top ]

static method setSearchLocations [line 78]

static void setSearchLocations( array $value)

Set search locations

Set search locations




Tags:

throws:  Exception
access:  public


Parameters:

array   $value  

[ Top ]

constructor __construct [line 61]

PHPExcel_IOFactory __construct( )

Private constructor for PHPExcel_IOFactory

Private constructor for PHPExcel_IOFactory




Tags:

access:  private


[ Top ]


Documentation generated on Mon, 05 Jan 2009 20:37:59 +0100 by phpDocumentor 1.4.1