You are here

public function PHPExcel::setRibbonXMLData in Loft Data Grids 7.2

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

* set ribbon XML data *

File

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

Class

PHPExcel
PHPExcel

Code

public function setRibbonXMLData($Target = NULL, $XMLData = NULL) {
  if (!is_null($Target) && !is_null($XMLData)) {
    $this->_ribbonXMLData = array(
      'target' => $Target,
      'data' => $XMLData,
    );
  }
  else {
    $this->_ribbonXMLData = NULL;
  }
}