public function PHPExcel::sheetNameExists in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel.php \PHPExcel::sheetNameExists()
Check if a sheet with a specified name already exists
Parameters
string $pSheetName Name of the worksheet to check:
Return value
boolean
2 calls to PHPExcel::sheetNameExists()
- PHPExcel::addExternalSheet in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel.php - Add external sheet
- PHPExcel::addSheet in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel.php - Add sheet
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel.php, line 492
Class
- PHPExcel
- PHPExcel
Code
public function sheetNameExists($pSheetName) {
return $this
->getSheetByName($pSheetName) !== NULL;
}