You are here

function PHPExcel_Worksheet_Protection::isProtectionEnabled in Loft Data Grids 6.2

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

Is some sort of protection enabled?

Return value

boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Protection.php, line 169

Class

PHPExcel_Worksheet_Protection
PHPExcel_Worksheet_Protection

Code

function isProtectionEnabled() {
  return $this->_sheet || $this->_objects || $this->_scenarios || $this->_formatCells || $this->_formatColumns || $this->_formatRows || $this->_insertColumns || $this->_insertRows || $this->_insertHyperlinks || $this->_deleteColumns || $this->_deleteRows || $this->_selectLockedCells || $this->_sort || $this->_autoFilter || $this->_pivotTables || $this->_selectUnlockedCells;
}