public function renderContents($writer) { if ($this->getHasControls()) { $writer->writeLine(); foreach ($this->getControls() as $cell) { $cell->renderControl($writer); $writer->writeLine(); } } }