You are here

public function PHPExcel_Worksheet_Drawing::getExtension in Loft Data Grids 7.2

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

Get Extension

Return value

string

1 call to PHPExcel_Worksheet_Drawing::getExtension()
PHPExcel_Worksheet_Drawing::getIndexedFilename in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing.php
Get indexed filename (using image index)
1 method overrides PHPExcel_Worksheet_Drawing::getExtension()
PHPExcel_Worksheet_HeaderFooterDrawing::getExtension in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/HeaderFooterDrawing.php
Get Extension

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing.php, line 82

Class

PHPExcel_Worksheet_Drawing
PHPExcel_Worksheet_Drawing

Code

public function getExtension() {
  $exploded = explode(".", basename($this->_path));
  return $exploded[count($exploded) - 1];
}