You are here

public function PHPExcel_Style_Protection::__construct in Loft Data Grids 6.2

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

Create a new PHPExcel_Style_Protection * *

Parameters

boolean $isSupervisor Flag indicating if this is a supervisor or not: * Leave this value at default unless you understand exactly what * its ramifications are * @param boolean $isConditional Flag indicating if this is a conditional style or not * Leave this value at default unless you understand exactly what * its ramifications are

Overrides PHPExcel_Style_Supervisor::__construct

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Protection.php, line 67

Class

PHPExcel_Style_Protection
PHPExcel_Style_Protection

Code

public function __construct($isSupervisor = FALSE, $isConditional = FALSE) {

  // Supervisor?
  parent::__construct($isSupervisor);

  // Initialise values
  if (!$isConditional) {
    $this->_locked = self::PROTECTION_INHERIT;
    $this->_hidden = self::PROTECTION_INHERIT;
  }
}