You are here

public function PHPExcel_Worksheet::setProtection in Loft Data Grids 7.2

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

Set Protection

Parameters

PHPExcel_Worksheet_Protection $pValue:

Return value

PHPExcel_Worksheet

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 1013

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

public function setProtection(PHPExcel_Worksheet_Protection $pValue) {
  $this->_protection = $pValue;
  $this->_dirty = true;
  return $this;
}