Version: current

     1 <?php
     2
     3 class MonumentCatalog extends StartCatalog {
     4
     5     static $allowed_children = array('MonumentForm');
     6
     7     /**
     8      * Âîçâđŕůŕĺň ńďčńîę ďîäđóáđčę
     9      *
    10      * @return DataObjectSet
    11      */
    12     public function Subcats() {
    13         return DataObject::get("MonumentForm", "ParentID = {$this->ID}", "Sort");
    14     }
    15 }
    16
    17
    18 class MonumentCatalog_Controller extends StartCatalog_Controller {
    19 }
    20

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