%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/modules/sale/lib/cashbox/restrictions/
Upload File :
Create Path :
Current File : /home/bitrix/www/bitrix/modules/sale/lib/cashbox/restrictions/manager.php

<?php

namespace Bitrix\Sale\Cashbox\Restrictions;

use Bitrix\Sale\Services\Base;

class Manager extends Base\RestrictionManager
{
	protected static $classNames = null;

	/**
	 * @return string
	 */
	public static function getEventName()
	{
		return 'onSaleCashboxRestrictionsClassNamesBuildList';
	}

	/**
	 * @return array
	 */
	protected static function getBuildInRestrictions()
	{
		return array(
			'\Bitrix\Sale\Cashbox\Restrictions\PaySystem' => 'lib/cashbox/restrictions/paysystem.php',
			'\Bitrix\Sale\Cashbox\Restrictions\TradeBinding' => 'lib/cashbox/restrictions/tradebinding.php',
			'\Bitrix\Sale\Cashbox\Restrictions\Company' => 'lib/cashbox/restrictions/company.php'
		);
	}

	/**
	 * @return int
	 */
	protected static function getServiceType()
	{
		return parent::SERVICE_TYPE_CASHBOX;
	}
}

Zerion Mini Shell 1.0