| 123456789101112131415161718192021222324252627282930313233 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup UnaView UNA Studio Representation classes
- * @ingroup UnaStudio
- * @{
- */
- class BxBaseStudioMenuAccountPopup extends BxDolStudioMenuAccountPopup
- {
- public function __construct ($aObject, $oTemplate)
- {
- parent::__construct ($aObject, $oTemplate);
- $this->addMarkers(array(
- 'js_object' => BxTemplStudioMenuTop::getInstance()->getJsObject(),
- 'url_root' => BX_DOL_URL_ROOT,
- 'url_studio' => BX_DOL_URL_STUDIO
- ));
- }
- protected function _getMenuItem ($a)
- {
- if($a['name'] == 'featured')
- $a['selected'] = BxTemplStudioLauncher::getInstance()->isFeatured();
- return parent::_getMenuItem($a);
- }
- }
- /** @} */
|