| 12345678910111213141516171819202122232425262728293031323334 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
- * CC-BY License - http://creativecommons.org/licenses/by/3.0/
- *
- * @defgroup DolphinCore Dolphin Core
- * @{
- */
- bx_import('BxTemplMenu');
- /**
- * Menu representation.
- * @see BxDolMenu
- */
- class BxBaseMenuAccountPopup extends BxTemplMenu
- {
- public function __construct ($aObject, $oTemplate)
- {
- parent::__construct ($aObject, $oTemplate);
- }
- protected function _getTemplateVars ()
- {
- $aVars = parent::_getTemplateVars ();
- $aVars['bx_repeat:menu_items'] = array(true);
- $aVars['profile_display_name'] = BxDolProfile::getInstance()->getDisplayName();
- $aVars['menu_account'] = BxDolMenu::getObjectInstance('sys_account')->getCode();
- $aVars['menu_notifications'] = BxDolMenu::getObjectInstance('sys_account_notifications')->getCode();
- return $aVars;
- }
- }
- /** @} */
|