You are here

public function PHPExcel_Cell::setValue 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::setValue()

* Set cell value * * Sets the value for a cell, automatically determining the datatype using the value binder * *

Parameters

mixed $pValue Value: * @return PHPExcel_Cell * @throws PHPExcel_Exception

File

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

Class

PHPExcel_Cell
PHPExcel_Cell

Code

public function setValue($pValue = NULL) {
  if (!self::getValueBinder()
    ->bindValue($this, $pValue)) {
    throw new PHPExcel_Exception("Value could not be bound to cell.");
  }
  return $this;
}