BxAnalyticsAlertsResponse.php 569 B

1234567891011121314151617181920212223242526272829
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Analytics Analytics
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxAnalyticsAlertsResponse extends BxDolAlertsResponse
  12. {
  13. protected $_sModule;
  14. public function __construct()
  15. {
  16. parent::__construct();
  17. $this->_sModule = 'bx_analytics';
  18. }
  19. public function response($oAlert)
  20. {
  21. BxDolModule::getInstance($this->_sModule)->onAlert($oAlert);
  22. }
  23. }
  24. /** @} */