You are here

public function PHPExcel_Reader_Excel2007_Theme::getColourByIndex in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007/Theme.php \PHPExcel_Reader_Excel2007_Theme::getColourByIndex()

Get colour Map Value by Position

Return value

string

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007/Theme.php, line 104

Class

PHPExcel_Reader_Excel2007_Theme
PHPExcel_Reader_Excel2007_Theme

Code

public function getColourByIndex($index = 0) {
  if (isset($this->_colourMap[$index])) {
    return $this->_colourMap[$index];
  }
  return null;
}