Webylon 3.1 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • Catalog
  • CatalogAdmin
  • CatalogBaseFiltersExtension
  • CatalogCMSActionDecorator
  • CatalogPrice
  • CatalogSiteConfig
  • CMSSiteTreeFilter_Catalog
  • Orders1CExchangeSiteConfig
  • PaymentType
  • Product
  • ProductSearchPage
  • SimpleOrderButton
  • SimpleOrderData
  • SimpleOrderPage
  • StartCatalog
  • VirtualProduct

Interfaces

  • OrderButtonInterface
 1 <?php
 2 
 3 /**
 4  * Корень каталога товаров, содержит разделы каталога
 5  *
 6  * @package Catalog
 7  * @author dvp
 8  */
 9 class StartCatalog extends Page {
10 
11     static $defaults = array(
12         'AutoChild' => 0,
13     );
14 
15     static $icon = array('cms/images/treeicons/folder', 'folder'); 
16     static $can_be_root = true;
17     static $allowed_children = array('Catalog', 'SpecialCatalog', 'ProductSearchPage', 'SimpleOrderPage');
18     static $default_child = 'Catalog';
19 
20     /**
21      * Возвращает список подрубрик
22      *
23      * @return DataObjectSet
24      */
25     public function Subcats() {
26         return DataObject::get("Catalog", "ParentID = {$this->ID} AND ShowInMenus=1");
27     }
28 
29 }
30 
31 class StartCatalog_Controller extends Page_Controller {
32     
33 }
34 
35 
[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. -
Webylon 3.1 API Docs API documentation generated by ApiGen 2.8.0