BxShopifyMenuViewActions.php 925 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 Shopify Shopify
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * View entry social actions menu
  13. */
  14. class BxShopifyMenuViewActions extends BxBaseModTextMenuViewActions
  15. {
  16. public function __construct($aObject, $oTemplate = false)
  17. {
  18. $this->_sModule = 'bx_shopify';
  19. parent::__construct($aObject, $oTemplate);
  20. }
  21. protected function _getMenuItemBuyShopifyEntry($aItem)
  22. {
  23. return $this->_oModule->_oTemplate->entryBuy($this->_aContentInfo);
  24. }
  25. protected function _getMenuItemEditShopifyEntry($aItem)
  26. {
  27. return $this->_getMenuItemByNameActions($aItem);
  28. }
  29. protected function _getMenuItemDeleteShopifyEntry($aItem)
  30. {
  31. return $this->_getMenuItemByNameActions($aItem);
  32. }
  33. }
  34. /** @} */