BxDolStudioAudit.php 866 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. define('BX_DOL_STUDIO_AUD_TYPE_GENERAL', 'general');
  10. define('BX_DOL_STUDIO_AUD_TYPE_DEFAULT', BX_DOL_STUDIO_AUD_TYPE_GENERAL);
  11. class BxDolStudioAudit extends BxTemplStudioPage
  12. {
  13. protected $sPage;
  14. function __construct($sPage = "")
  15. {
  16. parent::__construct('audit');
  17. $this->oDb = new BxDolStudioAuditQuery();
  18. $this->sPage = BX_DOL_STUDIO_AUD_TYPE_DEFAULT;
  19. if(is_string($sPage) && !empty($sPage))
  20. $this->sPage = $sPage;
  21. }
  22. public function init()
  23. {
  24. if(($sAction = bx_get('pgt_action')) === false)
  25. return;
  26. $sAction = bx_process_input($sAction);
  27. exit;
  28. }
  29. }
  30. /** @} */