Return the cache id for the current rendered content.

@return string|FALSE
774725
private function getContentCacheId(AbstractRenderer $renderer)
    {
        $cache_id = $this->identifier_generator->compute(
            'content', $this->object->getUid().'-'.$renderer->getMode(),
            $renderer
        );

        return md5('_content_'.$cache_id);
    }
562571
function _get_auto_id($cache_id=null, $compile_id=null) {
		if (isset($cache_id))
		return (isset($compile_id)) ? $cache_id . '|' . $compile_id  : $cache_id;
		elseif(isset($compile_id))
		return $compile_id;
		else
		return null;
	}
156294
public function get_css_cached_content() {

        $key = $this->get_css_cache_key();
        $cache = cache::make('core', 'postprocessedcss');

        return $cache->get($key);
    }
951496
public function getCache()
    {
        if (null === $this->cache) {
            if (isset($this->options['cache']) && is_string($this->options['cache'])) {
                $this->cache = $this->container->get($this->options['cache']);
            }
        }
        
        return $this->cache;
    }
698283
public function getCacheDir(): string
    {
        if ($this->_cache_dir === null)
            $this->_cache_dir = realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'cache');

        return $this->_cache_dir;
    }
914803
public function getCache()
    {

        if ($this->type && $_SESSION['PHPIDS'][$this->type]) {
            return $_SESSION['PHPIDS'][$this->type];
        }

        return false;
    }
1086504
protected function baseCacheId()
    {
        if ($this->_cacheId) {
            return $this->_cacheId;
        }

        $cacheId = [
            'highlight',
            $this->itemProvider->resourceName(),
            $this->method,
            $this->limit ? (string) $this->limit : 'X',
            $this->criterias(),
        ];

        if ($this->name) {
            $cacheId[] = $this->name;
        }

        return $this->_cache->key($cacheId);
    }
1161137
public function cached()
    {
        $fileID = $this->getCacheID();
        $storage = Storage::disk($this->cache_disk);
        if ($storage->exists($this->generateCacheFilePath($fileID, true))) {
            return $this->makeImage(
                $this->storagePath(
                    $this->generateCacheFilePath($fileID, true)
                )
            );
        }
    }
275064
protected function getCache()
    {
        return $this->cachingDuration > 0 && $this->cacheID !== false ? Yii::app()->getComponent($this->cacheID) : null;
    }
204275
public function getCurrentUserId()
    {
        $contents = $this
            ->call('GET', self::USER_RESOURCE)
            ->getBody()
            ->getContents();

        $json = json_decode($contents, true);

        return $json['user_id'];
    }
235543
public function getId()
    {
        $tmp = (array) $this->getHeaderFieldModel($this->getIdField());

        return $this->headers->has($this->getIdField()) ? current($tmp) : $this->id;
    }
163666
public function getCacheId($id)
    {
        if(is_array($id))
        {
            $tmp = "";
            foreach ($id as $key => $value)
            {
                $tmp .= $key . "_" . $value;
            }
            $id = $tmp;
        }
        return $this->addCacheIndex($this->table_name . '_' . $id);
    }
212356
protected function getId()
  {
    if($this->currObj instanceof Server)
    {
      return "ts3_s" . $this->currObj->virtualserver_id;
    }
    elseif($this->currObj instanceof Channel)
    {
      return "ts3_c" . $this->currObj->cid;
    }
    elseif($this->currObj instanceof Client)
    {
      return "ts3_u" . $this->currObj->clid;
    }

    return FALSE;
  }
1009641
public function getCacheInstance()
    {
        if (null === $this->cacheInstance) {
            $this->cacheInstance = $this->cacheManager->getCache(self::CACHE_IDENTIFIER);
        }

        return $this->cacheInstance;
    }
987415
public function isCached() {
    $cache = ObjectFactory::getInstance('staticCache');
    return $this->id == self::NO_CACHE ? false :
            $cache->exists(self::getCacheSection($this->type), self::getCacheId($this->id));
  }
592974
public function getCacheKey()
    {
        if (is_null($this->cacheKey)) {
            return $this->prefix.$this->id;
        }

        return $this->cacheKey;
    }
998822
public function getCachedContent()
    {
        if ($this->_content === null) {
            $this->_content = false;
            if ($this->cache instanceof Cache) {
                $key = $this->calculateKey();
                $data = $this->cache->get($key);
                if (is_array($data) && count($data) === 2) {
                    list ($content, $placeholders) = $data;
                    if (is_array($placeholders) && count($placeholders) > 0) {
                        if (empty($this->getView()->cacheStack)) {
                            // outermost cache: replace placeholder with dynamic content
                            $content = $this->updateDynamicContent($content, $placeholders);
                        }
                        foreach ($placeholders as $name => $statements) {
                            $this->getView()->addDynamicPlaceholder($name, $statements);
                        }
                    }
                    $this->_content = $content;
                }
            }
        }

        return $this->_content;
    }