public function renderContents($writer) { $this->renderJsSummary(); if ($this->getShowSummary()) { // $this->setStyle('display:block'); switch ($this->getDisplayMode()) { case TValidationSummaryDisplayMode::SimpleList: $this->renderList($writer); break; case TValidationSummaryDisplayMode::SingleParagraph: $this->renderSingleParagraph($writer); break; case TValidationSummaryDisplayMode::BulletList: $this->renderBulletList($writer); break; case TValidationSummaryDisplayMode::HeaderOnly: $this->renderHeaderOnly($writer); break; } } }