*/ /** * Dodanie informacji o istnieniu płatności */ stPluginHelper::addConfigValue('stPaymentType', 'stPlatnosciPlPlugin', array('name' => 'stPlatnosciPl', 'description' => 'Płatność przez serwis PayU')); /** * Włączanie modułu */ stPluginHelper::addEnableModule('stPlatnosciPlBackend', 'backend'); stPluginHelper::addEnableModule('stPlatnosciPlFrontend', 'frontend'); /** * Dodawania routingu */ stPluginHelper::addRouting('stPlatnosciPlPlugin', '/platnoscipl', 'stPlatnosciPlBackend', 'index', 'backend'); stPluginHelper::addRouting('stPlatnosciPlPlugin', '/platnoscipl/:action/*', 'stPlatnosciPlFrontend', 'config', 'frontend'); stLicenseTypeHelper::addCommercialModule('stPlatnosciPlPlugin');