BxBaseStudioDesignServices.php 712 B

12345678910111213141516171819202122232425262728293031
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentStudio Trident Studio
  7. * @{
  8. */
  9. /**
  10. * System services related to Comments.
  11. */
  12. class BxBaseStudioDesignServices extends BxDol
  13. {
  14. public function __construct()
  15. {
  16. parent::__construct();
  17. }
  18. public function serviceAlertResponseSettingsSave($oAlert)
  19. {
  20. if($oAlert->aExtras['category']['type_group'] != 'templates')
  21. return;
  22. $oCacheUtilities = BxDolCacheUtilities::getInstance();
  23. $oCacheUtilities->clear('css');
  24. $oCacheUtilities->clear('template');
  25. }
  26. }
  27. /** @} */