/** * Check cache settings for specific block type and associate block to container if needed * * @param Varien_Event_Observer $observer * @deprecated after 1.8 * @return Enterprise_PageCache_Model_Observer */ public function blockCreateAfter(Varien_Event_Observer $observer) { if (!$this->_isEnabled) { return $this; } $block = $observer->getEvent()->getBlock(); $placeholder = $this->_config->getBlockPlaceholder($block); if ($placeholder) { $block->setFrameTags($placeholder->getStartTag(), $placeholder->getEndTag()); } return $this; }