/** * Returning the cached version of page with hash = newHash * * @return array Cached row, if any. Otherwise void. * @todo Define visibility */ public function getFromCache_queryRow() { $GLOBALS['TT']->push('Cache Query', ''); $row = $this->pageCache->get($this->newHash); $GLOBALS['TT']->pull(); return $row; }
/** * Returning the cached version of page with hash = newHash * * @return array Cached row, if any. Otherwise void. */ public function getFromCache_queryRow() { $this->getTimeTracker()->push('Cache Query', ''); $row = $this->pageCache->get($this->newHash); $this->getTimeTracker()->pull(); return $row; }