Returns the cached content if available.
public getCachedContent ( ) : string | false | ||
return | string | false | the cached content. False is returned if valid content is not found in the cache. |
public function getCachedContent() { if ($this->cachedData === null) { $cachedData = $this->viewElementsGathener->getCachedData($this->getId()); if ($cachedData === false) { $this->cachedData = false; return false; } $this->viewElementsGathener->repeatGatheredData($this->view, $cachedData); $this->cachedData = parent::getCachedContent(); } return $this->cachedData; }