$_name
$_name : string
Range name
PHPExcel_NamedRange
$_worksheet : \PHPExcel_Worksheet
Worksheet on which the named range can be resolved
$_scope : \PHPExcel_Worksheet
Scope
__construct(string $pName = null, \PHPExcel_Worksheet $pWorksheet, string $pRange = 'A1', boolean $pLocalOnly = false, \PHPExcel_Worksheet|null $pScope = null)
Create a new NamedRange
string | $pName | |
\PHPExcel_Worksheet | $pWorksheet | |
string | $pRange | |
boolean | $pLocalOnly | |
\PHPExcel_Worksheet|null | $pScope | Scope. Only applies when $pLocalOnly = true. Null for global scope. |
setName(string $value = null) : \PHPExcel_NamedRange
Set name
string | $value |
getWorksheet() : \PHPExcel_Worksheet
Get worksheet
setWorksheet(\PHPExcel_Worksheet $value = null) : \PHPExcel_NamedRange
Set worksheet
\PHPExcel_Worksheet | $value |
setRange(string $value = null) : \PHPExcel_NamedRange
Set range
string | $value |
setLocalOnly(boolean $value = false) : \PHPExcel_NamedRange
Set localOnly
boolean | $value |
getScope() : \PHPExcel_Worksheet|null
Get scope
setScope(\PHPExcel_Worksheet|null $value = null) : \PHPExcel_NamedRange
Set scope
\PHPExcel_Worksheet|null | $value |
resolveRange(string $pNamedRange = '', \PHPExcel_Worksheet|null $pSheet) : \PHPExcel_NamedRange
Resolve a named range to a regular cell range
string | $pNamedRange | Named range |
\PHPExcel_Worksheet|null | $pSheet | Scope. Use null for global scope |