You are here

public function PHPExcel::setHasMacros in Loft Data Grids 6.2

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

* Define if a workbook has macros * *

Parameters

true|false:

1 call to PHPExcel::setHasMacros()
PHPExcel::setMacrosCode in vendor/phpoffice/phpexcel/Classes/PHPExcel.php
* Set the macros code * *

File

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

Class

PHPExcel
PHPExcel

Code

public function setHasMacros($hasMacros = false) {
  $this->_hasMacros = (bool) $hasMacros;
}