Version: current

     1 <?php
     2
     3 /**
     4  * Способы оплаты для SimpleOrderPage
     5  *
     6  * @package Catalog
     7  * @author dvp
     8  */
     9 class PaymentType extends DataObject {
    10
    11     static $db = array(
    12         'Title' => 'Varchar(255)',
    13         'Active' => 'Boolean',
    14     );
    15
    16     static $has_one = array(
    17         'Parent' => 'SimpleOrderPage',
    18     );
    19
    20     static $defaults = array(
    21         'Active' => true,
    22     );
    23
    24     static $default_sort = 'Title';
    25
    26     static $summary_fields = array('Title', 'Active');
    27 }
    28

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