1
0

BxFilesMenu.php 624 B

12345678910111213141516171819202122232425262728
  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 Files Files
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * General class for module menu.
  13. */
  14. class BxFilesMenu extends BxBaseModTextMenu
  15. {
  16. public function __construct($aObject, $oTemplate = false)
  17. {
  18. $this->MODULE = 'bx_files';
  19. parent::__construct($aObject, $oTemplate);
  20. $iProfileId = (int)bx_get('profile_id');
  21. if ($iProfileId)
  22. $this->addMarkers(array('profile_id' => $iProfileId));
  23. }
  24. }
  25. /** @} */