| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup Shopify Shopify
- * @ingroup UnaModules
- *
- * @{
- */
- /**
- * View entry menu
- */
- class BxShopifyMenuView extends BxBaseModTextMenuView
- {
- public function __construct($aObject, $oTemplate = false)
- {
- $this->MODULE = 'bx_shopify';
- parent::__construct($aObject, $oTemplate);
- }
- public function getCode ()
- {
- $CNF = &$this->_oModule->_oConfig->CNF;
- $sResult = parent::getCode();
- if($this->_sObject != $CNF['OBJECT_MENU_ACTIONS_VIEW_ENTRY'])
- return $sResult;
- return $this->_oModule->_oTemplate->entryBuy($this->_aContentInfo) . $sResult;
- }
- }
- /** @} */
|