You are here

public function PHPExcel::setRibbonBinObjects in Loft Data Grids 7.2

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

* store binaries ribbon objects (pictures) *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 264

Class

PHPExcel
PHPExcel

Code

public function setRibbonBinObjects($BinObjectsNames = NULL, $BinObjectsData = NULL) {
  if (!is_null($BinObjectsNames) && !is_null($BinObjectsData)) {
    $this->_ribbonBinObjects = array(
      'names' => $BinObjectsNames,
      'data' => $BinObjectsData,
    );
  }
  else {
    $this->_ribbonBinObjects = NULL;
  }
}