BxPostsPageEntry.php 647 B

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