Exemplo n.º 1
0
 /**
  * Modifies the cached body content to replace content based on sessions or cookies.
  *
  * @param string $content Cached content
  * @param string $uid Unique identifier for the output if the content is placed more than once on the same page
  * @return string Modified body content
  */
 public function modifyBody($content, $uid)
 {
     $content = parent::modifyBody($content, $uid);
     return $this->replaceSection($content, $this->getView()->csrf()->formfield(), 'catalog.filter.csrf');
 }