ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($pName=null, PHPExcel_Worksheet $pWorksheet, $pRange= 'A1', $pLocalOnly=false, $pScope=null) | |
Create a new NamedRange. | |
getName () | |
Get name. | |
setName ($value=null) | |
Set name. | |
getWorksheet () | |
Get worksheet. | |
setWorksheet (PHPExcel_Worksheet $value=null) | |
Set worksheet. | |
getRange () | |
Get range. | |
setRange ($value=null) | |
Set range. | |
getLocalOnly () | |
Get localOnly. | |
setLocalOnly ($value=false) | |
Set localOnly. | |
getScope () | |
Get scope. | |
setScope (PHPExcel_Worksheet $value=null) | |
Set scope. | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. |
Static Public Member Functions | |
static | resolveRange ($pNamedRange= '', PHPExcel_Worksheet $pSheet) |
Resolve a named range to a regular cell range. |
Private Attributes | |
$_name | |
$_worksheet | |
$_range | |
$_localOnly | |
$_scope |
Definition at line 36 of file NamedRange.php.
PHPExcel_NamedRange::__construct | ( | $pName = null , |
|
PHPExcel_Worksheet | $pWorksheet, | ||
$pRange = 'A1' , |
|||
$pLocalOnly = false , |
|||
$pScope = null |
|||
) |
Create a new NamedRange.
string | $pName | |
PHPExcel_Worksheet | $pWorksheet | |
string | $pRange | |
bool | $pLocalOnly | |
PHPExcel_Worksheet | null | $pScope | Scope. Only applies when $pLocalOnly = true. Null for global scope. |
Definition at line 82 of file NamedRange.php.
PHPExcel_NamedRange::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 235 of file NamedRange.php.
PHPExcel_NamedRange::getLocalOnly | ( | ) |
Get localOnly.
Definition at line 184 of file NamedRange.php.
References $_localOnly.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
PHPExcel_NamedRange::getName | ( | ) |
Get name.
Definition at line 103 of file NamedRange.php.
References $_name.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), and PHPExcel\addNamedRange().
PHPExcel_NamedRange::getRange | ( | ) |
Get range.
Definition at line 162 of file NamedRange.php.
References $_range.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
PHPExcel_NamedRange::getScope | ( | ) |
Get scope.
Definition at line 205 of file NamedRange.php.
References $_scope.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), and PHPExcel\addNamedRange().
PHPExcel_NamedRange::getWorksheet | ( | ) |
Get worksheet.
Definition at line 140 of file NamedRange.php.
References $_worksheet.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
|
static |
Resolve a named range to a regular cell range.
string | $pNamedRange | Named range |
PHPExcel_Worksheet | null | $pSheet | Scope. Use null for global scope |
Definition at line 228 of file NamedRange.php.
References PHPExcel_Worksheet\getParent().
Referenced by PHPExcel_Worksheet\cellExists(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Worksheet\getCell(), and PHPExcel_Worksheet\namedRangeToArray().
PHPExcel_NamedRange::setLocalOnly | ( | $value = false | ) |
Set localOnly.
bool | $value |
Definition at line 194 of file NamedRange.php.
PHPExcel_NamedRange::setName | ( | $value = null | ) |
Set name.
string | $value |
Definition at line 113 of file NamedRange.php.
References $_name, and PHPExcel_ReferenceHelper\getInstance().
PHPExcel_NamedRange::setRange | ( | $value = null | ) |
Set range.
string | $value |
Definition at line 172 of file NamedRange.php.
PHPExcel_NamedRange::setScope | ( | PHPExcel_Worksheet | $value = null | ) |
Set scope.
PHPExcel_Worksheet | null | $value |
Definition at line 215 of file NamedRange.php.
PHPExcel_NamedRange::setWorksheet | ( | PHPExcel_Worksheet | $value = null | ) |
Set worksheet.
PHPExcel_Worksheet | $value |
Definition at line 150 of file NamedRange.php.
|
private |
Definition at line 64 of file NamedRange.php.
Referenced by getLocalOnly().
|
private |
Definition at line 43 of file NamedRange.php.
|
private |
Definition at line 57 of file NamedRange.php.
Referenced by getRange().
|
private |
Definition at line 71 of file NamedRange.php.
Referenced by getScope().
|
private |
Definition at line 50 of file NamedRange.php.
Referenced by getWorksheet().