BxRibbonsFormEntry.php 651 B

1234567891011121314151617181920212223242526272829
  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 Ribbons Ribbons
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. /**
  12. * Create/Edit Form.
  13. */
  14. class BxRibbonsFormEntry extends BxBaseModTextFormEntry
  15. {
  16. protected $_aImageFields = array ();
  17. public function __construct($aInfo, $oTemplate = false)
  18. {
  19. $this->MODULE = 'bx_ribbons';
  20. parent::__construct($aInfo, $oTemplate);
  21. $CNF = &$this->_oModule->_oConfig->CNF;
  22. $this->aInputs[$CNF['FIELD_PHOTO']]['multiple'] = false;
  23. }
  24. }
  25. /** @} */