You are here

public function PHPExcel::getSheetCount in Loft Data Grids 7.2

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

Get sheet count

Return value

int

2 calls to PHPExcel::getSheetCount()
PHPExcel::getSheet in vendor/phpoffice/phpexcel/Classes/PHPExcel.php
Get sheet by index
PHPExcel::getSheetNames in vendor/phpoffice/phpexcel/Classes/PHPExcel.php
Get sheet names

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 661

Class

PHPExcel
PHPExcel

Code

public function getSheetCount() {
  return count($this->_workSheetCollection);
}