BxAttendantConfig.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 Attendant Attendant
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. bx_import('BxDolModuleConfig');
  12. class BxAttendantConfig extends BxBaseModGeneralConfig
  13. {
  14. function __construct($aModule)
  15. {
  16. parent::__construct($aModule);
  17. $this->CNF = array (
  18. // database tables
  19. 'TABLE_ENTRIES' => $aModule['db_prefix'] . 'events',
  20. // database fields
  21. 'FIELD_ID' => 'id',
  22. 'FIELD_MODULE' => 'module',
  23. 'FIELD_ACTION' => 'action',
  24. 'FIELD_EVENT' => 'event',
  25. 'FIELD_ADDED' => 'added',
  26. 'FIELD_PROCESSED' => 'processed',
  27. 'FIELD_OBJECT_ID' => 'object_id',
  28. 'FIELD_PROFILE_ID' => 'profile_id'
  29. );
  30. $this->_aJsClasses = array(
  31. 'main' => 'BxAttendant'
  32. );
  33. $this->_aJsObjects = array(
  34. 'main' => 'oBxAttendant'
  35. );
  36. }
  37. }
  38. /** @} */