コード例 #1
0
 /**
  * Gets HTML of block element
  *
  * @param string $name
  * @return string
  * @throws Magento_Exception
  */
 protected function _renderBlock($name)
 {
     $result = parent::_renderBlock($name);
     if ($this->_wrappingEnabled) {
         $block = $this->getBlock($name);
         if (strpos(get_class($block), 'Mage_DesignEditor_Block_') !== 0 && $this->isManipulationAllowed($name)) {
             $result = $this->_wrapElement($result, $name, false, true);
         }
     }
     return $result;
 }