| 12345678910111213141516171819202122232425262728293031 |
- <?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 BaseText Base classes for text modules
- * @ingroup TridentModules
- *
- * @{
- */
- bx_import('BxBaseModTextMenu');
- /**
- * View entry menu
- */
- class BxBaseModTextMenuView extends BxBaseModTextMenu
- {
- 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' => (int)$iContentId));
- }
- }
- /** @} */
|