You are here

public static function PHPExcel_Cell::setValueBinder in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php \PHPExcel_Cell::setValueBinder()

* Set value binder to use * *

Parameters

PHPExcel_Cell_IValueBinder $binder: * @throws PHPExcel_Exception

1 call to PHPExcel_Cell::setValueBinder()
29advancedvaluebinder.php in vendor/phpoffice/phpexcel/Examples/29advancedvaluebinder.php

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell.php, line 949

Class

PHPExcel_Cell
PHPExcel_Cell

Code

public static function setValueBinder(PHPExcel_Cell_IValueBinder $binder = NULL) {
  if ($binder === NULL) {
    throw new PHPExcel_Exception("A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly.");
  }
  self::$_valueBinder = $binder;
}