You are here

private function PHPExcel::_getExtensionOnly in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel.php \PHPExcel::_getExtensionOnly()

* return the extension of a filename. Internal use for a array_map callback (php<5.3 don't like lambda function) *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 275

Class

PHPExcel
PHPExcel

Code

private function _getExtensionOnly($ThePath) {
  return pathinfo($ThePath, PATHINFO_EXTENSION);
}