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