Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
manager.php
1<?php
2
4
6
7class Manager extends Base\RestrictionManager
8{
9 protected static $classNames = null;
10
14 public static function getEventName()
15 {
16 return 'onSaleCashboxRestrictionsClassNamesBuildList';
17 }
18
22 protected static function getBuildInRestrictions()
23 {
24 return array(
25 '\Bitrix\Sale\Cashbox\Restrictions\PaySystem' => 'lib/cashbox/restrictions/paysystem.php',
26 '\Bitrix\Sale\Cashbox\Restrictions\TradeBinding' => 'lib/cashbox/restrictions/tradebinding.php',
27 '\Bitrix\Sale\Cashbox\Restrictions\Company' => 'lib/cashbox/restrictions/company.php'
28 );
29 }
30
34 protected static function getServiceType()
35 {
36 return parent::SERVICE_TYPE_CASHBOX;
37 }
38}