$name
$name : string
Range name
PHPExcel_NamedRange
Copyright (c) 2006 - 2015 PHPExcel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
$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 |