| 1234567891011121314151617181920212223242526272829303132 |
- <?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 Notes Notes
- * @ingroup DolphinModules
- *
- * @{
- */
- bx_import('BxTemplMenu');
- bx_import('Menu', 'bx_notes');
- /**
- * View entry menu
- */
- class BxNotesMenuView extends BxNotesMenu
- {
- public function __construct($aObject, $oTemplate = false)
- {
- parent::__construct($aObject, $oTemplate);
- $iContentId = bx_process_input(bx_get('id'), BX_DATA_INT);
- $this->_aContentInfo = $this->_oModule->_oDb->getContentInfoById($iContentId);
- if ($this->_aContentInfo)
- $this->addMarkers(array('content_id' => $this->_aContentInfo['id']));
- }
- }
- /** @} */
|