Version: current

     1 <?php
     2
     3 class MonumentPhotoGallery extends DataObject {
     4     static $db = array(
     5         'Title' => 'Varchar(150)'
     6     );
     7
     8     static $has_many = array(
     9         'Items' => 'MonumentGalleryItem'
    10     );
    11
    12     static $summary_fields = array('ID', 'Title');
    13     static $searchable_fields = array('Title');
    14 }

[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. -