BxOrgsGridPricesView.php 714 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 Organizations Organizations
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxOrgsGridPricesView extends BxBaseModGroupsGridPricesView
  12. {
  13. public function __construct ($aOptions, $oTemplate = false)
  14. {
  15. $this->_sModule = 'bx_organizations';
  16. parent::__construct ($aOptions, $oTemplate);
  17. }
  18. public function setSellerId($iSellerId = 0)
  19. {
  20. if(empty($iSellerId) && !empty($this->_iGroupProfileId))
  21. $iSellerId = $this->_iGroupProfileId;
  22. parent::setSellerId($iSellerId);
  23. }
  24. }
  25. /** @} */