Source for file interfaces.php

Documentation is available at interfaces.php

  1. <?php
  2. /**
  3. * @package org.routamc.positioning
  4. * @author The Midgard Project, http://www.midgard-project.org
  5. * @version $Id: interfaces.php 3757 2006-07-27 14:32:42Z bergie $
  6. * @copyright The Midgard Project, http://www.midgard-project.org
  7. * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
  8. */
  9.  
  10. /**
  11. * Positioning library interface
  12. *
  13. * Startup loads main class, which is used for all operations.
  14. *
  15. * @package org.routamc.positioning
  16. */
  17. class org_routamc_positioning_interface extends midcom_baseclasses_components_interface
  18. {
  19. function org_routamc_positioning_interface()
  20. {
  21. parent::midcom_baseclasses_components_interface();
  22. $this->_component = 'org.routamc.positioning';
  23. $this->_purecode = true;
  24. $this->_autoload_files = Array(
  25. 'importer.php',
  26. 'object.php',
  27. 'person.php',
  28. 'utils.php',
  29. 'aerodrome.php',
  30. 'city.php',
  31. 'location.php',
  32. 'log.php',
  33. );
  34. }
  35. function _on_initialize()
  36. {
  37. define('ORG_ROUTAMC_POSITIONING_ACCURACY_GPS', 10);
  38. define('ORG_ROUTAMC_POSITIONING_ACCURACY_PLAZES', 15);
  39. define('ORG_ROUTAMC_POSITIONING_ACCURACY_MANUAL', 20);
  40. define('ORG_ROUTAMC_POSITIONING_ACCURACY_CITY', 30);
  41.  
  42. define('ORG_ROUTAMC_POSITIONING_RELATION_IN', 10);
  43. define('ORG_ROUTAMC_POSITIONING_RELATION_ABOUT', 20);
  44. return true;
  45. }
  46. // TODO: Watchers and cron entries
  47.  
  48. }
  49.  
  50.  
  51. ?>

Documentation generated on Tue, 15 Aug 2006 12:37:10 +0300 by phpDocumentor 1.3.0RC3