You are here

public function PHPExcel_Style_Color::__construct in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Color.php \PHPExcel_Style_Color::__construct()

* Create a new PHPExcel_Style_Color * *

Parameters

string $pARGB ARGB value for the colour: * @param 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/Color.php, line 83

Class

PHPExcel_Style_Color
PHPExcel_Style_Color

Code

public function __construct($pARGB = PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor = FALSE, $isConditional = FALSE) {

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

  //	Initialise values
  if (!$isConditional) {
    $this->_argb = $pARGB;
  }
}