Source of file PaymentMethodAdmin.php
Size: 1,282 Bytes - Last Modified: 2021-12-23T10:21:36+00:00
/var/www/docs.ssmods.com/process/src/src/Admin/Controllers/PaymentMethodAdmin.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 | <?php namespace SilverCart\Admin\Controllers; use SilverCart\Admin\Controllers\ModelAdmin; use SilverCart\Model\Payment\PaymentMethod; /** * ModelAdmin for PaymentMethods. * * @package SilverCart * @subpackage Admin\Controllers * @author Sebastian Diel <sdiel@pixeltricks.de> * @copyright 2017 pixeltricks GmbH * @since 22.09.2017 * @license see license file in modules root directory */ class PaymentMethodAdmin extends ModelAdmin { /** * The code of the menu under which this admin should be shown. * * @var string */ private static $menuCode = 'handling'; /** * The section of the menu under which this admin should be grouped. * * @var string */ private static $menuSortIndex = 10; /** * The URL segment * * @var string */ private static $url_segment = 'silvercart-payment-methods'; /** * The menu title * * @var string */ private static $menu_title = 'Payment Methods'; /** * Name of DB field to make records sortable by. * * @var string */ private static $sortable_field = 'Sort'; /** * Managed models * * @var array */ private static $managed_models = [ PaymentMethod::class, ]; } |