/** * Adds the create layouts (right) checkbox */ private function AddCreateLayoutsField() { $name = 'CreateLayouts'; $this->AddField(new Checkbox($name, $name, (bool) $this->group->GetCreateLayouts())); }