BxGoogleConStudioPage.php 935 B

12345678910111213141516171819202122232425262728293031
  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 GoogleConnect Google Connect
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxGoogleConStudioPage extends BxTemplStudioModule
  12. {
  13. function __construct($sModule, $mixedPageName, $sPage = "")
  14. {
  15. parent::__construct($sModule, $mixedPageName, $sPage);
  16. $this->aMenuItems = array(
  17. 'settings' => array('name' => 'settings', 'icon' => 'cogs', 'title' => '_adm_lmi_cpt_settings'),
  18. 'help' => array('name' => 'help', 'icon' => 'question', 'title' => '_sys_connect_information'),
  19. );
  20. }
  21. function getHelp ()
  22. {
  23. $oModule = BxDolModule::getInstance('bx_googlecon');
  24. return _t('_bx_googlecon_information_block', BX_DOL_URL_ROOT . $oModule -> _oConfig -> getBaseUri() . 'handle');
  25. }
  26. }
  27. /** @} */