You are here

public function PHPExcel_Writer_PDF::__call in Loft Data Grids 7.2

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

Magic method to handle direct calls to the configured PDF renderer wrapper class.

Parameters

string $name Renderer library method name: @param mixed[] $arguments Array of arguments to pass to the renderer method @return mixed Returned data from the PDF renderer wrapper method

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/PDF.php, line 81

Class

PHPExcel_Writer_PDF
PHPExcel_Writer_PDF

Code

public function __call($name, $arguments) {
  if ($this->_renderer === NULL) {
    throw new PHPExcel_Writer_Exception("PDF Rendering library has not been defined.");
  }
  return call_user_func_array(array(
    $this->_renderer,
    $name,
  ), $arguments);
}