protected function cache()
 {
     if (null !== $this->_object) {
         $this->_parentuid = $this->_object->getUid();
         $this->__object = $this->_object;
     }
     $this->__vars = $this->_vars;
     return $this;
 }
Beispiel #2
0
 /**
  * Return the cache id for the current rendered content.
  *
  * @return string|FALSE
  */
 private function getContentCacheId(AbstractRenderer $renderer)
 {
     $cache_id = $this->identifier_generator->compute('content', $this->object->getUid() . '-' . $renderer->getMode(), $renderer);
     return md5('_content_' . $cache_id);
 }