You are here

public function PHPExcel_Worksheet_HeaderFooter::setImages in Loft Data Grids 7.2

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

Set header/footer images

Parameters

PHPExcel_Worksheet_HeaderFooterDrawing[] $images:

Return value

PHPExcel_Worksheet_HeaderFooter

Throws

PHPExcel_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/HeaderFooter.php, line 424

Class

PHPExcel_Worksheet_HeaderFooter
PHPExcel_Worksheet_HeaderFooter

Code

public function setImages($images) {
  if (!is_array($images)) {
    throw new PHPExcel_Exception('Invalid parameter!');
  }
  $this->_headerFooterImages = $images;
  return $this;
}