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

Class: PHPExcel_ReferenceHelper

Source Location: /PHPExcel/ReferenceHelper.php

Class Overview


PHPExcel_ReferenceHelper (Singleton)


Author(s):

Copyright:

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

Variables

Methods



Class Details

[line 58]
PHPExcel_ReferenceHelper (Singleton)

PHPExcel_ReferenceHelper (Singleton)




Tags:

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


[ Top ]


Class Variables

static $_instance =

[line 65]

Instance of this class

Instance of this class




Tags:

access:  private



[ Top ]



Class Methods


static method getInstance [line 72]

static PHPExcel_ReferenceHelper getInstance( )

Get an instance of this class

Get an instance of this class




Tags:

access:  public


[ Top ]

constructor __construct [line 83]

PHPExcel_ReferenceHelper __construct( )

Create a new PHPExcel_Calculation

Create a new PHPExcel_Calculation




Tags:

access:  protected


[ Top ]

method insertNewBefore [line 94]

void insertNewBefore( [int $pBefore = 'A1'], [int $pNumCols = 0], [int $pNumRows = 0], [PHPExcel_Worksheet $pSheet = null])

Insert a new column, updating all possible related data

Insert a new column, updating all possible related data




Tags:

throws:  Exception
access:  public


Parameters:

int   $pBefore   Insert before this one
int   $pNumCols   Number of columns to insert
int   $pNumRows   Number of rows to insert
PHPExcel_Worksheet   $pSheet  

[ Top ]

method updateCellReference [line 417]

string updateCellReference( [string $pCellRange = 'A1'], [int $pBefore = 'A1'], [int $pNumCols = 0], [int $pNumRows = 0])

Update cell reference

Update cell reference




Tags:

return:  Updated cell range
throws:  Exception
access:  public


Parameters:

string   $pCellRange   Cell range
int   $pBefore   Insert before this one
int   $pNumCols   Number of columns to increment
int   $pNumRows   Number of rows to increment

[ Top ]

method updateFormulaReferences [line 317]

string updateFormulaReferences( [string $pFormula = ''], [int $pBefore = 'A1'], [int $pNumCols = 0], [int $pNumRows = 0])

Update references within formulas

Update references within formulas




Tags:

return:  Updated formula
throws:  Exception
access:  public


Parameters:

string   $pFormula   Formula to update
int   $pBefore   Insert before this one
int   $pNumCols   Number of columns to insert
int   $pNumRows   Number of rows to insert

[ Top ]

method _updateCellRange [line 438]

string _updateCellRange( [string $pCellRange = 'A1:A1'], [int $pBefore = 'A1'], [int $pNumCols = 0], [int $pNumRows = 0])

Update cell range

Update cell range




Tags:

return:  Updated cell range
throws:  Exception
access:  private


Parameters:

string   $pCellRange   Cell range
int   $pBefore   Insert before this one
int   $pNumCols   Number of columns to increment
int   $pNumRows   Number of rows to increment

[ Top ]

method _updateSingleCellReference [line 461]

string _updateSingleCellReference( [string $pCellReference = 'A1'], [int $pBefore = 'A1'], [int $pNumCols = 0], [int $pNumRows = 0])

Update single cell reference

Update single cell reference




Tags:

return:  Updated cell reference
throws:  Exception
access:  private


Parameters:

string   $pCellReference   Single cell reference
int   $pBefore   Insert before this one
int   $pNumCols   Number of columns to increment
int   $pNumRows   Number of rows to increment

[ Top ]

method __clone [line 504]

void __clone( )

__clone implementation.

__clone implementation. Cloning should not be allowed in a Singleton!




Tags:

throws:  Exception
access:  public


[ Top ]


Documentation generated on Mon, 27 Oct 2008 08:41:07 +0100 by phpDocumentor 1.4.1