BxBaseStudioDesignServices.php 726 B

1234567891011121314151617181920212223242526272829303132
  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 UnaView UNA Studio Representation classes
  7. * @ingroup UnaStudio
  8. * @{
  9. */
  10. /**
  11. * System services related to Comments.
  12. */
  13. class BxBaseStudioDesignServices extends BxDol
  14. {
  15. public function __construct()
  16. {
  17. parent::__construct();
  18. }
  19. public function serviceAlertResponseSettingsSave($oAlert)
  20. {
  21. if($oAlert->aExtras['category']['type_group'] != 'templates')
  22. return;
  23. $oCacheUtilities = BxDolCacheUtilities::getInstance();
  24. $oCacheUtilities->clear('css');
  25. $oCacheUtilities->clear('template');
  26. }
  27. }
  28. /** @} */