public function renderSection($name) { switch ($name) { case '{errors}': return $this->renderErrors(); default: return parent::renderSection($name); } }
public function renderSection($name) { if ($name == '{tools}') { return $this->renderTools(); } else { return parent::renderSection($name); } }