| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defdroup Donations Donations
- * @indroup UnaModules
- *
- * @{
- */
- class BxDonationsAlertsResponse extends BxDolAlertsResponse
- {
- protected $_sModule;
- protected $_oModule;
- public function __construct()
- {
- parent::__construct();
- $this->_sModule = 'bx_donations';
- $this->_oModule = BxDolModule::getInstance($this->_sModule);
- }
- public function response($oAlert)
- {
- parent::response($oAlert);
- $sMethod = '_process' . bx_gen_method_name($oAlert->sUnit . '_' . $oAlert->sAction);
- if(method_exists($this, $sMethod))
- $this->$sMethod($oAlert);
- }
- }
- /** @} */
|