You are here

public function PHPExcel_Writer_CSV::setEnclosure in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/CSV.php \PHPExcel_Writer_CSV::setEnclosure()

* Set enclosure * *

Parameters

string $pValue Enclosure, defaults to ": * @return PHPExcel_Writer_CSV

1 call to PHPExcel_Writer_CSV::setEnclosure()
PHPExcel_Writer_CSV::save in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/CSV.php
* Save PHPExcel to file * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/CSV.php, line 181

Class

PHPExcel_Writer_CSV
PHPExcel_Writer_CSV

Code

public function setEnclosure($pValue = '"') {
  if ($pValue == '') {
    $pValue = null;
  }
  $this->_enclosure = $pValue;
  return $this;
}