/** * function getCacheMethod() = This function gets the current cache method * Cyril Ogana - 2012-07-03 * * @param int $type the type, using the ..CACHEGET..constants defined in this file * @return mixed string or false * @access public */ public function getCacheMethod($type = \SPREADSHEETPROCESSOR_CACHEGETCUR) { switch ($type) { case \SPREADSHEETPROCESSOR_CACHEGETALL: return \PHPExcel_Settings::getAllCacheStorageMethods(); case \SPREADSHEETPROCESSOR_CACHEGETCUR: return \PHPExcel_Settings::getCacheStorageMethod(); case \SPREADSHEETPROCESSOR_CACHEGETAVL: return \PHPExcel_Settings::getCacheStorageMethods(); default: return false; } }