addSection($this->getLeftSection()) ->addSection($this->getRightSection()); } /** * @return HalfPageSection */ public function getLeftSection() { $leftSection = new HalfPageSection('clientAreaFeaturesLeft'); $field = new Switcher('ca_emailAccountPage'); $leftSection->addField($field); $field = new Switcher('ca_distributionListPage'); $leftSection->addField($field); $field = new Switcher('ca_goToWebmailPage'); $leftSection->addField($field); $field = new Switcher('ca_ressourcePage'); $leftSection->addField($field); return $leftSection; } /** * @return HalfPageSection */ public function getRightSection() { $right = new HalfPageSection('clientAreaFeaturesRight'); $field = new Switcher('ca_emailAliasesPage'); $right->addField($field); $field = new Switcher('ca_domainAliasesPage'); $right->addField($field); $field = new Switcher('ca_logInToMailboxButton'); $right->addField($field); return $right; } }