BxResourcesPageEntry.php 668 B

12345678910111213141516171819202122232425262728293031
  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. * @defgroup Resources Resources
  6. * @ingroup UnaModules
  7. *
  8. * @{
  9. */
  10. /**
  11. * Entry create/edit pages
  12. */
  13. class BxResourcesPageEntry extends BxBaseModTextPageEntry
  14. {
  15. public function __construct($aObject, $oTemplate = false)
  16. {
  17. $this->MODULE = 'bx_resources';
  18. parent::__construct($aObject, $oTemplate);
  19. }
  20. protected function _setSubmenu($aParams)
  21. {
  22. parent::_setSubmenu(array_merge($aParams, [
  23. 'title' => '',
  24. 'icon' => ''
  25. ]));
  26. }
  27. }
  28. /** @} */