Source of file CarrierAdmin.php
Size: 1,266 Bytes - Last Modified: 2021-12-23T10:21:36+00:00
/var/www/docs.ssmods.com/process/src/src/Admin/Controllers/CarrierAdmin.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 | <?php namespace SilverCart\Admin\Controllers; use SilverCart\Admin\Controllers\ModelAdmin; use SilverCart\Model\Shipment\Carrier; /** * ModelAdmin for Carriers. * * @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 CarrierAdmin extends ModelAdmin { /** * Name of DB field to make records sortable by. * * @var string */ private static $sortable_field = 'priority'; /** * 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 = 50; /** * The URL segment * * @var string */ private static $url_segment = 'silvercart-carriers'; /** * The menu title * * @var string */ private static $menu_title = 'Carriers'; /** * Managed models * * @var array */ private static $managed_models = array( Carrier::class, ); } |