public function PHPExcel_Cell::isMergeRangeValueCell in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php \PHPExcel_Cell::isMergeRangeValueCell()
* Is this cell the master (top left cell) in a merge range (that holds the actual data value) * *
Return value
boolean
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Cell.php, line 506
Class
- PHPExcel_Cell
- PHPExcel_Cell
Code
public function isMergeRangeValueCell() {
if ($mergeRange = $this
->getMergeRange()) {
$mergeRange = PHPExcel_Cell::splitRange($mergeRange);
list($startCell) = $mergeRange[0];
if ($this
->getCoordinate() === $startCell) {
return true;
}
}
return false;
}