You are here

public static function PHPExcel_IOFactory::addSearchLocation 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::addSearchLocation()

* Add search location * * @static * @access public *

Parameters

string $type Example: IWriter: * @param string $location Example: PHPExcel/Writer/{0}.php * @param string $classname Example: PHPExcel_Writer_{0}

File

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

Class

PHPExcel_IOFactory
PHPExcel_IOFactory

Code

public static function addSearchLocation($type = '', $location = '', $classname = '') {
  self::$_searchLocations[] = array(
    'type' => $type,
    'path' => $location,
    'class' => $classname,
  );
}