You are here

public static function PHPExcel_IOFactory::setSearchLocations in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/IOFactory.php \PHPExcel_IOFactory::setSearchLocations()

* Set search locations * * @static * @access public *

Parameters

array $value: * @throws PHPExcel_Reader_Exception

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/IOFactory.php, line 101

Class

PHPExcel_IOFactory
PHPExcel_IOFactory

Code

public static function setSearchLocations($value) {
  if (is_array($value)) {
    self::$_searchLocations = $value;
  }
  else {
    throw new PHPExcel_Reader_Exception('Invalid parameter passed.');
  }
}