addSection($this->getLeftSection()) ->addSection($this->getRightSection()); } public function getLeftSection() { $leftSection = new HalfPageSection('essentialFeaturesLeft'); $field = new Switcher('zimbraFeatureMailEnabled'); //$field->setDescription('description'); $leftSection->addField($field); $field = new Switcher('zimbraFeatureCalendarEnabled'); //$field->setDescription('description'); $leftSection->addField($field); $field = new Switcher('zimbraFeatureBriefcasesEnabled'); //$field->setDescription('description'); $leftSection->addField($field); return $leftSection; } public function getRightSection() { $right = new HalfPageSection('essentialFeaturesRight'); $field = new Switcher('zimbraFeatureContactsEnabled'); //$field->setDescription('description'); $right->addField($field); $field = new Switcher('zimbraFeatureTasksEnabled'); //$field->setDescription('description'); $right->addField($field); $field = new Switcher('zimbraFeatureOptionsEnabled'); //$field->setDescription('description'); $right->addField($field); return $right; } }