BxMapShowConfig.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. bx_import('BxDolModuleConfig');
  12. class BxMapShowConfig 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'] . 'accounts',
  20. // database fields
  21. 'FIELD_ID' => 'id',
  22. 'FIELD_ACCOUNT_ID' => 'account_id',
  23. 'FIELD_JOINED' => 'joined',
  24. 'FIELD_IP' => 'ip',
  25. 'FIELD_LNG' => 'lng',
  26. 'FIELD_LAT' => 'lat'
  27. );
  28. $this->_aJsClasses = array(
  29. 'map' => 'BxMapShow'
  30. );
  31. $this->_aJsObjects = array(
  32. 'map' => 'oMapShow'
  33. );
  34. }
  35. }
  36. /** @} */