1 | <?php |
||
18 | class PaymentAdmin extends ModelAdmin |
||
19 | { |
||
20 | |||
21 | private static $menu_title = 'Payments'; |
||
|
|||
22 | private static $url_segment = 'payments'; |
||
23 | private static $menu_icon = 'bummzack/silverstripe-omnipay-ui: client/dist/images/payment-admin.png'; |
||
24 | private static $menu_priority = 1; |
||
25 | |||
26 | public $showImportForm = false; |
||
27 | |||
28 | private static $managed_models = array( |
||
29 | Payment::class |
||
30 | ); |
||
31 | |||
32 | public function alternateAccessCheck() |
||
36 | |||
37 | public function getEditForm($id = null, $fields = null) |
||
52 | } |
||
53 |