Version: current

     1 <?php
     2
     3 /**
     4  * Корень каталога товаров, содержит разделы каталога
     5  *
     6  * @package Catalog
     7  * @author dvp
     8  */
     9 class StartCatalog extends Catalog {
    10
    11     static $icon = array('cms/images/treeicons/folder', 'folder');
    12     static $can_be_root = true;
    13     static $allowed_children = array('Catalog', 'SpecialCatalog', 'ProductSearchPage', 'SimpleOrderPage');
    14     static $default_child = 'Catalog';
    15
    16 }
    17
    18 class StartCatalog_Controller extends Catalog_Controller {
    19
    20 }
    21
    22

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