BxShopifyFormSettings.php 716 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 Shopify Shopify
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Edit settings form
  13. */
  14. class BxShopifyFormSettings extends BxTemplFormView
  15. {
  16. protected $_sModule;
  17. protected $_oModule;
  18. public function __construct($aInfo, $oTemplate = false)
  19. {
  20. $this->_sModule = 'bx_shopify';
  21. $this->_oModule = BxDolModule::getInstance($this->_sModule);
  22. parent::__construct($aInfo, $oTemplate);
  23. if(($sF = 'access_token') && isset($this->aInputs[$sF]))
  24. $this->aInputs[$sF]['secret'] = 1;
  25. }
  26. }
  27. /** @} */