Version: current

     1 <?php
     2
     3 /**
     4  * Расширение для страницы для отображения спец.разделов каталога
     5  *
     6  * @package cart
     7  * @author inxo
     8  */
     9 class ExtendPageSpecialCatalog extends Extension {
    10
    11     function ShowSpecialCatalog($id, $count=1) {
    12         if (class_exists('SpecialCatalog'))
    13             return singleton('SpecialCatalog')->Widget($id, $count);
    14         return false;
    15     }
    16
    17 }
    18
    19

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