BxMapShowConfig.php 939 B

12345678910111213141516171819202122232425262728293031323334353637
  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 MapShow Display last sign up users on map
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxMapShowConfig extends BxBaseModGeneralConfig
  12. {
  13. function __construct($aModule)
  14. {
  15. parent::__construct($aModule);
  16. $this->CNF = array (
  17. // database tables
  18. 'TABLE_ENTRIES' => $aModule['db_prefix'] . 'accounts',
  19. // database fields
  20. 'FIELD_ID' => 'id',
  21. 'FIELD_ACCOUNT_ID' => 'account_id',
  22. 'FIELD_LNG' => 'lng',
  23. 'FIELD_LAT' => 'lat'
  24. );
  25. $this->_aJsClasses = array(
  26. 'map' => 'BxMapShow'
  27. );
  28. $this->_aJsObjects = array(
  29. 'map' => 'oMapShow'
  30. );
  31. }
  32. }
  33. /** @} */