BxDolGridSubscriptions.php 786 B

123456789101112131415161718192021222324252627282930
  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 UnaCore UNA Core
  7. * @{
  8. */
  9. class BxDolGridSubscriptions extends BxDolGridConnectionOut
  10. {
  11. public function __construct ($aOptions, $oTemplate = false)
  12. {
  13. parent::__construct ($aOptions, $oTemplate);
  14. $this->_sConnectionObject = 'sys_profiles_subscriptions';
  15. }
  16. public function performActionSubscribe()
  17. {
  18. return parent::performActionAdd();
  19. }
  20. protected function _getActionSubscribe ($sType, $sKey, $a, $isSmall = false, $isDisabled = false, $aRow = array())
  21. {
  22. return $this->_getActionAdd ($sType, $sKey, $a, $isSmall, $isDisabled, $aRow);
  23. }
  24. }
  25. /** @} */