You are here

protected function PHPExcel_CachedObjectStorage_CacheBase::_getUniqueID in Loft Data Grids 7.2

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

* Generate a unique ID for cache referencing * *

Return value

string Unique Reference

12 calls to PHPExcel_CachedObjectStorage_CacheBase::_getUniqueID()
PHPExcel_CachedObjectStorage_APC::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Clone the cell collection
PHPExcel_CachedObjectStorage_APC::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/APC.php
Initialise this new cell collection
PHPExcel_CachedObjectStorage_DiscISAM::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php
* Clone the cell collection * *
PHPExcel_CachedObjectStorage_DiscISAM::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/DiscISAM.php
* Initialise this new cell collection * *
PHPExcel_CachedObjectStorage_Memcache::copyCellCollection in vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/Memcache.php
* Clone the cell collection * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php, line 311

Class

PHPExcel_CachedObjectStorage_CacheBase
PHPExcel_CachedObjectStorage_CacheBase

Code

protected function _getUniqueID() {
  if (function_exists('posix_getpid')) {
    $baseUnique = posix_getpid();
  }
  else {
    $baseUnique = mt_rand();
  }
  return uniqid($baseUnique, true);
}