BxXeroStudioOptions.php 655 B

1234567891011121314151617181920212223242526
  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 Xero Xero
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxXeroStudioOptions extends BxTemplStudioOptions
  12. {
  13. protected function getCustomValueRedirectUrl($aItem, $mixedValue)
  14. {
  15. return bx_replace_markers($mixedValue, array(
  16. 'site_url' => BX_DOL_URL_ROOT
  17. ));
  18. }
  19. protected function getCustomValueWebhookUrl($aItem, $mixedValue)
  20. {
  21. return bx_replace_markers($mixedValue, array(
  22. 'site_url' => BX_DOL_URL_ROOT
  23. ));
  24. }
  25. }