BxBaseCmtsNotes.php 712 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. *
  6. * @defgroup UnaBaseView UNA Base Representation Classes
  7. * @{
  8. */
  9. /**
  10. * @see BxDolCmtsNotes
  11. */
  12. class BxBaseCmtsNotes extends BxDolCmtsNotes
  13. {
  14. function __construct( $sSystem, $iId, $iInit = true, $oTemplate = false)
  15. {
  16. parent::__construct($sSystem, $iId, $iInit, $oTemplate);
  17. }
  18. protected function _getForm($sAction, $iId, $aDp = [])
  19. {
  20. $oForm = parent::_getForm($sAction, $iId, $aDp);
  21. if(isset($oForm->aInputs['cmt_cf']))
  22. unset($oForm->aInputs['cmt_cf']);
  23. return $oForm;
  24. }
  25. }
  26. /** @} */