You are here

public static function PHPExcel_NamedRange::resolveRange in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/NamedRange.php \PHPExcel_NamedRange::resolveRange()

Resolve a named range to a regular cell range

Parameters

string $pNamedRange Named range:

PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope:

Return value

PHPExcel_NamedRange

4 calls to PHPExcel_NamedRange::resolveRange()
PHPExcel_Calculation::extractNamedRange in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php
* Extract range values * *
PHPExcel_Worksheet::cellExists in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php
Does the cell at a specific coordinate exist?
PHPExcel_Worksheet::getCell in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php
Get cell at a specific coordinate
PHPExcel_Worksheet::namedRangeToArray in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php
Create array from a range of cells

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/NamedRange.php, line 229

Class

PHPExcel_NamedRange
PHPExcel_NamedRange

Code

public static function resolveRange($pNamedRange = '', PHPExcel_Worksheet $pSheet) {
  return $pSheet
    ->getParent()
    ->getNamedRange($pNamedRange, $pSheet);
}