1 <?php
2 3 4 5 6 7
8 class BookingSiteConfig extends SiteConfigDecorator {
9
10 function () {
11 return array(
12 'db' => array(
13 'RequireAllPersonsFIO' => 'Boolean',
14 )
15 );
16 }
17
18 public function updateCMSFields(FieldSet &$fields) {
19 $tab = self::get_config_tab($fields, 'Booking');
20 $tab->push(new CheckboxField('RequireAllPersonsFIO', $this->owner->FieldLabel('RequireAllPersonsFIO')));
21 }
22 }
23
[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the
Silverstripe Forums to ask development related questions.
-