Go to the documentation of this file.
15 $this->_aActions[
'check_payment'] = array(
16 'title' =>
_t(
'_adm_txt_modules_check_dependencies'),
27 $sPayment =
getParam(
'sys_default_payment');
32 $aPayment =
$oModuleDb->getModuleByUri($sPayment);
33 if(
empty($aPayment) || !is_array($aPayment))
41 return $mixedResult[
'content'];
46 $aResult = parent::install($aParams);
49 ChWsbService::call(
'payment',
'update_dependent_modules', array($this->_aConfig[
'home_uri'],
true));
52 ChWsbService::call(
'payflow',
'update_dependent_modules', array($this->_aConfig[
'home_uri'],
true));
60 ChWsbService::call(
'payment',
'update_dependent_modules', array($this->_aConfig[
'home_uri'],
false));
63 ChWsbService::call(
'payflow',
'update_dependent_modules', array($this->_aConfig[
'home_uri'],
false));
65 return parent::uninstall($aParams);
static serviceExists($mixedModule, $sMethod, $sClass="Module")
ch_import($sClassName, $aModule=array())
actionCheckPaymentFailed($mixedResult)
getParam($sParamName, $bUseCache=true)
const CH_WSB_INSTALLER_FAILED
_t($key, $arg0="", $arg1="", $arg2="")
Attr AllowedRel this is empty
static call($mixed, $sMethod, $aParams=array(), $sClass='Module')
actionCheckPayment($bInstall=true)
const CH_WSB_INSTALLER_SUCCESS