item; } /** * Set current quote item * * @param AbstractItem $item * @return $this * @codeCoverageIgnore */ public function setItem(AbstractItem $item) { $this->item = $item; return $this; } /** * Render html output * * @return string */ protected function _toHtml() { $this->setText(''); $layout = $this->getLayout(); foreach ($this->getChildNames() as $child) { /** @var Generic $childBlock */ $childBlock = $layout->getBlock($child); if ($childBlock instanceof Generic) { $childBlock->setItem($this->getItem()); $this->addText($layout->renderElement($child, false)); } } return parent::_toHtml(); } }