BxDolStudioAgentsHelpers.php 632 B

12345678910111213141516171819202122232425262728
  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 UnaStudio UNA Studio
  7. * @{
  8. */
  9. class BxDolStudioAgentsHelpers extends BxTemplStudioGridAgents
  10. {
  11. protected $_oDb;
  12. protected $_iProfileIdAi;
  13. public function __construct ($aOptions, $oTemplate = false)
  14. {
  15. parent::__construct ($aOptions, $oTemplate);
  16. $this->_sDefaultSortingOrder = 'DESC';
  17. $this->_oDb = new BxDolStudioAgentsQuery();
  18. $this->_iProfileIdAi = BxDolAI::getInstance()->getProfileId();
  19. }
  20. }
  21. /** @} */